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 a milestone for an existing workload.
Synopsis
- data GetMilestone = GetMilestone' {}
- newGetMilestone :: Text -> Natural -> GetMilestone
- getMilestone_workloadId :: Lens' GetMilestone Text
- getMilestone_milestoneNumber :: Lens' GetMilestone Natural
- data GetMilestoneResponse = GetMilestoneResponse' {
- milestone :: Maybe Milestone
- workloadId :: Maybe Text
- httpStatus :: Int
- newGetMilestoneResponse :: Int -> GetMilestoneResponse
- getMilestoneResponse_milestone :: Lens' GetMilestoneResponse (Maybe Milestone)
- getMilestoneResponse_workloadId :: Lens' GetMilestoneResponse (Maybe Text)
- getMilestoneResponse_httpStatus :: Lens' GetMilestoneResponse Int
Creating a Request
data GetMilestone Source #
Input to get a milestone.
See: newGetMilestone
smart constructor.
Instances
Create a value of GetMilestone
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:workloadId:GetMilestone'
, getMilestone_workloadId
- Undocumented member.
$sel:milestoneNumber:GetMilestone'
, getMilestone_milestoneNumber
- Undocumented member.
Request Lenses
getMilestone_workloadId :: Lens' GetMilestone Text Source #
Undocumented member.
getMilestone_milestoneNumber :: Lens' GetMilestone Natural Source #
Undocumented member.
Destructuring the Response
data GetMilestoneResponse Source #
Output of a get milestone call.
See: newGetMilestoneResponse
smart constructor.
GetMilestoneResponse' | |
|
Instances
newGetMilestoneResponse Source #
Create a value of GetMilestoneResponse
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:milestone:GetMilestoneResponse'
, getMilestoneResponse_milestone
- Undocumented member.
$sel:workloadId:GetMilestone'
, getMilestoneResponse_workloadId
- Undocumented member.
$sel:httpStatus:GetMilestoneResponse'
, getMilestoneResponse_httpStatus
- The response's http status code.
Response Lenses
getMilestoneResponse_milestone :: Lens' GetMilestoneResponse (Maybe Milestone) Source #
Undocumented member.
getMilestoneResponse_workloadId :: Lens' GetMilestoneResponse (Maybe Text) Source #
Undocumented member.
getMilestoneResponse_httpStatus :: Lens' GetMilestoneResponse Int Source #
The response's http status code.