Skip to main content

object_childrens

Creates, updates, deletes, gets or lists an object_childrens resource.

Overview

Nameobject_childrens
TypeResource
Idaws.clouddirectory.object_childrens

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
childrenobjectChildren structure, which is a map with key as the LinkName and ObjectIdentifier as the value.
next_tokenstringThe pagination token.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_object_childrenselectx-amz-data-partition, regionx-amz-consistency-levelReturns a paginated list of child objects that are associated with a given 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
x-amz-data-partitionstringThe Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.
x-amz-consistency-levelstringRepresents 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

Returns a paginated list of child objects that are associated with a given object.

SELECT
children,
next_token
FROM aws.clouddirectory.object_childrens
WHERE `x-amz-data-partition` = '{{ x-amz-data-partition }}' -- required
AND region = '{{ region }}' -- required
AND `x-amz-consistency-level` = '{{ x-amz-consistency-level }}'
;