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 |
Updates the trust store.
Synopsis
- data UpdateTrustStore = UpdateTrustStore' {}
- newUpdateTrustStore :: Text -> UpdateTrustStore
- updateTrustStore_certificatesToAdd :: Lens' UpdateTrustStore (Maybe [ByteString])
- updateTrustStore_certificatesToDelete :: Lens' UpdateTrustStore (Maybe [Text])
- updateTrustStore_clientToken :: Lens' UpdateTrustStore (Maybe Text)
- updateTrustStore_trustStoreArn :: Lens' UpdateTrustStore Text
- data UpdateTrustStoreResponse = UpdateTrustStoreResponse' {
- httpStatus :: Int
- trustStoreArn :: Text
- newUpdateTrustStoreResponse :: Int -> Text -> UpdateTrustStoreResponse
- updateTrustStoreResponse_httpStatus :: Lens' UpdateTrustStoreResponse Int
- updateTrustStoreResponse_trustStoreArn :: Lens' UpdateTrustStoreResponse Text
Creating a Request
data UpdateTrustStore Source #
See: newUpdateTrustStore
smart constructor.
UpdateTrustStore' | |
|
Instances
Create a value of UpdateTrustStore
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:certificatesToAdd:UpdateTrustStore'
, updateTrustStore_certificatesToAdd
- A list of CA certificates to add to the trust store.
$sel:certificatesToDelete:UpdateTrustStore'
, updateTrustStore_certificatesToDelete
- A list of CA certificates to delete from a trust store.
$sel:clientToken:UpdateTrustStore'
, updateTrustStore_clientToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. Idempotency ensures that an API request
completes only once. With an idempotent request, if the original request
completes successfully, subsequent retries with the same client token
return the result from the original successful request.
If you do not specify a client token, one is automatically generated by the AWS SDK.
UpdateTrustStore
, updateTrustStore_trustStoreArn
- The ARN of the trust store.
Request Lenses
updateTrustStore_certificatesToAdd :: Lens' UpdateTrustStore (Maybe [ByteString]) Source #
A list of CA certificates to add to the trust store.
updateTrustStore_certificatesToDelete :: Lens' UpdateTrustStore (Maybe [Text]) Source #
A list of CA certificates to delete from a trust store.
updateTrustStore_clientToken :: Lens' UpdateTrustStore (Maybe Text) Source #
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token return the result from the original successful request.
If you do not specify a client token, one is automatically generated by the AWS SDK.
updateTrustStore_trustStoreArn :: Lens' UpdateTrustStore Text Source #
The ARN of the trust store.
Destructuring the Response
data UpdateTrustStoreResponse Source #
See: newUpdateTrustStoreResponse
smart constructor.
UpdateTrustStoreResponse' | |
|
Instances
newUpdateTrustStoreResponse Source #
Create a value of UpdateTrustStoreResponse
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:httpStatus:UpdateTrustStoreResponse'
, updateTrustStoreResponse_httpStatus
- The response's http status code.
UpdateTrustStore
, updateTrustStoreResponse_trustStoreArn
- The ARN of the trust store.
Response Lenses
updateTrustStoreResponse_httpStatus :: Lens' UpdateTrustStoreResponse Int Source #
The response's http status code.
updateTrustStoreResponse_trustStoreArn :: Lens' UpdateTrustStoreResponse Text Source #
The ARN of the trust store.