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

Description

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

Synopsis

Creating a Request

data GetAnswer Source #

Input to get answer.

See: newGetAnswer smart constructor.

Instances

Instances details
Eq GetAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

Read GetAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

Show GetAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

Generic GetAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

Associated Types

type Rep GetAnswer :: Type -> Type #

NFData GetAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

Methods

rnf :: GetAnswer -> () #

Hashable GetAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

AWSRequest GetAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

Associated Types

type AWSResponse GetAnswer #

ToHeaders GetAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

Methods

toHeaders :: GetAnswer -> [Header] #

ToPath GetAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

ToQuery GetAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

type Rep GetAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

type Rep GetAnswer = D1 ('MetaData "GetAnswer" "Amazonka.WellArchitected.GetAnswer" "libZSservicesZSamazonka-wellarchitectedZSamazonka-wellarchitected" 'False) (C1 ('MetaCons "GetAnswer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "milestoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "workloadId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "lensAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "questionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetAnswer Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

newGetAnswer Source #

Create a value of GetAnswer 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:milestoneNumber:GetAnswer', getAnswer_milestoneNumber - Undocumented member.

$sel:workloadId:GetAnswer', getAnswer_workloadId - Undocumented member.

$sel:lensAlias:GetAnswer', getAnswer_lensAlias - Undocumented member.

$sel:questionId:GetAnswer', getAnswer_questionId - Undocumented member.

Request Lenses

Destructuring the Response

data GetAnswerResponse Source #

Output of a get answer call.

See: newGetAnswerResponse smart constructor.

Constructors

GetAnswerResponse' 

Fields

Instances

Instances details
Eq GetAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

Read GetAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

Show GetAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

Generic GetAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

Associated Types

type Rep GetAnswerResponse :: Type -> Type #

NFData GetAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

Methods

rnf :: GetAnswerResponse -> () #

type Rep GetAnswerResponse Source # 
Instance details

Defined in Amazonka.WellArchitected.GetAnswer

type Rep GetAnswerResponse = D1 ('MetaData "GetAnswerResponse" "Amazonka.WellArchitected.GetAnswer" "libZSservicesZSamazonka-wellarchitectedZSamazonka-wellarchitected" 'False) (C1 ('MetaCons "GetAnswerResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lensAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "milestoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (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)))))

newGetAnswerResponse Source #

Create a value of GetAnswerResponse 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:GetAnswer', getAnswerResponse_lensAlias - Undocumented member.

$sel:milestoneNumber:GetAnswer', getAnswerResponse_milestoneNumber - Undocumented member.

$sel:answer:GetAnswerResponse', getAnswerResponse_answer - Undocumented member.

$sel:workloadId:GetAnswer', getAnswerResponse_workloadId - Undocumented member.

$sel:httpStatus:GetAnswerResponse', getAnswerResponse_httpStatus - The response's http status code.

Response Lenses

getAnswerResponse_httpStatus :: Lens' GetAnswerResponse Int Source #

The response's http status code.