| 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.GetMilestone
Description
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.
Constructors
| GetMilestone' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Natural | |
| -> GetMilestone |
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:
GetMilestone, getMilestone_workloadId - Undocumented member.
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.
Constructors
| GetMilestoneResponse' | |
Fields
| |
Instances
newGetMilestoneResponse Source #
Arguments
| :: Int | |
| -> GetMilestoneResponse |
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.
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.