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 |
Lists the applications associated with a specific Amazon Web Services account. You can provide the unique identifier of a specific runtime environment in a query parameter to see all applications associated with that environment.
This operation returns paginated results.
Synopsis
- data ListApplications = ListApplications' {}
- newListApplications :: ListApplications
- listApplications_environmentId :: Lens' ListApplications (Maybe Text)
- listApplications_maxResults :: Lens' ListApplications (Maybe Natural)
- listApplications_names :: Lens' ListApplications (Maybe (NonEmpty Text))
- listApplications_nextToken :: Lens' ListApplications (Maybe Text)
- data ListApplicationsResponse = ListApplicationsResponse' {}
- newListApplicationsResponse :: Int -> ListApplicationsResponse
- listApplicationsResponse_nextToken :: Lens' ListApplicationsResponse (Maybe Text)
- listApplicationsResponse_httpStatus :: Lens' ListApplicationsResponse Int
- listApplicationsResponse_applications :: Lens' ListApplicationsResponse [ApplicationSummary]
Creating a Request
data ListApplications Source #
See: newListApplications
smart constructor.
ListApplications' | |
|
Instances
newListApplications :: ListApplications Source #
Create a value of ListApplications
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:
ListApplications
, listApplications_environmentId
- The unique identifier of the runtime environment where the applications
are deployed.
$sel:maxResults:ListApplications'
, listApplications_maxResults
- The maximum number of applications to return.
$sel:names:ListApplications'
, listApplications_names
- The names of the applications.
ListApplications
, listApplications_nextToken
- A pagination token to control the number of applications displayed in
the list.
Request Lenses
listApplications_environmentId :: Lens' ListApplications (Maybe Text) Source #
The unique identifier of the runtime environment where the applications are deployed.
listApplications_maxResults :: Lens' ListApplications (Maybe Natural) Source #
The maximum number of applications to return.
listApplications_names :: Lens' ListApplications (Maybe (NonEmpty Text)) Source #
The names of the applications.
listApplications_nextToken :: Lens' ListApplications (Maybe Text) Source #
A pagination token to control the number of applications displayed in the list.
Destructuring the Response
data ListApplicationsResponse Source #
See: newListApplicationsResponse
smart constructor.
ListApplicationsResponse' | |
|
Instances
newListApplicationsResponse Source #
Create a value of ListApplicationsResponse
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:
ListApplications
, listApplicationsResponse_nextToken
- A pagination token that's returned when the response doesn't contain
all applications.
$sel:httpStatus:ListApplicationsResponse'
, listApplicationsResponse_httpStatus
- The response's http status code.
$sel:applications:ListApplicationsResponse'
, listApplicationsResponse_applications
- Returns a list of summary details for all the applications in a runtime
environment.
Response Lenses
listApplicationsResponse_nextToken :: Lens' ListApplicationsResponse (Maybe Text) Source #
A pagination token that's returned when the response doesn't contain all applications.
listApplicationsResponse_httpStatus :: Lens' ListApplicationsResponse Int Source #
The response's http status code.
listApplicationsResponse_applications :: Lens' ListApplicationsResponse [ApplicationSummary] Source #
Returns a list of summary details for all the applications in a runtime environment.