| 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.ListAppVersionResources
Description
Lists all the resources in an application version.
Synopsis
- data ListAppVersionResources = ListAppVersionResources' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- resolutionId :: Maybe Text
- appArn :: Text
- appVersion :: Text
- newListAppVersionResources :: Text -> Text -> ListAppVersionResources
- listAppVersionResources_maxResults :: Lens' ListAppVersionResources (Maybe Natural)
- listAppVersionResources_nextToken :: Lens' ListAppVersionResources (Maybe Text)
- listAppVersionResources_resolutionId :: Lens' ListAppVersionResources (Maybe Text)
- listAppVersionResources_appArn :: Lens' ListAppVersionResources Text
- listAppVersionResources_appVersion :: Lens' ListAppVersionResources Text
- data ListAppVersionResourcesResponse = ListAppVersionResourcesResponse' {}
- newListAppVersionResourcesResponse :: Int -> Text -> ListAppVersionResourcesResponse
- listAppVersionResourcesResponse_nextToken :: Lens' ListAppVersionResourcesResponse (Maybe Text)
- listAppVersionResourcesResponse_httpStatus :: Lens' ListAppVersionResourcesResponse Int
- listAppVersionResourcesResponse_physicalResources :: Lens' ListAppVersionResourcesResponse [PhysicalResource]
- listAppVersionResourcesResponse_resolutionId :: Lens' ListAppVersionResourcesResponse Text
Creating a Request
data ListAppVersionResources Source #
See: newListAppVersionResources smart constructor.
Constructors
| ListAppVersionResources' | |
Fields
| |
Instances
newListAppVersionResources Source #
Create a value of ListAppVersionResources 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:ListAppVersionResources', listAppVersionResources_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.
ListAppVersionResources, listAppVersionResources_nextToken - Null, or the token from a previous call to get the next set of results.
ListAppVersionResources, listAppVersionResources_resolutionId - The identifier for a specific resolution.
ListAppVersionResources, listAppVersionResources_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.
ListAppVersionResources, listAppVersionResources_appVersion - The version of the application.
Request Lenses
listAppVersionResources_maxResults :: Lens' ListAppVersionResources (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.
listAppVersionResources_nextToken :: Lens' ListAppVersionResources (Maybe Text) Source #
Null, or the token from a previous call to get the next set of results.
listAppVersionResources_resolutionId :: Lens' ListAppVersionResources (Maybe Text) Source #
The identifier for a specific resolution.
listAppVersionResources_appArn :: Lens' ListAppVersionResources 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.
listAppVersionResources_appVersion :: Lens' ListAppVersionResources Text Source #
The version of the application.
Destructuring the Response
data ListAppVersionResourcesResponse Source #
See: newListAppVersionResourcesResponse smart constructor.
Constructors
| ListAppVersionResourcesResponse' | |
Fields
| |
Instances
newListAppVersionResourcesResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> ListAppVersionResourcesResponse |
Create a value of ListAppVersionResourcesResponse 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:
ListAppVersionResources, listAppVersionResourcesResponse_nextToken - The token for the next set of results, or null if there are no more
results.
$sel:httpStatus:ListAppVersionResourcesResponse', listAppVersionResourcesResponse_httpStatus - The response's http status code.
$sel:physicalResources:ListAppVersionResourcesResponse', listAppVersionResourcesResponse_physicalResources - The physical resources in the application version.
ListAppVersionResources, listAppVersionResourcesResponse_resolutionId - The identifier for a specific resolution.
Response Lenses
listAppVersionResourcesResponse_nextToken :: Lens' ListAppVersionResourcesResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listAppVersionResourcesResponse_httpStatus :: Lens' ListAppVersionResourcesResponse Int Source #
The response's http status code.
listAppVersionResourcesResponse_physicalResources :: Lens' ListAppVersionResourcesResponse [PhysicalResource] Source #
The physical resources in the application version.
listAppVersionResourcesResponse_resolutionId :: Lens' ListAppVersionResourcesResponse Text Source #
The identifier for a specific resolution.