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

Contents

Description

Returns policies attached to an object in pagination fashion.

This operation returns paginated results.

Synopsis

Creating a Request

listObjectPolicies Source #

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

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

  • lConsistencyLevel - 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.
  • lNextToken - The pagination token.
  • lMaxResults - The maximum number of items to be retrieved in a single call. This is an approximate number.
  • lDirectoryARN - The Amazon Resource Name (ARN) that is associated with the Directory where objects reside. For more information, see arns .
  • lObjectReference - Reference that identifies the object for which policies will be listed.

data ListObjectPolicies Source #

See: listObjectPolicies smart constructor.

Instances

Eq ListObjectPolicies Source # 
Data ListObjectPolicies Source # 

Methods

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

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

toConstr :: ListObjectPolicies -> Constr #

dataTypeOf :: ListObjectPolicies -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListObjectPolicies -> () #

AWSPager ListObjectPolicies Source # 
AWSRequest ListObjectPolicies Source # 
ToHeaders ListObjectPolicies Source # 
ToPath ListObjectPolicies Source # 
ToQuery ListObjectPolicies Source # 
type Rep ListObjectPolicies Source # 
type Rep ListObjectPolicies = D1 * (MetaData "ListObjectPolicies" "Network.AWS.CloudDirectory.ListObjectPolicies" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" False) (C1 * (MetaCons "ListObjectPolicies'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_lConsistencyLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ConsistencyLevel))) (S1 * (MetaSel (Just Symbol "_lNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lDirectoryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_lObjectReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ObjectReference))))))
type Rs ListObjectPolicies Source # 

Request Lenses

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

lMaxResults :: Lens' ListObjectPolicies (Maybe Natural) Source #

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

lDirectoryARN :: Lens' ListObjectPolicies Text Source #

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

lObjectReference :: Lens' ListObjectPolicies ObjectReference Source #

Reference that identifies the object for which policies will be listed.

Destructuring the Response

listObjectPoliciesResponse Source #

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

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

data ListObjectPoliciesResponse Source #

See: listObjectPoliciesResponse smart constructor.

Instances

Eq ListObjectPoliciesResponse Source # 
Data ListObjectPoliciesResponse Source # 

Methods

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

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

toConstr :: ListObjectPoliciesResponse -> Constr #

dataTypeOf :: ListObjectPoliciesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses

loprsAttachedPolicyIds :: Lens' ListObjectPoliciesResponse [Text] Source #

A list of policy ObjectIdentifiers , that are attached to the object.