getSchemaAsJson

Retrieves a JSON representation of the schema. See JSON Schema Format for more information.

Samples


fun main() { 
   //sampleStart 
   val resp = cloudDirectoryClient.getSchemaAsJson {
    schemaArn = "arn:aws:clouddirectory:us-west-2:45132example:directory/AYb8AOV81kHNgdj8mAO3dNY/schema/org/1"
} 
   //sampleEnd
}