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.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
ToJSON BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.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

AWSRequest BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Associated Types

type AWSResponse BatchDeleteConnection #

Generic BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Associated Types

type Rep BatchDeleteConnection :: Type -> Type #

Read BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Show BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

NFData BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Methods

rnf :: BatchDeleteConnection -> () #

Eq BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Hashable BatchDeleteConnection Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

type AWSResponse 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" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" '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])))

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:

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
Generic BatchDeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Associated Types

type Rep BatchDeleteConnectionResponse :: Type -> Type #

Read BatchDeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Show BatchDeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

NFData BatchDeleteConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.BatchDeleteConnection

Eq 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" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "BatchDeleteConnectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text ErrorDetail))) :*: (S1 ('MetaSel ('Just "succeeded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: 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:errors:BatchDeleteConnectionResponse', batchDeleteConnectionResponse_errors - A map of the names of connections that were not successfully deleted to error details.

$sel:succeeded:BatchDeleteConnectionResponse', batchDeleteConnectionResponse_succeeded - A list of names of the connection definitions that were successfully deleted.

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

Response Lenses

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

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

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

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