amazonka-clouddirectory-1.6.0: Amazon CloudDirectory SDK.

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

Network.AWS.CloudDirectory.ListPolicyAttachments

Contents

Description

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

This operation returns paginated results.

Synopsis

Creating a Request

listPolicyAttachments Source #

Creates a value of ListPolicyAttachments with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lpaConsistencyLevel - 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.
  • lpaNextToken - The pagination token.
  • lpaMaxResults - The maximum number of items to be retrieved in a single call. This is an approximate number.
  • lpaDirectoryARN - The Amazon Resource Name (ARN) that is associated with the Directory where objects reside. For more information, see arns .
  • lpaPolicyReference - The reference that identifies the policy object.

data ListPolicyAttachments Source #

See: listPolicyAttachments smart constructor.

Instances

Eq ListPolicyAttachments Source # 
Data ListPolicyAttachments Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListPolicyAttachments -> c ListPolicyAttachments #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListPolicyAttachments #

toConstr :: ListPolicyAttachments -> Constr #

dataTypeOf :: ListPolicyAttachments -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListPolicyAttachments) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListPolicyAttachments) #

gmapT :: (forall b. Data b => b -> b) -> ListPolicyAttachments -> ListPolicyAttachments #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListPolicyAttachments -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListPolicyAttachments -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListPolicyAttachments -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListPolicyAttachments -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListPolicyAttachments -> m ListPolicyAttachments #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListPolicyAttachments -> m ListPolicyAttachments #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListPolicyAttachments -> m ListPolicyAttachments #

Read ListPolicyAttachments Source # 
Show ListPolicyAttachments Source # 
Generic ListPolicyAttachments Source # 
Hashable ListPolicyAttachments Source # 
ToJSON ListPolicyAttachments Source # 
NFData ListPolicyAttachments Source # 

Methods

rnf :: ListPolicyAttachments -> () #

AWSPager ListPolicyAttachments Source # 
AWSRequest ListPolicyAttachments Source # 
ToHeaders ListPolicyAttachments Source # 
ToPath ListPolicyAttachments Source # 
ToQuery ListPolicyAttachments Source # 
type Rep ListPolicyAttachments Source # 
type Rep ListPolicyAttachments = D1 * (MetaData "ListPolicyAttachments" "Network.AWS.CloudDirectory.ListPolicyAttachments" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" False) (C1 * (MetaCons "ListPolicyAttachments'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_lpaConsistencyLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ConsistencyLevel))) (S1 * (MetaSel (Just Symbol "_lpaNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lpaMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lpaDirectoryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_lpaPolicyReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ObjectReference))))))
type Rs ListPolicyAttachments Source # 

Request Lenses

lpaConsistencyLevel :: 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.

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

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

lpaDirectoryARN :: Lens' ListPolicyAttachments Text Source #

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

lpaPolicyReference :: Lens' ListPolicyAttachments ObjectReference Source #

The reference that identifies the policy object.

Destructuring the Response

listPolicyAttachmentsResponse Source #

Creates a value of ListPolicyAttachmentsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListPolicyAttachmentsResponse Source #

See: listPolicyAttachmentsResponse smart constructor.

Instances

Eq ListPolicyAttachmentsResponse Source # 
Data ListPolicyAttachmentsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListPolicyAttachmentsResponse -> c ListPolicyAttachmentsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListPolicyAttachmentsResponse #

toConstr :: ListPolicyAttachmentsResponse -> Constr #

dataTypeOf :: ListPolicyAttachmentsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListPolicyAttachmentsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListPolicyAttachmentsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListPolicyAttachmentsResponse -> ListPolicyAttachmentsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListPolicyAttachmentsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListPolicyAttachmentsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListPolicyAttachmentsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListPolicyAttachmentsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListPolicyAttachmentsResponse -> m ListPolicyAttachmentsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListPolicyAttachmentsResponse -> m ListPolicyAttachmentsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListPolicyAttachmentsResponse -> m ListPolicyAttachmentsResponse #

Read ListPolicyAttachmentsResponse Source # 
Show ListPolicyAttachmentsResponse Source # 
Generic ListPolicyAttachmentsResponse Source # 
NFData ListPolicyAttachmentsResponse Source # 
type Rep ListPolicyAttachmentsResponse Source # 
type Rep ListPolicyAttachmentsResponse = D1 * (MetaData "ListPolicyAttachmentsResponse" "Network.AWS.CloudDirectory.ListPolicyAttachments" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" False) (C1 * (MetaCons "ListPolicyAttachmentsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lparsObjectIdentifiers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lparsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lparsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lparsObjectIdentifiers :: Lens' ListPolicyAttachmentsResponse [Text] Source #

A list of ObjectIdentifiers to which the policy is attached.