| 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.ListAppVersions
Description
Lists the different versions for the Resilience Hub applications.
Synopsis
- data ListAppVersions = ListAppVersions' {}
- newListAppVersions :: Text -> ListAppVersions
- listAppVersions_maxResults :: Lens' ListAppVersions (Maybe Natural)
- listAppVersions_nextToken :: Lens' ListAppVersions (Maybe Text)
- listAppVersions_appArn :: Lens' ListAppVersions Text
- data ListAppVersionsResponse = ListAppVersionsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- appVersions :: [AppVersionSummary]
- newListAppVersionsResponse :: Int -> ListAppVersionsResponse
- listAppVersionsResponse_nextToken :: Lens' ListAppVersionsResponse (Maybe Text)
- listAppVersionsResponse_httpStatus :: Lens' ListAppVersionsResponse Int
- listAppVersionsResponse_appVersions :: Lens' ListAppVersionsResponse [AppVersionSummary]
Creating a Request
data ListAppVersions Source #
See: newListAppVersions smart constructor.
Constructors
| ListAppVersions' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListAppVersions |
Create a value of ListAppVersions 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:ListAppVersions', listAppVersions_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.
ListAppVersions, listAppVersions_nextToken - Null, or the token from a previous call to get the next set of results.
ListAppVersions, listAppVersions_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.
Request Lenses
listAppVersions_maxResults :: Lens' ListAppVersions (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.
listAppVersions_nextToken :: Lens' ListAppVersions (Maybe Text) Source #
Null, or the token from a previous call to get the next set of results.
listAppVersions_appArn :: Lens' ListAppVersions 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.
Destructuring the Response
data ListAppVersionsResponse Source #
See: newListAppVersionsResponse smart constructor.
Constructors
| ListAppVersionsResponse' | |
Fields
| |
Instances
newListAppVersionsResponse Source #
Create a value of ListAppVersionsResponse 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:
ListAppVersions, listAppVersionsResponse_nextToken - The token for the next set of results, or null if there are no more
results.
$sel:httpStatus:ListAppVersionsResponse', listAppVersionsResponse_httpStatus - The response's http status code.
$sel:appVersions:ListAppVersionsResponse', listAppVersionsResponse_appVersions - The version of the application.
Response Lenses
listAppVersionsResponse_nextToken :: Lens' ListAppVersionsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listAppVersionsResponse_httpStatus :: Lens' ListAppVersionsResponse Int Source #
The response's http status code.
listAppVersionsResponse_appVersions :: Lens' ListAppVersionsResponse [AppVersionSummary] Source #
The version of the application.