CloudDirectory / Client / put_schema_from_json
put_schema_from_json#
- CloudDirectory.Client.put_schema_from_json(**kwargs)#
Allows a schema to be updated using JSON upload. Only available for development schemas. See JSON Schema Format for more information.
See also: AWS API Documentation
Request Syntax
response = client.put_schema_from_json( SchemaArn='string', Document='string' )
- Parameters:
SchemaArn (string) –
[REQUIRED]
The ARN of the schema to update.
Document (string) –
[REQUIRED]
The replacement JSON schema.
- Return type:
dict
- Returns:
Response Syntax
{ 'Arn': 'string' }
Response Structure
(dict) –
Arn (string) –
The ARN of the schema to update.
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.InvalidSchemaDocException
CloudDirectory.Client.exceptions.InvalidRuleException