amazonka-clouddirectory-2.0: Amazon CloudDirectory SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudDirectory.ListObjectPolicies

Description

Returns policies attached to an object in pagination fashion.

This operation returns paginated results.

Synopsis

Creating a Request

data ListObjectPolicies Source #

See: newListObjectPolicies smart constructor.

Constructors

ListObjectPolicies' 

Fields

Instances

Instances details
ToJSON ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

ToHeaders ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

ToPath ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

ToQuery ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

AWSPager ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

AWSRequest ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Associated Types

type AWSResponse ListObjectPolicies #

Generic ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Associated Types

type Rep ListObjectPolicies :: Type -> Type #

Read ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Show ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

NFData ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Methods

rnf :: ListObjectPolicies -> () #

Eq ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Hashable ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

type AWSResponse ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

type Rep ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

type Rep ListObjectPolicies = D1 ('MetaData "ListObjectPolicies" "Amazonka.CloudDirectory.ListObjectPolicies" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "ListObjectPolicies'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "consistencyLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConsistencyLevel)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "directoryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "objectReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectReference)))))

newListObjectPolicies Source #

Create a value of ListObjectPolicies 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:ListObjectPolicies', listObjectPolicies_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.

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

ListObjectPolicies, listObjectPolicies_nextToken - The pagination token.

ListObjectPolicies, listObjectPolicies_directoryArn - The Amazon Resource Name (ARN) that is associated with the Directory where objects reside. For more information, see arns.

ListObjectPolicies, listObjectPolicies_objectReference - Reference that identifies the object for which policies will be listed.

Request Lenses

listObjectPolicies_consistencyLevel :: Lens' ListObjectPolicies (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.

listObjectPolicies_maxResults :: Lens' ListObjectPolicies (Maybe Natural) Source #

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

listObjectPolicies_directoryArn :: Lens' ListObjectPolicies Text Source #

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

listObjectPolicies_objectReference :: Lens' ListObjectPolicies ObjectReference Source #

Reference that identifies the object for which policies will be listed.

Destructuring the Response

data ListObjectPoliciesResponse Source #

See: newListObjectPoliciesResponse smart constructor.

Constructors

ListObjectPoliciesResponse' 

Fields

Instances

Instances details
Generic ListObjectPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Associated Types

type Rep ListObjectPoliciesResponse :: Type -> Type #

Read ListObjectPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Show ListObjectPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

NFData ListObjectPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Eq ListObjectPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

type Rep ListObjectPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

type Rep ListObjectPoliciesResponse = D1 ('MetaData "ListObjectPoliciesResponse" "Amazonka.CloudDirectory.ListObjectPolicies" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "ListObjectPoliciesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attachedPolicyIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListObjectPoliciesResponse Source #

Create a value of ListObjectPoliciesResponse 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:

ListObjectPoliciesResponse, listObjectPoliciesResponse_attachedPolicyIds - A list of policy ObjectIdentifiers, that are attached to the object.

ListObjectPolicies, listObjectPoliciesResponse_nextToken - The pagination token.

$sel:httpStatus:ListObjectPoliciesResponse', listObjectPoliciesResponse_httpStatus - The response's http status code.

Response Lenses

listObjectPoliciesResponse_attachedPolicyIds :: Lens' ListObjectPoliciesResponse (Maybe [Text]) Source #

A list of policy ObjectIdentifiers, that are attached to the object.