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 user settings resource that can be associated with a web portal. Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
Synopsis
- data CreateUserSettings = CreateUserSettings' {}
- newCreateUserSettings :: EnabledType -> EnabledType -> EnabledType -> EnabledType -> EnabledType -> CreateUserSettings
- createUserSettings_clientToken :: Lens' CreateUserSettings (Maybe Text)
- createUserSettings_disconnectTimeoutInMinutes :: Lens' CreateUserSettings (Maybe Natural)
- createUserSettings_idleDisconnectTimeoutInMinutes :: Lens' CreateUserSettings (Maybe Natural)
- createUserSettings_tags :: Lens' CreateUserSettings (Maybe [Tag])
- createUserSettings_copyAllowed :: Lens' CreateUserSettings EnabledType
- createUserSettings_downloadAllowed :: Lens' CreateUserSettings EnabledType
- createUserSettings_pasteAllowed :: Lens' CreateUserSettings EnabledType
- createUserSettings_printAllowed :: Lens' CreateUserSettings EnabledType
- createUserSettings_uploadAllowed :: Lens' CreateUserSettings EnabledType
- data CreateUserSettingsResponse = CreateUserSettingsResponse' {
- httpStatus :: Int
- userSettingsArn :: Text
- newCreateUserSettingsResponse :: Int -> Text -> CreateUserSettingsResponse
- createUserSettingsResponse_httpStatus :: Lens' CreateUserSettingsResponse Int
- createUserSettingsResponse_userSettingsArn :: Lens' CreateUserSettingsResponse Text
Creating a Request
data CreateUserSettings Source #
See: newCreateUserSettings
smart constructor.
CreateUserSettings' | |
|
Instances
newCreateUserSettings Source #
Create a value of CreateUserSettings
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:CreateUserSettings'
, createUserSettings_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.
CreateUserSettings
, createUserSettings_disconnectTimeoutInMinutes
- The amount of time that a streaming session remains active after users
disconnect.
CreateUserSettings
, createUserSettings_idleDisconnectTimeoutInMinutes
- The amount of time that users can be idle (inactive) before they are
disconnected from their streaming session and the disconnect timeout
interval begins.
$sel:tags:CreateUserSettings'
, createUserSettings_tags
- The tags to add to the user settings resource. A tag is a key-value
pair.
CreateUserSettings
, createUserSettings_copyAllowed
- Specifies whether the user can copy text from the streaming session to
the local device.
CreateUserSettings
, createUserSettings_downloadAllowed
- Specifies whether the user can download files from the streaming session
to the local device.
CreateUserSettings
, createUserSettings_pasteAllowed
- Specifies whether the user can paste text from the local device to the
streaming session.
CreateUserSettings
, createUserSettings_printAllowed
- Specifies whether the user can print to the local device.
CreateUserSettings
, createUserSettings_uploadAllowed
- Specifies whether the user can upload files from the local device to the
streaming session.
Request Lenses
createUserSettings_clientToken :: Lens' CreateUserSettings (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.
createUserSettings_disconnectTimeoutInMinutes :: Lens' CreateUserSettings (Maybe Natural) Source #
The amount of time that a streaming session remains active after users disconnect.
createUserSettings_idleDisconnectTimeoutInMinutes :: Lens' CreateUserSettings (Maybe Natural) Source #
The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.
createUserSettings_tags :: Lens' CreateUserSettings (Maybe [Tag]) Source #
The tags to add to the user settings resource. A tag is a key-value pair.
createUserSettings_copyAllowed :: Lens' CreateUserSettings EnabledType Source #
Specifies whether the user can copy text from the streaming session to the local device.
createUserSettings_downloadAllowed :: Lens' CreateUserSettings EnabledType Source #
Specifies whether the user can download files from the streaming session to the local device.
createUserSettings_pasteAllowed :: Lens' CreateUserSettings EnabledType Source #
Specifies whether the user can paste text from the local device to the streaming session.
createUserSettings_printAllowed :: Lens' CreateUserSettings EnabledType Source #
Specifies whether the user can print to the local device.
createUserSettings_uploadAllowed :: Lens' CreateUserSettings EnabledType Source #
Specifies whether the user can upload files from the local device to the streaming session.
Destructuring the Response
data CreateUserSettingsResponse Source #
See: newCreateUserSettingsResponse
smart constructor.
CreateUserSettingsResponse' | |
|
Instances
newCreateUserSettingsResponse Source #
:: Int | |
-> Text | |
-> CreateUserSettingsResponse |
Create a value of CreateUserSettingsResponse
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:CreateUserSettingsResponse'
, createUserSettingsResponse_httpStatus
- The response's http status code.
CreateUserSettingsResponse
, createUserSettingsResponse_userSettingsArn
- The ARN of the user settings.
Response Lenses
createUserSettingsResponse_httpStatus :: Lens' CreateUserSettingsResponse Int Source #
The response's http status code.
createUserSettingsResponse_userSettingsArn :: Lens' CreateUserSettingsResponse Text Source #
The ARN of the user settings.