CloudDirectory / Client / delete_facet
delete_facet#
- CloudDirectory.Client.delete_facet(**kwargs)#
Deletes a given Facet. All attributes and Rules 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' )
- Parameters:
SchemaArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns.
Name (string) –
[REQUIRED]
The name of the facet to delete.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
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