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 |
Amazonka.EC2.ModifyVpnTunnelCertificate
Description
Modifies the VPN tunnel endpoint certificate.
Synopsis
- data ModifyVpnTunnelCertificate = ModifyVpnTunnelCertificate' {}
- newModifyVpnTunnelCertificate :: Text -> Text -> ModifyVpnTunnelCertificate
- modifyVpnTunnelCertificate_dryRun :: Lens' ModifyVpnTunnelCertificate (Maybe Bool)
- modifyVpnTunnelCertificate_vpnConnectionId :: Lens' ModifyVpnTunnelCertificate Text
- modifyVpnTunnelCertificate_vpnTunnelOutsideIpAddress :: Lens' ModifyVpnTunnelCertificate Text
- data ModifyVpnTunnelCertificateResponse = ModifyVpnTunnelCertificateResponse' {}
- newModifyVpnTunnelCertificateResponse :: Int -> ModifyVpnTunnelCertificateResponse
- modifyVpnTunnelCertificateResponse_vpnConnection :: Lens' ModifyVpnTunnelCertificateResponse (Maybe VpnConnection)
- modifyVpnTunnelCertificateResponse_httpStatus :: Lens' ModifyVpnTunnelCertificateResponse Int
Creating a Request
data ModifyVpnTunnelCertificate Source #
See: newModifyVpnTunnelCertificate
smart constructor.
Constructors
ModifyVpnTunnelCertificate' | |
Fields
|
Instances
newModifyVpnTunnelCertificate Source #
Arguments
:: Text | |
-> Text | |
-> ModifyVpnTunnelCertificate |
Create a value of ModifyVpnTunnelCertificate
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:ModifyVpnTunnelCertificate'
, modifyVpnTunnelCertificate_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
.
ModifyVpnTunnelCertificate
, modifyVpnTunnelCertificate_vpnConnectionId
- The ID of the Amazon Web Services Site-to-Site VPN connection.
$sel:vpnTunnelOutsideIpAddress:ModifyVpnTunnelCertificate'
, modifyVpnTunnelCertificate_vpnTunnelOutsideIpAddress
- The external IP address of the VPN tunnel.
Request Lenses
modifyVpnTunnelCertificate_dryRun :: Lens' ModifyVpnTunnelCertificate (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
.
modifyVpnTunnelCertificate_vpnConnectionId :: Lens' ModifyVpnTunnelCertificate Text Source #
The ID of the Amazon Web Services Site-to-Site VPN connection.
modifyVpnTunnelCertificate_vpnTunnelOutsideIpAddress :: Lens' ModifyVpnTunnelCertificate Text Source #
The external IP address of the VPN tunnel.
Destructuring the Response
data ModifyVpnTunnelCertificateResponse Source #
See: newModifyVpnTunnelCertificateResponse
smart constructor.
Constructors
ModifyVpnTunnelCertificateResponse' | |
Fields
|
Instances
newModifyVpnTunnelCertificateResponse Source #
Arguments
:: Int | |
-> ModifyVpnTunnelCertificateResponse |
Create a value of ModifyVpnTunnelCertificateResponse
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:
ModifyVpnTunnelCertificateResponse
, modifyVpnTunnelCertificateResponse_vpnConnection
- Information about the VPN connection.
$sel:httpStatus:ModifyVpnTunnelCertificateResponse'
, modifyVpnTunnelCertificateResponse_httpStatus
- The response's http status code.
Response Lenses
modifyVpnTunnelCertificateResponse_vpnConnection :: Lens' ModifyVpnTunnelCertificateResponse (Maybe VpnConnection) Source #
Information about the VPN connection.
modifyVpnTunnelCertificateResponse_httpStatus :: Lens' ModifyVpnTunnelCertificateResponse Int Source #
The response's http status code.