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 |
Deletes the specified scheduling policy.
You can't delete a scheduling policy that's used in any job queues.
Synopsis
- data DeleteSchedulingPolicy = DeleteSchedulingPolicy' {}
- newDeleteSchedulingPolicy :: Text -> DeleteSchedulingPolicy
- deleteSchedulingPolicy_arn :: Lens' DeleteSchedulingPolicy Text
- data DeleteSchedulingPolicyResponse = DeleteSchedulingPolicyResponse' {
- httpStatus :: Int
- newDeleteSchedulingPolicyResponse :: Int -> DeleteSchedulingPolicyResponse
- deleteSchedulingPolicyResponse_httpStatus :: Lens' DeleteSchedulingPolicyResponse Int
Creating a Request
data DeleteSchedulingPolicy Source #
Contains the parameters for DeleteSchedulingPolicy
.
See: newDeleteSchedulingPolicy
smart constructor.
Instances
newDeleteSchedulingPolicy Source #
Create a value of DeleteSchedulingPolicy
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:
DeleteSchedulingPolicy
, deleteSchedulingPolicy_arn
- The Amazon Resource Name (ARN) of the scheduling policy to delete.
Request Lenses
deleteSchedulingPolicy_arn :: Lens' DeleteSchedulingPolicy Text Source #
The Amazon Resource Name (ARN) of the scheduling policy to delete.
Destructuring the Response
data DeleteSchedulingPolicyResponse Source #
See: newDeleteSchedulingPolicyResponse
smart constructor.
DeleteSchedulingPolicyResponse' | |
|
Instances
Generic DeleteSchedulingPolicyResponse Source # | |
Read DeleteSchedulingPolicyResponse Source # | |
Show DeleteSchedulingPolicyResponse Source # | |
Defined in Amazonka.Batch.DeleteSchedulingPolicy | |
NFData DeleteSchedulingPolicyResponse Source # | |
Defined in Amazonka.Batch.DeleteSchedulingPolicy rnf :: DeleteSchedulingPolicyResponse -> () # | |
Eq DeleteSchedulingPolicyResponse Source # | |
type Rep DeleteSchedulingPolicyResponse Source # | |
Defined in Amazonka.Batch.DeleteSchedulingPolicy type Rep DeleteSchedulingPolicyResponse = D1 ('MetaData "DeleteSchedulingPolicyResponse" "Amazonka.Batch.DeleteSchedulingPolicy" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "DeleteSchedulingPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteSchedulingPolicyResponse Source #
Create a value of DeleteSchedulingPolicyResponse
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:DeleteSchedulingPolicyResponse'
, deleteSchedulingPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
deleteSchedulingPolicyResponse_httpStatus :: Lens' DeleteSchedulingPolicyResponse Int Source #
The response's http status code.