@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
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -23,10 +23,12 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
23
23
  serviceId: string;
24
24
  region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
26
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
27
  defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ endpoint?: string | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Endpoint & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").EndpointV2 & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@aws-sdk/types").Provider<string>) | undefined;
29
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
+ logger?: import("@aws-sdk/types").Logger | undefined;
31
+ }) => import("@aws-sdk/types").EndpointV2;
30
32
  tls?: boolean | undefined;
31
33
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
34
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -6,8 +6,10 @@ import { BatchClientConfig } from "./BatchClient";
6
6
  export declare const getRuntimeConfig: (config: BatchClientConfig) => {
7
7
  apiVersion: string;
8
8
  disableHostPrefix: boolean;
9
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
10
+ logger?: __Logger | undefined;
11
+ }) => import("@aws-sdk/types").EndpointV2;
9
12
  logger: __Logger;
10
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
11
13
  serviceId: string;
12
14
  urlParser: import("@aws-sdk/types").UrlParser;
13
15
  };
@@ -1,9 +1,11 @@
1
1
  import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
2
  RegionInputConfig,
5
3
  RegionResolvedConfig,
6
4
  } from "@aws-sdk/config-resolver";
5
+ import {
6
+ EndpointInputConfig,
7
+ EndpointResolvedConfig,
8
+ } from "@aws-sdk/middleware-endpoint";
7
9
  import {
8
10
  HostHeaderInputConfig,
9
11
  HostHeaderResolvedConfig,
@@ -37,7 +39,6 @@ import {
37
39
  Logger as __Logger,
38
40
  Provider as __Provider,
39
41
  Provider,
40
- RegionInfoProvider,
41
42
  StreamCollector as __StreamCollector,
42
43
  UrlParser as __UrlParser,
43
44
  UserAgent as __UserAgent,
@@ -138,6 +139,11 @@ import {
138
139
  UpdateSchedulingPolicyCommandInput,
139
140
  UpdateSchedulingPolicyCommandOutput,
140
141
  } from "./commands/UpdateSchedulingPolicyCommand";
142
+ import {
143
+ ClientInputEndpointParameters,
144
+ ClientResolvedEndpointParameters,
145
+ EndpointParameters,
146
+ } from "./endpoint/EndpointParameters";
141
147
  export declare type ServiceInputTypes =
142
148
  | CancelJobCommandInput
143
149
  | CreateComputeEnvironmentCommandInput
@@ -209,7 +215,6 @@ export interface ClientDefaults
209
215
  serviceId?: string;
210
216
  region?: string | __Provider<string>;
211
217
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
212
- regionInfoProvider?: RegionInfoProvider;
213
218
  defaultUserAgentProvider?: Provider<__UserAgent>;
214
219
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
215
220
  }
@@ -218,21 +223,23 @@ declare type BatchClientConfigType = Partial<
218
223
  > &
219
224
  ClientDefaults &
220
225
  RegionInputConfig &
221
- EndpointsInputConfig &
226
+ EndpointInputConfig<EndpointParameters> &
222
227
  RetryInputConfig &
223
228
  HostHeaderInputConfig &
224
229
  AwsAuthInputConfig &
225
- UserAgentInputConfig;
230
+ UserAgentInputConfig &
231
+ ClientInputEndpointParameters;
226
232
  export interface BatchClientConfig extends BatchClientConfigType {}
227
233
  declare type BatchClientResolvedConfigType =
228
234
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
229
235
  Required<ClientDefaults> &
230
236
  RegionResolvedConfig &
231
- EndpointsResolvedConfig &
237
+ EndpointResolvedConfig<EndpointParameters> &
232
238
  RetryResolvedConfig &
233
239
  HostHeaderResolvedConfig &
234
240
  AwsAuthResolvedConfig &
235
- UserAgentResolvedConfig;
241
+ UserAgentResolvedConfig &
242
+ ClientResolvedEndpointParameters;
236
243
  export interface BatchClientResolvedConfig
237
244
  extends BatchClientResolvedConfigType {}
238
245
  export declare class BatchClient extends __Client<
@@ -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 {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class CancelJobCommand extends $Command<
21
22
  BatchClientResolvedConfig
22
23
  > {
23
24
  readonly input: CancelJobCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: CancelJobCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class CreateComputeEnvironmentCommand extends $Command<
25
26
  BatchClientResolvedConfig
26
27
  > {
27
28
  readonly input: CreateComputeEnvironmentCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: CreateComputeEnvironmentCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class CreateJobQueueCommand extends $Command<
24
25
  BatchClientResolvedConfig
25
26
  > {
26
27
  readonly input: CreateJobQueueCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: CreateJobQueueCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class CreateSchedulingPolicyCommand extends $Command<
25
26
  BatchClientResolvedConfig
26
27
  > {
27
28
  readonly input: CreateSchedulingPolicyCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: CreateSchedulingPolicyCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DeleteComputeEnvironmentCommand extends $Command<
25
26
  BatchClientResolvedConfig
26
27
  > {
27
28
  readonly input: DeleteComputeEnvironmentCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeleteComputeEnvironmentCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class DeleteJobQueueCommand extends $Command<
24
25
  BatchClientResolvedConfig
25
26
  > {
26
27
  readonly input: DeleteJobQueueCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: DeleteJobQueueCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DeleteSchedulingPolicyCommand extends $Command<
25
26
  BatchClientResolvedConfig
26
27
  > {
27
28
  readonly input: DeleteSchedulingPolicyCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeleteSchedulingPolicyCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DeregisterJobDefinitionCommand extends $Command<
25
26
  BatchClientResolvedConfig
26
27
  > {
27
28
  readonly input: DeregisterJobDefinitionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeregisterJobDefinitionCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DescribeComputeEnvironmentsCommand extends $Command<
25
26
  BatchClientResolvedConfig
26
27
  > {
27
28
  readonly input: DescribeComputeEnvironmentsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeComputeEnvironmentsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DescribeJobDefinitionsCommand extends $Command<
25
26
  BatchClientResolvedConfig
26
27
  > {
27
28
  readonly input: DescribeJobDefinitionsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeJobDefinitionsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DescribeJobQueuesCommand extends $Command<
25
26
  BatchClientResolvedConfig
26
27
  > {
27
28
  readonly input: DescribeJobQueuesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeJobQueuesCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class DescribeJobsCommand extends $Command<
21
22
  BatchClientResolvedConfig
22
23
  > {
23
24
  readonly input: DescribeJobsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: DescribeJobsCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class DescribeSchedulingPoliciesCommand extends $Command<
25
26
  BatchClientResolvedConfig
26
27
  > {
27
28
  readonly input: DescribeSchedulingPoliciesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeSchedulingPoliciesCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListJobsCommand extends $Command<
21
22
  BatchClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListJobsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListJobsCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListSchedulingPoliciesCommand extends $Command<
25
26
  BatchClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListSchedulingPoliciesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListSchedulingPoliciesCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListTagsForResourceCommand extends $Command<
25
26
  BatchClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListTagsForResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListTagsForResourceCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class RegisterJobDefinitionCommand extends $Command<
25
26
  BatchClientResolvedConfig
26
27
  > {
27
28
  readonly input: RegisterJobDefinitionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: RegisterJobDefinitionCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class SubmitJobCommand extends $Command<
21
22
  BatchClientResolvedConfig
22
23
  > {
23
24
  readonly input: SubmitJobCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: SubmitJobCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class TagResourceCommand extends $Command<
21
22
  BatchClientResolvedConfig
22
23
  > {
23
24
  readonly input: TagResourceCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: TagResourceCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class TerminateJobCommand extends $Command<
21
22
  BatchClientResolvedConfig
22
23
  > {
23
24
  readonly input: TerminateJobCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: TerminateJobCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class UntagResourceCommand extends $Command<
24
25
  BatchClientResolvedConfig
25
26
  > {
26
27
  readonly input: UntagResourceCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: UntagResourceCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateComputeEnvironmentCommand extends $Command<
25
26
  BatchClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateComputeEnvironmentCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateComputeEnvironmentCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class UpdateJobQueueCommand extends $Command<
24
25
  BatchClientResolvedConfig
25
26
  > {
26
27
  readonly input: UpdateJobQueueCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: UpdateJobQueueCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -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 {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateSchedulingPolicyCommand extends $Command<
25
26
  BatchClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateSchedulingPolicyCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateSchedulingPolicyCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -0,0 +1,26 @@
1
+ import {
2
+ EndpointParameters as __EndpointParameters,
3
+ Provider,
4
+ } from "@aws-sdk/types";
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string>;
10
+ }
11
+ export declare type ClientResolvedEndpointParameters =
12
+ ClientInputEndpointParameters & {
13
+ defaultSigningName: string;
14
+ };
15
+ export declare const resolveClientEndpointParameters: <T>(
16
+ options: T & ClientInputEndpointParameters
17
+ ) => T &
18
+ ClientInputEndpointParameters & {
19
+ defaultSigningName: string;
20
+ };
21
+ export interface EndpointParameters extends __EndpointParameters {
22
+ Region?: string;
23
+ UseDualStack?: boolean;
24
+ UseFIPS?: boolean;
25
+ Endpoint?: string;
26
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;