Interconnect / Client / accept_connection_proposal
accept_connection_proposal¶
- Interconnect.Client.accept_connection_proposal(**kwargs)¶
Accepts a connection proposal which was generated at a supported partner’s portal.
The proposal contains the Environment and bandwidth that were chosen on the partner’s portal and cannot be modified.
Upon accepting the proposal a connection will be made between the AWS network as accessed via the selected Attach Point and the network previously selected network on the partner’s portal.
See also: AWS API Documentation
Request Syntax
response = client.accept_connection_proposal( attachPoint={ 'directConnectGateway': 'string', 'arn': 'string' }, activationKey='string', description='string', tags={ 'string': 'string' }, clientToken='string' )
- Parameters:
attachPoint (dict) –
[REQUIRED]
The Attach Point to which the connection should be associated.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:
directConnectGateway,arn.directConnectGateway (string) –
Identifies an DirectConnect Gateway attach point by DirectConnectGatewayID.
arn (string) –
Identifies an attach point by full ARN.
activationKey (string) –
[REQUIRED]
An Activation Key that was generated on a supported partner’s portal. This key captures the desired parameters from the initial creation request.
The details of this request can be described using with DescribeConnectionProposal.
description (string) – A description to distinguish this Connection.
tags (dict) –
The tags to associate with the resulting Connection.
(string) –
(string) –
clientToken (string) –
Idempotency token used for the request.
This field is autopopulated if not provided.
- Return type:
dict
- Returns:
Response Syntax
{ 'connection': { 'id': 'string', 'arn': 'string', 'description': 'string', 'bandwidth': 'string', 'attachPoint': { 'directConnectGateway': 'string', 'arn': 'string' }, 'environmentId': 'string', 'provider': { 'cloudServiceProvider': 'string', 'lastMileProvider': 'string' }, 'location': 'string', 'type': 'string', 'state': 'available'|'requested'|'pending'|'down'|'deleting'|'deleted'|'failed'|'updating', 'sharedId': 'string', 'billingTier': 123, 'ownerAccount': 'string', 'activationKey': 'string', 'tags': { 'string': 'string' } } }
Response Structure
(dict) –
connection (dict) –
The created Connection object.
id (string) –
The short identifier of the connection object.
arn (string) –
An ARN of a Connection object.
description (string) –
A descriptive name for the connection.
bandwidth (string) –
The specific selected bandwidth of this connection.
attachPoint (dict) –
The Attach Point to which the connection should be associated.”
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
directConnectGateway,arn. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
directConnectGateway (string) –
Identifies an DirectConnect Gateway attach point by DirectConnectGatewayID.
arn (string) –
Identifies an attach point by full ARN.
environmentId (string) –
The specific Environment this connection is placed upon.
provider (dict) –
The provider on the remote side of this Connection.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
cloudServiceProvider,lastMileProvider. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
cloudServiceProvider (string) –
The provider’s name. Specifically, connections to/from this Cloud Service Provider will be considered Multicloud connections.
lastMileProvider (string) –
The provider’s name. Specifically, connections to/from this Last Mile Provider will be considered LastMile connections.
location (string) –
The provider specific location on the remote side of this Connection
type (string) –
The specific product type of this Connection.
state (string) –
requested: The initial state of a connection. The state will remain here until the Connection is accepted on the Partner portal.pending: The connection has been accepted and is being provisioned between AWS and the Partner.available: The connection has been fully provisioned between AWS and the Partner.deleting: The connection is being deleted.deleted: The connection has been deleted.failed: The connection has failed to be created.updating: The connection is being updated.
sharedId (string) –
An identifier used by both AWS and the remote partner to identify the specific connection.
billingTier (integer) –
The billing tier this connection is currently assigned.
ownerAccount (string) –
The account that owns this Connection
activationKey (string) –
The Activation Key associated to this connection.
tags (dict) –
The tags on the Connection
(string) –
(string) –
Exceptions