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 user settings.
Synopsis
- data UpdateUserSettings = UpdateUserSettings' {
- clientToken :: Maybe Text
- copyAllowed :: Maybe EnabledType
- disconnectTimeoutInMinutes :: Maybe Natural
- downloadAllowed :: Maybe EnabledType
- idleDisconnectTimeoutInMinutes :: Maybe Natural
- pasteAllowed :: Maybe EnabledType
- printAllowed :: Maybe EnabledType
- uploadAllowed :: Maybe EnabledType
- userSettingsArn :: Text
- newUpdateUserSettings :: Text -> UpdateUserSettings
- updateUserSettings_clientToken :: Lens' UpdateUserSettings (Maybe Text)
- updateUserSettings_copyAllowed :: Lens' UpdateUserSettings (Maybe EnabledType)
- updateUserSettings_disconnectTimeoutInMinutes :: Lens' UpdateUserSettings (Maybe Natural)
- updateUserSettings_downloadAllowed :: Lens' UpdateUserSettings (Maybe EnabledType)
- updateUserSettings_idleDisconnectTimeoutInMinutes :: Lens' UpdateUserSettings (Maybe Natural)
- updateUserSettings_pasteAllowed :: Lens' UpdateUserSettings (Maybe EnabledType)
- updateUserSettings_printAllowed :: Lens' UpdateUserSettings (Maybe EnabledType)
- updateUserSettings_uploadAllowed :: Lens' UpdateUserSettings (Maybe EnabledType)
- updateUserSettings_userSettingsArn :: Lens' UpdateUserSettings Text
- data UpdateUserSettingsResponse = UpdateUserSettingsResponse' {}
- newUpdateUserSettingsResponse :: Int -> UserSettings -> UpdateUserSettingsResponse
- updateUserSettingsResponse_httpStatus :: Lens' UpdateUserSettingsResponse Int
- updateUserSettingsResponse_userSettings :: Lens' UpdateUserSettingsResponse UserSettings
Creating a Request
data UpdateUserSettings Source #
See: newUpdateUserSettings
smart constructor.
UpdateUserSettings' | |
|
Instances
newUpdateUserSettings Source #
Create a value of UpdateUserSettings
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:UpdateUserSettings'
, updateUserSettings_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.
UpdateUserSettings
, updateUserSettings_copyAllowed
- Specifies whether the user can copy text from the streaming session to
the local device.
UpdateUserSettings
, updateUserSettings_disconnectTimeoutInMinutes
- The amount of time that a streaming session remains active after users
disconnect.
UpdateUserSettings
, updateUserSettings_downloadAllowed
- Specifies whether the user can download files from the streaming session
to the local device.
UpdateUserSettings
, updateUserSettings_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.
UpdateUserSettings
, updateUserSettings_pasteAllowed
- Specifies whether the user can paste text from the local device to the
streaming session.
UpdateUserSettings
, updateUserSettings_printAllowed
- Specifies whether the user can print to the local device.
UpdateUserSettings
, updateUserSettings_uploadAllowed
- Specifies whether the user can upload files from the local device to the
streaming session.
UpdateUserSettings
, updateUserSettings_userSettingsArn
- The ARN of the user settings.
Request Lenses
updateUserSettings_clientToken :: Lens' UpdateUserSettings (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.
updateUserSettings_copyAllowed :: Lens' UpdateUserSettings (Maybe EnabledType) Source #
Specifies whether the user can copy text from the streaming session to the local device.
updateUserSettings_disconnectTimeoutInMinutes :: Lens' UpdateUserSettings (Maybe Natural) Source #
The amount of time that a streaming session remains active after users disconnect.
updateUserSettings_downloadAllowed :: Lens' UpdateUserSettings (Maybe EnabledType) Source #
Specifies whether the user can download files from the streaming session to the local device.
updateUserSettings_idleDisconnectTimeoutInMinutes :: Lens' UpdateUserSettings (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.
updateUserSettings_pasteAllowed :: Lens' UpdateUserSettings (Maybe EnabledType) Source #
Specifies whether the user can paste text from the local device to the streaming session.
updateUserSettings_printAllowed :: Lens' UpdateUserSettings (Maybe EnabledType) Source #
Specifies whether the user can print to the local device.
updateUserSettings_uploadAllowed :: Lens' UpdateUserSettings (Maybe EnabledType) Source #
Specifies whether the user can upload files from the local device to the streaming session.
updateUserSettings_userSettingsArn :: Lens' UpdateUserSettings Text Source #
The ARN of the user settings.
Destructuring the Response
data UpdateUserSettingsResponse Source #
See: newUpdateUserSettingsResponse
smart constructor.
UpdateUserSettingsResponse' | |
|
Instances
newUpdateUserSettingsResponse Source #
Create a value of UpdateUserSettingsResponse
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:UpdateUserSettingsResponse'
, updateUserSettingsResponse_httpStatus
- The response's http status code.
$sel:userSettings:UpdateUserSettingsResponse'
, updateUserSettingsResponse_userSettings
- The user settings.
Response Lenses
updateUserSettingsResponse_httpStatus :: Lens' UpdateUserSettingsResponse Int Source #
The response's http status code.
updateUserSettingsResponse_userSettings :: Lens' UpdateUserSettingsResponse UserSettings Source #
The user settings.