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

Description

Adds or updates the app template for a draft version of a Resilience Hub app.

Synopsis

Creating a Request

data PutDraftAppVersionTemplate Source #

See: newPutDraftAppVersionTemplate smart constructor.

Constructors

PutDraftAppVersionTemplate' 

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.

  • appTemplateBody :: Text

    A JSON string that contains the body of the app template.

Instances

Instances details
ToJSON PutDraftAppVersionTemplate Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

ToHeaders PutDraftAppVersionTemplate Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

ToPath PutDraftAppVersionTemplate Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

ToQuery PutDraftAppVersionTemplate Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

AWSRequest PutDraftAppVersionTemplate Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

Generic PutDraftAppVersionTemplate Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

Associated Types

type Rep PutDraftAppVersionTemplate :: Type -> Type #

Read PutDraftAppVersionTemplate Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

Show PutDraftAppVersionTemplate Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

NFData PutDraftAppVersionTemplate Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

Eq PutDraftAppVersionTemplate Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

Hashable PutDraftAppVersionTemplate Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

type AWSResponse PutDraftAppVersionTemplate Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

type Rep PutDraftAppVersionTemplate Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

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

newPutDraftAppVersionTemplate Source #

Create a value of PutDraftAppVersionTemplate 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:

PutDraftAppVersionTemplate, putDraftAppVersionTemplate_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.

$sel:appTemplateBody:PutDraftAppVersionTemplate', putDraftAppVersionTemplate_appTemplateBody - A JSON string that contains the body of the app template.

Request Lenses

putDraftAppVersionTemplate_appArn :: Lens' PutDraftAppVersionTemplate 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.

putDraftAppVersionTemplate_appTemplateBody :: Lens' PutDraftAppVersionTemplate Text Source #

A JSON string that contains the body of the app template.

Destructuring the Response

data PutDraftAppVersionTemplateResponse Source #

Constructors

PutDraftAppVersionTemplateResponse' 

Fields

Instances

Instances details
Generic PutDraftAppVersionTemplateResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

Associated Types

type Rep PutDraftAppVersionTemplateResponse :: Type -> Type #

Read PutDraftAppVersionTemplateResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

Show PutDraftAppVersionTemplateResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

NFData PutDraftAppVersionTemplateResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

Eq PutDraftAppVersionTemplateResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

type Rep PutDraftAppVersionTemplateResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.PutDraftAppVersionTemplate

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

newPutDraftAppVersionTemplateResponse Source #

Create a value of PutDraftAppVersionTemplateResponse 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:

PutDraftAppVersionTemplate, putDraftAppVersionTemplateResponse_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.

PutDraftAppVersionTemplateResponse, putDraftAppVersionTemplateResponse_appVersion - The version of the application.

$sel:httpStatus:PutDraftAppVersionTemplateResponse', putDraftAppVersionTemplateResponse_httpStatus - The response's http status code.

Response Lenses

putDraftAppVersionTemplateResponse_appArn :: Lens' PutDraftAppVersionTemplateResponse (Maybe 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.