Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

put_schema_from_json

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