@aws-sdk/client-batch 3.289.0 → 3.292.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-types/commands/CancelJobCommand.d.ts +9 -0
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +9 -0
- package/dist-types/commands/CreateJobQueueCommand.d.ts +9 -0
- package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +9 -0
- package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +9 -0
- package/dist-types/commands/DeleteJobQueueCommand.d.ts +9 -0
- package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +9 -0
- package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +9 -0
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +9 -0
- package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +9 -0
- package/dist-types/commands/DescribeJobQueuesCommand.d.ts +9 -0
- package/dist-types/commands/DescribeJobsCommand.d.ts +9 -0
- package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +9 -0
- package/dist-types/commands/ListJobsCommand.d.ts +9 -0
- package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +9 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +9 -0
- package/dist-types/commands/SubmitJobCommand.d.ts +9 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/TerminateJobCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +9 -0
- package/dist-types/commands/UpdateJobQueueCommand.d.ts +9 -0
- package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +9 -0
- package/package.json +35 -40
|
@@ -32,6 +32,15 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
|
|
|
32
32
|
* @see {@link CancelJobCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link ClientException} (client fault)
|
|
36
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
37
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
38
|
+
* that's not valid.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link ServerException} (server fault)
|
|
41
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
42
|
+
*
|
|
43
|
+
*
|
|
35
44
|
* @example To cancel a job
|
|
36
45
|
* ```javascript
|
|
37
46
|
* // This example cancels a job with the specified job ID.
|
|
@@ -107,6 +107,15 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
|
|
|
107
107
|
* @see {@link CreateComputeEnvironmentCommandOutput} for command's `response` shape.
|
|
108
108
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
109
109
|
*
|
|
110
|
+
* @throws {@link ClientException} (client fault)
|
|
111
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
112
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
113
|
+
* that's not valid.</p>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link ServerException} (server fault)
|
|
116
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
117
|
+
*
|
|
118
|
+
*
|
|
110
119
|
* @example To create a managed EC2 compute environment
|
|
111
120
|
* ```javascript
|
|
112
121
|
* // This example creates a managed compute environment with specific C4 instance types that are launched on demand. The compute environment is called C4OnDemand.
|
|
@@ -34,6 +34,15 @@ export interface CreateJobQueueCommandOutput extends CreateJobQueueResponse, __M
|
|
|
34
34
|
* @see {@link CreateJobQueueCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link ClientException} (client fault)
|
|
38
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
39
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
40
|
+
* that's not valid.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link ServerException} (server fault)
|
|
43
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
44
|
+
*
|
|
45
|
+
*
|
|
37
46
|
* @example To create a job queue with a single compute environment
|
|
38
47
|
* ```javascript
|
|
39
48
|
* // This example creates a job queue called LowPriority that uses the M4Spot compute environment.
|
|
@@ -29,6 +29,15 @@ export interface CreateSchedulingPolicyCommandOutput extends CreateSchedulingPol
|
|
|
29
29
|
* @see {@link CreateSchedulingPolicyCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ClientException} (client fault)
|
|
33
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
34
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
35
|
+
* that's not valid.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ServerException} (server fault)
|
|
38
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
32
41
|
*/
|
|
33
42
|
export declare class CreateSchedulingPolicyCommand extends $Command<CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
|
|
34
43
|
readonly input: CreateSchedulingPolicyCommandInput;
|
|
@@ -32,6 +32,15 @@ export interface DeleteComputeEnvironmentCommandOutput extends DeleteComputeEnvi
|
|
|
32
32
|
* @see {@link DeleteComputeEnvironmentCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link ClientException} (client fault)
|
|
36
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
37
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
38
|
+
* that's not valid.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link ServerException} (server fault)
|
|
41
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
42
|
+
*
|
|
43
|
+
*
|
|
35
44
|
* @example To delete a compute environment
|
|
36
45
|
* ```javascript
|
|
37
46
|
* // This example deletes the P2OnDemand compute environment.
|
|
@@ -32,6 +32,15 @@ export interface DeleteJobQueueCommandOutput extends DeleteJobQueueResponse, __M
|
|
|
32
32
|
* @see {@link DeleteJobQueueCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link ClientException} (client fault)
|
|
36
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
37
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
38
|
+
* that's not valid.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link ServerException} (server fault)
|
|
41
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
42
|
+
*
|
|
43
|
+
*
|
|
35
44
|
* @example To delete a job queue
|
|
36
45
|
* ```javascript
|
|
37
46
|
* // This example deletes the GPGPU job queue.
|
|
@@ -30,6 +30,15 @@ export interface DeleteSchedulingPolicyCommandOutput extends DeleteSchedulingPol
|
|
|
30
30
|
* @see {@link DeleteSchedulingPolicyCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link ClientException} (client fault)
|
|
34
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
35
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
36
|
+
* that's not valid.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ServerException} (server fault)
|
|
39
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
33
42
|
*/
|
|
34
43
|
export declare class DeleteSchedulingPolicyCommand extends $Command<DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
|
|
35
44
|
readonly input: DeleteSchedulingPolicyCommandInput;
|
|
@@ -29,6 +29,15 @@ export interface DeregisterJobDefinitionCommandOutput extends DeregisterJobDefin
|
|
|
29
29
|
* @see {@link DeregisterJobDefinitionCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ClientException} (client fault)
|
|
33
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
34
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
35
|
+
* that's not valid.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ServerException} (server fault)
|
|
38
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
32
41
|
* @example To deregister a job definition
|
|
33
42
|
* ```javascript
|
|
34
43
|
* // This example deregisters a job definition called sleep10.
|
|
@@ -32,6 +32,15 @@ export interface DescribeComputeEnvironmentsCommandOutput extends DescribeComput
|
|
|
32
32
|
* @see {@link DescribeComputeEnvironmentsCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link ClientException} (client fault)
|
|
36
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
37
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
38
|
+
* that's not valid.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link ServerException} (server fault)
|
|
41
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
42
|
+
*
|
|
43
|
+
*
|
|
35
44
|
* @example To describe a compute environment
|
|
36
45
|
* ```javascript
|
|
37
46
|
* // This example describes the P2OnDemand compute environment.
|
|
@@ -30,6 +30,15 @@ export interface DescribeJobDefinitionsCommandOutput extends DescribeJobDefiniti
|
|
|
30
30
|
* @see {@link DescribeJobDefinitionsCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link ClientException} (client fault)
|
|
34
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
35
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
36
|
+
* that's not valid.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ServerException} (server fault)
|
|
39
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
33
42
|
* @example To describe active job definitions
|
|
34
43
|
* ```javascript
|
|
35
44
|
* // This example describes all of your active job definitions.
|
|
@@ -29,6 +29,15 @@ export interface DescribeJobQueuesCommandOutput extends DescribeJobQueuesRespons
|
|
|
29
29
|
* @see {@link DescribeJobQueuesCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ClientException} (client fault)
|
|
33
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
34
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
35
|
+
* that's not valid.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ServerException} (server fault)
|
|
38
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
32
41
|
* @example To describe a job queue
|
|
33
42
|
* ```javascript
|
|
34
43
|
* // This example describes the HighPriority job queue.
|
|
@@ -29,6 +29,15 @@ export interface DescribeJobsCommandOutput extends DescribeJobsResponse, __Metad
|
|
|
29
29
|
* @see {@link DescribeJobsCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ClientException} (client fault)
|
|
33
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
34
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
35
|
+
* that's not valid.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ServerException} (server fault)
|
|
38
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
32
41
|
* @example To describe a specific job
|
|
33
42
|
* ```javascript
|
|
34
43
|
* // This example describes a job with the specified job ID.
|
|
@@ -29,6 +29,15 @@ export interface DescribeSchedulingPoliciesCommandOutput extends DescribeSchedul
|
|
|
29
29
|
* @see {@link DescribeSchedulingPoliciesCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ClientException} (client fault)
|
|
33
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
34
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
35
|
+
* that's not valid.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ServerException} (server fault)
|
|
38
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
32
41
|
*/
|
|
33
42
|
export declare class DescribeSchedulingPoliciesCommand extends $Command<DescribeSchedulingPoliciesCommandInput, DescribeSchedulingPoliciesCommandOutput, BatchClientResolvedConfig> {
|
|
34
43
|
readonly input: DescribeSchedulingPoliciesCommandInput;
|
|
@@ -43,6 +43,15 @@ export interface ListJobsCommandOutput extends ListJobsResponse, __MetadataBeare
|
|
|
43
43
|
* @see {@link ListJobsCommandOutput} for command's `response` shape.
|
|
44
44
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
45
45
|
*
|
|
46
|
+
* @throws {@link ClientException} (client fault)
|
|
47
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
48
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
49
|
+
* that's not valid.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ServerException} (server fault)
|
|
52
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
53
|
+
*
|
|
54
|
+
*
|
|
46
55
|
* @example To list running jobs
|
|
47
56
|
* ```javascript
|
|
48
57
|
* // This example lists the running jobs in the HighPriority job queue.
|
|
@@ -29,6 +29,15 @@ export interface ListSchedulingPoliciesCommandOutput extends ListSchedulingPolic
|
|
|
29
29
|
* @see {@link ListSchedulingPoliciesCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ClientException} (client fault)
|
|
33
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
34
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
35
|
+
* that's not valid.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ServerException} (server fault)
|
|
38
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
32
41
|
*/
|
|
33
42
|
export declare class ListSchedulingPoliciesCommand extends $Command<ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput, BatchClientResolvedConfig> {
|
|
34
43
|
readonly input: ListSchedulingPoliciesCommandInput;
|
|
@@ -30,6 +30,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
30
30
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link ClientException} (client fault)
|
|
34
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
35
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
36
|
+
* that's not valid.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ServerException} (server fault)
|
|
39
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
33
42
|
* @example ListTagsForResource Example
|
|
34
43
|
* ```javascript
|
|
35
44
|
* // This demonstrates calling the ListTagsForResource action.
|
|
@@ -29,6 +29,15 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
29
29
|
* @see {@link RegisterJobDefinitionCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ClientException} (client fault)
|
|
33
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
34
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
35
|
+
* that's not valid.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ServerException} (server fault)
|
|
38
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
32
41
|
* @example To register a job definition
|
|
33
42
|
* ```javascript
|
|
34
43
|
* // This example registers a job definition for a simple container job.
|
|
@@ -41,6 +41,15 @@ export interface SubmitJobCommandOutput extends SubmitJobResponse, __MetadataBea
|
|
|
41
41
|
* @see {@link SubmitJobCommandOutput} for command's `response` shape.
|
|
42
42
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
43
43
|
*
|
|
44
|
+
* @throws {@link ClientException} (client fault)
|
|
45
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
46
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
47
|
+
* that's not valid.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link ServerException} (server fault)
|
|
50
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
51
|
+
*
|
|
52
|
+
*
|
|
44
53
|
* @example To submit a job to a queue
|
|
45
54
|
* ```javascript
|
|
46
55
|
* // This example submits a simple container job called example to the HighPriority job queue.
|
|
@@ -32,6 +32,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
32
32
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link ClientException} (client fault)
|
|
36
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
37
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
38
|
+
* that's not valid.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link ServerException} (server fault)
|
|
41
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
42
|
+
*
|
|
43
|
+
*
|
|
35
44
|
* @example TagResource Example
|
|
36
45
|
* ```javascript
|
|
37
46
|
* // This demonstrates calling the TagResource action.
|
|
@@ -31,6 +31,15 @@ export interface TerminateJobCommandOutput extends TerminateJobResponse, __Metad
|
|
|
31
31
|
* @see {@link TerminateJobCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link ClientException} (client fault)
|
|
35
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
36
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
37
|
+
* that's not valid.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link ServerException} (server fault)
|
|
40
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
41
|
+
*
|
|
42
|
+
*
|
|
34
43
|
* @example To terminate a job
|
|
35
44
|
* ```javascript
|
|
36
45
|
* // This example terminates a job with the specified job ID.
|
|
@@ -29,6 +29,15 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
29
29
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ClientException} (client fault)
|
|
33
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
34
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
35
|
+
* that's not valid.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ServerException} (server fault)
|
|
38
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
32
41
|
* @example UntagResource Example
|
|
33
42
|
* ```javascript
|
|
34
43
|
* // This demonstrates calling the UntagResource action.
|
|
@@ -29,6 +29,15 @@ export interface UpdateComputeEnvironmentCommandOutput extends UpdateComputeEnvi
|
|
|
29
29
|
* @see {@link UpdateComputeEnvironmentCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ClientException} (client fault)
|
|
33
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
34
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
35
|
+
* that's not valid.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ServerException} (server fault)
|
|
38
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
32
41
|
* @example To update a compute environment
|
|
33
42
|
* ```javascript
|
|
34
43
|
* // This example disables the P2OnDemand compute environment so it can be deleted.
|
|
@@ -29,6 +29,15 @@ export interface UpdateJobQueueCommandOutput extends UpdateJobQueueResponse, __M
|
|
|
29
29
|
* @see {@link UpdateJobQueueCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ClientException} (client fault)
|
|
33
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
34
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
35
|
+
* that's not valid.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ServerException} (server fault)
|
|
38
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
32
41
|
* @example To update a job queue
|
|
33
42
|
* ```javascript
|
|
34
43
|
* // This example disables a job queue so that it can be deleted.
|
|
@@ -29,6 +29,15 @@ export interface UpdateSchedulingPolicyCommandOutput extends UpdateSchedulingPol
|
|
|
29
29
|
* @see {@link UpdateSchedulingPolicyCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link ClientException} (client fault)
|
|
33
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
34
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
35
|
+
* that's not valid.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ServerException} (server fault)
|
|
38
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
39
|
+
*
|
|
40
|
+
*
|
|
32
41
|
*/
|
|
33
42
|
export declare class UpdateSchedulingPolicyCommand extends $Command<UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
|
|
34
43
|
readonly input: UpdateSchedulingPolicyCommandInput;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-batch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Batch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.292.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,55 +20,50 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
45
|
-
"@aws-sdk/util-base64": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
-
"@aws-sdk/util-utf8": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.292.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.292.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.292.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.292.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.292.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.292.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.292.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.292.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.292.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.292.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.292.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.292.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.292.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.292.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.292.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.292.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.292.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.292.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.292.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.292.0",
|
|
43
|
+
"@aws-sdk/types": "3.292.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.292.0",
|
|
45
|
+
"@aws-sdk/util-base64": "3.292.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.292.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.292.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.292.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.292.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.292.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.292.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.292.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.292.0",
|
|
54
|
+
"@aws-sdk/util-utf8": "3.292.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
58
|
+
"@aws-sdk/service-client-documentation-generator": "3.292.0",
|
|
59
59
|
"@tsconfig/node14": "1.0.3",
|
|
60
60
|
"@types/node": "^14.14.31",
|
|
61
61
|
"concurrently": "7.0.0",
|
|
62
62
|
"downlevel-dts": "0.10.1",
|
|
63
63
|
"rimraf": "3.0.2",
|
|
64
|
-
"typedoc": "0.
|
|
64
|
+
"typedoc": "0.23.23",
|
|
65
65
|
"typescript": "~4.6.2"
|
|
66
66
|
},
|
|
67
|
-
"overrides": {
|
|
68
|
-
"typedoc": {
|
|
69
|
-
"typescript": "~4.6.2"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
67
|
"engines": {
|
|
73
68
|
"node": ">=14.0.0"
|
|
74
69
|
},
|