| 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.SMS.ListApps
Description
Retrieves summaries for all applications.
This operation returns paginated results.
Synopsis
- data ListApps = ListApps' {}
- newListApps :: ListApps
- listApps_appIds :: Lens' ListApps (Maybe [Text])
- listApps_maxResults :: Lens' ListApps (Maybe Int)
- listApps_nextToken :: Lens' ListApps (Maybe Text)
- data ListAppsResponse = ListAppsResponse' {
- apps :: Maybe [AppSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListAppsResponse :: Int -> ListAppsResponse
- listAppsResponse_apps :: Lens' ListAppsResponse (Maybe [AppSummary])
- listAppsResponse_nextToken :: Lens' ListAppsResponse (Maybe Text)
- listAppsResponse_httpStatus :: Lens' ListAppsResponse Int
Creating a Request
See: newListApps smart constructor.
Constructors
| ListApps' | |
Fields
| |
Instances
newListApps :: ListApps Source #
Create a value of ListApps 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:appIds:ListApps', listApps_appIds - The unique application IDs.
$sel:maxResults:ListApps', listApps_maxResults - The maximum number of results to return in a single call. The default
value is 100. To retrieve the remaining results, make another call with
the returned NextToken value.
ListApps, listApps_nextToken - The token for the next set of results.
Request Lenses
listApps_maxResults :: Lens' ListApps (Maybe Int) Source #
The maximum number of results to return in a single call. The default
value is 100. To retrieve the remaining results, make another call with
the returned NextToken value.
Destructuring the Response
data ListAppsResponse Source #
See: newListAppsResponse smart constructor.
Constructors
| ListAppsResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> ListAppsResponse |
Create a value of ListAppsResponse 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:apps:ListAppsResponse', listAppsResponse_apps - The application summaries.
ListApps, listAppsResponse_nextToken - The token required to retrieve the next set of results. This value is
null when there are no more results to return.
$sel:httpStatus:ListAppsResponse', listAppsResponse_httpStatus - The response's http status code.
Response Lenses
listAppsResponse_apps :: Lens' ListAppsResponse (Maybe [AppSummary]) Source #
The application summaries.
listAppsResponse_nextToken :: Lens' ListAppsResponse (Maybe Text) Source #
The token required to retrieve the next set of results. This value is null when there are no more results to return.
listAppsResponse_httpStatus :: Lens' ListAppsResponse Int Source #
The response's http status code.