| 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.Batch.UpdateSchedulingPolicy
Description
Updates a scheduling policy.
Synopsis
- data UpdateSchedulingPolicy = UpdateSchedulingPolicy' {}
- newUpdateSchedulingPolicy :: Text -> UpdateSchedulingPolicy
- updateSchedulingPolicy_fairsharePolicy :: Lens' UpdateSchedulingPolicy (Maybe FairsharePolicy)
- updateSchedulingPolicy_arn :: Lens' UpdateSchedulingPolicy Text
- data UpdateSchedulingPolicyResponse = UpdateSchedulingPolicyResponse' {
- httpStatus :: Int
- newUpdateSchedulingPolicyResponse :: Int -> UpdateSchedulingPolicyResponse
- updateSchedulingPolicyResponse_httpStatus :: Lens' UpdateSchedulingPolicyResponse Int
Creating a Request
data UpdateSchedulingPolicy Source #
Contains the parameters for UpdateSchedulingPolicy.
See: newUpdateSchedulingPolicy smart constructor.
Constructors
| UpdateSchedulingPolicy' | |
Fields
| |
Instances
newUpdateSchedulingPolicy Source #
Arguments
| :: Text | |
| -> UpdateSchedulingPolicy |
Create a value of UpdateSchedulingPolicy 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:
UpdateSchedulingPolicy, updateSchedulingPolicy_fairsharePolicy - The fair share policy.
UpdateSchedulingPolicy, updateSchedulingPolicy_arn - The Amazon Resource Name (ARN) of the scheduling policy to update.
Request Lenses
updateSchedulingPolicy_fairsharePolicy :: Lens' UpdateSchedulingPolicy (Maybe FairsharePolicy) Source #
The fair share policy.
updateSchedulingPolicy_arn :: Lens' UpdateSchedulingPolicy Text Source #
The Amazon Resource Name (ARN) of the scheduling policy to update.
Destructuring the Response
data UpdateSchedulingPolicyResponse Source #
See: newUpdateSchedulingPolicyResponse smart constructor.
Constructors
| UpdateSchedulingPolicyResponse' | |
Fields
| |
Instances
newUpdateSchedulingPolicyResponse Source #
Create a value of UpdateSchedulingPolicyResponse 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:httpStatus:UpdateSchedulingPolicyResponse', updateSchedulingPolicyResponse_httpStatus - The response's http status code.
Response Lenses
updateSchedulingPolicyResponse_httpStatus :: Lens' UpdateSchedulingPolicyResponse Int Source #
The response's http status code.