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

Description

Returns all of the ObjectIdentifiers to which a given policy is attached.

This operation returns paginated results.

Synopsis

Creating a Request

data ListPolicyAttachments Source #

See: newListPolicyAttachments smart constructor.

Constructors

ListPolicyAttachments' 

Fields

Instances

Instances details
Eq ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Read ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Show ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Generic ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Associated Types

type Rep ListPolicyAttachments :: Type -> Type #

NFData ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Methods

rnf :: ListPolicyAttachments -> () #

Hashable ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

ToJSON ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

AWSPager ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

AWSRequest ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Associated Types

type AWSResponse ListPolicyAttachments #

ToHeaders ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

ToPath ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

ToQuery ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

type Rep ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

type Rep ListPolicyAttachments = D1 ('MetaData "ListPolicyAttachments" "Amazonka.CloudDirectory.ListPolicyAttachments" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "ListPolicyAttachments'" '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 "policyReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectReference)))))
type AWSResponse ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

newListPolicyAttachments Source #

Create a value of ListPolicyAttachments 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:ListPolicyAttachments', listPolicyAttachments_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:ListPolicyAttachments', listPolicyAttachments_nextToken - The pagination token.

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

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

$sel:policyReference:ListPolicyAttachments', listPolicyAttachments_policyReference - The reference that identifies the policy object.

Request Lenses

listPolicyAttachments_consistencyLevel :: Lens' ListPolicyAttachments (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.

listPolicyAttachments_maxResults :: Lens' ListPolicyAttachments (Maybe Natural) Source #

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

listPolicyAttachments_directoryArn :: Lens' ListPolicyAttachments Text Source #

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

Destructuring the Response

data ListPolicyAttachmentsResponse Source #

See: newListPolicyAttachmentsResponse smart constructor.

Constructors

ListPolicyAttachmentsResponse' 

Fields

Instances

Instances details
Eq ListPolicyAttachmentsResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Read ListPolicyAttachmentsResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Show ListPolicyAttachmentsResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Generic ListPolicyAttachmentsResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Associated Types

type Rep ListPolicyAttachmentsResponse :: Type -> Type #

NFData ListPolicyAttachmentsResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

type Rep ListPolicyAttachmentsResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

type Rep ListPolicyAttachmentsResponse = D1 ('MetaData "ListPolicyAttachmentsResponse" "Amazonka.CloudDirectory.ListPolicyAttachments" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "ListPolicyAttachmentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "objectIdentifiers") '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))))

newListPolicyAttachmentsResponse Source #

Create a value of ListPolicyAttachmentsResponse 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:objectIdentifiers:ListPolicyAttachmentsResponse', listPolicyAttachmentsResponse_objectIdentifiers - A list of ObjectIdentifiers to which the policy is attached.

$sel:nextToken:ListPolicyAttachments', listPolicyAttachmentsResponse_nextToken - The pagination token.

$sel:httpStatus:ListPolicyAttachmentsResponse', listPolicyAttachmentsResponse_httpStatus - The response's http status code.

Response Lenses

listPolicyAttachmentsResponse_objectIdentifiers :: Lens' ListPolicyAttachmentsResponse (Maybe [Text]) Source #

A list of ObjectIdentifiers to which the policy is attached.