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 web portal.
Synopsis
- data CreatePortal = CreatePortal' {}
- newCreatePortal :: CreatePortal
- createPortal_additionalEncryptionContext :: Lens' CreatePortal (Maybe (HashMap Text Text))
- createPortal_clientToken :: Lens' CreatePortal (Maybe Text)
- createPortal_customerManagedKey :: Lens' CreatePortal (Maybe Text)
- createPortal_displayName :: Lens' CreatePortal (Maybe Text)
- createPortal_tags :: Lens' CreatePortal (Maybe [Tag])
- data CreatePortalResponse = CreatePortalResponse' {
- httpStatus :: Int
- portalArn :: Text
- portalEndpoint :: Text
- newCreatePortalResponse :: Int -> Text -> Text -> CreatePortalResponse
- createPortalResponse_httpStatus :: Lens' CreatePortalResponse Int
- createPortalResponse_portalArn :: Lens' CreatePortalResponse Text
- createPortalResponse_portalEndpoint :: Lens' CreatePortalResponse Text
Creating a Request
data CreatePortal Source #
See: newCreatePortal
smart constructor.
CreatePortal' | |
|
Instances
newCreatePortal :: CreatePortal Source #
Create a value of CreatePortal
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:additionalEncryptionContext:CreatePortal'
, createPortal_additionalEncryptionContext
- The additional encryption context of the portal.
$sel:clientToken:CreatePortal'
, createPortal_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:customerManagedKey:CreatePortal'
, createPortal_customerManagedKey
- The customer managed key of the web portal.
CreatePortal
, createPortal_displayName
- The name of the web portal. This is not visible to users who log into
the web portal.
$sel:tags:CreatePortal'
, createPortal_tags
- The tags to add to the web portal. A tag is a key-value pair.
Request Lenses
createPortal_additionalEncryptionContext :: Lens' CreatePortal (Maybe (HashMap Text Text)) Source #
The additional encryption context of the portal.
createPortal_clientToken :: Lens' CreatePortal (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.
createPortal_customerManagedKey :: Lens' CreatePortal (Maybe Text) Source #
The customer managed key of the web portal.
createPortal_displayName :: Lens' CreatePortal (Maybe Text) Source #
The name of the web portal. This is not visible to users who log into the web portal.
createPortal_tags :: Lens' CreatePortal (Maybe [Tag]) Source #
The tags to add to the web portal. A tag is a key-value pair.
Destructuring the Response
data CreatePortalResponse Source #
See: newCreatePortalResponse
smart constructor.
CreatePortalResponse' | |
|
Instances
newCreatePortalResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> CreatePortalResponse |
Create a value of CreatePortalResponse
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:CreatePortalResponse'
, createPortalResponse_httpStatus
- The response's http status code.
CreatePortalResponse
, createPortalResponse_portalArn
- The ARN of the web portal.
CreatePortalResponse
, createPortalResponse_portalEndpoint
- The endpoint URL of the web portal that users access in order to start
streaming sessions.
Response Lenses
createPortalResponse_httpStatus :: Lens' CreatePortalResponse Int Source #
The response's http status code.
createPortalResponse_portalArn :: Lens' CreatePortalResponse Text Source #
The ARN of the web portal.
createPortalResponse_portalEndpoint :: Lens' CreatePortalResponse Text Source #
The endpoint URL of the web portal that users access in order to start streaming sessions.