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

Description

Retrieves a connection definition from the Data Catalog.

Synopsis

Creating a Request

data GetConnection Source #

See: newGetConnection smart constructor.

Constructors

GetConnection' 

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.

  • hidePassword :: Maybe Bool

    Allows you to retrieve the connection metadata without returning the password. For instance, the AWS Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.

  • name :: Text

    The name of the connection definition to retrieve.

Instances

Instances details
Eq GetConnection Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

Read GetConnection Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

Show GetConnection Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

Generic GetConnection Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

Associated Types

type Rep GetConnection :: Type -> Type #

NFData GetConnection Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

Methods

rnf :: GetConnection -> () #

Hashable GetConnection Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

ToJSON GetConnection Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

AWSRequest GetConnection Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

Associated Types

type AWSResponse GetConnection #

ToHeaders GetConnection Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

ToPath GetConnection Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

ToQuery GetConnection Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

type Rep GetConnection Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

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

Defined in Amazonka.Glue.GetConnection

newGetConnection Source #

Create a value of GetConnection 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:GetConnection', getConnection_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:hidePassword:GetConnection', getConnection_hidePassword - Allows you to retrieve the connection metadata without returning the password. For instance, the AWS Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.

$sel:name:GetConnection', getConnection_name - The name of the connection definition to retrieve.

Request Lenses

getConnection_catalogId :: Lens' GetConnection (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.

getConnection_hidePassword :: Lens' GetConnection (Maybe Bool) Source #

Allows you to retrieve the connection metadata without returning the password. For instance, the AWS Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.

getConnection_name :: Lens' GetConnection Text Source #

The name of the connection definition to retrieve.

Destructuring the Response

data GetConnectionResponse Source #

See: newGetConnectionResponse smart constructor.

Constructors

GetConnectionResponse' 

Fields

Instances

Instances details
Eq GetConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

Read GetConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

Show GetConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

Generic GetConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

Associated Types

type Rep GetConnectionResponse :: Type -> Type #

NFData GetConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

Methods

rnf :: GetConnectionResponse -> () #

type Rep GetConnectionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnection

type Rep GetConnectionResponse = D1 ('MetaData "GetConnectionResponse" "Amazonka.Glue.GetConnection" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetConnectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Connection)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetConnectionResponse Source #

Create a value of GetConnectionResponse 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:connection:GetConnectionResponse', getConnectionResponse_connection - The requested connection definition.

$sel:httpStatus:GetConnectionResponse', getConnectionResponse_httpStatus - The response's http status code.

Response Lenses