amazonka-schemas-2.0: Amazon Schemas SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.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

AWSRequest UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Associated Types

type AWSResponse UpdateSchema #

Generic UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Associated Types

type Rep UpdateSchema :: Type -> Type #

Read UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Show UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

NFData UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Methods

rnf :: UpdateSchema -> () #

Eq UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Hashable UpdateSchema Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

type AWSResponse 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" "amazonka-schemas-2.0-BJyIo2S2AS7BU9nZBCcS3" 'False) (C1 ('MetaCons "UpdateSchema'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientTokenId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Type)) :*: (S1 ('MetaSel ('Just "registryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "schemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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:clientTokenId:UpdateSchema', updateSchema_clientTokenId - The ID of the client token.

$sel:content:UpdateSchema', updateSchema_content - The source of the schema definition.

UpdateSchema, updateSchema_description - The description of the schema.

UpdateSchema, updateSchema_type - The schema type for the events schema.

UpdateSchema, updateSchema_registryName - The name of the registry.

UpdateSchema, updateSchema_schemaName - The name of the schema.

Request Lenses

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

The source of the schema definition.

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

The description of the schema.

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

The schema type for the events schema.

Destructuring the Response

data UpdateSchemaResponse Source #

See: newUpdateSchemaResponse smart constructor.

Constructors

UpdateSchemaResponse' 

Fields

Instances

Instances details
Generic UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Associated Types

type Rep UpdateSchemaResponse :: Type -> Type #

Read UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Show UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

NFData UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

Methods

rnf :: UpdateSchemaResponse -> () #

Eq UpdateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.UpdateSchema

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:

UpdateSchema, updateSchemaResponse_description - The description of the schema.

UpdateSchemaResponse, updateSchemaResponse_lastModified - The date and time that schema was modified.

UpdateSchemaResponse, updateSchemaResponse_schemaArn - The ARN of the schema.

UpdateSchema, updateSchemaResponse_schemaName - The name of the schema.

UpdateSchemaResponse, updateSchemaResponse_schemaVersion - The version number of the schema

UpdateSchemaResponse, updateSchemaResponse_tags - Undocumented member.

UpdateSchema, updateSchemaResponse_type - The type of the schema.

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

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