createFacet
Creates a new Facet in a schema. Facet creation is allowed only in development or applied schemas.
Samples
val resp = cloudDirectoryClient.createFacet {
schemaArn = "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1"
name = "node1"
objectType = ObjectType.fromValue("NODE")
}Content copied to clipboard