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

Defined in Amazonka.Schemas.CreateSchema

Read CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Show CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Generic CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Associated Types

type Rep CreateSchema :: Type -> Type #

NFData CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Methods

rnf :: CreateSchema -> () #

Hashable CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

ToJSON CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

AWSRequest CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Associated Types

type AWSResponse 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

type Rep CreateSchema Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

type Rep CreateSchema = D1 ('MetaData "CreateSchema" "Amazonka.Schemas.CreateSchema" "libZSservicesZSamazonka-schemasZSamazonka-schemas" 'False) (C1 ('MetaCons "CreateSchema'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "registryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "schemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Type) :*: S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse 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:

$sel:description:CreateSchema', createSchema_description - A description of the schema.

$sel:tags:CreateSchema', createSchema_tags - Tags associated with the schema.

$sel:registryName:CreateSchema', createSchema_registryName - The name of the registry.

$sel:schemaName:CreateSchema', createSchema_schemaName - The name of the schema.

$sel:type':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
Eq CreateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Read CreateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Show CreateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Generic CreateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Associated Types

type Rep CreateSchemaResponse :: Type -> Type #

NFData CreateSchemaResponse Source # 
Instance details

Defined in Amazonka.Schemas.CreateSchema

Methods

rnf :: CreateSchemaResponse -> () #

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:

$sel:schemaVersion:CreateSchemaResponse', createSchemaResponse_schemaVersion - The version number of the schema

$sel:schemaName:CreateSchema', createSchemaResponse_schemaName - The name of the schema.

$sel:schemaArn:CreateSchemaResponse', createSchemaResponse_schemaArn - The ARN of the schema.

$sel:type':CreateSchema', createSchemaResponse_type - The type of the schema.

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

$sel:description:CreateSchema', createSchemaResponse_description - The description of the schema.

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

$sel:tags:CreateSchema', createSchemaResponse_tags - Undocumented member.

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