amazonka-clouddirectory-1.5.0: Amazon CloudDirectory SDK.

Copyright(c) 2013-2017 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 # 
Data GetSchemaAsJSON Source # 

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 # 
Show GetSchemaAsJSON Source # 
Generic GetSchemaAsJSON Source # 
Hashable GetSchemaAsJSON Source # 
ToJSON GetSchemaAsJSON Source # 
NFData GetSchemaAsJSON Source # 

Methods

rnf :: GetSchemaAsJSON -> () #

AWSRequest GetSchemaAsJSON Source # 
ToQuery GetSchemaAsJSON Source # 
ToPath GetSchemaAsJSON Source # 
ToHeaders GetSchemaAsJSON Source # 
type Rep GetSchemaAsJSON Source # 
type Rep GetSchemaAsJSON = D1 (MetaData "GetSchemaAsJSON" "Network.AWS.CloudDirectory.GetSchemaAsJSON" "amazonka-clouddirectory-1.5.0-4g2rtj0PtNBHCN8G8qmiXW" True) (C1 (MetaCons "GetSchemaAsJSON'" PrefixI True) (S1 (MetaSel (Just Symbol "_gsajSchemaARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetSchemaAsJSON Source # 

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 # 
Data GetSchemaAsJSONResponse Source # 

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 # 
Show GetSchemaAsJSONResponse Source # 
Generic GetSchemaAsJSONResponse Source # 
NFData GetSchemaAsJSONResponse Source # 

Methods

rnf :: GetSchemaAsJSONResponse -> () #

type Rep GetSchemaAsJSONResponse Source # 
type Rep GetSchemaAsJSONResponse = D1 (MetaData "GetSchemaAsJSONResponse" "Network.AWS.CloudDirectory.GetSchemaAsJSON" "amazonka-clouddirectory-1.5.0-4g2rtj0PtNBHCN8G8qmiXW" False) (C1 (MetaCons "GetSchemaAsJSONResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gsajrsDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gsajrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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.