@aws-sdk/client-batch 3.193.0 → 3.195.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 (136) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +5 -5
  3. package/dist-cjs/BatchClient.js +11 -8
  4. package/dist-cjs/commands/CancelJobCommand.js +10 -0
  5. package/dist-cjs/commands/CreateComputeEnvironmentCommand.js +10 -0
  6. package/dist-cjs/commands/CreateJobQueueCommand.js +10 -0
  7. package/dist-cjs/commands/CreateSchedulingPolicyCommand.js +10 -0
  8. package/dist-cjs/commands/DeleteComputeEnvironmentCommand.js +10 -0
  9. package/dist-cjs/commands/DeleteJobQueueCommand.js +10 -0
  10. package/dist-cjs/commands/DeleteSchedulingPolicyCommand.js +10 -0
  11. package/dist-cjs/commands/DeregisterJobDefinitionCommand.js +10 -0
  12. package/dist-cjs/commands/DescribeComputeEnvironmentsCommand.js +10 -0
  13. package/dist-cjs/commands/DescribeJobDefinitionsCommand.js +10 -0
  14. package/dist-cjs/commands/DescribeJobQueuesCommand.js +10 -0
  15. package/dist-cjs/commands/DescribeJobsCommand.js +10 -0
  16. package/dist-cjs/commands/DescribeSchedulingPoliciesCommand.js +10 -0
  17. package/dist-cjs/commands/ListJobsCommand.js +10 -0
  18. package/dist-cjs/commands/ListSchedulingPoliciesCommand.js +10 -0
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  20. package/dist-cjs/commands/RegisterJobDefinitionCommand.js +10 -0
  21. package/dist-cjs/commands/SubmitJobCommand.js +10 -0
  22. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  23. package/dist-cjs/commands/TerminateJobCommand.js +10 -0
  24. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  25. package/dist-cjs/commands/UpdateComputeEnvironmentCommand.js +10 -0
  26. package/dist-cjs/commands/UpdateJobQueueCommand.js +10 -0
  27. package/dist-cjs/commands/UpdateSchedulingPolicyCommand.js +10 -0
  28. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  29. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  30. package/dist-cjs/endpoint/ruleset.js +368 -0
  31. package/dist-cjs/models/models_0.js +88 -3
  32. package/dist-cjs/protocols/Aws_restJson1.js +448 -0
  33. package/dist-cjs/runtimeConfig.shared.js +3 -3
  34. package/dist-es/BatchClient.js +12 -9
  35. package/dist-es/commands/CancelJobCommand.js +10 -0
  36. package/dist-es/commands/CreateComputeEnvironmentCommand.js +10 -0
  37. package/dist-es/commands/CreateJobQueueCommand.js +10 -0
  38. package/dist-es/commands/CreateSchedulingPolicyCommand.js +10 -0
  39. package/dist-es/commands/DeleteComputeEnvironmentCommand.js +10 -0
  40. package/dist-es/commands/DeleteJobQueueCommand.js +10 -0
  41. package/dist-es/commands/DeleteSchedulingPolicyCommand.js +10 -0
  42. package/dist-es/commands/DeregisterJobDefinitionCommand.js +10 -0
  43. package/dist-es/commands/DescribeComputeEnvironmentsCommand.js +10 -0
  44. package/dist-es/commands/DescribeJobDefinitionsCommand.js +10 -0
  45. package/dist-es/commands/DescribeJobQueuesCommand.js +10 -0
  46. package/dist-es/commands/DescribeJobsCommand.js +10 -0
  47. package/dist-es/commands/DescribeSchedulingPoliciesCommand.js +10 -0
  48. package/dist-es/commands/ListJobsCommand.js +10 -0
  49. package/dist-es/commands/ListSchedulingPoliciesCommand.js +10 -0
  50. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  51. package/dist-es/commands/RegisterJobDefinitionCommand.js +10 -0
  52. package/dist-es/commands/SubmitJobCommand.js +10 -0
  53. package/dist-es/commands/TagResourceCommand.js +10 -0
  54. package/dist-es/commands/TerminateJobCommand.js +10 -0
  55. package/dist-es/commands/UntagResourceCommand.js +10 -0
  56. package/dist-es/commands/UpdateComputeEnvironmentCommand.js +10 -0
  57. package/dist-es/commands/UpdateJobQueueCommand.js +10 -0
  58. package/dist-es/commands/UpdateSchedulingPolicyCommand.js +10 -0
  59. package/dist-es/endpoint/EndpointParameters.js +8 -0
  60. package/dist-es/endpoint/endpointResolver.js +8 -0
  61. package/dist-es/endpoint/ruleset.js +365 -0
  62. package/dist-es/models/models_0.js +65 -0
  63. package/dist-es/protocols/Aws_restJson1.js +448 -0
  64. package/dist-es/runtimeConfig.shared.js +2 -2
  65. package/dist-types/Batch.d.ts +30 -30
  66. package/dist-types/BatchClient.d.ts +11 -14
  67. package/dist-types/commands/CancelJobCommand.d.ts +5 -3
  68. package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +22 -20
  69. package/dist-types/commands/CreateJobQueueCommand.d.ts +2 -0
  70. package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +2 -0
  71. package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +2 -0
  72. package/dist-types/commands/DeleteJobQueueCommand.d.ts +2 -0
  73. package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +2 -0
  74. package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +2 -0
  75. package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +2 -0
  76. package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +2 -0
  77. package/dist-types/commands/DescribeJobQueuesCommand.d.ts +2 -0
  78. package/dist-types/commands/DescribeJobsCommand.d.ts +2 -0
  79. package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +2 -0
  80. package/dist-types/commands/ListJobsCommand.d.ts +2 -0
  81. package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +2 -0
  82. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -1
  83. package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +2 -0
  84. package/dist-types/commands/SubmitJobCommand.d.ts +2 -0
  85. package/dist-types/commands/TagResourceCommand.d.ts +3 -1
  86. package/dist-types/commands/TerminateJobCommand.d.ts +2 -0
  87. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  88. package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +2 -0
  89. package/dist-types/commands/UpdateJobQueueCommand.d.ts +2 -0
  90. package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +2 -0
  91. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  92. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  93. package/dist-types/endpoint/ruleset.d.ts +2 -0
  94. package/dist-types/models/models_0.d.ts +1322 -552
  95. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  96. package/dist-types/runtimeConfig.d.ts +4 -2
  97. package/dist-types/runtimeConfig.native.d.ts +4 -2
  98. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  99. package/dist-types/ts3.4/BatchClient.d.ts +15 -8
  100. package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +2 -0
  101. package/dist-types/ts3.4/commands/CreateComputeEnvironmentCommand.d.ts +2 -0
  102. package/dist-types/ts3.4/commands/CreateJobQueueCommand.d.ts +2 -0
  103. package/dist-types/ts3.4/commands/CreateSchedulingPolicyCommand.d.ts +2 -0
  104. package/dist-types/ts3.4/commands/DeleteComputeEnvironmentCommand.d.ts +2 -0
  105. package/dist-types/ts3.4/commands/DeleteJobQueueCommand.d.ts +2 -0
  106. package/dist-types/ts3.4/commands/DeleteSchedulingPolicyCommand.d.ts +2 -0
  107. package/dist-types/ts3.4/commands/DeregisterJobDefinitionCommand.d.ts +2 -0
  108. package/dist-types/ts3.4/commands/DescribeComputeEnvironmentsCommand.d.ts +2 -0
  109. package/dist-types/ts3.4/commands/DescribeJobDefinitionsCommand.d.ts +2 -0
  110. package/dist-types/ts3.4/commands/DescribeJobQueuesCommand.d.ts +2 -0
  111. package/dist-types/ts3.4/commands/DescribeJobsCommand.d.ts +2 -0
  112. package/dist-types/ts3.4/commands/DescribeSchedulingPoliciesCommand.d.ts +2 -0
  113. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +2 -0
  114. package/dist-types/ts3.4/commands/ListSchedulingPoliciesCommand.d.ts +2 -0
  115. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  116. package/dist-types/ts3.4/commands/RegisterJobDefinitionCommand.d.ts +2 -0
  117. package/dist-types/ts3.4/commands/SubmitJobCommand.d.ts +2 -0
  118. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  119. package/dist-types/ts3.4/commands/TerminateJobCommand.d.ts +2 -0
  120. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  121. package/dist-types/ts3.4/commands/UpdateComputeEnvironmentCommand.d.ts +2 -0
  122. package/dist-types/ts3.4/commands/UpdateJobQueueCommand.d.ts +2 -0
  123. package/dist-types/ts3.4/commands/UpdateSchedulingPolicyCommand.d.ts +2 -0
  124. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  125. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  126. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  127. package/dist-types/ts3.4/models/models_0.d.ts +177 -0
  128. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  129. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  130. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  131. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  132. package/package.json +4 -2
  133. package/dist-cjs/endpoints.js +0 -185
  134. package/dist-es/endpoints.js +0 -181
  135. package/dist-types/endpoints.d.ts +0 -2
  136. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,11 +1,12 @@
1
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
1
+ import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
2
3
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
4
  import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
5
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
6
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
7
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
8
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
10
  import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
10
11
  import { CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput } from "./commands/CreateComputeEnvironmentCommand";
11
12
  import { CreateJobQueueCommandInput, CreateJobQueueCommandOutput } from "./commands/CreateJobQueueCommand";
@@ -30,6 +31,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
30
31
  import { UpdateComputeEnvironmentCommandInput, UpdateComputeEnvironmentCommandOutput } from "./commands/UpdateComputeEnvironmentCommand";
31
32
  import { UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput } from "./commands/UpdateJobQueueCommand";
32
33
  import { UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput } from "./commands/UpdateSchedulingPolicyCommand";
34
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
33
35
  export declare type ServiceInputTypes = CancelJobCommandInput | CreateComputeEnvironmentCommandInput | CreateJobQueueCommandInput | CreateSchedulingPolicyCommandInput | DeleteComputeEnvironmentCommandInput | DeleteJobQueueCommandInput | DeleteSchedulingPolicyCommandInput | DeregisterJobDefinitionCommandInput | DescribeComputeEnvironmentsCommandInput | DescribeJobDefinitionsCommandInput | DescribeJobQueuesCommandInput | DescribeJobsCommandInput | DescribeSchedulingPoliciesCommandInput | ListJobsCommandInput | ListSchedulingPoliciesCommandInput | ListTagsForResourceCommandInput | RegisterJobDefinitionCommandInput | SubmitJobCommandInput | TagResourceCommandInput | TerminateJobCommandInput | UntagResourceCommandInput | UpdateComputeEnvironmentCommandInput | UpdateJobQueueCommandInput | UpdateSchedulingPolicyCommandInput;
34
36
  export declare type ServiceOutputTypes = CancelJobCommandOutput | CreateComputeEnvironmentCommandOutput | CreateJobQueueCommandOutput | CreateSchedulingPolicyCommandOutput | DeleteComputeEnvironmentCommandOutput | DeleteJobQueueCommandOutput | DeleteSchedulingPolicyCommandOutput | DeregisterJobDefinitionCommandOutput | DescribeComputeEnvironmentsCommandOutput | DescribeJobDefinitionsCommandOutput | DescribeJobQueuesCommandOutput | DescribeJobsCommandOutput | DescribeSchedulingPoliciesCommandOutput | ListJobsCommandOutput | ListSchedulingPoliciesCommandOutput | ListTagsForResourceCommandOutput | RegisterJobDefinitionCommandOutput | SubmitJobCommandOutput | TagResourceCommandOutput | TerminateJobCommandOutput | UntagResourceCommandOutput | UpdateComputeEnvironmentCommandOutput | UpdateJobQueueCommandOutput | UpdateSchedulingPolicyCommandOutput;
35
37
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -122,11 +124,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
122
124
  * @internal
123
125
  */
124
126
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
125
- /**
126
- * Fetch related hostname, signing name or signing region with given region.
127
- * @internal
128
- */
129
- regionInfoProvider?: RegionInfoProvider;
130
127
  /**
131
128
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
132
129
  * @internal
@@ -137,13 +134,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
137
134
  */
138
135
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
139
136
  }
140
- declare type BatchClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
137
+ declare type BatchClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
141
138
  /**
142
139
  * The configuration interface of BatchClient class constructor that set the region, credentials and other options.
143
140
  */
144
141
  export interface BatchClientConfig extends BatchClientConfigType {
145
142
  }
146
- declare type BatchClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
143
+ declare type BatchClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
147
144
  /**
148
145
  * The resolved configuration interface of BatchClient class. This is resolved and normalized from the {@link BatchClientConfig | constructor configuration interface}.
149
146
  */
@@ -153,14 +150,14 @@ export interface BatchClientResolvedConfig extends BatchClientResolvedConfigType
153
150
  * <fullname>Batch</fullname>
154
151
  * <p>Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for
155
152
  * developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of
156
- * this computing workload to remove the undifferentiated heavy lifting of configuring and managing required
157
- * infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these
158
- * advantages, Batch can help you to efficiently provision resources in response to jobs submitted, thus effectively
159
- * helping you to eliminate capacity constraints, reduce compute costs, and deliver your results more quickly.</p>
153
+ * the batch computing to remove the undifferentiated heavy lifting of configuring and managing required infrastructure.
154
+ * At the same time, it also adopts a familiar batch computing software approach. You can use Batch to efficiently
155
+ * provision resources d, and work toward eliminating capacity constraints, reducing your overall compute costs, and
156
+ * delivering results more quickly.</p>
160
157
  * <p>As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically
161
158
  * provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific
162
159
  * workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus
163
- * your time and energy on analyzing results and solving your specific problems.</p>
160
+ * on analyzing results and solving your specific problems instead.</p>
164
161
  */
165
162
  export declare class BatchClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BatchClientResolvedConfig> {
166
163
  /**
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -8,9 +9,9 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
8
9
  }
9
10
  /**
10
11
  * <p>Cancels a job in an Batch job queue. Jobs that are in the <code>SUBMITTED</code>, <code>PENDING</code>, or
11
- * <code>RUNNABLE</code> state are canceled. Jobs that have progressed to <code>STARTING</code> or <code>RUNNING</code>
12
- * aren't canceled, but the API operation still succeeds, even if no job is canceled. These jobs must be terminated with
13
- * the <a>TerminateJob</a> operation.</p>
12
+ * <code>RUNNABLE</code> state are canceled. Jobs that progressed to the <code>STARTING</code> or <code>RUNNING</code>
13
+ * state aren't canceled. However, the API operation still succeeds, even if no job is canceled. These jobs must be
14
+ * terminated with the <a>TerminateJob</a> operation.</p>
14
15
  * @example
15
16
  * Use a bare-bones client and the command you need to make an API call.
16
17
  * ```javascript
@@ -28,6 +29,7 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
28
29
  */
29
30
  export declare class CancelJobCommand extends $Command<CancelJobCommandInput, CancelJobCommandOutput, BatchClientResolvedConfig> {
30
31
  readonly input: CancelJobCommandInput;
32
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
33
  constructor(input: CancelJobCommandInput);
32
34
  /**
33
35
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -19,12 +20,12 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
19
20
  * <note>
20
21
  * <p>Multi-node parallel jobs aren't supported on Spot Instances.</p>
21
22
  * </note>
22
- * <p>In an unmanaged compute environment, you can manage your own EC2 compute resources and have a lot of flexibility
23
- * with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that
24
- * each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container_instance_AMIs.html">container instance AMIs</a> in the
25
- * <i>Amazon Elastic Container Service Developer Guide</i>. After you created your unmanaged compute environment, you can use the <a>DescribeComputeEnvironments</a> operation to find the Amazon ECS cluster that's associated with it. Then, launch
23
+ * <p>In an unmanaged compute environment, you can manage your own EC2 compute resources and have flexibility with how
24
+ * you configure your compute resources. For example, you can use custom AMIs. However, you must verify that each of
25
+ * your AMIs meet the Amazon ECS container instance AMI specification. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container_instance_AMIs.html">container instance AMIs</a> in the
26
+ * <i>Amazon Elastic Container Service Developer Guide</i>. After you created your unmanaged compute environment, you can use the <a>DescribeComputeEnvironments</a> operation to find the Amazon ECS cluster that's associated with it. Then, launch
26
27
  * your container instances into that Amazon ECS cluster. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html">Launching an Amazon ECS container instance</a> in the
27
- * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
28
+ * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
28
29
  * <note>
29
30
  * <p>Batch doesn't automatically upgrade the AMIs in a compute environment after it's created. For example, it
30
31
  * also doesn't update the AMIs in your compute environment when a newer version of the Amazon ECS optimized AMI is
@@ -52,7 +53,7 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
52
53
  * rules:</p>
53
54
  * <ul>
54
55
  * <li>
55
- * <p>Either do not set the service role (<code>serviceRole</code>) parameter or set it to the <b>AWSBatchServiceRole</b> service-linked role.</p>
56
+ * <p>Either don't set the service role (<code>serviceRole</code>) parameter or set it to the <b>AWSBatchServiceRole</b> service-linked role.</p>
56
57
  * </li>
57
58
  * <li>
58
59
  * <p>Set the allocation strategy (<code>allocationStrategy</code>) parameter to <code>BEST_FIT_PROGRESSIVE</code>
@@ -63,24 +64,24 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
63
64
  * <code>true</code>.</p>
64
65
  * </li>
65
66
  * <li>
66
- * <p>Do not specify an AMI ID in <code>imageId</code>, <code>imageIdOverride</code> (in <a href="https://docs.aws.amazon.com/batch/latest/APIReference/API_Ec2Configuration.html">
67
+ * <p>Don't specify an AMI ID in <code>imageId</code>, <code>imageIdOverride</code> (in <a href="https://docs.aws.amazon.com/batch/latest/APIReference/API_Ec2Configuration.html">
67
68
  * <code>ec2Configuration</code>
68
- * </a>), or in the launch template (<code>launchTemplate</code>). In that case
69
- * Batch will select the latest Amazon ECS optimized AMI supported by Batch at the time the infrastructure update is
70
- * initiated. Alternatively you can specify the AMI ID in the <code>imageId</code> or <code>imageIdOverride</code>
71
- * parameters, or the launch template identified by the <code>LaunchTemplate</code> properties. Changing any of these
72
- * properties will trigger an infrastructure update. If the AMI ID is specified in the launch template, it can not be
73
- * replaced by specifying an AMI ID in either the <code>imageId</code> or <code>imageIdOverride</code> parameters. It
74
- * can only be replaced by specifying a different launch template, or if the launch template version is set to
75
- * <code>$Default</code> or <code>$Latest</code>, by setting either a new default version for the launch template
76
- * (if <code>$Default</code>)or by adding a new version to the launch template (if <code>$Latest</code>).</p>
69
+ * </a>), or in the launch
70
+ * template (<code>launchTemplate</code>). In that case, Batch selects the latest Amazon ECS optimized AMI that's
71
+ * supported by Batch at the time the infrastructure update is initiated. Alternatively, you can specify the AMI ID
72
+ * in the <code>imageId</code> or <code>imageIdOverride</code> parameters, or the launch template identified by the
73
+ * <code>LaunchTemplate</code> properties. Changing any of these properties starts an infrastructure update. If the
74
+ * AMI ID is specified in the launch template, it can't be replaced by specifying an AMI ID in either the
75
+ * <code>imageId</code> or <code>imageIdOverride</code> parameters. It can only be replaced by specifying a different
76
+ * launch template, or if the launch template version is set to <code>$Default</code> or <code>$Latest</code>, by
77
+ * setting either a new default version for the launch template (if <code>$Default</code>) or by adding a new version
78
+ * to the launch template (if <code>$Latest</code>).</p>
77
79
  * </li>
78
80
  * </ul>
79
- * <p>If these rules are followed, any update that triggers an infrastructure update will cause the AMI ID to be
81
+ * <p>If these rules are followed, any update that starts an infrastructure update causes the AMI ID to be
80
82
  * re-selected. If the <code>version</code> setting in the launch template (<code>launchTemplate</code>) is set to
81
- * <code>$Latest</code> or <code>$Default</code>, the latest or default version of the launch template will be
82
- * evaluated up at the time of the infrastructure update, even if the <code>launchTemplate</code> was not
83
- * updated.</p>
83
+ * <code>$Latest</code> or <code>$Default</code>, the latest or default version of the launch template is evaluated up
84
+ * at the time of the infrastructure update, even if the <code>launchTemplate</code> wasn't updated.</p>
84
85
  * </note>
85
86
  * @example
86
87
  * Use a bare-bones client and the command you need to make an API call.
@@ -99,6 +100,7 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
99
100
  */
100
101
  export declare class CreateComputeEnvironmentCommand extends $Command<CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput, BatchClientResolvedConfig> {
101
102
  readonly input: CreateComputeEnvironmentCommandInput;
103
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
102
104
  constructor(input: CreateComputeEnvironmentCommandInput);
103
105
  /**
104
106
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -30,6 +31,7 @@ export interface CreateJobQueueCommandOutput extends CreateJobQueueResponse, __M
30
31
  */
31
32
  export declare class CreateJobQueueCommand extends $Command<CreateJobQueueCommandInput, CreateJobQueueCommandOutput, BatchClientResolvedConfig> {
32
33
  readonly input: CreateJobQueueCommandInput;
34
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
33
35
  constructor(input: CreateJobQueueCommandInput);
34
36
  /**
35
37
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -25,6 +26,7 @@ export interface CreateSchedulingPolicyCommandOutput extends CreateSchedulingPol
25
26
  */
26
27
  export declare class CreateSchedulingPolicyCommand extends $Command<CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
27
28
  readonly input: CreateSchedulingPolicyCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: CreateSchedulingPolicyCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -28,6 +29,7 @@ export interface DeleteComputeEnvironmentCommandOutput extends DeleteComputeEnvi
28
29
  */
29
30
  export declare class DeleteComputeEnvironmentCommand extends $Command<DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput, BatchClientResolvedConfig> {
30
31
  readonly input: DeleteComputeEnvironmentCommandInput;
32
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
33
  constructor(input: DeleteComputeEnvironmentCommandInput);
32
34
  /**
33
35
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -28,6 +29,7 @@ export interface DeleteJobQueueCommandOutput extends DeleteJobQueueResponse, __M
28
29
  */
29
30
  export declare class DeleteJobQueueCommand extends $Command<DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput, BatchClientResolvedConfig> {
30
31
  readonly input: DeleteJobQueueCommandInput;
32
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
33
  constructor(input: DeleteJobQueueCommandInput);
32
34
  /**
33
35
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -26,6 +27,7 @@ export interface DeleteSchedulingPolicyCommandOutput extends DeleteSchedulingPol
26
27
  */
27
28
  export declare class DeleteSchedulingPolicyCommand extends $Command<DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
28
29
  readonly input: DeleteSchedulingPolicyCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: DeleteSchedulingPolicyCommandInput);
30
32
  /**
31
33
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -25,6 +26,7 @@ export interface DeregisterJobDefinitionCommandOutput extends DeregisterJobDefin
25
26
  */
26
27
  export declare class DeregisterJobDefinitionCommand extends $Command<DeregisterJobDefinitionCommandInput, DeregisterJobDefinitionCommandOutput, BatchClientResolvedConfig> {
27
28
  readonly input: DeregisterJobDefinitionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeregisterJobDefinitionCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -28,6 +29,7 @@ export interface DescribeComputeEnvironmentsCommandOutput extends DescribeComput
28
29
  */
29
30
  export declare class DescribeComputeEnvironmentsCommand extends $Command<DescribeComputeEnvironmentsCommandInput, DescribeComputeEnvironmentsCommandOutput, BatchClientResolvedConfig> {
30
31
  readonly input: DescribeComputeEnvironmentsCommandInput;
32
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
33
  constructor(input: DescribeComputeEnvironmentsCommandInput);
32
34
  /**
33
35
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -26,6 +27,7 @@ export interface DescribeJobDefinitionsCommandOutput extends DescribeJobDefiniti
26
27
  */
27
28
  export declare class DescribeJobDefinitionsCommand extends $Command<DescribeJobDefinitionsCommandInput, DescribeJobDefinitionsCommandOutput, BatchClientResolvedConfig> {
28
29
  readonly input: DescribeJobDefinitionsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: DescribeJobDefinitionsCommandInput);
30
32
  /**
31
33
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -25,6 +26,7 @@ export interface DescribeJobQueuesCommandOutput extends DescribeJobQueuesRespons
25
26
  */
26
27
  export declare class DescribeJobQueuesCommand extends $Command<DescribeJobQueuesCommandInput, DescribeJobQueuesCommandOutput, BatchClientResolvedConfig> {
27
28
  readonly input: DescribeJobQueuesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeJobQueuesCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -25,6 +26,7 @@ export interface DescribeJobsCommandOutput extends DescribeJobsResponse, __Metad
25
26
  */
26
27
  export declare class DescribeJobsCommand extends $Command<DescribeJobsCommandInput, DescribeJobsCommandOutput, BatchClientResolvedConfig> {
27
28
  readonly input: DescribeJobsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeJobsCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -25,6 +26,7 @@ export interface DescribeSchedulingPoliciesCommandOutput extends DescribeSchedul
25
26
  */
26
27
  export declare class DescribeSchedulingPoliciesCommand extends $Command<DescribeSchedulingPoliciesCommandInput, DescribeSchedulingPoliciesCommandOutput, BatchClientResolvedConfig> {
27
28
  readonly input: DescribeSchedulingPoliciesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeSchedulingPoliciesCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -39,6 +40,7 @@ export interface ListJobsCommandOutput extends ListJobsResponse, __MetadataBeare
39
40
  */
40
41
  export declare class ListJobsCommand extends $Command<ListJobsCommandInput, ListJobsCommandOutput, BatchClientResolvedConfig> {
41
42
  readonly input: ListJobsCommandInput;
43
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
42
44
  constructor(input: ListJobsCommandInput);
43
45
  /**
44
46
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -25,6 +26,7 @@ export interface ListSchedulingPoliciesCommandOutput extends ListSchedulingPolic
25
26
  */
26
27
  export declare class ListSchedulingPoliciesCommand extends $Command<ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput, BatchClientResolvedConfig> {
27
28
  readonly input: ListSchedulingPoliciesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListSchedulingPoliciesCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -8,7 +9,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
8
9
  }
9
10
  /**
10
11
  * <p>Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, job queues,
11
- * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.</p>
12
+ * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.</p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -26,6 +27,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
27
  */
27
28
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, BatchClientResolvedConfig> {
28
29
  readonly input: ListTagsForResourceCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: ListTagsForResourceCommandInput);
30
32
  /**
31
33
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -25,6 +26,7 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
25
26
  */
26
27
  export declare class RegisterJobDefinitionCommand extends $Command<RegisterJobDefinitionCommandInput, RegisterJobDefinitionCommandOutput, BatchClientResolvedConfig> {
27
28
  readonly input: RegisterJobDefinitionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: RegisterJobDefinitionCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -37,6 +38,7 @@ export interface SubmitJobCommandOutput extends SubmitJobResponse, __MetadataBea
37
38
  */
38
39
  export declare class SubmitJobCommand extends $Command<SubmitJobCommandInput, SubmitJobCommandOutput, BatchClientResolvedConfig> {
39
40
  readonly input: SubmitJobCommandInput;
41
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
40
42
  constructor(input: SubmitJobCommandInput);
41
43
  /**
42
44
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -10,7 +11,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
10
11
  * <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>. If existing tags on a
11
12
  * resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that
12
13
  * are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues,
13
- * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.</p>
14
+ * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.</p>
14
15
  * @example
15
16
  * Use a bare-bones client and the command you need to make an API call.
16
17
  * ```javascript
@@ -28,6 +29,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
28
29
  */
29
30
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, BatchClientResolvedConfig> {
30
31
  readonly input: TagResourceCommandInput;
32
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
33
  constructor(input: TagResourceCommandInput);
32
34
  /**
33
35
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -27,6 +28,7 @@ export interface TerminateJobCommandOutput extends TerminateJobResponse, __Metad
27
28
  */
28
29
  export declare class TerminateJobCommand extends $Command<TerminateJobCommandInput, TerminateJobCommandOutput, BatchClientResolvedConfig> {
29
30
  readonly input: TerminateJobCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
32
  constructor(input: TerminateJobCommandInput);
31
33
  /**
32
34
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -25,6 +26,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
25
26
  */
26
27
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, BatchClientResolvedConfig> {
27
28
  readonly input: UntagResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UntagResourceCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -25,6 +26,7 @@ export interface UpdateComputeEnvironmentCommandOutput extends UpdateComputeEnvi
25
26
  */
26
27
  export declare class UpdateComputeEnvironmentCommand extends $Command<UpdateComputeEnvironmentCommandInput, UpdateComputeEnvironmentCommandOutput, BatchClientResolvedConfig> {
27
28
  readonly input: UpdateComputeEnvironmentCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateComputeEnvironmentCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -25,6 +26,7 @@ export interface UpdateJobQueueCommandOutput extends UpdateJobQueueResponse, __M
25
26
  */
26
27
  export declare class UpdateJobQueueCommand extends $Command<UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput, BatchClientResolvedConfig> {
27
28
  readonly input: UpdateJobQueueCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateJobQueueCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
@@ -25,6 +26,7 @@ export interface UpdateSchedulingPolicyCommandOutput extends UpdateSchedulingPol
25
26
  */
26
27
  export declare class UpdateSchedulingPolicyCommand extends $Command<UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
27
28
  readonly input: UpdateSchedulingPolicyCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateSchedulingPolicyCommandInput);
29
31
  /**
30
32
  * @internal
@@ -0,0 +1,19 @@
1
+ import { EndpointParameters as __EndpointParameters, Provider } from "@aws-sdk/types";
2
+ export interface ClientInputEndpointParameters {
3
+ region?: string | Provider<string>;
4
+ useDualstackEndpoint?: boolean | Provider<boolean>;
5
+ useFipsEndpoint?: boolean | Provider<boolean>;
6
+ endpoint?: string | Provider<string>;
7
+ }
8
+ export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
+ defaultSigningName: string;
10
+ };
11
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export interface EndpointParameters extends __EndpointParameters {
15
+ Region?: string;
16
+ UseDualStack?: boolean;
17
+ UseFIPS?: boolean;
18
+ Endpoint?: string;
19
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;