amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.ModifyVpnConnectionOptions

Description

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

Creating a Request

data ModifyVpnConnectionOptions Source #

See: newModifyVpnConnectionOptions smart constructor.

Constructors

ModifyVpnConnectionOptions' 

Fields

  • dryRun :: Maybe Bool

    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.

  • localIpv4NetworkCidr :: Maybe Text

    The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

    Default: 0.0.0.0/0

  • localIpv6NetworkCidr :: Maybe Text

    The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

    Default: ::/0

  • remoteIpv4NetworkCidr :: Maybe Text

    The IPv4 CIDR on the Amazon Web Services side of the VPN connection.

    Default: 0.0.0.0/0

  • remoteIpv6NetworkCidr :: Maybe Text

    The IPv6 CIDR on the Amazon Web Services side of the VPN connection.

    Default: ::/0

  • vpnConnectionId :: Text

    The ID of the Site-to-Site VPN connection.

Instances

Instances details
ToHeaders ModifyVpnConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

ToPath ModifyVpnConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

ToQuery ModifyVpnConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

AWSRequest ModifyVpnConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

Generic ModifyVpnConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

Associated Types

type Rep ModifyVpnConnectionOptions :: Type -> Type #

Read ModifyVpnConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

Show ModifyVpnConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

NFData ModifyVpnConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

Eq ModifyVpnConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

Hashable ModifyVpnConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

type AWSResponse ModifyVpnConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

type Rep ModifyVpnConnectionOptions Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

type Rep ModifyVpnConnectionOptions = D1 ('MetaData "ModifyVpnConnectionOptions" "Amazonka.EC2.ModifyVpnConnectionOptions" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ModifyVpnConnectionOptions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "localIpv4NetworkCidr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "localIpv6NetworkCidr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "remoteIpv4NetworkCidr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "remoteIpv6NetworkCidr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vpnConnectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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

Destructuring the Response

data ModifyVpnConnectionOptionsResponse Source #

Constructors

ModifyVpnConnectionOptionsResponse' 

Fields

Instances

Instances details
Generic ModifyVpnConnectionOptionsResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

Associated Types

type Rep ModifyVpnConnectionOptionsResponse :: Type -> Type #

Read ModifyVpnConnectionOptionsResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

Show ModifyVpnConnectionOptionsResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

NFData ModifyVpnConnectionOptionsResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

Eq ModifyVpnConnectionOptionsResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyVpnConnectionOptions

type Rep ModifyVpnConnectionOptionsResponse Source # 
Instance details

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