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

Defined in Network.AWS.CloudDirectory.GetObjectInformation

Data GetObjectInformation Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

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

Defined in Network.AWS.CloudDirectory.GetObjectInformation

Show GetObjectInformation Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

Generic GetObjectInformation Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

Associated Types

type Rep GetObjectInformation :: Type -> Type #

Hashable GetObjectInformation Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

ToJSON GetObjectInformation Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

AWSRequest GetObjectInformation Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

Associated Types

type Rs GetObjectInformation :: Type #

ToHeaders GetObjectInformation Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

ToPath GetObjectInformation Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

ToQuery GetObjectInformation Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

NFData GetObjectInformation Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

Methods

rnf :: GetObjectInformation -> () #

type Rep GetObjectInformation Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

type Rep GetObjectInformation = D1 (MetaData "GetObjectInformation" "Network.AWS.CloudDirectory.GetObjectInformation" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" False) (C1 (MetaCons "GetObjectInformation'" PrefixI True) (S1 (MetaSel (Just "_goiConsistencyLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ConsistencyLevel)) :*: (S1 (MetaSel (Just "_goiDirectoryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_goiObjectReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ObjectReference))))
type Rs GetObjectInformation Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

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

Defined in Network.AWS.CloudDirectory.GetObjectInformation

Data GetObjectInformationResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

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

Defined in Network.AWS.CloudDirectory.GetObjectInformation

Show GetObjectInformationResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

Generic GetObjectInformationResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

Associated Types

type Rep GetObjectInformationResponse :: Type -> Type #

NFData GetObjectInformationResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

type Rep GetObjectInformationResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetObjectInformation

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