| 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.ResilienceHub.ListApps
Description
Lists your Resilience Hub applications.
Synopsis
- data ListApps = ListApps' {}
- newListApps :: ListApps
- listApps_appArn :: Lens' ListApps (Maybe Text)
- listApps_maxResults :: Lens' ListApps (Maybe Natural)
- listApps_name :: Lens' ListApps (Maybe Text)
- listApps_nextToken :: Lens' ListApps (Maybe Text)
- data ListAppsResponse = ListAppsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- appSummaries :: [AppSummary]
- newListAppsResponse :: Int -> ListAppsResponse
- listAppsResponse_nextToken :: Lens' ListAppsResponse (Maybe Text)
- listAppsResponse_httpStatus :: Lens' ListAppsResponse Int
- listAppsResponse_appSummaries :: Lens' ListAppsResponse [AppSummary]
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:
ListApps, listApps_appArn - The Amazon Resource Name (ARN) of the application. The format for this
ARN is: arn:partition:resiliencehub:region:account:app/app-id.
For more information about ARNs, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
$sel:maxResults:ListApps', listApps_maxResults - The maximum number of results to include in the response. If more
results exist than the specified MaxResults value, a token is included
in the response so that the remaining results can be retrieved.
ListApps, listApps_name - The name for the one of the listed applications.
ListApps, listApps_nextToken - Null, or the token from a previous call to get the next set of results.
Request Lenses
listApps_appArn :: Lens' ListApps (Maybe Text) Source #
The Amazon Resource Name (ARN) of the application. The format for this
ARN is: arn:partition:resiliencehub:region:account:app/app-id.
For more information about ARNs, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
listApps_maxResults :: Lens' ListApps (Maybe Natural) Source #
The maximum number of results to include in the response. If more
results exist than the specified MaxResults value, a token is included
in the response so that the remaining results can be retrieved.
listApps_name :: Lens' ListApps (Maybe Text) Source #
The name for the one of the listed applications.
listApps_nextToken :: Lens' ListApps (Maybe Text) Source #
Null, or the token from a previous call to get the next set of results.
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:
ListApps, listAppsResponse_nextToken - The token for the next set of results, or null if there are no more
results.
$sel:httpStatus:ListAppsResponse', listAppsResponse_httpStatus - The response's http status code.
$sel:appSummaries:ListAppsResponse', listAppsResponse_appSummaries - Summaries for the Resilience Hub application.
Response Lenses
listAppsResponse_nextToken :: Lens' ListAppsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listAppsResponse_httpStatus :: Lens' ListAppsResponse Int Source #
The response's http status code.
listAppsResponse_appSummaries :: Lens' ListAppsResponse [AppSummary] Source #
Summaries for the Resilience Hub application.