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

Contents

Description

Lists parent objects that are associated with a given object in pagination fashion.

Synopsis

Creating a Request

listObjectParents Source #

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

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

  • lopConsistencyLevel - 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.
  • lopNextToken - The pagination token.
  • lopMaxResults - The maximum number of items to be retrieved in a single call. This is an approximate number.
  • lopDirectoryARN - The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns .
  • lopObjectReference - The reference that identifies the object for which parent objects are being listed.

data ListObjectParents Source #

See: listObjectParents smart constructor.

Instances

Eq ListObjectParents Source # 
Data ListObjectParents Source # 

Methods

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

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

toConstr :: ListObjectParents -> Constr #

dataTypeOf :: ListObjectParents -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListObjectParents -> () #

AWSRequest ListObjectParents Source # 
ToHeaders ListObjectParents Source # 
ToPath ListObjectParents Source # 
ToQuery ListObjectParents Source # 
type Rep ListObjectParents Source # 
type Rep ListObjectParents = D1 * (MetaData "ListObjectParents" "Network.AWS.CloudDirectory.ListObjectParents" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" False) (C1 * (MetaCons "ListObjectParents'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_lopConsistencyLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ConsistencyLevel))) (S1 * (MetaSel (Just Symbol "_lopNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lopMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lopDirectoryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_lopObjectReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ObjectReference))))))
type Rs ListObjectParents Source # 

Request Lenses

lopConsistencyLevel :: Lens' ListObjectParents (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.

lopMaxResults :: Lens' ListObjectParents (Maybe Natural) Source #

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

lopDirectoryARN :: Lens' ListObjectParents Text Source #

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

lopObjectReference :: Lens' ListObjectParents ObjectReference Source #

The reference that identifies the object for which parent objects are being listed.

Destructuring the Response

listObjectParentsResponse Source #

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

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

  • lrsNextToken - The pagination token.
  • lrsParents - The parent structure, which is a map with key as the ObjectIdentifier and LinkName as the value.
  • lrsResponseStatus - -- | The response status code.

data ListObjectParentsResponse Source #

See: listObjectParentsResponse smart constructor.

Instances

Eq ListObjectParentsResponse Source # 
Data ListObjectParentsResponse Source # 

Methods

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

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

toConstr :: ListObjectParentsResponse -> Constr #

dataTypeOf :: ListObjectParentsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListObjectParentsResponse Source # 
Show ListObjectParentsResponse Source # 
Generic ListObjectParentsResponse Source # 
NFData ListObjectParentsResponse Source # 
type Rep ListObjectParentsResponse Source # 
type Rep ListObjectParentsResponse = D1 * (MetaData "ListObjectParentsResponse" "Network.AWS.CloudDirectory.ListObjectParents" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" False) (C1 * (MetaCons "ListObjectParentsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrsParents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Map Text Text)))) (S1 * (MetaSel (Just Symbol "_lrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lrsParents :: Lens' ListObjectParentsResponse (HashMap Text Text) Source #

The parent structure, which is a map with key as the ObjectIdentifier and LinkName as the value.