DirectConnect#
Client#
- class DirectConnect.Client#
A low-level client representing AWS Direct Connect
Direct Connect links your internal network to an Direct Connect location over a standard Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an Direct Connect router. With this connection in place, you can create virtual interfaces directly to the Amazon Web Services Cloud (for example, to Amazon EC2 and Amazon S3) and to Amazon VPC, bypassing Internet service providers in your network path. A connection provides access to all Amazon Web Services Regions except the China (Beijing) and (China) Ningxia Regions. Amazon Web Services resources in the China Regions can only be accessed through locations associated with those Regions.
import boto3 client = boto3.client('directconnect')
These are the available methods:
- accept_direct_connect_gateway_association_proposal
- allocate_connection_on_interconnect
- allocate_hosted_connection
- allocate_private_virtual_interface
- allocate_public_virtual_interface
- allocate_transit_virtual_interface
- associate_connection_with_lag
- associate_hosted_connection
- associate_mac_sec_key
- associate_virtual_interface
- can_paginate
- close
- confirm_connection
- confirm_customer_agreement
- confirm_private_virtual_interface
- confirm_public_virtual_interface
- confirm_transit_virtual_interface
- create_bgp_peer
- create_connection
- create_direct_connect_gateway
- create_direct_connect_gateway_association
- create_direct_connect_gateway_association_proposal
- create_interconnect
- create_lag
- create_private_virtual_interface
- create_public_virtual_interface
- create_transit_virtual_interface
- delete_bgp_peer
- delete_connection
- delete_direct_connect_gateway
- delete_direct_connect_gateway_association
- delete_direct_connect_gateway_association_proposal
- delete_interconnect
- delete_lag
- delete_virtual_interface
- describe_connection_loa
- describe_connections
- describe_connections_on_interconnect
- describe_customer_metadata
- describe_direct_connect_gateway_association_proposals
- describe_direct_connect_gateway_associations
- describe_direct_connect_gateway_attachments
- describe_direct_connect_gateways
- describe_hosted_connections
- describe_interconnect_loa
- describe_interconnects
- describe_lags
- describe_loa
- describe_locations
- describe_router_configuration
- describe_tags
- describe_virtual_gateways
- describe_virtual_interfaces
- disassociate_connection_from_lag
- disassociate_mac_sec_key
- get_paginator
- get_waiter
- list_virtual_interface_test_history
- start_bgp_failover_test
- stop_bgp_failover_test
- tag_resource
- untag_resource
- update_connection
- update_direct_connect_gateway
- update_direct_connect_gateway_association
- update_lag
- update_virtual_interface_attributes
Client Exceptions#
Client exceptions are available on a client instance via the exceptions
property. For more detailed instructions and examples on the exact usage of client exceptions, see the error handling user guide.
The available client exceptions are:
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are: