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 |
Downloads the contents of the Client VPN endpoint configuration file for the specified Client VPN endpoint. The Client VPN endpoint configuration file includes the Client VPN endpoint and certificate information clients need to establish a connection with the Client VPN endpoint.
Synopsis
- data ExportClientVpnClientConfiguration = ExportClientVpnClientConfiguration' {}
- newExportClientVpnClientConfiguration :: Text -> ExportClientVpnClientConfiguration
- exportClientVpnClientConfiguration_dryRun :: Lens' ExportClientVpnClientConfiguration (Maybe Bool)
- exportClientVpnClientConfiguration_clientVpnEndpointId :: Lens' ExportClientVpnClientConfiguration Text
- data ExportClientVpnClientConfigurationResponse = ExportClientVpnClientConfigurationResponse' {}
- newExportClientVpnClientConfigurationResponse :: Int -> ExportClientVpnClientConfigurationResponse
- exportClientVpnClientConfigurationResponse_clientConfiguration :: Lens' ExportClientVpnClientConfigurationResponse (Maybe Text)
- exportClientVpnClientConfigurationResponse_httpStatus :: Lens' ExportClientVpnClientConfigurationResponse Int
Creating a Request
data ExportClientVpnClientConfiguration Source #
See: newExportClientVpnClientConfiguration
smart constructor.
ExportClientVpnClientConfiguration' | |
|
Instances
newExportClientVpnClientConfiguration Source #
Create a value of ExportClientVpnClientConfiguration
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:ExportClientVpnClientConfiguration'
, exportClientVpnClientConfiguration_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
.
ExportClientVpnClientConfiguration
, exportClientVpnClientConfiguration_clientVpnEndpointId
- The ID of the Client VPN endpoint.
Request Lenses
exportClientVpnClientConfiguration_dryRun :: Lens' ExportClientVpnClientConfiguration (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
.
exportClientVpnClientConfiguration_clientVpnEndpointId :: Lens' ExportClientVpnClientConfiguration Text Source #
The ID of the Client VPN endpoint.
Destructuring the Response
data ExportClientVpnClientConfigurationResponse Source #
See: newExportClientVpnClientConfigurationResponse
smart constructor.
ExportClientVpnClientConfigurationResponse' | |
|
Instances
newExportClientVpnClientConfigurationResponse Source #
Create a value of ExportClientVpnClientConfigurationResponse
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:clientConfiguration:ExportClientVpnClientConfigurationResponse'
, exportClientVpnClientConfigurationResponse_clientConfiguration
- The contents of the Client VPN endpoint configuration file.
$sel:httpStatus:ExportClientVpnClientConfigurationResponse'
, exportClientVpnClientConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
exportClientVpnClientConfigurationResponse_clientConfiguration :: Lens' ExportClientVpnClientConfigurationResponse (Maybe Text) Source #
The contents of the Client VPN endpoint configuration file.
exportClientVpnClientConfigurationResponse_httpStatus :: Lens' ExportClientVpnClientConfigurationResponse Int Source #
The response's http status code.