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

Defined in Amazonka.Glue.DeleteConnection

Read DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Show DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Generic DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Associated Types

type Rep DeleteConnection :: Type -> Type #

NFData DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Methods

rnf :: DeleteConnection -> () #

Hashable DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

ToJSON DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

AWSRequest DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Associated Types

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

type Rep DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

type Rep DeleteConnection = D1 ('MetaData "DeleteConnection" "Amazonka.Glue.DeleteConnection" "libZSservicesZSamazonka-glueZSamazonka-glue" '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)))
type AWSResponse DeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

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:

$sel:catalogId: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.

$sel:connectionName: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
Eq DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Read DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Show DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Generic DeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteConnection

Associated Types

type Rep DeleteConnectionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-glueZSamazonka-glue" '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