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

Defined in Amazonka.Glue.CreateConnection

Read CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

Show CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

Generic CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

Associated Types

type Rep CreateConnection :: Type -> Type #

NFData CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

Methods

rnf :: CreateConnection -> () #

Hashable CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

ToJSON CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

AWSRequest CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

Associated Types

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

type Rep CreateConnection Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

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

Defined in Amazonka.Glue.CreateConnection

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:

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

Defined in Amazonka.Glue.CreateConnection

Read CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

Show CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

Generic CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateConnection

Associated Types

type Rep CreateConnectionResponse :: Type -> Type #

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