@aws-sdk/client-snowball 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 (132) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/SnowballClient.js +11 -8
  3. package/dist-cjs/commands/CancelClusterCommand.js +10 -0
  4. package/dist-cjs/commands/CancelJobCommand.js +10 -0
  5. package/dist-cjs/commands/CreateAddressCommand.js +10 -0
  6. package/dist-cjs/commands/CreateClusterCommand.js +10 -0
  7. package/dist-cjs/commands/CreateJobCommand.js +10 -0
  8. package/dist-cjs/commands/CreateLongTermPricingCommand.js +10 -0
  9. package/dist-cjs/commands/CreateReturnShippingLabelCommand.js +10 -0
  10. package/dist-cjs/commands/DescribeAddressCommand.js +10 -0
  11. package/dist-cjs/commands/DescribeAddressesCommand.js +10 -0
  12. package/dist-cjs/commands/DescribeClusterCommand.js +10 -0
  13. package/dist-cjs/commands/DescribeJobCommand.js +10 -0
  14. package/dist-cjs/commands/DescribeReturnShippingLabelCommand.js +10 -0
  15. package/dist-cjs/commands/GetJobManifestCommand.js +10 -0
  16. package/dist-cjs/commands/GetJobUnlockCodeCommand.js +10 -0
  17. package/dist-cjs/commands/GetSnowballUsageCommand.js +10 -0
  18. package/dist-cjs/commands/GetSoftwareUpdatesCommand.js +10 -0
  19. package/dist-cjs/commands/ListClusterJobsCommand.js +10 -0
  20. package/dist-cjs/commands/ListClustersCommand.js +10 -0
  21. package/dist-cjs/commands/ListCompatibleImagesCommand.js +10 -0
  22. package/dist-cjs/commands/ListJobsCommand.js +10 -0
  23. package/dist-cjs/commands/ListLongTermPricingCommand.js +10 -0
  24. package/dist-cjs/commands/UpdateClusterCommand.js +10 -0
  25. package/dist-cjs/commands/UpdateJobCommand.js +10 -0
  26. package/dist-cjs/commands/UpdateJobShipmentStateCommand.js +10 -0
  27. package/dist-cjs/commands/UpdateLongTermPricingCommand.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 +318 -0
  31. package/dist-cjs/runtimeConfig.shared.js +3 -3
  32. package/dist-es/SnowballClient.js +12 -9
  33. package/dist-es/commands/CancelClusterCommand.js +10 -0
  34. package/dist-es/commands/CancelJobCommand.js +10 -0
  35. package/dist-es/commands/CreateAddressCommand.js +10 -0
  36. package/dist-es/commands/CreateClusterCommand.js +10 -0
  37. package/dist-es/commands/CreateJobCommand.js +10 -0
  38. package/dist-es/commands/CreateLongTermPricingCommand.js +10 -0
  39. package/dist-es/commands/CreateReturnShippingLabelCommand.js +10 -0
  40. package/dist-es/commands/DescribeAddressCommand.js +10 -0
  41. package/dist-es/commands/DescribeAddressesCommand.js +10 -0
  42. package/dist-es/commands/DescribeClusterCommand.js +10 -0
  43. package/dist-es/commands/DescribeJobCommand.js +10 -0
  44. package/dist-es/commands/DescribeReturnShippingLabelCommand.js +10 -0
  45. package/dist-es/commands/GetJobManifestCommand.js +10 -0
  46. package/dist-es/commands/GetJobUnlockCodeCommand.js +10 -0
  47. package/dist-es/commands/GetSnowballUsageCommand.js +10 -0
  48. package/dist-es/commands/GetSoftwareUpdatesCommand.js +10 -0
  49. package/dist-es/commands/ListClusterJobsCommand.js +10 -0
  50. package/dist-es/commands/ListClustersCommand.js +10 -0
  51. package/dist-es/commands/ListCompatibleImagesCommand.js +10 -0
  52. package/dist-es/commands/ListJobsCommand.js +10 -0
  53. package/dist-es/commands/ListLongTermPricingCommand.js +10 -0
  54. package/dist-es/commands/UpdateClusterCommand.js +10 -0
  55. package/dist-es/commands/UpdateJobCommand.js +10 -0
  56. package/dist-es/commands/UpdateJobShipmentStateCommand.js +10 -0
  57. package/dist-es/commands/UpdateLongTermPricingCommand.js +10 -0
  58. package/dist-es/endpoint/EndpointParameters.js +8 -0
  59. package/dist-es/endpoint/endpointResolver.js +8 -0
  60. package/dist-es/endpoint/ruleset.js +315 -0
  61. package/dist-es/runtimeConfig.shared.js +2 -2
  62. package/dist-types/SnowballClient.d.ts +6 -9
  63. package/dist-types/commands/CancelClusterCommand.d.ts +2 -0
  64. package/dist-types/commands/CancelJobCommand.d.ts +2 -0
  65. package/dist-types/commands/CreateAddressCommand.d.ts +2 -0
  66. package/dist-types/commands/CreateClusterCommand.d.ts +2 -0
  67. package/dist-types/commands/CreateJobCommand.d.ts +2 -0
  68. package/dist-types/commands/CreateLongTermPricingCommand.d.ts +2 -0
  69. package/dist-types/commands/CreateReturnShippingLabelCommand.d.ts +2 -0
  70. package/dist-types/commands/DescribeAddressCommand.d.ts +2 -0
  71. package/dist-types/commands/DescribeAddressesCommand.d.ts +2 -0
  72. package/dist-types/commands/DescribeClusterCommand.d.ts +2 -0
  73. package/dist-types/commands/DescribeJobCommand.d.ts +2 -0
  74. package/dist-types/commands/DescribeReturnShippingLabelCommand.d.ts +2 -0
  75. package/dist-types/commands/GetJobManifestCommand.d.ts +2 -0
  76. package/dist-types/commands/GetJobUnlockCodeCommand.d.ts +2 -0
  77. package/dist-types/commands/GetSnowballUsageCommand.d.ts +2 -0
  78. package/dist-types/commands/GetSoftwareUpdatesCommand.d.ts +2 -0
  79. package/dist-types/commands/ListClusterJobsCommand.d.ts +2 -0
  80. package/dist-types/commands/ListClustersCommand.d.ts +2 -0
  81. package/dist-types/commands/ListCompatibleImagesCommand.d.ts +2 -0
  82. package/dist-types/commands/ListJobsCommand.d.ts +2 -0
  83. package/dist-types/commands/ListLongTermPricingCommand.d.ts +2 -0
  84. package/dist-types/commands/UpdateClusterCommand.d.ts +2 -0
  85. package/dist-types/commands/UpdateJobCommand.d.ts +2 -0
  86. package/dist-types/commands/UpdateJobShipmentStateCommand.d.ts +2 -0
  87. package/dist-types/commands/UpdateLongTermPricingCommand.d.ts +2 -0
  88. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  89. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  90. package/dist-types/endpoint/ruleset.d.ts +2 -0
  91. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  92. package/dist-types/runtimeConfig.d.ts +4 -2
  93. package/dist-types/runtimeConfig.native.d.ts +4 -2
  94. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  95. package/dist-types/ts3.4/SnowballClient.d.ts +15 -8
  96. package/dist-types/ts3.4/commands/CancelClusterCommand.d.ts +2 -0
  97. package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +2 -0
  98. package/dist-types/ts3.4/commands/CreateAddressCommand.d.ts +2 -0
  99. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -0
  100. package/dist-types/ts3.4/commands/CreateJobCommand.d.ts +2 -0
  101. package/dist-types/ts3.4/commands/CreateLongTermPricingCommand.d.ts +2 -0
  102. package/dist-types/ts3.4/commands/CreateReturnShippingLabelCommand.d.ts +2 -0
  103. package/dist-types/ts3.4/commands/DescribeAddressCommand.d.ts +2 -0
  104. package/dist-types/ts3.4/commands/DescribeAddressesCommand.d.ts +2 -0
  105. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +2 -0
  106. package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +2 -0
  107. package/dist-types/ts3.4/commands/DescribeReturnShippingLabelCommand.d.ts +2 -0
  108. package/dist-types/ts3.4/commands/GetJobManifestCommand.d.ts +2 -0
  109. package/dist-types/ts3.4/commands/GetJobUnlockCodeCommand.d.ts +2 -0
  110. package/dist-types/ts3.4/commands/GetSnowballUsageCommand.d.ts +2 -0
  111. package/dist-types/ts3.4/commands/GetSoftwareUpdatesCommand.d.ts +2 -0
  112. package/dist-types/ts3.4/commands/ListClusterJobsCommand.d.ts +2 -0
  113. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +2 -0
  114. package/dist-types/ts3.4/commands/ListCompatibleImagesCommand.d.ts +2 -0
  115. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +2 -0
  116. package/dist-types/ts3.4/commands/ListLongTermPricingCommand.d.ts +2 -0
  117. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +2 -0
  118. package/dist-types/ts3.4/commands/UpdateJobCommand.d.ts +2 -0
  119. package/dist-types/ts3.4/commands/UpdateJobShipmentStateCommand.d.ts +2 -0
  120. package/dist-types/ts3.4/commands/UpdateLongTermPricingCommand.d.ts +2 -0
  121. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  122. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  123. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  124. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  125. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  126. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  127. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  128. package/package.json +4 -2
  129. package/dist-cjs/endpoints.js +0 -309
  130. package/dist-es/endpoints.js +0 -305
  131. package/dist-types/endpoints.d.ts +0 -2
  132. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -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 { ListJobsRequest, ListJobsResult } from "../models/models_0";
@@ -29,6 +30,7 @@ export interface ListJobsCommandOutput extends ListJobsResult, __MetadataBearer
29
30
  */
30
31
  export declare class ListJobsCommand extends $Command<ListJobsCommandInput, ListJobsCommandOutput, SnowballClientResolvedConfig> {
31
32
  readonly input: ListJobsCommandInput;
33
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
34
  constructor(input: ListJobsCommandInput);
33
35
  /**
34
36
  * @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 { ListLongTermPricingRequest, ListLongTermPricingResult } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface ListLongTermPricingCommandOutput extends ListLongTermPricingRes
25
26
  */
26
27
  export declare class ListLongTermPricingCommand extends $Command<ListLongTermPricingCommandInput, ListLongTermPricingCommandOutput, SnowballClientResolvedConfig> {
27
28
  readonly input: ListLongTermPricingCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListLongTermPricingCommandInput);
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 { UpdateClusterRequest, UpdateClusterResult } from "../models/models_0";
@@ -28,6 +29,7 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResult, __Metad
28
29
  */
29
30
  export declare class UpdateClusterCommand extends $Command<UpdateClusterCommandInput, UpdateClusterCommandOutput, SnowballClientResolvedConfig> {
30
31
  readonly input: UpdateClusterCommandInput;
32
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
33
  constructor(input: UpdateClusterCommandInput);
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 { UpdateJobRequest, UpdateJobResult } from "../models/models_0";
@@ -27,6 +28,7 @@ export interface UpdateJobCommandOutput extends UpdateJobResult, __MetadataBeare
27
28
  */
28
29
  export declare class UpdateJobCommand extends $Command<UpdateJobCommandInput, UpdateJobCommandOutput, SnowballClientResolvedConfig> {
29
30
  readonly input: UpdateJobCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
32
  constructor(input: UpdateJobCommandInput);
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 { UpdateJobShipmentStateRequest, UpdateJobShipmentStateResult } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface UpdateJobShipmentStateCommandOutput extends UpdateJobShipmentSt
25
26
  */
26
27
  export declare class UpdateJobShipmentStateCommand extends $Command<UpdateJobShipmentStateCommandInput, UpdateJobShipmentStateCommandOutput, SnowballClientResolvedConfig> {
27
28
  readonly input: UpdateJobShipmentStateCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateJobShipmentStateCommandInput);
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 { UpdateLongTermPricingRequest, UpdateLongTermPricingResult } from "../models/models_0";
@@ -25,6 +26,7 @@ export interface UpdateLongTermPricingCommandOutput extends UpdateLongTermPricin
25
26
  */
26
27
  export declare class UpdateLongTermPricingCommand extends $Command<UpdateLongTermPricingCommandInput, UpdateLongTermPricingCommandOutput, SnowballClientResolvedConfig> {
27
28
  readonly input: UpdateLongTermPricingCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateLongTermPricingCommandInput);
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;
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: SnowballClientConfig) => {
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: SnowballClientConfig) => {
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: SnowballClientConfig) => {
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 { SnowballClientConfig } from "./SnowballClient";
6
6
  export declare const getRuntimeConfig: (config: SnowballClientConfig) => {
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,
@@ -142,6 +143,11 @@ import {
142
143
  UpdateLongTermPricingCommandInput,
143
144
  UpdateLongTermPricingCommandOutput,
144
145
  } from "./commands/UpdateLongTermPricingCommand";
146
+ import {
147
+ ClientInputEndpointParameters,
148
+ ClientResolvedEndpointParameters,
149
+ EndpointParameters,
150
+ } from "./endpoint/EndpointParameters";
145
151
  export declare type ServiceInputTypes =
146
152
  | CancelClusterCommandInput
147
153
  | CancelJobCommandInput
@@ -215,7 +221,6 @@ export interface ClientDefaults
215
221
  serviceId?: string;
216
222
  region?: string | __Provider<string>;
217
223
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
218
- regionInfoProvider?: RegionInfoProvider;
219
224
  defaultUserAgentProvider?: Provider<__UserAgent>;
220
225
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
221
226
  }
@@ -224,21 +229,23 @@ declare type SnowballClientConfigType = Partial<
224
229
  > &
225
230
  ClientDefaults &
226
231
  RegionInputConfig &
227
- EndpointsInputConfig &
232
+ EndpointInputConfig<EndpointParameters> &
228
233
  RetryInputConfig &
229
234
  HostHeaderInputConfig &
230
235
  AwsAuthInputConfig &
231
- UserAgentInputConfig;
236
+ UserAgentInputConfig &
237
+ ClientInputEndpointParameters;
232
238
  export interface SnowballClientConfig extends SnowballClientConfigType {}
233
239
  declare type SnowballClientResolvedConfigType =
234
240
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
235
241
  Required<ClientDefaults> &
236
242
  RegionResolvedConfig &
237
- EndpointsResolvedConfig &
243
+ EndpointResolvedConfig<EndpointParameters> &
238
244
  RetryResolvedConfig &
239
245
  HostHeaderResolvedConfig &
240
246
  AwsAuthResolvedConfig &
241
- UserAgentResolvedConfig;
247
+ UserAgentResolvedConfig &
248
+ ClientResolvedEndpointParameters;
242
249
  export interface SnowballClientResolvedConfig
243
250
  extends SnowballClientResolvedConfigType {}
244
251
  export declare class SnowballClient 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 CancelClusterCommand extends $Command<
21
22
  SnowballClientResolvedConfig
22
23
  > {
23
24
  readonly input: CancelClusterCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: CancelClusterCommandInput);
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 CancelJobCommand extends $Command<
21
22
  SnowballClientResolvedConfig
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,
@@ -21,6 +22,7 @@ export declare class CreateAddressCommand extends $Command<
21
22
  SnowballClientResolvedConfig
22
23
  > {
23
24
  readonly input: CreateAddressCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: CreateAddressCommandInput);
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 CreateClusterCommand extends $Command<
21
22
  SnowballClientResolvedConfig
22
23
  > {
23
24
  readonly input: CreateClusterCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: CreateClusterCommandInput);
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 CreateJobCommand extends $Command<
21
22
  SnowballClientResolvedConfig
22
23
  > {
23
24
  readonly input: CreateJobCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: CreateJobCommandInput);
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 CreateLongTermPricingCommand extends $Command<
25
26
  SnowballClientResolvedConfig
26
27
  > {
27
28
  readonly input: CreateLongTermPricingCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: CreateLongTermPricingCommandInput);
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 CreateReturnShippingLabelCommand extends $Command<
25
26
  SnowballClientResolvedConfig
26
27
  > {
27
28
  readonly input: CreateReturnShippingLabelCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: CreateReturnShippingLabelCommandInput);
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 DescribeAddressCommand extends $Command<
24
25
  SnowballClientResolvedConfig
25
26
  > {
26
27
  readonly input: DescribeAddressCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: DescribeAddressCommandInput);
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 DescribeAddressesCommand extends $Command<
25
26
  SnowballClientResolvedConfig
26
27
  > {
27
28
  readonly input: DescribeAddressesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeAddressesCommandInput);
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 DescribeClusterCommand extends $Command<
24
25
  SnowballClientResolvedConfig
25
26
  > {
26
27
  readonly input: DescribeClusterCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: DescribeClusterCommandInput);
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,
@@ -21,6 +22,7 @@ export declare class DescribeJobCommand extends $Command<
21
22
  SnowballClientResolvedConfig
22
23
  > {
23
24
  readonly input: DescribeJobCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: DescribeJobCommandInput);
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 DescribeReturnShippingLabelCommand extends $Command<
25
26
  SnowballClientResolvedConfig
26
27
  > {
27
28
  readonly input: DescribeReturnShippingLabelCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeReturnShippingLabelCommandInput);
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 GetJobManifestCommand extends $Command<
24
25
  SnowballClientResolvedConfig
25
26
  > {
26
27
  readonly input: GetJobManifestCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: GetJobManifestCommandInput);
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,
@@ -24,6 +25,7 @@ export declare class GetJobUnlockCodeCommand extends $Command<
24
25
  SnowballClientResolvedConfig
25
26
  > {
26
27
  readonly input: GetJobUnlockCodeCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: GetJobUnlockCodeCommandInput);
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,
@@ -24,6 +25,7 @@ export declare class GetSnowballUsageCommand extends $Command<
24
25
  SnowballClientResolvedConfig
25
26
  > {
26
27
  readonly input: GetSnowballUsageCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: GetSnowballUsageCommandInput);
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 GetSoftwareUpdatesCommand extends $Command<
25
26
  SnowballClientResolvedConfig
26
27
  > {
27
28
  readonly input: GetSoftwareUpdatesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: GetSoftwareUpdatesCommandInput);
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 ListClusterJobsCommand extends $Command<
24
25
  SnowballClientResolvedConfig
25
26
  > {
26
27
  readonly input: ListClusterJobsCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: ListClusterJobsCommandInput);
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,
@@ -21,6 +22,7 @@ export declare class ListClustersCommand extends $Command<
21
22
  SnowballClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListClustersCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListClustersCommandInput);
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 ListCompatibleImagesCommand extends $Command<
25
26
  SnowballClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListCompatibleImagesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListCompatibleImagesCommandInput);
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
  SnowballClientResolvedConfig
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 ListLongTermPricingCommand extends $Command<
25
26
  SnowballClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListLongTermPricingCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListLongTermPricingCommandInput);
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 UpdateClusterCommand extends $Command<
21
22
  SnowballClientResolvedConfig
22
23
  > {
23
24
  readonly input: UpdateClusterCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: UpdateClusterCommandInput);
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 UpdateJobCommand extends $Command<
21
22
  SnowballClientResolvedConfig
22
23
  > {
23
24
  readonly input: UpdateJobCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: UpdateJobCommandInput);
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 UpdateJobShipmentStateCommand extends $Command<
25
26
  SnowballClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateJobShipmentStateCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateJobShipmentStateCommandInput);
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 UpdateLongTermPricingCommand extends $Command<
25
26
  SnowballClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateLongTermPricingCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateLongTermPricingCommandInput);
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;