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

Description

Creates a connection definition in the Data Catalog.

Synopsis

Creating a Request

data CreateConnection Source #

See: newCreateConnection smart constructor.

Constructors

CreateConnection' 

Fields

Instances

Instances details
ToJSON CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

ToHeaders CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

ToPath CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

ToQuery CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

AWSRequest CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

Associated Types

type AWSResponse CreateConnection #

Generic CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

Associated Types

type Rep CreateConnection :: Type -> Type #

Read CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

Show CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

NFData CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

Methods

rnf :: CreateConnection -> () #

Eq CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

Hashable CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

type AWSResponse CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

type Rep CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

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

newCreateConnection Source #

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

CreateConnection, createConnection_catalogId - The ID of the Data Catalog in which to create the connection. If none is provided, the Amazon Web Services account ID is used by default.

$sel:tags:CreateConnection', createConnection_tags - The tags you assign to the connection.

$sel:connectionInput:CreateConnection', createConnection_connectionInput - A ConnectionInput object defining the connection to create.

Request Lenses

createConnection_catalogId :: Lens' CreateConnection (Maybe Text) Source #

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

createConnection_tags :: Lens' CreateConnection (Maybe (HashMap Text Text)) Source #

The tags you assign to the connection.

createConnection_connectionInput :: Lens' CreateConnection ConnectionInput Source #

A ConnectionInput object defining the connection to create.

Destructuring the Response

data CreateConnectionResponse Source #

See: newCreateConnectionResponse smart constructor.

Constructors

CreateConnectionResponse' 

Fields

Instances

Instances details
Generic CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

Associated Types

type Rep CreateConnectionResponse :: Type -> Type #

Read CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

Show CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

NFData CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

Eq CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

type Rep CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

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

newCreateConnectionResponse Source #

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

Response Lenses