amazonka-glue-2.0: Amazon Glue 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.Glue.DeleteConnection

Description

Deletes a connection from the Data Catalog.

Synopsis

Creating a Request

data DeleteConnection Source #

See: newDeleteConnection smart constructor.

Constructors

DeleteConnection' 

Fields

  • catalogId :: Maybe Text

    The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.

  • connectionName :: Text

    The name of the connection to delete.

Instances

Instances details
ToJSON DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

ToHeaders DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

ToPath DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

ToQuery DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

AWSRequest DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Associated Types

type AWSResponse DeleteConnection #

Generic DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Associated Types

type Rep DeleteConnection :: Type -> Type #

Read DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Show DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

NFData DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Methods

rnf :: DeleteConnection -> () #

Eq DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Hashable DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

type AWSResponse DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

type Rep DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

type Rep DeleteConnection = D1 ('MetaData "DeleteConnection" "Amazonka.Glue.DeleteConnection" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "DeleteConnection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "connectionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteConnection Source #

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

DeleteConnection, deleteConnection_catalogId - The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.

DeleteConnection, deleteConnection_connectionName - The name of the connection to delete.

Request Lenses

deleteConnection_catalogId :: Lens' DeleteConnection (Maybe Text) Source #

The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.

deleteConnection_connectionName :: Lens' DeleteConnection Text Source #

The name of the connection to delete.

Destructuring the Response

data DeleteConnectionResponse Source #

See: newDeleteConnectionResponse smart constructor.

Constructors

DeleteConnectionResponse' 

Fields

Instances

Instances details
Generic DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Associated Types

type Rep DeleteConnectionResponse :: Type -> Type #

Read DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Show DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

NFData DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Eq DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

type Rep DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

type Rep DeleteConnectionResponse = D1 ('MetaData "DeleteConnectionResponse" "Amazonka.Glue.DeleteConnection" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "DeleteConnectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteConnectionResponse Source #

Create a value of DeleteConnectionResponse 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:httpStatus:DeleteConnectionResponse', deleteConnectionResponse_httpStatus - The response's http status code.

Response Lenses