get_vpn_connection_device_sample_configuration
async
¶
get_vpn_connection_device_sample_configuration(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
vpn_connection_id: Optional[VpnConnectionId] = None,
vpn_connection_device_type_id: Optional[VpnConnectionDeviceTypeId] = None,
internet_key_exchange_version: Optional[String] = None,
sample_type: Optional[String] = None,
dry_run: Optional[Boolean] = None,
) -> GetVpnConnectionDeviceSampleConfigurationResult
Download an Amazon Web Services-provided sample configuration file to be used with the customer gateway device specified for your Site-to-Site VPN connection.
Parameters:
-
vpn_connection_id(Optional[VpnConnectionId], default:None) –The
VpnConnectionIdspecifies the Site-to-Site VPN connection used for the sample configuration. -
vpn_connection_device_type_id(Optional[VpnConnectionDeviceTypeId], default:None) –Device identifier provided by the
GetVpnConnectionDeviceTypesAPI. -
internet_key_exchange_version(Optional[String], default:None) –The IKE version to be used in the sample configuration file for your customer gateway device. You can specify one of the following versions:
ikev1orikev2. -
sample_type(Optional[String], default:None) –The type of sample configuration to generate. Valid values are "compatibility" (includes IKEv1) or "recommended" (throws UnsupportedOperationException for IKEv1).
-
dry_run(Optional[Boolean], default:None) –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.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
48481 48482 48483 48484 48485 48486 48487 48488 48489 48490 48491 48492 48493 48494 48495 48496 48497 48498 48499 48500 48501 48502 48503 48504 48505 48506 48507 48508 48509 48510 48511 48512 48513 48514 48515 48516 48517 48518 48519 48520 48521 48522 48523 48524 48525 48526 48527 48528 48529 48530 48531 48532 48533 48534 48535 48536 48537 48538 48539 48540 48541 48542 48543 48544 48545 48546 48547 48548 48549 48550 48551 48552 48553 48554 48555 48556 48557 | |