amazonka-resiliencehub-2.0: Amazon Resilience Hub SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

Description

Adds the resource mapping for the draft application version.

Synopsis

Creating a Request

data AddDraftAppVersionResourceMappings Source #

Constructors

AddDraftAppVersionResourceMappings' 

Fields

  • appArn :: Text

    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.

  • resourceMappings :: [ResourceMapping]

    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.

Instances

Instances details
ToJSON AddDraftAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

ToHeaders AddDraftAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

ToPath AddDraftAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

ToQuery AddDraftAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

AWSRequest AddDraftAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

Generic AddDraftAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

Associated Types

type Rep AddDraftAppVersionResourceMappings :: Type -> Type #

Read AddDraftAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

Show AddDraftAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

NFData AddDraftAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

Eq AddDraftAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

Hashable AddDraftAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

type AWSResponse AddDraftAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

type Rep AddDraftAppVersionResourceMappings Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

type Rep AddDraftAppVersionResourceMappings = D1 ('MetaData "AddDraftAppVersionResourceMappings" "Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "AddDraftAppVersionResourceMappings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ResourceMapping])))

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 #

Constructors

AddDraftAppVersionResourceMappingsResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • appArn :: Text

    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.

  • appVersion :: Text

    The version of the application.

  • resourceMappings :: [ResourceMapping]

    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.

Instances

Instances details
Generic AddDraftAppVersionResourceMappingsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

Read AddDraftAppVersionResourceMappingsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

Show AddDraftAppVersionResourceMappingsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

NFData AddDraftAppVersionResourceMappingsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

Eq AddDraftAppVersionResourceMappingsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

type Rep AddDraftAppVersionResourceMappingsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings

type Rep AddDraftAppVersionResourceMappingsResponse = D1 ('MetaData "AddDraftAppVersionResourceMappingsResponse" "Amazonka.ResilienceHub.AddDraftAppVersionResourceMappings" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "AddDraftAppVersionResourceMappingsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "appArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "appVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ResourceMapping]))))

newAddDraftAppVersionResourceMappingsResponse Source #

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_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_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.