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

Description

Creates a schema definition.

Inactive schemas will be deleted after two years.

Synopsis

Creating a Request

data CreateSchema Source #

See: newCreateSchema smart constructor.

Constructors

CreateSchema' 

Fields

Instances

Instances details
ToJSON CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

ToHeaders CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

ToPath CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

ToQuery CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

AWSRequest CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Associated Types

type AWSResponse CreateSchema #

Generic CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Associated Types

type Rep CreateSchema :: Type -> Type #

Read CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Show CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

NFData CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Methods

rnf :: CreateSchema -> () #

Eq CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Hashable CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

type AWSResponse CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

type Rep CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

newCreateSchema Source #

Create a value of CreateSchema 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:

CreateSchema, createSchema_description - A description of the schema.

CreateSchema, createSchema_tags - Tags associated with the schema.

CreateSchema, createSchema_registryName - The name of the registry.

CreateSchema, createSchema_schemaName - The name of the schema.

CreateSchema, createSchema_type - The type of schema.

$sel:content:CreateSchema', createSchema_content - The source of the schema definition.

Request Lenses

createSchema_description :: Lens' CreateSchema (Maybe Text) Source #

A description of the schema.

createSchema_tags :: Lens' CreateSchema (Maybe (HashMap Text Text)) Source #

Tags associated with the schema.

createSchema_content :: Lens' CreateSchema Text Source #

The source of the schema definition.

Destructuring the Response

data CreateSchemaResponse Source #

See: newCreateSchemaResponse smart constructor.

Constructors

CreateSchemaResponse' 

Fields

Instances

Instances details
Generic CreateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Associated Types

type Rep CreateSchemaResponse :: Type -> Type #

Read CreateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Show CreateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

NFData CreateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Methods

rnf :: CreateSchemaResponse -> () #

Eq CreateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

type Rep CreateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

newCreateSchemaResponse Source #

Create a value of CreateSchemaResponse 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:

CreateSchema, createSchemaResponse_description - The description of the schema.

CreateSchemaResponse, createSchemaResponse_lastModified - The date and time that schema was modified.

CreateSchemaResponse, createSchemaResponse_schemaArn - The ARN of the schema.

CreateSchema, createSchemaResponse_schemaName - The name of the schema.

CreateSchemaResponse, createSchemaResponse_schemaVersion - The version number of the schema

CreateSchema, createSchemaResponse_tags - Undocumented member.

CreateSchema, createSchemaResponse_type - The type of the schema.

$sel:versionCreatedDate:CreateSchemaResponse', createSchemaResponse_versionCreatedDate - The date the schema version was created.

$sel:httpStatus:CreateSchemaResponse', createSchemaResponse_httpStatus - The response's http status code.

Response Lenses

createSchemaResponse_lastModified :: Lens' CreateSchemaResponse (Maybe UTCTime) Source #

The date and time that schema was modified.