delete_facet
(**kwargs)¶Deletes a given Facet. All attributes and Rule s that are associated with the facet will be deleted. Only development schema facets are allowed deletion.
See also: AWS API Documentation
Request Syntax
response = client.delete_facet(
SchemaArn='string',
Name='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns.
[REQUIRED]
The name of the facet to delete.
dict
Response Syntax
{}
Response Structure
Exceptions
CloudDirectory.Client.exceptions.InternalServiceException
CloudDirectory.Client.exceptions.InvalidArnException
CloudDirectory.Client.exceptions.RetryableConflictException
CloudDirectory.Client.exceptions.ValidationException
CloudDirectory.Client.exceptions.LimitExceededException
CloudDirectory.Client.exceptions.AccessDeniedException
CloudDirectory.Client.exceptions.ResourceNotFoundException
CloudDirectory.Client.exceptions.FacetNotFoundException
CloudDirectory.Client.exceptions.FacetInUseException