| 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.CreateMilestone
Description
Create a milestone for an existing workload.
Synopsis
- data CreateMilestone = CreateMilestone' {}
- newCreateMilestone :: Text -> Text -> Text -> CreateMilestone
- createMilestone_workloadId :: Lens' CreateMilestone Text
- createMilestone_milestoneName :: Lens' CreateMilestone Text
- createMilestone_clientRequestToken :: Lens' CreateMilestone Text
- data CreateMilestoneResponse = CreateMilestoneResponse' {}
- newCreateMilestoneResponse :: Int -> CreateMilestoneResponse
- createMilestoneResponse_milestoneNumber :: Lens' CreateMilestoneResponse (Maybe Natural)
- createMilestoneResponse_workloadId :: Lens' CreateMilestoneResponse (Maybe Text)
- createMilestoneResponse_httpStatus :: Lens' CreateMilestoneResponse Int
Creating a Request
data CreateMilestone Source #
Input for milestone creation.
See: newCreateMilestone smart constructor.
Constructors
| CreateMilestone' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> CreateMilestone |
Create a value of CreateMilestone 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:
CreateMilestone, createMilestone_workloadId - Undocumented member.
CreateMilestone, createMilestone_milestoneName - Undocumented member.
$sel:clientRequestToken:CreateMilestone', createMilestone_clientRequestToken - Undocumented member.
Request Lenses
createMilestone_workloadId :: Lens' CreateMilestone Text Source #
Undocumented member.
createMilestone_milestoneName :: Lens' CreateMilestone Text Source #
Undocumented member.
createMilestone_clientRequestToken :: Lens' CreateMilestone Text Source #
Undocumented member.
Destructuring the Response
data CreateMilestoneResponse Source #
Output of a create milestone call.
See: newCreateMilestoneResponse smart constructor.
Constructors
| CreateMilestoneResponse' | |
Fields
| |
Instances
newCreateMilestoneResponse Source #
Create a value of CreateMilestoneResponse 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:
CreateMilestoneResponse, createMilestoneResponse_milestoneNumber - Undocumented member.
CreateMilestone, createMilestoneResponse_workloadId - Undocumented member.
$sel:httpStatus:CreateMilestoneResponse', createMilestoneResponse_httpStatus - The response's http status code.
Response Lenses
createMilestoneResponse_milestoneNumber :: Lens' CreateMilestoneResponse (Maybe Natural) Source #
Undocumented member.
createMilestoneResponse_workloadId :: Lens' CreateMilestoneResponse (Maybe Text) Source #
Undocumented member.
createMilestoneResponse_httpStatus :: Lens' CreateMilestoneResponse Int Source #
The response's http status code.