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

  • filter' :: Maybe GetConnectionsFilter

    A filter that controls which connections are returned.

  • hidePassword :: Maybe Bool

    Allows you to retrieve the connection metadata without returning the password. For instance, the 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.

  • maxResults :: Maybe Natural

    The maximum number of connections to return in one response.

  • nextToken :: Maybe Text

    A continuation token, if this is a continuation call.

Instances

Instances details
ToJSON GetConnections Source # 
Instance details

Defined in Amazonka.Glue.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

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 #

Generic GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Associated Types

type Rep GetConnections :: Type -> Type #

Read GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Show GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

NFData GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Methods

rnf :: GetConnections -> () #

Eq GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Hashable GetConnections Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

type AWSResponse 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" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "GetConnections'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "filter'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GetConnectionsFilter))) :*: (S1 ('MetaSel ('Just "hidePassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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:

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.

GetConnections, getConnections_filter - A filter that controls which connections are returned.

$sel:hidePassword:GetConnections', getConnections_hidePassword - Allows you to retrieve the connection metadata without returning the password. For instance, the 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:maxResults:GetConnections', getConnections_maxResults - The maximum number of connections to return in one response.

GetConnections, getConnections_nextToken - A continuation token, if this is a continuation call.

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_filter :: Lens' GetConnections (Maybe GetConnectionsFilter) Source #

A filter that controls which connections are returned.

getConnections_hidePassword :: Lens' GetConnections (Maybe Bool) Source #

Allows you to retrieve the connection metadata without returning the password. For instance, the 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_maxResults :: Lens' GetConnections (Maybe Natural) Source #

The maximum number of connections to return in one response.

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

A continuation token, if this is a continuation call.

Destructuring the Response

data GetConnectionsResponse Source #

See: newGetConnectionsResponse smart constructor.

Constructors

GetConnectionsResponse' 

Fields

Instances

Instances details
Generic GetConnectionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Associated Types

type Rep GetConnectionsResponse :: Type -> Type #

Read GetConnectionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Show GetConnectionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

NFData GetConnectionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

Methods

rnf :: GetConnectionsResponse -> () #

Eq GetConnectionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

type Rep GetConnectionsResponse Source # 
Instance details

Defined in Amazonka.Glue.GetConnections

type Rep GetConnectionsResponse = D1 ('MetaData "GetConnectionsResponse" "Amazonka.Glue.GetConnections" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "GetConnectionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connectionList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Connection])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:connectionList:GetConnectionsResponse', getConnectionsResponse_connectionList - A list of requested connection definitions.

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

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