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

Contents

Description

Allows a schema to be updated using JSON upload. Only available for development schemas. See JSON Schema Format for more information.

Synopsis

Creating a Request

putSchemaFromJSON Source #

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

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

data PutSchemaFromJSON Source #

See: putSchemaFromJSON smart constructor.

Instances

Eq PutSchemaFromJSON Source # 
Data PutSchemaFromJSON Source # 

Methods

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

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

toConstr :: PutSchemaFromJSON -> Constr #

dataTypeOf :: PutSchemaFromJSON -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: PutSchemaFromJSON -> () #

AWSRequest PutSchemaFromJSON Source # 
ToQuery PutSchemaFromJSON Source # 
ToPath PutSchemaFromJSON Source # 
ToHeaders PutSchemaFromJSON Source # 
type Rep PutSchemaFromJSON Source # 
type Rep PutSchemaFromJSON = D1 (MetaData "PutSchemaFromJSON" "Network.AWS.CloudDirectory.PutSchemaFromJSON" "amazonka-clouddirectory-1.5.0-4g2rtj0PtNBHCN8G8qmiXW" False) (C1 (MetaCons "PutSchemaFromJSON'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_psfjSchemaARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_psfjDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs PutSchemaFromJSON Source # 

Request Lenses

psfjSchemaARN :: Lens' PutSchemaFromJSON Text Source #

The ARN of the schema to update.

psfjDocument :: Lens' PutSchemaFromJSON Text Source #

The replacement JSON schema.

Destructuring the Response

putSchemaFromJSONResponse Source #

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

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

data PutSchemaFromJSONResponse Source #

See: putSchemaFromJSONResponse smart constructor.

Instances

Eq PutSchemaFromJSONResponse Source # 
Data PutSchemaFromJSONResponse Source # 

Methods

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

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

toConstr :: PutSchemaFromJSONResponse -> Constr #

dataTypeOf :: PutSchemaFromJSONResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutSchemaFromJSONResponse Source # 
Show PutSchemaFromJSONResponse Source # 
Generic PutSchemaFromJSONResponse Source # 
NFData PutSchemaFromJSONResponse Source # 
type Rep PutSchemaFromJSONResponse Source # 
type Rep PutSchemaFromJSONResponse = D1 (MetaData "PutSchemaFromJSONResponse" "Network.AWS.CloudDirectory.PutSchemaFromJSON" "amazonka-clouddirectory-1.5.0-4g2rtj0PtNBHCN8G8qmiXW" False) (C1 (MetaCons "PutSchemaFromJSONResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_psfjrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_psfjrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

psfjrsARN :: Lens' PutSchemaFromJSONResponse (Maybe Text) Source #

The ARN of the schema to update.