| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WellArchitected.ListMilestones
Description
List all milestones for an existing workload.
Synopsis
- data ListMilestones = ListMilestones' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- workloadId :: Text
- newListMilestones :: Text -> ListMilestones
- listMilestones_maxResults :: Lens' ListMilestones (Maybe Natural)
- listMilestones_nextToken :: Lens' ListMilestones (Maybe Text)
- 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.
Constructors
| ListMilestones' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListMilestones |
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:maxResults:ListMilestones', listMilestones_maxResults - Undocumented member.
ListMilestones, listMilestones_nextToken - Undocumented member.
ListMilestones, listMilestones_workloadId - Undocumented member.
Request Lenses
listMilestones_maxResults :: Lens' ListMilestones (Maybe Natural) Source #
Undocumented member.
listMilestones_nextToken :: Lens' ListMilestones (Maybe Text) 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.
Constructors
| ListMilestonesResponse' | |
Fields
| |
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.
ListMilestones, listMilestonesResponse_nextToken - Undocumented member.
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.