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

Contents

Description

Retrieves metadata about an object.

Synopsis

Creating a Request

getObjectInformation Source #

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

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

data GetObjectInformation Source #

See: getObjectInformation smart constructor.

Instances

Eq GetObjectInformation Source # 
Data GetObjectInformation Source # 

Methods

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

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

toConstr :: GetObjectInformation -> Constr #

dataTypeOf :: GetObjectInformation -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: GetObjectInformation -> () #

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

Request Lenses

goiConsistencyLevel :: Lens' GetObjectInformation (Maybe ConsistencyLevel) Source #

The consistency level at which to retrieve the object information.

goiDirectoryARN :: Lens' GetObjectInformation Text Source #

The ARN of the directory being retrieved.

Destructuring the Response

getObjectInformationResponse Source #

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

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

  • goirsObjectIdentifier - The ObjectIdentifier of the specified object.
  • goirsSchemaFacets - The facets attached to the specified object. Although the response does not include minor version information, the most recently applied minor version of each Facet is in effect. See GetAppliedSchemaVersion for details.
  • goirsResponseStatus - -- | The response status code.

data GetObjectInformationResponse Source #

See: getObjectInformationResponse smart constructor.

Instances

Eq GetObjectInformationResponse Source # 
Data GetObjectInformationResponse Source # 

Methods

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

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

toConstr :: GetObjectInformationResponse -> Constr #

dataTypeOf :: GetObjectInformationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses

goirsObjectIdentifier :: Lens' GetObjectInformationResponse (Maybe Text) Source #

The ObjectIdentifier of the specified object.

goirsSchemaFacets :: Lens' GetObjectInformationResponse [SchemaFacet] Source #

The facets attached to the specified object. Although the response does not include minor version information, the most recently applied minor version of each Facet is in effect. See GetAppliedSchemaVersion for details.