@aws-sdk/client-batch 3.296.0 → 3.297.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 (35) hide show
  1. package/dist-types/Batch.d.ts +25 -0
  2. package/dist-types/BatchClient.d.ts +24 -4
  3. package/dist-types/commands/CancelJobCommand.d.ts +16 -0
  4. package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +16 -0
  5. package/dist-types/commands/CreateJobQueueCommand.d.ts +16 -0
  6. package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +16 -0
  7. package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +16 -0
  8. package/dist-types/commands/DeleteJobQueueCommand.d.ts +16 -0
  9. package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +16 -0
  10. package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +16 -0
  11. package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +16 -0
  12. package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +16 -0
  13. package/dist-types/commands/DescribeJobQueuesCommand.d.ts +16 -0
  14. package/dist-types/commands/DescribeJobsCommand.d.ts +16 -0
  15. package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +16 -0
  16. package/dist-types/commands/ListJobsCommand.d.ts +16 -0
  17. package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +16 -0
  18. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  19. package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +16 -0
  20. package/dist-types/commands/SubmitJobCommand.d.ts +16 -0
  21. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  22. package/dist-types/commands/TerminateJobCommand.d.ts +16 -0
  23. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  24. package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +16 -0
  25. package/dist-types/commands/UpdateJobQueueCommand.d.ts +16 -0
  26. package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +16 -0
  27. package/dist-types/models/BatchServiceException.d.ts +2 -0
  28. package/dist-types/models/models_0.d.ts +236 -5
  29. package/dist-types/pagination/DescribeComputeEnvironmentsPaginator.d.ts +3 -0
  30. package/dist-types/pagination/DescribeJobDefinitionsPaginator.d.ts +3 -0
  31. package/dist-types/pagination/DescribeJobQueuesPaginator.d.ts +3 -0
  32. package/dist-types/pagination/Interfaces.d.ts +3 -0
  33. package/dist-types/pagination/ListJobsPaginator.d.ts +3 -0
  34. package/dist-types/pagination/ListSchedulingPoliciesPaginator.d.ts +3 -0
  35. package/package.json +3 -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
  }
@@ -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 {