@aws-sdk/client-batch 3.40.0 → 3.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +2 -2
  3. package/dist-cjs/Batch.js +75 -0
  4. package/dist-cjs/commands/CreateSchedulingPolicyCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteSchedulingPolicyCommand.js +36 -0
  6. package/dist-cjs/commands/DescribeSchedulingPoliciesCommand.js +36 -0
  7. package/dist-cjs/commands/ListSchedulingPoliciesCommand.js +36 -0
  8. package/dist-cjs/commands/UpdateSchedulingPolicyCommand.js +36 -0
  9. package/dist-cjs/commands/index.js +5 -0
  10. package/dist-cjs/endpoints.js +25 -0
  11. package/dist-cjs/models/models_0.js +87 -3
  12. package/dist-cjs/pagination/ListSchedulingPoliciesPaginator.js +35 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_restJson1.js +509 -1
  15. package/dist-es/Batch.js +75 -0
  16. package/dist-es/commands/CreateSchedulingPolicyCommand.js +39 -0
  17. package/dist-es/commands/DeleteSchedulingPolicyCommand.js +39 -0
  18. package/dist-es/commands/DescribeSchedulingPoliciesCommand.js +39 -0
  19. package/dist-es/commands/ListSchedulingPoliciesCommand.js +39 -0
  20. package/dist-es/commands/UpdateSchedulingPolicyCommand.js +39 -0
  21. package/dist-es/commands/index.js +5 -0
  22. package/dist-es/endpoints.js +25 -0
  23. package/dist-es/models/models_0.js +56 -0
  24. package/dist-es/pagination/ListSchedulingPoliciesPaginator.js +74 -0
  25. package/dist-es/pagination/index.js +1 -0
  26. package/dist-es/protocols/Aws_restJson1.js +584 -13
  27. package/dist-types/Batch.d.ts +50 -12
  28. package/dist-types/BatchClient.d.ts +9 -4
  29. package/dist-types/commands/CancelJobCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +5 -6
  31. package/dist-types/commands/CreateJobQueueCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +35 -0
  33. package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteJobQueueCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +36 -0
  36. package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeJobQueuesCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeJobsCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +35 -0
  42. package/dist-types/commands/ListJobsCommand.d.ts +1 -1
  43. package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +35 -0
  44. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  45. package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +1 -1
  46. package/dist-types/commands/SubmitJobCommand.d.ts +5 -2
  47. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  48. package/dist-types/commands/TerminateJobCommand.d.ts +1 -1
  49. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateJobQueueCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +35 -0
  53. package/dist-types/commands/index.d.ts +5 -0
  54. package/dist-types/models/models_0.d.ts +455 -114
  55. package/dist-types/pagination/ListSchedulingPoliciesPaginator.d.ts +4 -0
  56. package/dist-types/pagination/index.d.ts +1 -0
  57. package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
  58. package/dist-types/ts3.4/Batch.d.ts +25 -0
  59. package/dist-types/ts3.4/BatchClient.d.ts +7 -2
  60. package/dist-types/ts3.4/commands/CreateSchedulingPolicyCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/DeleteSchedulingPolicyCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/DescribeSchedulingPoliciesCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ListSchedulingPoliciesCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/UpdateSchedulingPolicyCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +164 -0
  67. package/dist-types/ts3.4/pagination/ListSchedulingPoliciesPaginator.d.ts +4 -0
  68. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  69. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +15 -0
  70. package/package.json +6 -6
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
4
+ import { UpdateSchedulingPolicyRequest, UpdateSchedulingPolicyResponse } from "../models/models_0";
5
+ export interface UpdateSchedulingPolicyCommandInput extends UpdateSchedulingPolicyRequest {
6
+ }
7
+ export interface UpdateSchedulingPolicyCommandOutput extends UpdateSchedulingPolicyResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates a scheduling policy.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { BatchClient, UpdateSchedulingPolicyCommand } from "@aws-sdk/client-batch"; // ES Modules import
15
+ * // const { BatchClient, UpdateSchedulingPolicyCommand } = require("@aws-sdk/client-batch"); // CommonJS import
16
+ * const client = new BatchClient(config);
17
+ * const command = new UpdateSchedulingPolicyCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateSchedulingPolicyCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateSchedulingPolicyCommandOutput} for command's `response` shape.
23
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateSchedulingPolicyCommand extends $Command<UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
27
+ readonly input: UpdateSchedulingPolicyCommandInput;
28
+ constructor(input: UpdateSchedulingPolicyCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,14 +1,18 @@
1
1
  export * from "./CancelJobCommand";
2
2
  export * from "./CreateComputeEnvironmentCommand";
3
3
  export * from "./CreateJobQueueCommand";
4
+ export * from "./CreateSchedulingPolicyCommand";
4
5
  export * from "./DeleteComputeEnvironmentCommand";
5
6
  export * from "./DeleteJobQueueCommand";
7
+ export * from "./DeleteSchedulingPolicyCommand";
6
8
  export * from "./DeregisterJobDefinitionCommand";
7
9
  export * from "./DescribeComputeEnvironmentsCommand";
8
10
  export * from "./DescribeJobDefinitionsCommand";
9
11
  export * from "./DescribeJobQueuesCommand";
10
12
  export * from "./DescribeJobsCommand";
13
+ export * from "./DescribeSchedulingPoliciesCommand";
11
14
  export * from "./ListJobsCommand";
15
+ export * from "./ListSchedulingPoliciesCommand";
12
16
  export * from "./ListTagsForResourceCommand";
13
17
  export * from "./RegisterJobDefinitionCommand";
14
18
  export * from "./SubmitJobCommand";
@@ -17,3 +21,4 @@ export * from "./TerminateJobCommand";
17
21
  export * from "./UntagResourceCommand";
18
22
  export * from "./UpdateComputeEnvironmentCommand";
19
23
  export * from "./UpdateJobQueueCommand";
24
+ export * from "./UpdateSchedulingPolicyCommand";