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.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
ToJSON ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.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

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 #

Generic ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Associated Types

type Rep ListPolicyAttachments :: Type -> Type #

Read ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Show ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

NFData ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Methods

rnf :: ListPolicyAttachments -> () #

Eq ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Hashable ListPolicyAttachments Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

type AWSResponse 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" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "ListPolicyAttachments'" '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 "policyReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectReference)))))

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.

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

ListPolicyAttachments, listPolicyAttachments_nextToken - The pagination token.

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

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
Generic ListPolicyAttachmentsResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Associated Types

type Rep ListPolicyAttachmentsResponse :: Type -> Type #

Read ListPolicyAttachmentsResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Show ListPolicyAttachmentsResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

NFData ListPolicyAttachmentsResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListPolicyAttachments

Eq 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" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "ListPolicyAttachmentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "objectIdentifiers") '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:

ListPolicyAttachments, listPolicyAttachmentsResponse_nextToken - The pagination token.

ListPolicyAttachmentsResponse, listPolicyAttachmentsResponse_objectIdentifiers - A list of ObjectIdentifiers to which the policy is attached.

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