delete_facet

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'
)
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.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