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

Contents

Description

Retrieves a JSON representation of the schema. See JSON Schema Format for more information.

Synopsis

Creating a Request

getSchemaAsJSON Source #

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

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

data GetSchemaAsJSON Source #

See: getSchemaAsJSON smart constructor.

Instances
Eq GetSchemaAsJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

Data GetSchemaAsJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

Methods

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

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

toConstr :: GetSchemaAsJSON -> Constr #

dataTypeOf :: GetSchemaAsJSON -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetSchemaAsJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

Show GetSchemaAsJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

Generic GetSchemaAsJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

Associated Types

type Rep GetSchemaAsJSON :: Type -> Type #

Hashable GetSchemaAsJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

ToJSON GetSchemaAsJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

AWSRequest GetSchemaAsJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

Associated Types

type Rs GetSchemaAsJSON :: Type #

ToHeaders GetSchemaAsJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

ToPath GetSchemaAsJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

ToQuery GetSchemaAsJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

NFData GetSchemaAsJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

Methods

rnf :: GetSchemaAsJSON -> () #

type Rep GetSchemaAsJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

type Rep GetSchemaAsJSON = D1 (MetaData "GetSchemaAsJSON" "Network.AWS.CloudDirectory.GetSchemaAsJSON" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" True) (C1 (MetaCons "GetSchemaAsJSON'" PrefixI True) (S1 (MetaSel (Just "_gsajSchemaARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetSchemaAsJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

Request Lenses

gsajSchemaARN :: Lens' GetSchemaAsJSON Text Source #

The ARN of the schema to retrieve.

Destructuring the Response

getSchemaAsJSONResponse Source #

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

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

data GetSchemaAsJSONResponse Source #

See: getSchemaAsJSONResponse smart constructor.

Instances
Eq GetSchemaAsJSONResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

Data GetSchemaAsJSONResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

Methods

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

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

toConstr :: GetSchemaAsJSONResponse -> Constr #

dataTypeOf :: GetSchemaAsJSONResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetSchemaAsJSONResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

Show GetSchemaAsJSONResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

Generic GetSchemaAsJSONResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

Associated Types

type Rep GetSchemaAsJSONResponse :: Type -> Type #

NFData GetSchemaAsJSONResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

Methods

rnf :: GetSchemaAsJSONResponse -> () #

type Rep GetSchemaAsJSONResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetSchemaAsJSON

type Rep GetSchemaAsJSONResponse = D1 (MetaData "GetSchemaAsJSONResponse" "Network.AWS.CloudDirectory.GetSchemaAsJSON" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" False) (C1 (MetaCons "GetSchemaAsJSONResponse'" PrefixI True) (S1 (MetaSel (Just "_gsajrsDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gsajrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gsajrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gsajrsDocument :: Lens' GetSchemaAsJSONResponse (Maybe Text) Source #

The JSON representation of the schema document.

gsajrsName :: Lens' GetSchemaAsJSONResponse (Maybe Text) Source #

The name of the retrieved schema.