amazonka-clouddirectory-1.6.1: 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 # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

Data ListPolicyAttachments Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

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 # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

Show ListPolicyAttachments Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

Generic ListPolicyAttachments Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

Associated Types

type Rep ListPolicyAttachments :: Type -> Type #

Hashable ListPolicyAttachments Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

ToJSON ListPolicyAttachments Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

AWSPager ListPolicyAttachments Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

AWSRequest ListPolicyAttachments Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

Associated Types

type Rs ListPolicyAttachments :: Type #

ToHeaders ListPolicyAttachments Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

ToPath ListPolicyAttachments Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

ToQuery ListPolicyAttachments Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

NFData ListPolicyAttachments Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

Methods

rnf :: ListPolicyAttachments -> () #

type Rep ListPolicyAttachments Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

type Rep ListPolicyAttachments = D1 (MetaData "ListPolicyAttachments" "Network.AWS.CloudDirectory.ListPolicyAttachments" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" False) (C1 (MetaCons "ListPolicyAttachments'" PrefixI True) ((S1 (MetaSel (Just "_lpaConsistencyLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ConsistencyLevel)) :*: S1 (MetaSel (Just "_lpaNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lpaMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: (S1 (MetaSel (Just "_lpaDirectoryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_lpaPolicyReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ObjectReference)))))
type Rs ListPolicyAttachments Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

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 # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

Data ListPolicyAttachmentsResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

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 # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

Show ListPolicyAttachmentsResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

Generic ListPolicyAttachmentsResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

Associated Types

type Rep ListPolicyAttachmentsResponse :: Type -> Type #

NFData ListPolicyAttachmentsResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

type Rep ListPolicyAttachmentsResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListPolicyAttachments

type Rep ListPolicyAttachmentsResponse = D1 (MetaData "ListPolicyAttachmentsResponse" "Network.AWS.CloudDirectory.ListPolicyAttachments" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" False) (C1 (MetaCons "ListPolicyAttachmentsResponse'" PrefixI True) (S1 (MetaSel (Just "_lparsObjectIdentifiers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_lparsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lparsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lparsObjectIdentifiers :: Lens' ListPolicyAttachmentsResponse [Text] Source #

A list of ObjectIdentifiers to which the policy is attached.