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 |
Modifies the connection options for your Site-to-Site VPN connection.
When you modify the VPN connection options, the VPN endpoint IP addresses on the Amazon Web Services side do not change, and the tunnel options do not change. Your VPN connection will be temporarily unavailable for a brief period while the VPN connection is updated.
Synopsis
- data ModifyVpnConnectionOptions = ModifyVpnConnectionOptions' {}
- newModifyVpnConnectionOptions :: Text -> ModifyVpnConnectionOptions
- modifyVpnConnectionOptions_dryRun :: Lens' ModifyVpnConnectionOptions (Maybe Bool)
- modifyVpnConnectionOptions_localIpv4NetworkCidr :: Lens' ModifyVpnConnectionOptions (Maybe Text)
- modifyVpnConnectionOptions_localIpv6NetworkCidr :: Lens' ModifyVpnConnectionOptions (Maybe Text)
- modifyVpnConnectionOptions_remoteIpv4NetworkCidr :: Lens' ModifyVpnConnectionOptions (Maybe Text)
- modifyVpnConnectionOptions_remoteIpv6NetworkCidr :: Lens' ModifyVpnConnectionOptions (Maybe Text)
- modifyVpnConnectionOptions_vpnConnectionId :: Lens' ModifyVpnConnectionOptions Text
- data ModifyVpnConnectionOptionsResponse = ModifyVpnConnectionOptionsResponse' {}
- newModifyVpnConnectionOptionsResponse :: Int -> ModifyVpnConnectionOptionsResponse
- modifyVpnConnectionOptionsResponse_vpnConnection :: Lens' ModifyVpnConnectionOptionsResponse (Maybe VpnConnection)
- modifyVpnConnectionOptionsResponse_httpStatus :: Lens' ModifyVpnConnectionOptionsResponse Int
Creating a Request
data ModifyVpnConnectionOptions Source #
See: newModifyVpnConnectionOptions
smart constructor.
ModifyVpnConnectionOptions' | |
|
Instances
newModifyVpnConnectionOptions Source #
Create a value of ModifyVpnConnectionOptions
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:ModifyVpnConnectionOptions'
, modifyVpnConnectionOptions_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
.
ModifyVpnConnectionOptions
, modifyVpnConnectionOptions_localIpv4NetworkCidr
- The IPv4 CIDR on the customer gateway (on-premises) side of the VPN
connection.
Default: 0.0.0.0/0
ModifyVpnConnectionOptions
, modifyVpnConnectionOptions_localIpv6NetworkCidr
- The IPv6 CIDR on the customer gateway (on-premises) side of the VPN
connection.
Default: ::/0
ModifyVpnConnectionOptions
, modifyVpnConnectionOptions_remoteIpv4NetworkCidr
- The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default: 0.0.0.0/0
ModifyVpnConnectionOptions
, modifyVpnConnectionOptions_remoteIpv6NetworkCidr
- The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default: ::/0
ModifyVpnConnectionOptions
, modifyVpnConnectionOptions_vpnConnectionId
- The ID of the Site-to-Site VPN connection.
Request Lenses
modifyVpnConnectionOptions_dryRun :: Lens' ModifyVpnConnectionOptions (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
.
modifyVpnConnectionOptions_localIpv4NetworkCidr :: Lens' ModifyVpnConnectionOptions (Maybe Text) Source #
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: 0.0.0.0/0
modifyVpnConnectionOptions_localIpv6NetworkCidr :: Lens' ModifyVpnConnectionOptions (Maybe Text) Source #
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: ::/0
modifyVpnConnectionOptions_remoteIpv4NetworkCidr :: Lens' ModifyVpnConnectionOptions (Maybe Text) Source #
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default: 0.0.0.0/0
modifyVpnConnectionOptions_remoteIpv6NetworkCidr :: Lens' ModifyVpnConnectionOptions (Maybe Text) Source #
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default: ::/0
modifyVpnConnectionOptions_vpnConnectionId :: Lens' ModifyVpnConnectionOptions Text Source #
The ID of the Site-to-Site VPN connection.
Destructuring the Response
data ModifyVpnConnectionOptionsResponse Source #
See: newModifyVpnConnectionOptionsResponse
smart constructor.
ModifyVpnConnectionOptionsResponse' | |
|
Instances
Generic ModifyVpnConnectionOptionsResponse Source # | |
Read ModifyVpnConnectionOptionsResponse Source # | |
Show ModifyVpnConnectionOptionsResponse Source # | |
NFData ModifyVpnConnectionOptionsResponse Source # | |
Defined in Amazonka.EC2.ModifyVpnConnectionOptions rnf :: ModifyVpnConnectionOptionsResponse -> () # | |
Eq ModifyVpnConnectionOptionsResponse Source # | |
type Rep ModifyVpnConnectionOptionsResponse Source # | |
Defined in Amazonka.EC2.ModifyVpnConnectionOptions type Rep ModifyVpnConnectionOptionsResponse = D1 ('MetaData "ModifyVpnConnectionOptionsResponse" "Amazonka.EC2.ModifyVpnConnectionOptions" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ModifyVpnConnectionOptionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "vpnConnection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpnConnection)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newModifyVpnConnectionOptionsResponse Source #
Create a value of ModifyVpnConnectionOptionsResponse
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:
ModifyVpnConnectionOptionsResponse
, modifyVpnConnectionOptionsResponse_vpnConnection
- Information about the VPN connection.
$sel:httpStatus:ModifyVpnConnectionOptionsResponse'
, modifyVpnConnectionOptionsResponse_httpStatus
- The response's http status code.
Response Lenses
modifyVpnConnectionOptionsResponse_vpnConnection :: Lens' ModifyVpnConnectionOptionsResponse (Maybe VpnConnection) Source #
Information about the VPN connection.
modifyVpnConnectionOptionsResponse_httpStatus :: Lens' ModifyVpnConnectionOptionsResponse Int Source #
The response's http status code.