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 |
List all milestones for an existing workload.
Synopsis
- data ListMilestones = ListMilestones' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- workloadId :: Text
- newListMilestones :: Text -> ListMilestones
- listMilestones_nextToken :: Lens' ListMilestones (Maybe Text)
- listMilestones_maxResults :: Lens' ListMilestones (Maybe Natural)
- listMilestones_workloadId :: Lens' ListMilestones Text
- data ListMilestonesResponse = ListMilestonesResponse' {}
- newListMilestonesResponse :: Int -> ListMilestonesResponse
- listMilestonesResponse_milestoneSummaries :: Lens' ListMilestonesResponse (Maybe [MilestoneSummary])
- listMilestonesResponse_nextToken :: Lens' ListMilestonesResponse (Maybe Text)
- listMilestonesResponse_workloadId :: Lens' ListMilestonesResponse (Maybe Text)
- listMilestonesResponse_httpStatus :: Lens' ListMilestonesResponse Int
Creating a Request
data ListMilestones Source #
Input to list all milestones for a workload.
See: newListMilestones
smart constructor.
Instances
Create a value of ListMilestones
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:nextToken:ListMilestones'
, listMilestones_nextToken
- Undocumented member.
$sel:maxResults:ListMilestones'
, listMilestones_maxResults
- Undocumented member.
$sel:workloadId:ListMilestones'
, listMilestones_workloadId
- Undocumented member.
Request Lenses
listMilestones_nextToken :: Lens' ListMilestones (Maybe Text) Source #
Undocumented member.
listMilestones_maxResults :: Lens' ListMilestones (Maybe Natural) Source #
Undocumented member.
listMilestones_workloadId :: Lens' ListMilestones Text Source #
Undocumented member.
Destructuring the Response
data ListMilestonesResponse Source #
Output of a list milestones call.
See: newListMilestonesResponse
smart constructor.
ListMilestonesResponse' | |
|
Instances
newListMilestonesResponse Source #
Create a value of ListMilestonesResponse
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:milestoneSummaries:ListMilestonesResponse'
, listMilestonesResponse_milestoneSummaries
- Undocumented member.
$sel:nextToken:ListMilestones'
, listMilestonesResponse_nextToken
- Undocumented member.
$sel:workloadId:ListMilestones'
, listMilestonesResponse_workloadId
- Undocumented member.
$sel:httpStatus:ListMilestonesResponse'
, listMilestonesResponse_httpStatus
- The response's http status code.
Response Lenses
listMilestonesResponse_milestoneSummaries :: Lens' ListMilestonesResponse (Maybe [MilestoneSummary]) Source #
Undocumented member.
listMilestonesResponse_nextToken :: Lens' ListMilestonesResponse (Maybe Text) Source #
Undocumented member.
listMilestonesResponse_workloadId :: Lens' ListMilestonesResponse (Maybe Text) Source #
Undocumented member.
listMilestonesResponse_httpStatus :: Lens' ListMilestonesResponse Int Source #
The response's http status code.