libZSservicesZSamazonka-schemasZSamazonka-schemas
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.Schemas.UpdateSchema

Description

Updates the schema definition

Inactive schemas will be deleted after two years.

Synopsis

Creating a Request

data UpdateSchema Source #

See: newUpdateSchema smart constructor.

Constructors

UpdateSchema' 

Fields

Instances

Instances details
Eq UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Read UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Show UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Generic UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Associated Types

type Rep UpdateSchema :: Type -> Type #

NFData UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Methods

rnf :: UpdateSchema -> () #

Hashable UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

ToJSON UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

AWSRequest UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Associated Types

type AWSResponse UpdateSchema #

ToHeaders UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

ToPath UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

ToQuery UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

type Rep UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

type Rep UpdateSchema = D1 ('MetaData "UpdateSchema" "Amazonka.Schemas.UpdateSchema" "libZSservicesZSamazonka-schemasZSamazonka-schemas" 'False) (C1 ('MetaCons "UpdateSchema'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clientTokenId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Type)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "registryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "schemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

newUpdateSchema Source #

Create a value of UpdateSchema 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:content:UpdateSchema', updateSchema_content - The source of the schema definition.

$sel:clientTokenId:UpdateSchema', updateSchema_clientTokenId - The ID of the client token.

$sel:type':UpdateSchema', updateSchema_type - The schema type for the events schema.

$sel:description:UpdateSchema', updateSchema_description - The description of the schema.

$sel:registryName:UpdateSchema', updateSchema_registryName - The name of the registry.

$sel:schemaName:UpdateSchema', updateSchema_schemaName - The name of the schema.

Request Lenses

updateSchema_content :: Lens' UpdateSchema (Maybe Text) Source #

The source of the schema definition.

updateSchema_type :: Lens' UpdateSchema (Maybe Type) Source #

The schema type for the events schema.

updateSchema_description :: Lens' UpdateSchema (Maybe Text) Source #

The description of the schema.

Destructuring the Response

data UpdateSchemaResponse Source #

See: newUpdateSchemaResponse smart constructor.

Constructors

UpdateSchemaResponse' 

Fields

Instances

Instances details
Eq UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Read UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Show UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Generic UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Associated Types

type Rep UpdateSchemaResponse :: Type -> Type #

NFData UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Methods

rnf :: UpdateSchemaResponse -> () #

type Rep UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

newUpdateSchemaResponse Source #

Create a value of UpdateSchemaResponse 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:schemaVersion:UpdateSchemaResponse', updateSchemaResponse_schemaVersion - The version number of the schema

$sel:schemaName:UpdateSchema', updateSchemaResponse_schemaName - The name of the schema.

$sel:schemaArn:UpdateSchemaResponse', updateSchemaResponse_schemaArn - The ARN of the schema.

$sel:type':UpdateSchema', updateSchemaResponse_type - The type of the schema.

$sel:lastModified:UpdateSchemaResponse', updateSchemaResponse_lastModified - The date and time that schema was modified.

$sel:description:UpdateSchema', updateSchemaResponse_description - The description of the schema.

$sel:versionCreatedDate:UpdateSchemaResponse', updateSchemaResponse_versionCreatedDate - The date the schema version was created.

$sel:tags:UpdateSchemaResponse', updateSchemaResponse_tags - Undocumented member.

$sel:httpStatus:UpdateSchemaResponse', updateSchemaResponse_httpStatus - The response's http status code.

Response Lenses

updateSchemaResponse_lastModified :: Lens' UpdateSchemaResponse (Maybe UTCTime) Source #

The date and time that schema was modified.