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

Description

Retrieves a list of connection definitions from the Data Catalog.

This operation returns paginated results.

Synopsis

Creating a Request

data GetConnections Source #

See: newGetConnections smart constructor.

Constructors

GetConnections' 

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.

  • nextToken :: Maybe Text

    A continuation token, if this is a continuation call.

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

  • filter' :: Maybe GetConnectionsFilter

    A filter that controls which connections are returned.

  • maxResults :: Maybe Natural

    The maximum number of connections to return in one response.

Instances

Instances details
Eq GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Read GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Show GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Generic GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Associated Types

type Rep GetConnections :: Type -> Type #

NFData GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Methods

rnf :: GetConnections -> () #

Hashable GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

ToJSON GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

AWSPager GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

AWSRequest GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Associated Types

type AWSResponse GetConnections #

ToHeaders GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

ToPath GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

ToQuery GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

type Rep GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

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

Defined in Amazonka.Glue.GetConnections

newGetConnections :: GetConnections Source #

Create a value of GetConnections 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:GetConnections', getConnections_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:nextToken:GetConnections', getConnections_nextToken - A continuation token, if this is a continuation call.

$sel:hidePassword:GetConnections', getConnections_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:filter':GetConnections', getConnections_filter - A filter that controls which connections are returned.

$sel:maxResults:GetConnections', getConnections_maxResults - The maximum number of connections to return in one response.

Request Lenses

getConnections_catalogId :: Lens' GetConnections (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.

getConnections_nextToken :: Lens' GetConnections (Maybe Text) Source #

A continuation token, if this is a continuation call.

getConnections_hidePassword :: Lens' GetConnections (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.

getConnections_filter :: Lens' GetConnections (Maybe GetConnectionsFilter) Source #

A filter that controls which connections are returned.

getConnections_maxResults :: Lens' GetConnections (Maybe Natural) Source #

The maximum number of connections to return in one response.

Destructuring the Response

data GetConnectionsResponse Source #

See: newGetConnectionsResponse smart constructor.

Constructors

GetConnectionsResponse' 

Fields

Instances

Instances details
Eq GetConnectionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Read GetConnectionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Show GetConnectionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Generic GetConnectionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Associated Types

type Rep GetConnectionsResponse :: Type -> Type #

NFData GetConnectionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Methods

rnf :: GetConnectionsResponse -> () #

type Rep GetConnectionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

type Rep GetConnectionsResponse = D1 ('MetaData "GetConnectionsResponse" "Amazonka.Glue.GetConnections" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "GetConnectionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "connectionList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Connection])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetConnectionsResponse Source #

Create a value of GetConnectionsResponse 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:nextToken:GetConnections', getConnectionsResponse_nextToken - A continuation token, if the list of connections returned does not include the last of the filtered connections.

$sel:connectionList:GetConnectionsResponse', getConnectionsResponse_connectionList - A list of requested connection definitions.

$sel:httpStatus:GetConnectionsResponse', getConnectionsResponse_httpStatus - The response's http status code.

Response Lenses

getConnectionsResponse_nextToken :: Lens' GetConnectionsResponse (Maybe Text) Source #

A continuation token, if the list of connections returned does not include the last of the filtered connections.