libZSservicesZSamazonka-glueZSamazonka-glue
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.Glue.DeleteSchema

Description

Deletes the entire schema set, including the schema set and all of its versions. To get the status of the delete operation, you can call GetSchema API after the asynchronous call. Deleting a registry will deactivate all online operations for the schema, such as the GetSchemaByDefinition, and RegisterSchemaVersion APIs.

Synopsis

Creating a Request

data DeleteSchema Source #

See: newDeleteSchema smart constructor.

Constructors

DeleteSchema' 

Fields

  • schemaId :: SchemaId

    This is a wrapper structure that may contain the schema name and Amazon Resource Name (ARN).

Instances

Instances details
Eq DeleteSchema Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

Read DeleteSchema Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

Show DeleteSchema Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

Generic DeleteSchema Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

Associated Types

type Rep DeleteSchema :: Type -> Type #

NFData DeleteSchema Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

Methods

rnf :: DeleteSchema -> () #

Hashable DeleteSchema Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

ToJSON DeleteSchema Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

AWSRequest DeleteSchema Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

Associated Types

type AWSResponse DeleteSchema #

ToHeaders DeleteSchema Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

ToPath DeleteSchema Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

ToQuery DeleteSchema Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

type Rep DeleteSchema Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

type Rep DeleteSchema = D1 ('MetaData "DeleteSchema" "Amazonka.Glue.DeleteSchema" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "DeleteSchema'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemaId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SchemaId)))
type AWSResponse DeleteSchema Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

newDeleteSchema Source #

Create a value of DeleteSchema 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:schemaId:DeleteSchema', deleteSchema_schemaId - This is a wrapper structure that may contain the schema name and Amazon Resource Name (ARN).

Request Lenses

deleteSchema_schemaId :: Lens' DeleteSchema SchemaId Source #

This is a wrapper structure that may contain the schema name and Amazon Resource Name (ARN).

Destructuring the Response

data DeleteSchemaResponse Source #

See: newDeleteSchemaResponse smart constructor.

Constructors

DeleteSchemaResponse' 

Fields

Instances

Instances details
Eq DeleteSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

Read DeleteSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

Show DeleteSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

Generic DeleteSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

Associated Types

type Rep DeleteSchemaResponse :: Type -> Type #

NFData DeleteSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

Methods

rnf :: DeleteSchemaResponse -> () #

type Rep DeleteSchemaResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteSchema

type Rep DeleteSchemaResponse = D1 ('MetaData "DeleteSchemaResponse" "Amazonka.Glue.DeleteSchema" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "DeleteSchemaResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SchemaStatus)) :*: S1 ('MetaSel ('Just "schemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "schemaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteSchemaResponse Source #

Create a value of DeleteSchemaResponse 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:status:DeleteSchemaResponse', deleteSchemaResponse_status - The status of the schema.

$sel:schemaName:DeleteSchemaResponse', deleteSchemaResponse_schemaName - The name of the schema being deleted.

$sel:schemaArn:DeleteSchemaResponse', deleteSchemaResponse_schemaArn - The Amazon Resource Name (ARN) of the schema being deleted.

$sel:httpStatus:DeleteSchemaResponse', deleteSchemaResponse_httpStatus - The response's http status code.

Response Lenses

deleteSchemaResponse_schemaName :: Lens' DeleteSchemaResponse (Maybe Text) Source #

The name of the schema being deleted.

deleteSchemaResponse_schemaArn :: Lens' DeleteSchemaResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the schema being deleted.