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 |
Creates a trust store that can be associated with a web portal. A trust store contains certificate authority (CA) certificates. Once associated with a web portal, the browser in a streaming session will recognize certificates that have been issued using any of the CAs in the trust store. If your organization has internal websites that use certificates issued by private CAs, you should add the private CA certificate to the trust store.
Synopsis
- data CreateTrustStore = CreateTrustStore' {
- clientToken :: Maybe Text
- tags :: Maybe [Sensitive Tag]
- certificateList :: [Base64]
- newCreateTrustStore :: CreateTrustStore
- createTrustStore_clientToken :: Lens' CreateTrustStore (Maybe Text)
- createTrustStore_tags :: Lens' CreateTrustStore (Maybe [Tag])
- createTrustStore_certificateList :: Lens' CreateTrustStore [ByteString]
- data CreateTrustStoreResponse = CreateTrustStoreResponse' {
- httpStatus :: Int
- trustStoreArn :: Text
- newCreateTrustStoreResponse :: Int -> Text -> CreateTrustStoreResponse
- createTrustStoreResponse_httpStatus :: Lens' CreateTrustStoreResponse Int
- createTrustStoreResponse_trustStoreArn :: Lens' CreateTrustStoreResponse Text
Creating a Request
data CreateTrustStore Source #
See: newCreateTrustStore
smart constructor.
CreateTrustStore' | |
|
Instances
newCreateTrustStore :: CreateTrustStore Source #
Create a value of CreateTrustStore
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:clientToken:CreateTrustStore'
, createTrustStore_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
returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the AWS SDK.
$sel:tags:CreateTrustStore'
, createTrustStore_tags
- The tags to add to the trust store. A tag is a key-value pair.
$sel:certificateList:CreateTrustStore'
, createTrustStore_certificateList
- A list of CA certificates to be added to the trust store.
Request Lenses
createTrustStore_clientToken :: Lens' CreateTrustStore (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 returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the AWS SDK.
createTrustStore_tags :: Lens' CreateTrustStore (Maybe [Tag]) Source #
The tags to add to the trust store. A tag is a key-value pair.
createTrustStore_certificateList :: Lens' CreateTrustStore [ByteString] Source #
A list of CA certificates to be added to the trust store.
Destructuring the Response
data CreateTrustStoreResponse Source #
See: newCreateTrustStoreResponse
smart constructor.
CreateTrustStoreResponse' | |
|
Instances
newCreateTrustStoreResponse Source #
:: Int | |
-> Text | |
-> CreateTrustStoreResponse |
Create a value of CreateTrustStoreResponse
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:CreateTrustStoreResponse'
, createTrustStoreResponse_httpStatus
- The response's http status code.
CreateTrustStoreResponse
, createTrustStoreResponse_trustStoreArn
- The ARN of the trust store.
Response Lenses
createTrustStoreResponse_httpStatus :: Lens' CreateTrustStoreResponse Int Source #
The response's http status code.
createTrustStoreResponse_trustStoreArn :: Lens' CreateTrustStoreResponse Text Source #
The ARN of the trust store.