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 |
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.
UpdateSchedulingPolicy' | |
|
Instances
newUpdateSchedulingPolicy Source #
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.
UpdateSchedulingPolicyResponse' | |
|
Instances
Generic UpdateSchedulingPolicyResponse Source # | |
Read UpdateSchedulingPolicyResponse Source # | |
Show UpdateSchedulingPolicyResponse Source # | |
Defined in Amazonka.Batch.UpdateSchedulingPolicy | |
NFData UpdateSchedulingPolicyResponse Source # | |
Defined in Amazonka.Batch.UpdateSchedulingPolicy rnf :: UpdateSchedulingPolicyResponse -> () # | |
Eq UpdateSchedulingPolicyResponse Source # | |
type Rep UpdateSchedulingPolicyResponse Source # | |
Defined in Amazonka.Batch.UpdateSchedulingPolicy type Rep UpdateSchedulingPolicyResponse = D1 ('MetaData "UpdateSchedulingPolicyResponse" "Amazonka.Batch.UpdateSchedulingPolicy" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "UpdateSchedulingPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.