Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
Synopsis
- data GetVpnConnectionDeviceSampleConfiguration = GetVpnConnectionDeviceSampleConfiguration' {}
- newGetVpnConnectionDeviceSampleConfiguration :: Text -> Text -> GetVpnConnectionDeviceSampleConfiguration
- getVpnConnectionDeviceSampleConfiguration_dryRun :: Lens' GetVpnConnectionDeviceSampleConfiguration (Maybe Bool)
- getVpnConnectionDeviceSampleConfiguration_internetKeyExchangeVersion :: Lens' GetVpnConnectionDeviceSampleConfiguration (Maybe Text)
- getVpnConnectionDeviceSampleConfiguration_vpnConnectionId :: Lens' GetVpnConnectionDeviceSampleConfiguration Text
- getVpnConnectionDeviceSampleConfiguration_vpnConnectionDeviceTypeId :: Lens' GetVpnConnectionDeviceSampleConfiguration Text
- data GetVpnConnectionDeviceSampleConfigurationResponse = GetVpnConnectionDeviceSampleConfigurationResponse' {}
- newGetVpnConnectionDeviceSampleConfigurationResponse :: Int -> GetVpnConnectionDeviceSampleConfigurationResponse
- getVpnConnectionDeviceSampleConfigurationResponse_vpnConnectionDeviceSampleConfiguration :: Lens' GetVpnConnectionDeviceSampleConfigurationResponse (Maybe Text)
- getVpnConnectionDeviceSampleConfigurationResponse_httpStatus :: Lens' GetVpnConnectionDeviceSampleConfigurationResponse Int
Creating a Request
data GetVpnConnectionDeviceSampleConfiguration Source #
See: newGetVpnConnectionDeviceSampleConfiguration
smart constructor.
GetVpnConnectionDeviceSampleConfiguration' | |
|
Instances
newGetVpnConnectionDeviceSampleConfiguration Source #
Create a value of GetVpnConnectionDeviceSampleConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:GetVpnConnectionDeviceSampleConfiguration'
, getVpnConnectionDeviceSampleConfiguration_dryRun
- 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 is UnauthorizedOperation
.
$sel:internetKeyExchangeVersion:GetVpnConnectionDeviceSampleConfiguration'
, getVpnConnectionDeviceSampleConfiguration_internetKeyExchangeVersion
- The IKE version to be used in the sample configuration file for your
customer gateway device. You can specify one of the following versions:
ikev1
or ikev2
.
GetVpnConnectionDeviceSampleConfiguration
, getVpnConnectionDeviceSampleConfiguration_vpnConnectionId
- The VpnConnectionId
specifies the Site-to-Site VPN connection used for
the sample configuration.
GetVpnConnectionDeviceSampleConfiguration
, getVpnConnectionDeviceSampleConfiguration_vpnConnectionDeviceTypeId
- Device identifier provided by the GetVpnConnectionDeviceTypes
API.
Request Lenses
getVpnConnectionDeviceSampleConfiguration_dryRun :: Lens' GetVpnConnectionDeviceSampleConfiguration (Maybe Bool) Source #
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 is UnauthorizedOperation
.
getVpnConnectionDeviceSampleConfiguration_internetKeyExchangeVersion :: Lens' GetVpnConnectionDeviceSampleConfiguration (Maybe Text) Source #
The IKE version to be used in the sample configuration file for your
customer gateway device. You can specify one of the following versions:
ikev1
or ikev2
.
getVpnConnectionDeviceSampleConfiguration_vpnConnectionId :: Lens' GetVpnConnectionDeviceSampleConfiguration Text Source #
The VpnConnectionId
specifies the Site-to-Site VPN connection used for
the sample configuration.
getVpnConnectionDeviceSampleConfiguration_vpnConnectionDeviceTypeId :: Lens' GetVpnConnectionDeviceSampleConfiguration Text Source #
Device identifier provided by the GetVpnConnectionDeviceTypes
API.
Destructuring the Response
data GetVpnConnectionDeviceSampleConfigurationResponse Source #
See: newGetVpnConnectionDeviceSampleConfigurationResponse
smart constructor.
GetVpnConnectionDeviceSampleConfigurationResponse' | |
|
Instances
Generic GetVpnConnectionDeviceSampleConfigurationResponse Source # | |
Show GetVpnConnectionDeviceSampleConfigurationResponse Source # | |
NFData GetVpnConnectionDeviceSampleConfigurationResponse Source # | |
Eq GetVpnConnectionDeviceSampleConfigurationResponse Source # | |
type Rep GetVpnConnectionDeviceSampleConfigurationResponse Source # | |
Defined in Amazonka.EC2.GetVpnConnectionDeviceSampleConfiguration type Rep GetVpnConnectionDeviceSampleConfigurationResponse = D1 ('MetaData "GetVpnConnectionDeviceSampleConfigurationResponse" "Amazonka.EC2.GetVpnConnectionDeviceSampleConfiguration" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "GetVpnConnectionDeviceSampleConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "vpnConnectionDeviceSampleConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetVpnConnectionDeviceSampleConfigurationResponse Source #
:: Int |
|
-> GetVpnConnectionDeviceSampleConfigurationResponse |
Create a value of GetVpnConnectionDeviceSampleConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:vpnConnectionDeviceSampleConfiguration:GetVpnConnectionDeviceSampleConfigurationResponse'
, getVpnConnectionDeviceSampleConfigurationResponse_vpnConnectionDeviceSampleConfiguration
- Sample configuration file for the specified customer gateway device.
$sel:httpStatus:GetVpnConnectionDeviceSampleConfigurationResponse'
, getVpnConnectionDeviceSampleConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
getVpnConnectionDeviceSampleConfigurationResponse_vpnConnectionDeviceSampleConfiguration :: Lens' GetVpnConnectionDeviceSampleConfigurationResponse (Maybe Text) Source #
Sample configuration file for the specified customer gateway device.
getVpnConnectionDeviceSampleConfigurationResponse_httpStatus :: Lens' GetVpnConnectionDeviceSampleConfigurationResponse Int Source #
The response's http status code.