libZSservicesZSamazonka-wellarchitectedZSamazonka-wellarchitected
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Read UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Show UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Generic UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Associated Types

type Rep UpdateAnswer :: Type -> Type #

NFData UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Methods

rnf :: UpdateAnswer -> () #

Hashable UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

ToJSON UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

AWSRequest UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Associated Types

type AWSResponse 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

type Rep UpdateAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

type AWSResponse 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:isApplicable:UpdateAnswer', updateAnswer_isApplicable - Undocumented member.

$sel:selectedChoices:UpdateAnswer', updateAnswer_selectedChoices - Undocumented member.

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

$sel:notes:UpdateAnswer', updateAnswer_notes - Undocumented member.

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

$sel:workloadId:UpdateAnswer', updateAnswer_workloadId - Undocumented member.

$sel:lensAlias:UpdateAnswer', updateAnswer_lensAlias - Undocumented member.

$sel:questionId:UpdateAnswer', updateAnswer_questionId - Undocumented member.

Request Lenses

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

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

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.

Destructuring the Response

data UpdateAnswerResponse Source #

Output of a update answer call.

See: newUpdateAnswerResponse smart constructor.

Constructors

UpdateAnswerResponse' 

Fields

Instances

Instances details
Eq UpdateAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Read UpdateAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Show UpdateAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Generic UpdateAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Associated Types

type Rep UpdateAnswerResponse :: Type -> Type #

NFData UpdateAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

Methods

rnf :: UpdateAnswerResponse -> () #

type Rep UpdateAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.UpdateAnswer

type Rep UpdateAnswerResponse = D1 ('MetaData "UpdateAnswerResponse" "Amazonka.WellArchitected.UpdateAnswer" "libZSservicesZSamazonka-wellarchitectedZSamazonka-wellarchitected" 'False) (C1 ('MetaCons "UpdateAnswerResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lensAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "answer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Answer))) :*: (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:lensAlias:UpdateAnswer', updateAnswerResponse_lensAlias - Undocumented member.

$sel:answer:UpdateAnswerResponse', updateAnswerResponse_answer - Undocumented member.

$sel:workloadId:UpdateAnswer', updateAnswerResponse_workloadId - Undocumented member.

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

Response Lenses