object_parents
Creates, updates, deletes, gets or lists an object_parents resource.
Overview
| Name | object_parents |
| Type | Resource |
| Id | aws.clouddirectory.object_parents |
Fields
The following fields are returned by SELECT queries:
- list_object_parents
| Name | Datatype | Description |
|---|---|---|
next_token | string | The pagination token. |
parent_links | array | Returns a list of parent reference and LinkName Tuples. |
parents | object | The parent structure, which is a map with key as the ObjectIdentifier and LinkName as the value. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_object_parents | select | x-amz-data-partition, region | x-amz-consistency-level | Lists parent objects that are associated with a given object in pagination fashion. |
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 Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns. |
x-amz-consistency-level | string | Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object. |
SELECT examples
- list_object_parents
Lists parent objects that are associated with a given object in pagination fashion.
SELECT
next_token,
parent_links,
parents
FROM aws.clouddirectory.object_parents
WHERE `x-amz-data-partition` = '{{ x-amz-data-partition }}' -- required
AND region = '{{ region }}' -- required
AND `x-amz-consistency-level` = '{{ x-amz-consistency-level }}'
;