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

Contents

Description

Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node objects. For more information about objects, see Directory Structure .

Use this API to evaluate all parents for an object. The call returns all objects from the root of the directory up to the requested object. The API returns the number of paths based on user-defined MaxResults , in case there are multiple paths to the parent. The order of the paths and nodes returned is consistent among multiple API calls unless the objects are deleted or moved. Paths not leading to the directory root are ignored from the target object.

This operation returns paginated results.

Synopsis

Creating a Request

listObjectParentPaths Source #

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

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

  • loppNextToken - The pagination token.
  • loppMaxResults - The maximum number of items to be retrieved in a single call. This is an approximate number.
  • loppDirectoryARN - The ARN of the directory to which the parent path applies.
  • loppObjectReference - The reference that identifies the object whose parent paths are listed.

data ListObjectParentPaths Source #

See: listObjectParentPaths smart constructor.

Instances

Eq ListObjectParentPaths Source # 
Data ListObjectParentPaths Source # 

Methods

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

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

toConstr :: ListObjectParentPaths -> Constr #

dataTypeOf :: ListObjectParentPaths -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListObjectParentPaths -> () #

AWSPager ListObjectParentPaths Source # 
AWSRequest ListObjectParentPaths Source # 
ToHeaders ListObjectParentPaths Source # 
ToPath ListObjectParentPaths Source # 
ToQuery ListObjectParentPaths Source # 
type Rep ListObjectParentPaths Source # 
type Rep ListObjectParentPaths = D1 * (MetaData "ListObjectParentPaths" "Network.AWS.CloudDirectory.ListObjectParentPaths" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" False) (C1 * (MetaCons "ListObjectParentPaths'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_loppNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_loppMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_loppDirectoryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_loppObjectReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ObjectReference)))))
type Rs ListObjectParentPaths Source # 

Request Lenses

loppMaxResults :: Lens' ListObjectParentPaths (Maybe Natural) Source #

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

loppDirectoryARN :: Lens' ListObjectParentPaths Text Source #

The ARN of the directory to which the parent path applies.

loppObjectReference :: Lens' ListObjectParentPaths ObjectReference Source #

The reference that identifies the object whose parent paths are listed.

Destructuring the Response

listObjectParentPathsResponse Source #

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

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

data ListObjectParentPathsResponse Source #

See: listObjectParentPathsResponse smart constructor.

Instances

Eq ListObjectParentPathsResponse Source # 
Data ListObjectParentPathsResponse Source # 

Methods

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

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

toConstr :: ListObjectParentPathsResponse -> Constr #

dataTypeOf :: ListObjectParentPathsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses

lopprsPathToObjectIdentifiersList :: Lens' ListObjectParentPathsResponse [PathToObjectIdentifiers] Source #

Returns the path to the ObjectIdentifiers that are associated with the directory.