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 |
Uploads a client certificate revocation list to the specified Client VPN endpoint. Uploading a client certificate revocation list overwrites the existing client certificate revocation list.
Uploading a client certificate revocation list resets existing client connections.
Synopsis
- data ImportClientVpnClientCertificateRevocationList = ImportClientVpnClientCertificateRevocationList' {}
- newImportClientVpnClientCertificateRevocationList :: Text -> Text -> ImportClientVpnClientCertificateRevocationList
- importClientVpnClientCertificateRevocationList_dryRun :: Lens' ImportClientVpnClientCertificateRevocationList (Maybe Bool)
- importClientVpnClientCertificateRevocationList_clientVpnEndpointId :: Lens' ImportClientVpnClientCertificateRevocationList Text
- importClientVpnClientCertificateRevocationList_certificateRevocationList :: Lens' ImportClientVpnClientCertificateRevocationList Text
- data ImportClientVpnClientCertificateRevocationListResponse = ImportClientVpnClientCertificateRevocationListResponse' {
- return' :: Maybe Bool
- httpStatus :: Int
- newImportClientVpnClientCertificateRevocationListResponse :: Int -> ImportClientVpnClientCertificateRevocationListResponse
- importClientVpnClientCertificateRevocationListResponse_return :: Lens' ImportClientVpnClientCertificateRevocationListResponse (Maybe Bool)
- importClientVpnClientCertificateRevocationListResponse_httpStatus :: Lens' ImportClientVpnClientCertificateRevocationListResponse Int
Creating a Request
data ImportClientVpnClientCertificateRevocationList Source #
See: newImportClientVpnClientCertificateRevocationList
smart constructor.
ImportClientVpnClientCertificateRevocationList' | |
|
Instances
newImportClientVpnClientCertificateRevocationList Source #
:: Text | |
-> Text |
|
-> ImportClientVpnClientCertificateRevocationList |
Create a value of ImportClientVpnClientCertificateRevocationList
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:ImportClientVpnClientCertificateRevocationList'
, importClientVpnClientCertificateRevocationList_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
.
ImportClientVpnClientCertificateRevocationList
, importClientVpnClientCertificateRevocationList_clientVpnEndpointId
- The ID of the Client VPN endpoint to which the client certificate
revocation list applies.
$sel:certificateRevocationList:ImportClientVpnClientCertificateRevocationList'
, importClientVpnClientCertificateRevocationList_certificateRevocationList
- The client certificate revocation list file. For more information, see
Generate a Client Certificate Revocation List
in the Client VPN Administrator Guide.
Request Lenses
importClientVpnClientCertificateRevocationList_dryRun :: Lens' ImportClientVpnClientCertificateRevocationList (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
.
importClientVpnClientCertificateRevocationList_clientVpnEndpointId :: Lens' ImportClientVpnClientCertificateRevocationList Text Source #
The ID of the Client VPN endpoint to which the client certificate revocation list applies.
importClientVpnClientCertificateRevocationList_certificateRevocationList :: Lens' ImportClientVpnClientCertificateRevocationList Text Source #
The client certificate revocation list file. For more information, see Generate a Client Certificate Revocation List in the Client VPN Administrator Guide.
Destructuring the Response
data ImportClientVpnClientCertificateRevocationListResponse Source #
See: newImportClientVpnClientCertificateRevocationListResponse
smart constructor.
ImportClientVpnClientCertificateRevocationListResponse' | |
|
Instances
newImportClientVpnClientCertificateRevocationListResponse Source #
:: Int |
|
-> ImportClientVpnClientCertificateRevocationListResponse |
Create a value of ImportClientVpnClientCertificateRevocationListResponse
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:return':ImportClientVpnClientCertificateRevocationListResponse'
, importClientVpnClientCertificateRevocationListResponse_return
- Returns true
if the request succeeds; otherwise, it returns an error.
$sel:httpStatus:ImportClientVpnClientCertificateRevocationListResponse'
, importClientVpnClientCertificateRevocationListResponse_httpStatus
- The response's http status code.
Response Lenses
importClientVpnClientCertificateRevocationListResponse_return :: Lens' ImportClientVpnClientCertificateRevocationListResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, it returns an error.
importClientVpnClientCertificateRevocationListResponse_httpStatus :: Lens' ImportClientVpnClientCertificateRevocationListResponse Int Source #
The response's http status code.