| 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.DescribeSchedulingPolicies
Description
Describes one or more of your scheduling policies.
Synopsis
- data DescribeSchedulingPolicies = DescribeSchedulingPolicies' {}
- newDescribeSchedulingPolicies :: DescribeSchedulingPolicies
- describeSchedulingPolicies_arns :: Lens' DescribeSchedulingPolicies [Text]
- data DescribeSchedulingPoliciesResponse = DescribeSchedulingPoliciesResponse' {}
- newDescribeSchedulingPoliciesResponse :: Int -> DescribeSchedulingPoliciesResponse
- describeSchedulingPoliciesResponse_schedulingPolicies :: Lens' DescribeSchedulingPoliciesResponse (Maybe [SchedulingPolicyDetail])
- describeSchedulingPoliciesResponse_httpStatus :: Lens' DescribeSchedulingPoliciesResponse Int
Creating a Request
data DescribeSchedulingPolicies Source #
Contains the parameters for DescribeSchedulingPolicies.
See: newDescribeSchedulingPolicies smart constructor.
Constructors
| DescribeSchedulingPolicies' | |
Instances
newDescribeSchedulingPolicies :: DescribeSchedulingPolicies Source #
Create a value of DescribeSchedulingPolicies 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:arns:DescribeSchedulingPolicies', describeSchedulingPolicies_arns - A list of up to 100 scheduling policy Amazon Resource Name (ARN)
entries.
Request Lenses
describeSchedulingPolicies_arns :: Lens' DescribeSchedulingPolicies [Text] Source #
A list of up to 100 scheduling policy Amazon Resource Name (ARN) entries.
Destructuring the Response
data DescribeSchedulingPoliciesResponse Source #
See: newDescribeSchedulingPoliciesResponse smart constructor.
Constructors
| DescribeSchedulingPoliciesResponse' | |
Fields
| |
Instances
newDescribeSchedulingPoliciesResponse Source #
Arguments
| :: Int | |
| -> DescribeSchedulingPoliciesResponse |
Create a value of DescribeSchedulingPoliciesResponse 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:schedulingPolicies:DescribeSchedulingPoliciesResponse', describeSchedulingPoliciesResponse_schedulingPolicies - The list of scheduling policies.
$sel:httpStatus:DescribeSchedulingPoliciesResponse', describeSchedulingPoliciesResponse_httpStatus - The response's http status code.
Response Lenses
describeSchedulingPoliciesResponse_schedulingPolicies :: Lens' DescribeSchedulingPoliciesResponse (Maybe [SchedulingPolicyDetail]) Source #
The list of scheduling policies.
describeSchedulingPoliciesResponse_httpStatus :: Lens' DescribeSchedulingPoliciesResponse Int Source #
The response's http status code.