libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudDirectory.ListObjectChildren

Description

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

Synopsis

Creating a Request

data ListObjectChildren Source #

See: newListObjectChildren smart constructor.

Constructors

ListObjectChildren' 

Fields

  • consistencyLevel :: Maybe ConsistencyLevel

    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.

  • nextToken :: Maybe Text

    The pagination token.

  • maxResults :: Maybe Natural

    The maximum number of items to be retrieved in a single call. This is an approximate number.

  • directoryArn :: Text

    The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.

  • objectReference :: ObjectReference

    The reference that identifies the object for which child objects are being listed.

Instances

Instances details
Eq ListObjectChildren Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

Read ListObjectChildren Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

Show ListObjectChildren Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

Generic ListObjectChildren Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

Associated Types

type Rep ListObjectChildren :: Type -> Type #

NFData ListObjectChildren Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

Methods

rnf :: ListObjectChildren -> () #

Hashable ListObjectChildren Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

ToJSON ListObjectChildren Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

AWSRequest ListObjectChildren Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

Associated Types

type AWSResponse ListObjectChildren #

ToHeaders ListObjectChildren Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

ToPath ListObjectChildren Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

ToQuery ListObjectChildren Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

type Rep ListObjectChildren Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

type Rep ListObjectChildren = D1 ('MetaData "ListObjectChildren" "Amazonka.CloudDirectory.ListObjectChildren" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "ListObjectChildren'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "consistencyLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConsistencyLevel)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "directoryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "objectReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectReference)))))
type AWSResponse ListObjectChildren Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

newListObjectChildren Source #

Create a value of ListObjectChildren with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:consistencyLevel:ListObjectChildren', listObjectChildren_consistencyLevel - 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.

$sel:nextToken:ListObjectChildren', listObjectChildren_nextToken - The pagination token.

$sel:maxResults:ListObjectChildren', listObjectChildren_maxResults - The maximum number of items to be retrieved in a single call. This is an approximate number.

$sel:directoryArn:ListObjectChildren', listObjectChildren_directoryArn - The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.

$sel:objectReference:ListObjectChildren', listObjectChildren_objectReference - The reference that identifies the object for which child objects are being listed.

Request Lenses

listObjectChildren_consistencyLevel :: Lens' ListObjectChildren (Maybe ConsistencyLevel) Source #

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.

listObjectChildren_maxResults :: Lens' ListObjectChildren (Maybe Natural) Source #

The maximum number of items to be retrieved in a single call. This is an approximate number.

listObjectChildren_directoryArn :: Lens' ListObjectChildren Text Source #

The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.

listObjectChildren_objectReference :: Lens' ListObjectChildren ObjectReference Source #

The reference that identifies the object for which child objects are being listed.

Destructuring the Response

data ListObjectChildrenResponse Source #

See: newListObjectChildrenResponse smart constructor.

Constructors

ListObjectChildrenResponse' 

Fields

Instances

Instances details
Eq ListObjectChildrenResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

Read ListObjectChildrenResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

Show ListObjectChildrenResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

Generic ListObjectChildrenResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

Associated Types

type Rep ListObjectChildrenResponse :: Type -> Type #

NFData ListObjectChildrenResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

type Rep ListObjectChildrenResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectChildren

type Rep ListObjectChildrenResponse = D1 ('MetaData "ListObjectChildrenResponse" "Amazonka.CloudDirectory.ListObjectChildren" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "ListObjectChildrenResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "children") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListObjectChildrenResponse Source #

Create a value of ListObjectChildrenResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:children:ListObjectChildrenResponse', listObjectChildrenResponse_children - Children structure, which is a map with key as the LinkName and ObjectIdentifier as the value.

$sel:nextToken:ListObjectChildren', listObjectChildrenResponse_nextToken - The pagination token.

$sel:httpStatus:ListObjectChildrenResponse', listObjectChildrenResponse_httpStatus - The response's http status code.

Response Lenses

listObjectChildrenResponse_children :: Lens' ListObjectChildrenResponse (Maybe (HashMap Text Text)) Source #

Children structure, which is a map with key as the LinkName and ObjectIdentifier as the value.