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

Description

Delete the entire registry including schema and all of its versions. To get the status of the delete operation, you can call the GetRegistry API after the asynchronous call. Deleting a registry will deactivate all online operations for the registry such as the UpdateRegistry, CreateSchema, UpdateSchema, and RegisterSchemaVersion APIs.

Synopsis

Creating a Request

data DeleteRegistry Source #

See: newDeleteRegistry smart constructor.

Constructors

DeleteRegistry' 

Fields

  • registryId :: RegistryId

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

Instances

Instances details
Eq DeleteRegistry Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

Read DeleteRegistry Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

Show DeleteRegistry Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

Generic DeleteRegistry Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

Associated Types

type Rep DeleteRegistry :: Type -> Type #

NFData DeleteRegistry Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

Methods

rnf :: DeleteRegistry -> () #

Hashable DeleteRegistry Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

ToJSON DeleteRegistry Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

AWSRequest DeleteRegistry Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

Associated Types

type AWSResponse DeleteRegistry #

ToHeaders DeleteRegistry Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

ToPath DeleteRegistry Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

ToQuery DeleteRegistry Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

type Rep DeleteRegistry Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

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

Defined in Amazonka.Glue.DeleteRegistry

newDeleteRegistry Source #

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

Request Lenses

deleteRegistry_registryId :: Lens' DeleteRegistry RegistryId Source #

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

Destructuring the Response

data DeleteRegistryResponse Source #

See: newDeleteRegistryResponse smart constructor.

Constructors

DeleteRegistryResponse' 

Fields

Instances

Instances details
Eq DeleteRegistryResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

Read DeleteRegistryResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

Show DeleteRegistryResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

Generic DeleteRegistryResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

Associated Types

type Rep DeleteRegistryResponse :: Type -> Type #

NFData DeleteRegistryResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

Methods

rnf :: DeleteRegistryResponse -> () #

type Rep DeleteRegistryResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteRegistry

type Rep DeleteRegistryResponse = D1 ('MetaData "DeleteRegistryResponse" "Amazonka.Glue.DeleteRegistry" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "DeleteRegistryResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RegistryStatus)) :*: S1 ('MetaSel ('Just "registryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "registryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteRegistryResponse Source #

Create a value of DeleteRegistryResponse 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:DeleteRegistryResponse', deleteRegistryResponse_status - The status of the registry. A successful operation will return the Deleting status.

$sel:registryName:DeleteRegistryResponse', deleteRegistryResponse_registryName - The name of the registry being deleted.

$sel:registryArn:DeleteRegistryResponse', deleteRegistryResponse_registryArn - The Amazon Resource Name (ARN) of the registry being deleted.

$sel:httpStatus:DeleteRegistryResponse', deleteRegistryResponse_httpStatus - The response's http status code.

Response Lenses

deleteRegistryResponse_status :: Lens' DeleteRegistryResponse (Maybe RegistryStatus) Source #

The status of the registry. A successful operation will return the Deleting status.

deleteRegistryResponse_registryArn :: Lens' DeleteRegistryResponse (Maybe Text) Source #

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