libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudDirectory.PutSchemaFromJson

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

data PutSchemaFromJson Source #

See: newPutSchemaFromJson smart constructor.

Constructors

PutSchemaFromJson' 

Fields

Instances

Instances details
Eq PutSchemaFromJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

Read PutSchemaFromJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

Show PutSchemaFromJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

Generic PutSchemaFromJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

Associated Types

type Rep PutSchemaFromJson :: Type -> Type #

NFData PutSchemaFromJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

Methods

rnf :: PutSchemaFromJson -> () #

Hashable PutSchemaFromJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

ToJSON PutSchemaFromJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

AWSRequest PutSchemaFromJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

Associated Types

type AWSResponse PutSchemaFromJson #

ToHeaders PutSchemaFromJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

ToPath PutSchemaFromJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

ToQuery PutSchemaFromJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

type Rep PutSchemaFromJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

type Rep PutSchemaFromJson = D1 ('MetaData "PutSchemaFromJson" "Amazonka.CloudDirectory.PutSchemaFromJson" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "PutSchemaFromJson'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "document") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse PutSchemaFromJson Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

newPutSchemaFromJson Source #

Create a value of PutSchemaFromJson with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:schemaArn:PutSchemaFromJson', putSchemaFromJson_schemaArn - The ARN of the schema to update.

$sel:document:PutSchemaFromJson', putSchemaFromJson_document - The replacement JSON schema.

Request Lenses

putSchemaFromJson_schemaArn :: Lens' PutSchemaFromJson Text Source #

The ARN of the schema to update.

Destructuring the Response

data PutSchemaFromJsonResponse Source #

See: newPutSchemaFromJsonResponse smart constructor.

Constructors

PutSchemaFromJsonResponse' 

Fields

Instances

Instances details
Eq PutSchemaFromJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

Read PutSchemaFromJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

Show PutSchemaFromJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

Generic PutSchemaFromJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

Associated Types

type Rep PutSchemaFromJsonResponse :: Type -> Type #

NFData PutSchemaFromJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

type Rep PutSchemaFromJsonResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.PutSchemaFromJson

type Rep PutSchemaFromJsonResponse = D1 ('MetaData "PutSchemaFromJsonResponse" "Amazonka.CloudDirectory.PutSchemaFromJson" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "PutSchemaFromJsonResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutSchemaFromJsonResponse Source #

Create a value of PutSchemaFromJsonResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:arn:PutSchemaFromJsonResponse', putSchemaFromJsonResponse_arn - The ARN of the schema to update.

$sel:httpStatus:PutSchemaFromJsonResponse', putSchemaFromJsonResponse_httpStatus - The response's http status code.

Response Lenses