Skip to main content

schema_from_jsons

Creates, updates, deletes, gets or lists a schema_from_jsons resource.

Overview

Nameschema_from_jsons
TypeResource
Idaws.clouddirectory.schema_from_jsons

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
put_schema_from_jsonreplacex-amz-data-partition, region, DocumentAllows a schema to be updated using JSON upload. Only available for development schemas. See JSON Schema Format for more information.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
x-amz-data-partitionstringThe ARN of the schema to update.

REPLACE examples

Allows a schema to be updated using JSON upload. Only available for development schemas. See JSON Schema Format for more information.

REPLACE aws.clouddirectory.schema_from_jsons
SET
Document = '{{ Document }}'
WHERE
`x-amz-data-partition` = '{{ x-amz-data-partition }}' --required
AND region = '{{ region }}' --required
AND Document = '{{ Document }}' --required
RETURNING
arn;