Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves settings for the specified user ID, such as any associated phone number settings.
Synopsis
- data GetUserSettings = GetUserSettings' {}
- newGetUserSettings :: Text -> Text -> GetUserSettings
- getUserSettings_accountId :: Lens' GetUserSettings Text
- getUserSettings_userId :: Lens' GetUserSettings Text
- data GetUserSettingsResponse = GetUserSettingsResponse' {}
- newGetUserSettingsResponse :: Int -> GetUserSettingsResponse
- getUserSettingsResponse_userSettings :: Lens' GetUserSettingsResponse (Maybe UserSettings)
- getUserSettingsResponse_httpStatus :: Lens' GetUserSettingsResponse Int
Creating a Request
data GetUserSettings Source #
See: newGetUserSettings
smart constructor.
Instances
Create a value of GetUserSettings
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:accountId:GetUserSettings'
, getUserSettings_accountId
- The Amazon Chime account ID.
$sel:userId:GetUserSettings'
, getUserSettings_userId
- The user ID.
Request Lenses
getUserSettings_accountId :: Lens' GetUserSettings Text Source #
The Amazon Chime account ID.
getUserSettings_userId :: Lens' GetUserSettings Text Source #
The user ID.
Destructuring the Response
data GetUserSettingsResponse Source #
See: newGetUserSettingsResponse
smart constructor.
GetUserSettingsResponse' | |
|
Instances
newGetUserSettingsResponse Source #
Create a value of GetUserSettingsResponse
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:userSettings:GetUserSettingsResponse'
, getUserSettingsResponse_userSettings
- The user settings.
$sel:httpStatus:GetUserSettingsResponse'
, getUserSettingsResponse_httpStatus
- The response's http status code.
Response Lenses
getUserSettingsResponse_userSettings :: Lens' GetUserSettingsResponse (Maybe UserSettings) Source #
The user settings.
getUserSettingsResponse_httpStatus :: Lens' GetUserSettingsResponse Int Source #
The response's http status code.