Glue / Client / list_connection_types

list_connection_types#

Glue.Client.list_connection_types(**kwargs)#

The ListConnectionTypes API provides a discovery mechanism to learn available connection types in Glue. The response contains a list of connection types with high-level details of what is supported for each connection type. The connection types listed are the set of supported options for the ConnectionType value in the CreateConnection API.

See also: AWS API Documentation

Request Syntax

response = client.list_connection_types(
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • MaxResults (integer) – The maximum number of results to return.

  • NextToken (string) – A continuation token, if this is a continuation call.

Return type:

dict

Returns:

Response Syntax

{
    'ConnectionTypes': [
        {
            'ConnectionType': 'JDBC'|'SFTP'|'MONGODB'|'KAFKA'|'NETWORK'|'MARKETPLACE'|'CUSTOM'|'SALESFORCE'|'VIEW_VALIDATION_REDSHIFT'|'VIEW_VALIDATION_ATHENA'|'GOOGLEADS'|'GOOGLESHEETS'|'GOOGLEANALYTICS4'|'SERVICENOW'|'MARKETO'|'SAPODATA'|'ZENDESK'|'JIRACLOUD'|'NETSUITEERP'|'HUBSPOT'|'FACEBOOKADS'|'INSTAGRAMADS'|'ZOHOCRM'|'SALESFORCEPARDOT'|'SALESFORCEMARKETINGCLOUD'|'SLACK'|'STRIPE'|'INTERCOM'|'SNAPCHATADS',
            'Description': 'string',
            'Capabilities': {
                'SupportedAuthenticationTypes': [
                    'BASIC'|'OAUTH2'|'CUSTOM'|'IAM',
                ],
                'SupportedDataOperations': [
                    'READ'|'WRITE',
                ],
                'SupportedComputeEnvironments': [
                    'SPARK'|'ATHENA'|'PYTHON',
                ]
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • ConnectionTypes (list) –

      A list of ConnectionTypeBrief objects containing brief information about the supported connection types.

      • (dict) –

        Brief information about a supported connection type returned by the ListConnectionTypes API.

        • ConnectionType (string) –

          The name of the connection type.

        • Description (string) –

          A description of the connection type.

        • Capabilities (dict) –

          The supported authentication types, data interface types (compute environments), and data operations of the connector.

          • SupportedAuthenticationTypes (list) –

            A list of supported authentication types.

            • (string) –

          • SupportedDataOperations (list) –

            A list of supported data operations.

            • (string) –

          • SupportedComputeEnvironments (list) –

            A list of supported compute environments.

            • (string) –

    • NextToken (string) –

      A continuation token, if the current list segment is not the last.

Exceptions

  • Glue.Client.exceptions.InternalServiceException

  • Glue.Client.exceptions.AccessDeniedException