EventBridge / Client / deauthorize_connection
deauthorize_connection#
- EventBridge.Client.deauthorize_connection(**kwargs)#
- Removes all authorization parameters from the connection. This lets you remove the secret from the connection so you can reuse it without having to create a new connection. - See also: AWS API Documentation - Request Syntax- response = client.deauthorize_connection( Name='string' ) - Parameters:
- Name (string) – - [REQUIRED] - The name of the connection to remove authorization from. 
- 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 authorization was removed from. 
- ConnectionState (string) – - The state of the connection. 
- 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 updated. 
- LastAuthorizedTime (datetime) – - A time stamp for the time that the connection was last authorized. 
 
 
 - Exceptions- EventBridge.Client.exceptions.ConcurrentModificationException
- EventBridge.Client.exceptions.ResourceNotFoundException
- EventBridge.Client.exceptions.InternalException