batch_delete_connection

batch_delete_connection(**kwargs)

Deletes a list of connection definitions from the Data Catalog.

See also: AWS API Documentation

Request Syntax

response = client.batch_delete_connection(
    CatalogId='string',
    ConnectionNameList=[
        'string',
    ]
)
Parameters
  • CatalogId (string) -- 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.
  • ConnectionNameList (list) --

    [REQUIRED]

    A list of names of the connections to delete.

    • (string) --
Return type

dict

Returns

Response Syntax

{
    'Succeeded': [
        'string',
    ],
    'Errors': {
        'string': {
            'ErrorCode': 'string',
            'ErrorMessage': 'string'
        }
    }
}

Response Structure

  • (dict) --

    • Succeeded (list) --

      A list of names of the connection definitions that were successfully deleted.

      • (string) --
    • Errors (dict) --

      A map of the names of connections that were not successfully deleted to error details.

      • (string) --

        • (dict) --

          Contains details about an error.

          • ErrorCode (string) --

            The code associated with this error.

          • ErrorMessage (string) --

            A message describing the error.

Exceptions

  • Glue.Client.exceptions.InternalServiceException
  • Glue.Client.exceptions.OperationTimeoutException