Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Get the answer to a specific question in a workload review.
Synopsis
- data GetAnswer = GetAnswer' {
- milestoneNumber :: Maybe Natural
- workloadId :: Text
- lensAlias :: Text
- questionId :: Text
- newGetAnswer :: Text -> Text -> Text -> GetAnswer
- getAnswer_milestoneNumber :: Lens' GetAnswer (Maybe Natural)
- getAnswer_workloadId :: Lens' GetAnswer Text
- getAnswer_lensAlias :: Lens' GetAnswer Text
- getAnswer_questionId :: Lens' GetAnswer Text
- data GetAnswerResponse = GetAnswerResponse' {
- lensAlias :: Maybe Text
- milestoneNumber :: Maybe Natural
- answer :: Maybe Answer
- workloadId :: Maybe Text
- httpStatus :: Int
- newGetAnswerResponse :: Int -> GetAnswerResponse
- getAnswerResponse_lensAlias :: Lens' GetAnswerResponse (Maybe Text)
- getAnswerResponse_milestoneNumber :: Lens' GetAnswerResponse (Maybe Natural)
- getAnswerResponse_answer :: Lens' GetAnswerResponse (Maybe Answer)
- getAnswerResponse_workloadId :: Lens' GetAnswerResponse (Maybe Text)
- getAnswerResponse_httpStatus :: Lens' GetAnswerResponse Int
Creating a Request
Input to get answer.
See: newGetAnswer
smart constructor.
GetAnswer' | |
|
Instances
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.
GetAnswerResponse' | |
|
Instances
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_lensAlias :: Lens' GetAnswerResponse (Maybe Text) Source #
Undocumented member.
getAnswerResponse_milestoneNumber :: Lens' GetAnswerResponse (Maybe Natural) Source #
Undocumented member.
getAnswerResponse_answer :: Lens' GetAnswerResponse (Maybe Answer) Source #
Undocumented member.
getAnswerResponse_workloadId :: Lens' GetAnswerResponse (Maybe Text) Source #
Undocumented member.
getAnswerResponse_httpStatus :: Lens' GetAnswerResponse Int Source #
The response's http status code.