delete_connection

EventBridge.Client.delete_connection(**kwargs)

Deletes a connection.

See also: AWS API Documentation

Request Syntax

response = client.delete_connection(
    Name='string'
)
Parameters
Name (string) --

[REQUIRED]

The name of the connection to delete.

Return type
dict
Returns
Response Syntax
{
    'ConnectionArn': 'string',
    'ConnectionState': 'CREATING'|'UPDATING'|'DELETING'|'AUTHORIZED'|'DEAUTHORIZED'|'AUTHORIZING'|'DEAUTHORIZING',
    'CreationTime': datetime(2015, 1, 1),
    'LastModifiedTime': datetime(2015, 1, 1),
    'LastAuthorizedTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --
    • ConnectionArn (string) --

      The ARN of the connection that was deleted.

    • ConnectionState (string) --

      The state of the connection before it was deleted.

    • CreationTime (datetime) --

      A time stamp for the time that the connection was created.

    • LastModifiedTime (datetime) --

      A time stamp for the time that the connection was last modified before it was deleted.

    • LastAuthorizedTime (datetime) --

      A time stamp for the time that the connection was last authorized before it wa deleted.

Exceptions

  • EventBridge.Client.exceptions.ConcurrentModificationException
  • EventBridge.Client.exceptions.ResourceNotFoundException
  • EventBridge.Client.exceptions.InternalException