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 |
Retrieves a list of user settings.
Synopsis
- data ListUserSettings = ListUserSettings' {}
- newListUserSettings :: ListUserSettings
- listUserSettings_maxResults :: Lens' ListUserSettings (Maybe Natural)
- listUserSettings_nextToken :: Lens' ListUserSettings (Maybe Text)
- data ListUserSettingsResponse = ListUserSettingsResponse' {}
- newListUserSettingsResponse :: Int -> ListUserSettingsResponse
- listUserSettingsResponse_nextToken :: Lens' ListUserSettingsResponse (Maybe Text)
- listUserSettingsResponse_userSettings :: Lens' ListUserSettingsResponse (Maybe [UserSettingsSummary])
- listUserSettingsResponse_httpStatus :: Lens' ListUserSettingsResponse Int
Creating a Request
data ListUserSettings Source #
See: newListUserSettings
smart constructor.
Instances
newListUserSettings :: ListUserSettings Source #
Create a value of ListUserSettings
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:maxResults:ListUserSettings'
, listUserSettings_maxResults
- The maximum number of results to be included in the next page.
ListUserSettings
, listUserSettings_nextToken
- The pagination token used to retrieve the next page of results for this
operation.
Request Lenses
listUserSettings_maxResults :: Lens' ListUserSettings (Maybe Natural) Source #
The maximum number of results to be included in the next page.
listUserSettings_nextToken :: Lens' ListUserSettings (Maybe Text) Source #
The pagination token used to retrieve the next page of results for this operation.
Destructuring the Response
data ListUserSettingsResponse Source #
See: newListUserSettingsResponse
smart constructor.
ListUserSettingsResponse' | |
|
Instances
newListUserSettingsResponse Source #
Create a value of ListUserSettingsResponse
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:
ListUserSettings
, listUserSettingsResponse_nextToken
- The pagination token used to retrieve the next page of results for this
operation.
$sel:userSettings:ListUserSettingsResponse'
, listUserSettingsResponse_userSettings
- The user settings.
$sel:httpStatus:ListUserSettingsResponse'
, listUserSettingsResponse_httpStatus
- The response's http status code.
Response Lenses
listUserSettingsResponse_nextToken :: Lens' ListUserSettingsResponse (Maybe Text) Source #
The pagination token used to retrieve the next page of results for this operation.
listUserSettingsResponse_userSettings :: Lens' ListUserSettingsResponse (Maybe [UserSettingsSummary]) Source #
The user settings.
listUserSettingsResponse_httpStatus :: Lens' ListUserSettingsResponse Int Source #
The response's http status code.