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.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
Eq ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Read ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Show ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Generic ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Associated Types

type Rep ListObjectPolicies :: Type -> Type #

NFData ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Methods

rnf :: ListObjectPolicies -> () #

Hashable ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

ToJSON 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 #

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

type Rep ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

type Rep ListObjectPolicies = D1 ('MetaData "ListObjectPolicies" "Amazonka.CloudDirectory.ListObjectPolicies" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "ListObjectPolicies'" '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 ListObjectPolicies Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

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.

$sel:nextToken:ListObjectPolicies', listObjectPolicies_nextToken - The pagination token.

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

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

$sel:objectReference: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
Eq ListObjectPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Read ListObjectPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Show ListObjectPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Generic ListObjectPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListObjectPolicies

Associated Types

type Rep ListObjectPoliciesResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "ListObjectPoliciesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "attachedPolicyIds") '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:

$sel:nextToken:ListObjectPolicies', listObjectPoliciesResponse_nextToken - The pagination token.

$sel:attachedPolicyIds:ListObjectPoliciesResponse', listObjectPoliciesResponse_attachedPolicyIds - A list of policy ObjectIdentifiers, that are attached to the object.

$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.