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

Description

Updates a connection definition in the Data Catalog.

Synopsis

Creating a Request

data UpdateConnection Source #

See: newUpdateConnection smart constructor.

Constructors

UpdateConnection' 

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.

  • name :: Text

    The name of the connection definition to update.

  • connectionInput :: ConnectionInput

    A ConnectionInput object that redefines the connection in question.

Instances

Instances details
Eq UpdateConnection Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

Read UpdateConnection Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

Show UpdateConnection Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

Generic UpdateConnection Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

Associated Types

type Rep UpdateConnection :: Type -> Type #

NFData UpdateConnection Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

Methods

rnf :: UpdateConnection -> () #

Hashable UpdateConnection Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

ToJSON UpdateConnection Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

AWSRequest UpdateConnection Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

Associated Types

type AWSResponse UpdateConnection #

ToHeaders UpdateConnection Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

ToPath UpdateConnection Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

ToQuery UpdateConnection Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

type Rep UpdateConnection Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

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

Defined in Amazonka.Glue.UpdateConnection

newUpdateConnection Source #

Create a value of UpdateConnection 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:UpdateConnection', updateConnection_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:name:UpdateConnection', updateConnection_name - The name of the connection definition to update.

$sel:connectionInput:UpdateConnection', updateConnection_connectionInput - A ConnectionInput object that redefines the connection in question.

Request Lenses

updateConnection_catalogId :: Lens' UpdateConnection (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.

updateConnection_name :: Lens' UpdateConnection Text Source #

The name of the connection definition to update.

updateConnection_connectionInput :: Lens' UpdateConnection ConnectionInput Source #

A ConnectionInput object that redefines the connection in question.

Destructuring the Response

data UpdateConnectionResponse Source #

See: newUpdateConnectionResponse smart constructor.

Constructors

UpdateConnectionResponse' 

Fields

Instances

Instances details
Eq UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

Read UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

Show UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

Generic UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

Associated Types

type Rep UpdateConnectionResponse :: Type -> Type #

NFData UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

type Rep UpdateConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateConnection

type Rep UpdateConnectionResponse = D1 ('MetaData "UpdateConnectionResponse" "Amazonka.Glue.UpdateConnection" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "UpdateConnectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateConnectionResponse Source #

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

Response Lenses