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

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

Data ListObjectParentPaths Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

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

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

Show ListObjectParentPaths Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

Generic ListObjectParentPaths Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

Associated Types

type Rep ListObjectParentPaths :: Type -> Type #

Hashable ListObjectParentPaths Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

ToJSON ListObjectParentPaths Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

AWSPager ListObjectParentPaths Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

AWSRequest ListObjectParentPaths Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

Associated Types

type Rs ListObjectParentPaths :: Type #

ToHeaders ListObjectParentPaths Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

ToPath ListObjectParentPaths Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

ToQuery ListObjectParentPaths Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

NFData ListObjectParentPaths Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

Methods

rnf :: ListObjectParentPaths -> () #

type Rep ListObjectParentPaths Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

type Rep ListObjectParentPaths = D1 (MetaData "ListObjectParentPaths" "Network.AWS.CloudDirectory.ListObjectParentPaths" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" False) (C1 (MetaCons "ListObjectParentPaths'" PrefixI True) ((S1 (MetaSel (Just "_loppNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_loppMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) :*: (S1 (MetaSel (Just "_loppDirectoryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_loppObjectReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ObjectReference))))
type Rs ListObjectParentPaths Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

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

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

Data ListObjectParentPathsResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

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

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

Show ListObjectParentPathsResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

Generic ListObjectParentPathsResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

Associated Types

type Rep ListObjectParentPathsResponse :: Type -> Type #

NFData ListObjectParentPathsResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

type Rep ListObjectParentPathsResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.ListObjectParentPaths

type Rep ListObjectParentPathsResponse = D1 (MetaData "ListObjectParentPathsResponse" "Network.AWS.CloudDirectory.ListObjectParentPaths" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" False) (C1 (MetaCons "ListObjectParentPathsResponse'" PrefixI True) (S1 (MetaSel (Just "_lopprsPathToObjectIdentifiersList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PathToObjectIdentifiers])) :*: (S1 (MetaSel (Just "_lopprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.