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

Description

Deletes a list of connection definitions from the Data Catalog.

Synopsis

Creating a Request

data BatchDeleteConnection Source #

See: newBatchDeleteConnection smart constructor.

Constructors

BatchDeleteConnection' 

Fields

  • catalogId :: Maybe Text

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

  • connectionNameList :: [Text]

    A list of names of the connections to delete.

Instances

Instances details
Eq BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Read BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Show BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Generic BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Associated Types

type Rep BatchDeleteConnection :: Type -> Type #

NFData BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Methods

rnf :: BatchDeleteConnection -> () #

Hashable BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

ToJSON BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

AWSRequest BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Associated Types

type AWSResponse BatchDeleteConnection #

ToHeaders BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

ToPath BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

ToQuery BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

type Rep BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

type Rep BatchDeleteConnection = D1 ('MetaData "BatchDeleteConnection" "Amazonka.Glue.BatchDeleteConnection" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "BatchDeleteConnection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "connectionNameList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

newBatchDeleteConnection :: BatchDeleteConnection Source #

Create a value of BatchDeleteConnection 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:BatchDeleteConnection', batchDeleteConnection_catalogId - The ID of the Data Catalog in which the connections reside. If none is provided, the Amazon Web Services account ID is used by default.

$sel:connectionNameList:BatchDeleteConnection', batchDeleteConnection_connectionNameList - A list of names of the connections to delete.

Request Lenses

batchDeleteConnection_catalogId :: Lens' BatchDeleteConnection (Maybe Text) Source #

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

batchDeleteConnection_connectionNameList :: Lens' BatchDeleteConnection [Text] Source #

A list of names of the connections to delete.

Destructuring the Response

data BatchDeleteConnectionResponse Source #

See: newBatchDeleteConnectionResponse smart constructor.

Constructors

BatchDeleteConnectionResponse' 

Fields

Instances

Instances details
Eq BatchDeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Read BatchDeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Show BatchDeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Generic BatchDeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Associated Types

type Rep BatchDeleteConnectionResponse :: Type -> Type #

NFData BatchDeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

type Rep BatchDeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

type Rep BatchDeleteConnectionResponse = D1 ('MetaData "BatchDeleteConnectionResponse" "Amazonka.Glue.BatchDeleteConnection" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "BatchDeleteConnectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "succeeded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text ErrorDetail))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newBatchDeleteConnectionResponse Source #

Create a value of BatchDeleteConnectionResponse 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:succeeded:BatchDeleteConnectionResponse', batchDeleteConnectionResponse_succeeded - A list of names of the connection definitions that were successfully deleted.

$sel:errors:BatchDeleteConnectionResponse', batchDeleteConnectionResponse_errors - A map of the names of connections that were not successfully deleted to error details.

$sel:httpStatus:BatchDeleteConnectionResponse', batchDeleteConnectionResponse_httpStatus - The response's http status code.

Response Lenses

batchDeleteConnectionResponse_succeeded :: Lens' BatchDeleteConnectionResponse (Maybe [Text]) Source #

A list of names of the connection definitions that were successfully deleted.

batchDeleteConnectionResponse_errors :: Lens' BatchDeleteConnectionResponse (Maybe (HashMap Text ErrorDetail)) Source #

A map of the names of connections that were not successfully deleted to error details.