DirectConnect / Client / associate_connections_to_resiliency_group
associate_connections_to_resiliency_group¶
- DirectConnect.Client.associate_connections_to_resiliency_group(**kwargs)¶
Associates one or more connections with the specified resiliency group. This operation is atomic: either all of the specified connections are associated, or the operation fails and no changes are made.
See also: AWS API Documentation
Request Syntax
response = client.associate_connections_to_resiliency_group( connectionIdentifiers=[ 'string', ], resiliencyGroupId='string', clientToken='string' )
- Parameters:
connectionIdentifiers (list) –
[REQUIRED]
The IDs or ARNs of the connections to associate with the resiliency group.
(string) –
resiliencyGroupId (string) –
[REQUIRED]
The ID of the resiliency group.
clientToken (string) – A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Return type:
dict
- Returns:
Response Syntax
{ 'resiliencyGroupAssociations': [ { 'resiliencyGroupId': 'string', 'connectionArn': 'string', 'state': 'associating'|'associated'|'disassociating'|'disassociated' }, ] }
Response Structure
(dict) –
resiliencyGroupAssociations (list) –
The connection associations for the resiliency group.
(dict) –
Information about an association between a connection and a resiliency group.
resiliencyGroupId (string) –
The ID of the resiliency group.
connectionArn (string) –
The Amazon Resource Name (ARN) of the associated connection.
state (string) –
The state of the association. The valid values are
associating,associated,disassociating, anddisassociated.
Exceptions