deleteFacet

Deletes a given Facet. All attributes and Rules that are associated with the facet will be deleted. Only development schema facets are allowed deletion.

Samples


fun main() { 
   //sampleStart 
   val resp = cloudDirectoryClient.deleteFacet {
    schemaArn = "arn:aws:clouddirectory:us-west-2:45132example:schema/development/exampleorgtest"
    name = "Organization"
} 
   //sampleEnd
}