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 |
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.
Instances
:: 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:
$sel:workloadId:CreateMilestone'
, createMilestone_workloadId
- Undocumented member.
$sel:milestoneName: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.
CreateMilestoneResponse' | |
|
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:
$sel:milestoneNumber:CreateMilestoneResponse'
, createMilestoneResponse_milestoneNumber
- Undocumented member.
$sel:workloadId: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.