| 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.AddDraftAppVersionResourceMappings
Description
Adds the resource mapping for the draft application version.
Synopsis
- data AddDraftAppVersionResourceMappings = AddDraftAppVersionResourceMappings' {}
- newAddDraftAppVersionResourceMappings :: Text -> AddDraftAppVersionResourceMappings
- addDraftAppVersionResourceMappings_appArn :: Lens' AddDraftAppVersionResourceMappings Text
- addDraftAppVersionResourceMappings_resourceMappings :: Lens' AddDraftAppVersionResourceMappings [ResourceMapping]
- data AddDraftAppVersionResourceMappingsResponse = AddDraftAppVersionResourceMappingsResponse' {
- httpStatus :: Int
- appArn :: Text
- appVersion :: Text
- resourceMappings :: [ResourceMapping]
- newAddDraftAppVersionResourceMappingsResponse :: Int -> Text -> Text -> AddDraftAppVersionResourceMappingsResponse
- addDraftAppVersionResourceMappingsResponse_httpStatus :: Lens' AddDraftAppVersionResourceMappingsResponse Int
- addDraftAppVersionResourceMappingsResponse_appArn :: Lens' AddDraftAppVersionResourceMappingsResponse Text
- addDraftAppVersionResourceMappingsResponse_appVersion :: Lens' AddDraftAppVersionResourceMappingsResponse Text
- addDraftAppVersionResourceMappingsResponse_resourceMappings :: Lens' AddDraftAppVersionResourceMappingsResponse [ResourceMapping]
Creating a Request
data AddDraftAppVersionResourceMappings Source #
See: newAddDraftAppVersionResourceMappings smart constructor.
Constructors
| AddDraftAppVersionResourceMappings' | |
Fields
| |
Instances
newAddDraftAppVersionResourceMappings Source #
Create a value of AddDraftAppVersionResourceMappings 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:
AddDraftAppVersionResourceMappings, addDraftAppVersionResourceMappings_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.
AddDraftAppVersionResourceMappings, addDraftAppVersionResourceMappings_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.
Request Lenses
addDraftAppVersionResourceMappings_appArn :: Lens' AddDraftAppVersionResourceMappings 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.
addDraftAppVersionResourceMappings_resourceMappings :: Lens' AddDraftAppVersionResourceMappings [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.
Destructuring the Response
data AddDraftAppVersionResourceMappingsResponse Source #
See: newAddDraftAppVersionResourceMappingsResponse smart constructor.
Constructors
| AddDraftAppVersionResourceMappingsResponse' | |
Fields
| |
Instances
newAddDraftAppVersionResourceMappingsResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> AddDraftAppVersionResourceMappingsResponse |
Create a value of AddDraftAppVersionResourceMappingsResponse 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:httpStatus:AddDraftAppVersionResourceMappingsResponse', addDraftAppVersionResourceMappingsResponse_httpStatus - The response's http status code.
AddDraftAppVersionResourceMappings, addDraftAppVersionResourceMappingsResponse_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.
AddDraftAppVersionResourceMappingsResponse, addDraftAppVersionResourceMappingsResponse_appVersion - The version of the application.
AddDraftAppVersionResourceMappings, addDraftAppVersionResourceMappingsResponse_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
addDraftAppVersionResourceMappingsResponse_httpStatus :: Lens' AddDraftAppVersionResourceMappingsResponse Int Source #
The response's http status code.
addDraftAppVersionResourceMappingsResponse_appArn :: Lens' AddDraftAppVersionResourceMappingsResponse 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.
addDraftAppVersionResourceMappingsResponse_appVersion :: Lens' AddDraftAppVersionResourceMappingsResponse Text Source #
The version of the application.
addDraftAppVersionResourceMappingsResponse_resourceMappings :: Lens' AddDraftAppVersionResourceMappingsResponse [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.