object_informations
Creates, updates, deletes, gets or lists an object_informations resource.
Overview
| Name | object_informations |
| Type | Resource |
| Id | aws.clouddirectory.object_informations |
Fields
The following fields are returned by SELECT queries:
- get_object_information
| Name | Datatype | Description |
|---|---|---|
object_identifier | string | The ObjectIdentifier of the specified object. |
schema_facets | array | The facets attached to the specified object. Although the response does not include minor version information, the most recently applied minor version of each Facet is in effect. See GetAppliedSchemaVersion for details. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_object_information | select | x-amz-data-partition, region | x-amz-consistency-level | Retrieves metadata about an object. |
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 directory being retrieved. |
x-amz-consistency-level | string | The consistency level at which to retrieve the object information. |
SELECT examples
- get_object_information
Retrieves metadata about an object.
SELECT
object_identifier,
schema_facets
FROM aws.clouddirectory.object_informations
WHERE `x-amz-data-partition` = '{{ x-amz-data-partition }}' -- required
AND region = '{{ region }}' -- required
AND `x-amz-consistency-level` = '{{ x-amz-consistency-level }}'
;