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