@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.
- package/CHANGELOG.md +44 -0
- package/README.md +2 -2
- package/dist-cjs/Batch.js +75 -0
- package/dist-cjs/commands/CreateSchedulingPolicyCommand.js +36 -0
- package/dist-cjs/commands/DeleteSchedulingPolicyCommand.js +36 -0
- package/dist-cjs/commands/DescribeSchedulingPoliciesCommand.js +36 -0
- package/dist-cjs/commands/ListSchedulingPoliciesCommand.js +36 -0
- package/dist-cjs/commands/UpdateSchedulingPolicyCommand.js +36 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoints.js +25 -0
- package/dist-cjs/models/models_0.js +87 -3
- package/dist-cjs/pagination/ListSchedulingPoliciesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +509 -1
- package/dist-es/Batch.js +75 -0
- package/dist-es/commands/CreateSchedulingPolicyCommand.js +39 -0
- package/dist-es/commands/DeleteSchedulingPolicyCommand.js +39 -0
- package/dist-es/commands/DescribeSchedulingPoliciesCommand.js +39 -0
- package/dist-es/commands/ListSchedulingPoliciesCommand.js +39 -0
- package/dist-es/commands/UpdateSchedulingPolicyCommand.js +39 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoints.js +25 -0
- package/dist-es/models/models_0.js +56 -0
- package/dist-es/pagination/ListSchedulingPoliciesPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +584 -13
- package/dist-types/Batch.d.ts +50 -12
- package/dist-types/BatchClient.d.ts +9 -4
- package/dist-types/commands/CancelJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +5 -6
- package/dist-types/commands/CreateJobQueueCommand.d.ts +1 -1
- package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +35 -0
- package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobQueueCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +36 -0
- package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobQueuesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +35 -0
- package/dist-types/commands/ListJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/SubmitJobCommand.d.ts +5 -2
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/TerminateJobCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateJobQueueCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +455 -114
- package/dist-types/pagination/ListSchedulingPoliciesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
- package/dist-types/ts3.4/Batch.d.ts +25 -0
- package/dist-types/ts3.4/BatchClient.d.ts +7 -2
- package/dist-types/ts3.4/commands/CreateSchedulingPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSchedulingPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeSchedulingPoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSchedulingPoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSchedulingPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +164 -0
- package/dist-types/ts3.4/pagination/ListSchedulingPoliciesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +15 -0
- 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";
|