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.InternalServiceExceptionCloudDirectory.Client.exceptions.InvalidArnExceptionCloudDirectory.Client.exceptions.RetryableConflictExceptionCloudDirectory.Client.exceptions.ValidationExceptionCloudDirectory.Client.exceptions.LimitExceededExceptionCloudDirectory.Client.exceptions.AccessDeniedExceptionCloudDirectory.Client.exceptions.ResourceNotFoundExceptionCloudDirectory.Client.exceptions.ValidationException