AWS Glue

2021/10/05 - AWS Glue - 1 updated api methods

Changes  This release adds tag as an input of CreateConnection

CreateConnection (updated) Link ΒΆ
Changes (request)
{'Tags': {'string': 'string'}}

Creates a connection definition in the Data Catalog.

See also: AWS API Documentation

Request Syntax

client.create_connection(
    CatalogId='string',
    ConnectionInput={
        'Name': 'string',
        'Description': 'string',
        'ConnectionType': 'JDBC'|'SFTP'|'MONGODB'|'KAFKA'|'NETWORK'|'MARKETPLACE'|'CUSTOM',
        'MatchCriteria': [
            'string',
        ],
        'ConnectionProperties': {
            'string': 'string'
        },
        'PhysicalConnectionRequirements': {
            'SubnetId': 'string',
            'SecurityGroupIdList': [
                'string',
            ],
            'AvailabilityZone': 'string'
        }
    },
    Tags={
        'string': 'string'
    }
)
type CatalogId

string

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

type ConnectionInput

dict

param ConnectionInput

[REQUIRED]

A ConnectionInput object defining the connection to create.

  • Name (string) -- [REQUIRED]

    The name of the connection.

  • Description (string) --

    The description of the connection.

  • ConnectionType (string) -- [REQUIRED]

    The type of the connection. Currently, these types are supported:

    • JDBC - Designates a connection to a database through Java Database Connectivity (JDBC).

    • KAFKA - Designates a connection to an Apache Kafka streaming platform.

    • MONGODB - Designates a connection to a MongoDB document database.

    • NETWORK - Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC).

    • MARKETPLACE - Uses configuration settings contained in a connector purchased from Amazon Web Services Marketplace to read from and write to data stores that are not natively supported by Glue.

    • CUSTOM - Uses configuration settings contained in a custom connector to read from and write to data stores that are not natively supported by Glue.

    SFTP is not supported.

  • MatchCriteria (list) --

    A list of criteria that can be used in selecting this connection.

    • (string) --

  • ConnectionProperties (dict) -- [REQUIRED]

    These key-value pairs define parameters for the connection.

    • (string) --

      • (string) --

  • PhysicalConnectionRequirements (dict) --

    A map of physical connection requirements, such as virtual private cloud (VPC) and SecurityGroup , that are needed to successfully make this connection.

    • SubnetId (string) --

      The subnet ID used by the connection.

    • SecurityGroupIdList (list) --

      The security group ID list used by the connection.

      • (string) --

    • AvailabilityZone (string) --

      The connection's Availability Zone. This field is redundant because the specified subnet implies the Availability Zone to be used. Currently the field must be populated, but it will be deprecated in the future.

type Tags

dict

param Tags

The tags you assign to the connection.

  • (string) --

    • (string) --

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --