| 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 |
Amazonka.WorkSpacesWeb.AssociateUserSettings
Description
Associates a user settings resource with a web portal.
Synopsis
- data AssociateUserSettings = AssociateUserSettings' {
- portalArn :: Text
- userSettingsArn :: Text
- newAssociateUserSettings :: Text -> Text -> AssociateUserSettings
- associateUserSettings_portalArn :: Lens' AssociateUserSettings Text
- associateUserSettings_userSettingsArn :: Lens' AssociateUserSettings Text
- data AssociateUserSettingsResponse = AssociateUserSettingsResponse' {
- httpStatus :: Int
- portalArn :: Text
- userSettingsArn :: Text
- newAssociateUserSettingsResponse :: Int -> Text -> Text -> AssociateUserSettingsResponse
- associateUserSettingsResponse_httpStatus :: Lens' AssociateUserSettingsResponse Int
- associateUserSettingsResponse_portalArn :: Lens' AssociateUserSettingsResponse Text
- associateUserSettingsResponse_userSettingsArn :: Lens' AssociateUserSettingsResponse Text
Creating a Request
data AssociateUserSettings Source #
See: newAssociateUserSettings smart constructor.
Constructors
| AssociateUserSettings' | |
Fields
| |
Instances
newAssociateUserSettings Source #
Arguments
| :: Text | |
| -> Text | |
| -> AssociateUserSettings |
Create a value of AssociateUserSettings 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:
AssociateUserSettings, associateUserSettings_portalArn - The ARN of the web portal.
AssociateUserSettings, associateUserSettings_userSettingsArn - The ARN of the user settings.
Request Lenses
associateUserSettings_portalArn :: Lens' AssociateUserSettings Text Source #
The ARN of the web portal.
associateUserSettings_userSettingsArn :: Lens' AssociateUserSettings Text Source #
The ARN of the user settings.
Destructuring the Response
data AssociateUserSettingsResponse Source #
See: newAssociateUserSettingsResponse smart constructor.
Constructors
| AssociateUserSettingsResponse' | |
Fields
| |
Instances
newAssociateUserSettingsResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> AssociateUserSettingsResponse |
Create a value of AssociateUserSettingsResponse 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:AssociateUserSettingsResponse', associateUserSettingsResponse_httpStatus - The response's http status code.
AssociateUserSettings, associateUserSettingsResponse_portalArn - The ARN of the web portal.
AssociateUserSettings, associateUserSettingsResponse_userSettingsArn - The ARN of the user settings.
Response Lenses
associateUserSettingsResponse_httpStatus :: Lens' AssociateUserSettingsResponse Int Source #
The response's http status code.
associateUserSettingsResponse_portalArn :: Lens' AssociateUserSettingsResponse Text Source #
The ARN of the web portal.
associateUserSettingsResponse_userSettingsArn :: Lens' AssociateUserSettingsResponse Text Source #
The ARN of the user settings.