amazonka-wellarchitected-2.0: Amazon Well-Architected Tool 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.WellArchitected.UpdateAnswer

Description

Update the answer to a specific question in a workload review.

Synopsis

Creating a Request

data UpdateAnswer Source #

Input to update answer.

See: newUpdateAnswer smart constructor.

Constructors

UpdateAnswer' 

Fields

Instances

Instances details
ToJSON UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

ToHeaders UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

ToPath UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

ToQuery UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

AWSRequest UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Associated Types

type AWSResponse UpdateAnswer #

Generic UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Associated Types

type Rep UpdateAnswer :: Type -> Type #

Read UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Show UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

NFData UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Methods

rnf :: UpdateAnswer -> () #

Eq UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Hashable UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

type AWSResponse UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

type Rep UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

newUpdateAnswer Source #

Create a value of UpdateAnswer 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:choiceUpdates:UpdateAnswer', updateAnswer_choiceUpdates - A list of choices to update on a question in your workload. The String key corresponds to the choice ID to be updated.

UpdateAnswer, updateAnswer_isApplicable - Undocumented member.

UpdateAnswer, updateAnswer_notes - Undocumented member.

UpdateAnswer, updateAnswer_reason - The reason why a question is not applicable to your workload.

UpdateAnswer, updateAnswer_selectedChoices - Undocumented member.

UpdateAnswer, updateAnswer_workloadId - Undocumented member.

UpdateAnswer, updateAnswer_lensAlias - Undocumented member.

UpdateAnswer, updateAnswer_questionId - Undocumented member.

Request Lenses

updateAnswer_choiceUpdates :: Lens' UpdateAnswer (Maybe (HashMap Text ChoiceUpdate)) Source #

A list of choices to update on a question in your workload. The String key corresponds to the choice ID to be updated.

updateAnswer_reason :: Lens' UpdateAnswer (Maybe AnswerReason) Source #

The reason why a question is not applicable to your workload.

Destructuring the Response

data UpdateAnswerResponse Source #

Output of a update answer call.

See: newUpdateAnswerResponse smart constructor.

Constructors

UpdateAnswerResponse' 

Fields

Instances

Instances details
Generic UpdateAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Associated Types

type Rep UpdateAnswerResponse :: Type -> Type #

Read UpdateAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Show UpdateAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

NFData UpdateAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Methods

rnf :: UpdateAnswerResponse -> () #

Eq UpdateAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

type Rep UpdateAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

type Rep UpdateAnswerResponse = D1 ('MetaData "UpdateAnswerResponse" "Amazonka.WellArchitected.UpdateAnswer" "amazonka-wellarchitected-2.0-B9ahtNDcb8r448GjCnHecq" 'False) (C1 ('MetaCons "UpdateAnswerResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "answer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Answer)) :*: S1 ('MetaSel ('Just "lensAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lensArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "workloadId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newUpdateAnswerResponse Source #

Create a value of UpdateAnswerResponse 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:answer:UpdateAnswerResponse', updateAnswerResponse_answer - Undocumented member.

UpdateAnswer, updateAnswerResponse_lensAlias - Undocumented member.

UpdateAnswerResponse, updateAnswerResponse_lensArn - The ARN for the lens.

UpdateAnswer, updateAnswerResponse_workloadId - Undocumented member.

$sel:httpStatus:UpdateAnswerResponse', updateAnswerResponse_httpStatus - The response's http status code.

Response Lenses