Skip to main content

schema_as_jsons

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

Overview

Nameschema_as_jsons
TypeResource
Idaws.clouddirectory.schema_as_jsons

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
documentstringThe JSON representation of the schema document.
namestringThe name of the retrieved schema. (pattern: <code>^[a-zA-Z0-9._-]*$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_schema_as_jsonselectx-amz-data-partition, regionRetrieves a JSON representation of the schema. 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 retrieve.

SELECT examples

Retrieves a JSON representation of the schema. See JSON Schema Format for more information.

SELECT
document,
name
FROM aws.clouddirectory.schema_as_jsons
WHERE `x-amz-data-partition` = '{{ x-amz-data-partition }}' -- required
AND region = '{{ region }}' -- required
;