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

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

Data PutSchemaFromJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

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

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

Show PutSchemaFromJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

Generic PutSchemaFromJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

Associated Types

type Rep PutSchemaFromJSON :: Type -> Type #

Hashable PutSchemaFromJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

ToJSON PutSchemaFromJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

AWSRequest PutSchemaFromJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

Associated Types

type Rs PutSchemaFromJSON :: Type #

ToHeaders PutSchemaFromJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

ToPath PutSchemaFromJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

ToQuery PutSchemaFromJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

NFData PutSchemaFromJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

Methods

rnf :: PutSchemaFromJSON -> () #

type Rep PutSchemaFromJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

type Rep PutSchemaFromJSON = D1 (MetaData "PutSchemaFromJSON" "Network.AWS.CloudDirectory.PutSchemaFromJSON" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" False) (C1 (MetaCons "PutSchemaFromJSON'" PrefixI True) (S1 (MetaSel (Just "_psfjSchemaARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_psfjDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs PutSchemaFromJSON Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

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

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

Data PutSchemaFromJSONResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

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

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

Show PutSchemaFromJSONResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

Generic PutSchemaFromJSONResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

Associated Types

type Rep PutSchemaFromJSONResponse :: Type -> Type #

NFData PutSchemaFromJSONResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

type Rep PutSchemaFromJSONResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.PutSchemaFromJSON

type Rep PutSchemaFromJSONResponse = D1 (MetaData "PutSchemaFromJSONResponse" "Network.AWS.CloudDirectory.PutSchemaFromJSON" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" False) (C1 (MetaCons "PutSchemaFromJSONResponse'" PrefixI True) (S1 (MetaSel (Just "_psfjrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psfjrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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

The ARN of the schema to update.