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.DeleteSchedulingPolicy
Description
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.
Constructors
DeleteSchedulingPolicy' | |
Instances
newDeleteSchedulingPolicy Source #
Arguments
:: Text | |
-> DeleteSchedulingPolicy |
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.
Constructors
DeleteSchedulingPolicyResponse' | |
Fields
|
Instances
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.