schema_from_jsons
Creates, updates, deletes, gets or lists a schema_from_jsons resource.
Overview
| Name | schema_from_jsons |
| Type | Resource |
| Id | aws.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
put_schema_from_json | replace | x-amz-data-partition, region, Document | Allows 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
x-amz-data-partition | string | The ARN of the schema to update. |
REPLACE examples
- put_schema_from_json
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;