EC2 / Client / accept_transit_gateway_client_vpn_attachment
accept_transit_gateway_client_vpn_attachment¶
- EC2.Client.accept_transit_gateway_client_vpn_attachment(**kwargs)¶
Accepts a Transit Gateway attachment request for a Client VPN endpoint. The Transit Gateway owner must accept the attachment request before the Client VPN endpoint can route traffic through the Transit Gateway.
See also: AWS API Documentation
Request Syntax
response = client.accept_transit_gateway_client_vpn_attachment( TransitGatewayAttachmentId='string', DryRun=True|False )
- Parameters:
TransitGatewayAttachmentId (string) –
[REQUIRED]
The ID of the Transit Gateway attachment.
DryRun (boolean) – Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
- Return type:
dict
- Returns:
Response Syntax
{ 'TransitGatewayClientVpnAttachment': { 'TransitGatewayAttachmentId': 'string', 'TransitGatewayId': 'string', 'ClientVpnEndpointId': 'string', 'ClientVpnOwnerId': 'string', 'State': 'pending-acceptance'|'pending'|'rejected'|'available'|'deleting'|'deleted', 'CreationTime': 'string' } }
Response Structure
(dict) –
TransitGatewayClientVpnAttachment (dict) –
Information about the Transit Gateway Client VPN attachment.
TransitGatewayAttachmentId (string) –
The ID of the Transit Gateway attachment.
TransitGatewayId (string) –
The ID of the Transit Gateway.
ClientVpnEndpointId (string) –
The ID of the Client VPN endpoint.
ClientVpnOwnerId (string) –
The ID of the Amazon Web Services account that owns the Client VPN endpoint.
State (string) –
The state of the Transit Gateway attachment.
CreationTime (string) –
The date and time the Transit Gateway attachment was created.