CloudDirectory.Client.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.InternalServiceExceptionCloudDirectory.Client.exceptions.InvalidArnExceptionCloudDirectory.Client.exceptions.RetryableConflictExceptionCloudDirectory.Client.exceptions.ValidationExceptionCloudDirectory.Client.exceptions.LimitExceededExceptionCloudDirectory.Client.exceptions.AccessDeniedExceptionCloudDirectory.Client.exceptions.ResourceNotFoundExceptionCloudDirectory.Client.exceptions.FacetNotFoundExceptionCloudDirectory.Client.exceptions.FacetInUseException