@aws-sdk/client-batch 3.296.0 → 3.298.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/dist-cjs/commands/CancelJobCommand.js +2 -3
- package/dist-cjs/commands/CreateComputeEnvironmentCommand.js +2 -3
- package/dist-cjs/commands/CreateJobQueueCommand.js +2 -3
- package/dist-cjs/commands/CreateSchedulingPolicyCommand.js +2 -3
- package/dist-cjs/commands/DeleteComputeEnvironmentCommand.js +2 -3
- package/dist-cjs/commands/DeleteJobQueueCommand.js +2 -3
- package/dist-cjs/commands/DeleteSchedulingPolicyCommand.js +2 -3
- package/dist-cjs/commands/DeregisterJobDefinitionCommand.js +2 -3
- package/dist-cjs/commands/DescribeComputeEnvironmentsCommand.js +2 -3
- package/dist-cjs/commands/DescribeJobDefinitionsCommand.js +2 -3
- package/dist-cjs/commands/DescribeJobQueuesCommand.js +2 -3
- package/dist-cjs/commands/DescribeJobsCommand.js +2 -3
- package/dist-cjs/commands/DescribeSchedulingPoliciesCommand.js +2 -3
- package/dist-cjs/commands/ListJobsCommand.js +2 -3
- package/dist-cjs/commands/ListSchedulingPoliciesCommand.js +2 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-cjs/commands/RegisterJobDefinitionCommand.js +2 -3
- package/dist-cjs/commands/SubmitJobCommand.js +2 -3
- package/dist-cjs/commands/TagResourceCommand.js +2 -3
- package/dist-cjs/commands/TerminateJobCommand.js +2 -3
- package/dist-cjs/commands/UntagResourceCommand.js +2 -3
- package/dist-cjs/commands/UpdateComputeEnvironmentCommand.js +2 -3
- package/dist-cjs/commands/UpdateJobQueueCommand.js +2 -3
- package/dist-cjs/commands/UpdateSchedulingPolicyCommand.js +2 -3
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +1 -479
- package/dist-cjs/protocols/Aws_restJson1.js +50 -0
- package/dist-es/commands/CancelJobCommand.js +2 -3
- package/dist-es/commands/CreateComputeEnvironmentCommand.js +2 -3
- package/dist-es/commands/CreateJobQueueCommand.js +2 -3
- package/dist-es/commands/CreateSchedulingPolicyCommand.js +2 -3
- package/dist-es/commands/DeleteComputeEnvironmentCommand.js +2 -3
- package/dist-es/commands/DeleteJobQueueCommand.js +2 -3
- package/dist-es/commands/DeleteSchedulingPolicyCommand.js +2 -3
- package/dist-es/commands/DeregisterJobDefinitionCommand.js +2 -3
- package/dist-es/commands/DescribeComputeEnvironmentsCommand.js +2 -3
- package/dist-es/commands/DescribeJobDefinitionsCommand.js +2 -3
- package/dist-es/commands/DescribeJobQueuesCommand.js +2 -3
- package/dist-es/commands/DescribeJobsCommand.js +2 -3
- package/dist-es/commands/DescribeSchedulingPoliciesCommand.js +2 -3
- package/dist-es/commands/ListJobsCommand.js +2 -3
- package/dist-es/commands/ListSchedulingPoliciesCommand.js +2 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-es/commands/RegisterJobDefinitionCommand.js +2 -3
- package/dist-es/commands/SubmitJobCommand.js +2 -3
- package/dist-es/commands/TagResourceCommand.js +2 -3
- package/dist-es/commands/TerminateJobCommand.js +2 -3
- package/dist-es/commands/UntagResourceCommand.js +2 -3
- package/dist-es/commands/UpdateComputeEnvironmentCommand.js +2 -3
- package/dist-es/commands/UpdateJobQueueCommand.js +2 -3
- package/dist-es/commands/UpdateSchedulingPolicyCommand.js +2 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +0 -357
- package/dist-es/protocols/Aws_restJson1.js +50 -0
- package/dist-types/Batch.d.ts +38 -4
- package/dist-types/BatchClient.d.ts +24 -4
- package/dist-types/commands/CancelJobCommand.d.ts +29 -4
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +16 -0
- package/dist-types/commands/CreateJobQueueCommand.d.ts +16 -0
- package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +16 -0
- package/dist-types/commands/DeleteJobQueueCommand.d.ts +16 -0
- package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeJobQueuesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeJobsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +16 -0
- package/dist-types/commands/ListJobsCommand.d.ts +16 -0
- package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/SubmitJobCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/TerminateJobCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +16 -0
- package/dist-types/commands/UpdateJobQueueCommand.d.ts +16 -0
- package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +16 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/BatchServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +1618 -1584
- package/dist-types/pagination/DescribeComputeEnvironmentsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeJobDefinitionsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeJobQueuesPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListJobsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSchedulingPoliciesPaginator.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +10 -321
- package/package.json +4 -3
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
5
5
|
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UntagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UntagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes specified tags from an Batch resource.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
34
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
28
35
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
@@ -56,11 +63,20 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
56
63
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, BatchClientResolvedConfig> {
|
|
57
64
|
readonly input: UntagResourceCommandInput;
|
|
58
65
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
59
69
|
constructor(input: UntagResourceCommandInput);
|
|
60
70
|
/**
|
|
61
71
|
* @internal
|
|
62
72
|
*/
|
|
63
73
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
64
77
|
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
65
81
|
private deserialize;
|
|
66
82
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
5
5
|
import { UpdateComputeEnvironmentRequest, UpdateComputeEnvironmentResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateComputeEnvironmentCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateComputeEnvironmentCommandInput extends UpdateComputeEnvironmentRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateComputeEnvironmentCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateComputeEnvironmentCommandOutput extends UpdateComputeEnvironmentResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates an Batch compute environment.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UpdateComputeEnvironmentCommandOutput extends UpdateComputeEnvi
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UpdateComputeEnvironmentCommandInput - {@link UpdateComputeEnvironmentCommandInput}
|
|
34
|
+
* @returns {@link UpdateComputeEnvironmentCommandOutput}
|
|
28
35
|
* @see {@link UpdateComputeEnvironmentCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UpdateComputeEnvironmentCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
@@ -60,11 +67,20 @@ export interface UpdateComputeEnvironmentCommandOutput extends UpdateComputeEnvi
|
|
|
60
67
|
export declare class UpdateComputeEnvironmentCommand extends $Command<UpdateComputeEnvironmentCommandInput, UpdateComputeEnvironmentCommandOutput, BatchClientResolvedConfig> {
|
|
61
68
|
readonly input: UpdateComputeEnvironmentCommandInput;
|
|
62
69
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
63
73
|
constructor(input: UpdateComputeEnvironmentCommandInput);
|
|
64
74
|
/**
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
77
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateComputeEnvironmentCommandInput, UpdateComputeEnvironmentCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
68
81
|
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
69
85
|
private deserialize;
|
|
70
86
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
5
5
|
import { UpdateJobQueueRequest, UpdateJobQueueResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateJobQueueCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateJobQueueCommandInput extends UpdateJobQueueRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateJobQueueCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateJobQueueCommandOutput extends UpdateJobQueueResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates a job queue.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UpdateJobQueueCommandOutput extends UpdateJobQueueResponse, __M
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UpdateJobQueueCommandInput - {@link UpdateJobQueueCommandInput}
|
|
34
|
+
* @returns {@link UpdateJobQueueCommandOutput}
|
|
28
35
|
* @see {@link UpdateJobQueueCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UpdateJobQueueCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
@@ -60,11 +67,20 @@ export interface UpdateJobQueueCommandOutput extends UpdateJobQueueResponse, __M
|
|
|
60
67
|
export declare class UpdateJobQueueCommand extends $Command<UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput, BatchClientResolvedConfig> {
|
|
61
68
|
readonly input: UpdateJobQueueCommandInput;
|
|
62
69
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
63
73
|
constructor(input: UpdateJobQueueCommandInput);
|
|
64
74
|
/**
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
77
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
68
81
|
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
69
85
|
private deserialize;
|
|
70
86
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
5
5
|
import { UpdateSchedulingPolicyRequest, UpdateSchedulingPolicyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateSchedulingPolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateSchedulingPolicyCommandInput extends UpdateSchedulingPolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateSchedulingPolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateSchedulingPolicyCommandOutput extends UpdateSchedulingPolicyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates a scheduling policy.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UpdateSchedulingPolicyCommandOutput extends UpdateSchedulingPol
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UpdateSchedulingPolicyCommandInput - {@link UpdateSchedulingPolicyCommandInput}
|
|
34
|
+
* @returns {@link UpdateSchedulingPolicyCommandOutput}
|
|
28
35
|
* @see {@link UpdateSchedulingPolicyCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UpdateSchedulingPolicyCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
@@ -42,11 +49,20 @@ export interface UpdateSchedulingPolicyCommandOutput extends UpdateSchedulingPol
|
|
|
42
49
|
export declare class UpdateSchedulingPolicyCommand extends $Command<UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
|
|
43
50
|
readonly input: UpdateSchedulingPolicyCommandInput;
|
|
44
51
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
45
55
|
constructor(input: UpdateSchedulingPolicyCommandInput);
|
|
46
56
|
/**
|
|
47
57
|
* @internal
|
|
48
58
|
*/
|
|
49
59
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput>;
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
50
63
|
private serialize;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
51
67
|
private deserialize;
|
|
52
68
|
}
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from Batch service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class BatchServiceException extends __ServiceException {
|