CloudDirectory.Client.
get_schema_as_json
(**kwargs)¶Retrieves a JSON representation of the schema. See JSON Schema Format for more information.
See also: AWS API Documentation
Request Syntax
response = client.get_schema_as_json(
SchemaArn='string'
)
[REQUIRED]
The ARN of the schema to retrieve.
{
'Name': 'string',
'Document': 'string'
}
Response Structure
The name of the retrieved schema.
The JSON representation of the schema document.
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.ValidationException