| 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.ListAppVersionResourceMappings
Description
Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.
Synopsis
- data ListAppVersionResourceMappings = ListAppVersionResourceMappings' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- appArn :: Text
- appVersion :: Text
- newListAppVersionResourceMappings :: Text -> Text -> ListAppVersionResourceMappings
- listAppVersionResourceMappings_maxResults :: Lens' ListAppVersionResourceMappings (Maybe Natural)
- listAppVersionResourceMappings_nextToken :: Lens' ListAppVersionResourceMappings (Maybe Text)
- listAppVersionResourceMappings_appArn :: Lens' ListAppVersionResourceMappings Text
- listAppVersionResourceMappings_appVersion :: Lens' ListAppVersionResourceMappings Text
- data ListAppVersionResourceMappingsResponse = ListAppVersionResourceMappingsResponse' {}
- newListAppVersionResourceMappingsResponse :: Int -> ListAppVersionResourceMappingsResponse
- listAppVersionResourceMappingsResponse_nextToken :: Lens' ListAppVersionResourceMappingsResponse (Maybe Text)
- listAppVersionResourceMappingsResponse_httpStatus :: Lens' ListAppVersionResourceMappingsResponse Int
- listAppVersionResourceMappingsResponse_resourceMappings :: Lens' ListAppVersionResourceMappingsResponse [ResourceMapping]
Creating a Request
data ListAppVersionResourceMappings Source #
See: newListAppVersionResourceMappings smart constructor.
Constructors
| ListAppVersionResourceMappings' | |
Fields
| |
Instances
newListAppVersionResourceMappings Source #
Arguments
| :: Text | |
| -> Text | |
| -> ListAppVersionResourceMappings |
Create a value of ListAppVersionResourceMappings 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:ListAppVersionResourceMappings', listAppVersionResourceMappings_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.
ListAppVersionResourceMappings, listAppVersionResourceMappings_nextToken - Null, or the token from a previous call to get the next set of results.
ListAppVersionResourceMappings, listAppVersionResourceMappings_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.
ListAppVersionResourceMappings, listAppVersionResourceMappings_appVersion - The version of the application.
Request Lenses
listAppVersionResourceMappings_maxResults :: Lens' ListAppVersionResourceMappings (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.
listAppVersionResourceMappings_nextToken :: Lens' ListAppVersionResourceMappings (Maybe Text) Source #
Null, or the token from a previous call to get the next set of results.
listAppVersionResourceMappings_appArn :: Lens' ListAppVersionResourceMappings 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.
listAppVersionResourceMappings_appVersion :: Lens' ListAppVersionResourceMappings Text Source #
The version of the application.
Destructuring the Response
data ListAppVersionResourceMappingsResponse Source #
See: newListAppVersionResourceMappingsResponse smart constructor.
Constructors
| ListAppVersionResourceMappingsResponse' | |
Fields
| |
Instances
newListAppVersionResourceMappingsResponse Source #
Arguments
| :: Int | |
| -> ListAppVersionResourceMappingsResponse |
Create a value of ListAppVersionResourceMappingsResponse 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:
ListAppVersionResourceMappings, listAppVersionResourceMappingsResponse_nextToken - The token for the next set of results, or null if there are no more
results.
$sel:httpStatus:ListAppVersionResourceMappingsResponse', listAppVersionResourceMappingsResponse_httpStatus - The response's http status code.
$sel:resourceMappings:ListAppVersionResourceMappingsResponse', listAppVersionResourceMappingsResponse_resourceMappings - Mappings used to map logical resources from the template to physical
resources. You can use the mapping type CFN_STACK if the application
template uses a logical stack name. Or you can map individual resources
by using the mapping type RESOURCE. We recommend using the mapping
type CFN_STACK if the application is backed by a CloudFormation stack.
Response Lenses
listAppVersionResourceMappingsResponse_nextToken :: Lens' ListAppVersionResourceMappingsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listAppVersionResourceMappingsResponse_httpStatus :: Lens' ListAppVersionResourceMappingsResponse Int Source #
The response's http status code.
listAppVersionResourceMappingsResponse_resourceMappings :: Lens' ListAppVersionResourceMappingsResponse [ResourceMapping] Source #
Mappings used to map logical resources from the template to physical
resources. You can use the mapping type CFN_STACK if the application
template uses a logical stack name. Or you can map individual resources
by using the mapping type RESOURCE. We recommend using the mapping
type CFN_STACK if the application is backed by a CloudFormation stack.