@aws-sdk/client-snowball 3.43.0 → 3.47.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 (33) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/README.md +6 -7
  3. package/dist-cjs/endpoints.js +1 -80
  4. package/dist-cjs/models/models_0.js +8 -68
  5. package/dist-cjs/protocols/Aws_json1_1.js +20 -0
  6. package/dist-cjs/runtimeConfig.browser.js +7 -2
  7. package/dist-cjs/runtimeConfig.js +9 -3
  8. package/dist-es/endpoints.js +1 -80
  9. package/dist-es/models/models_0.js +4 -44
  10. package/dist-es/protocols/Aws_json1_1.js +17 -1
  11. package/dist-es/runtimeConfig.browser.js +12 -3
  12. package/dist-es/runtimeConfig.js +13 -6
  13. package/dist-types/Snowball.d.ts +31 -32
  14. package/dist-types/SnowballClient.d.ts +11 -8
  15. package/dist-types/commands/CreateJobCommand.d.ts +10 -9
  16. package/dist-types/commands/CreateLongTermPricingCommand.d.ts +1 -2
  17. package/dist-types/commands/CreateReturnShippingLabelCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeReturnShippingLabelCommand.d.ts +1 -1
  19. package/dist-types/commands/GetJobManifestCommand.d.ts +1 -1
  20. package/dist-types/commands/GetJobUnlockCodeCommand.d.ts +4 -4
  21. package/dist-types/commands/GetSnowballUsageCommand.d.ts +2 -2
  22. package/dist-types/commands/GetSoftwareUpdatesCommand.d.ts +1 -1
  23. package/dist-types/commands/ListCompatibleImagesCommand.d.ts +4 -4
  24. package/dist-types/models/models_0.d.ts +195 -213
  25. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  26. package/dist-types/runtimeConfig.d.ts +4 -3
  27. package/dist-types/runtimeConfig.native.d.ts +1 -0
  28. package/dist-types/ts3.4/SnowballClient.d.ts +3 -1
  29. package/dist-types/ts3.4/models/models_0.d.ts +16 -44
  30. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  31. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  32. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  33. package/package.json +38 -45
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "ap-northeast-1": {
5
5
  variants: [
6
- {
7
- hostname: "snowball.ap-northeast-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "snowball-fips.ap-northeast-1.amazonaws.com",
12
8
  tags: ["fips"],
@@ -15,10 +11,6 @@ var regionHash = {
15
11
  },
16
12
  "ap-northeast-2": {
17
13
  variants: [
18
- {
19
- hostname: "snowball.ap-northeast-2.amazonaws.com",
20
- tags: [],
21
- },
22
14
  {
23
15
  hostname: "snowball-fips.ap-northeast-2.amazonaws.com",
24
16
  tags: ["fips"],
@@ -27,10 +19,6 @@ var regionHash = {
27
19
  },
28
20
  "ap-northeast-3": {
29
21
  variants: [
30
- {
31
- hostname: "snowball.ap-northeast-3.amazonaws.com",
32
- tags: [],
33
- },
34
22
  {
35
23
  hostname: "snowball-fips.ap-northeast-3.amazonaws.com",
36
24
  tags: ["fips"],
@@ -39,10 +27,6 @@ var regionHash = {
39
27
  },
40
28
  "ap-south-1": {
41
29
  variants: [
42
- {
43
- hostname: "snowball.ap-south-1.amazonaws.com",
44
- tags: [],
45
- },
46
30
  {
47
31
  hostname: "snowball-fips.ap-south-1.amazonaws.com",
48
32
  tags: ["fips"],
@@ -51,10 +35,6 @@ var regionHash = {
51
35
  },
52
36
  "ap-southeast-1": {
53
37
  variants: [
54
- {
55
- hostname: "snowball.ap-southeast-1.amazonaws.com",
56
- tags: [],
57
- },
58
38
  {
59
39
  hostname: "snowball-fips.ap-southeast-1.amazonaws.com",
60
40
  tags: ["fips"],
@@ -63,10 +43,6 @@ var regionHash = {
63
43
  },
64
44
  "ap-southeast-2": {
65
45
  variants: [
66
- {
67
- hostname: "snowball.ap-southeast-2.amazonaws.com",
68
- tags: [],
69
- },
70
46
  {
71
47
  hostname: "snowball-fips.ap-southeast-2.amazonaws.com",
72
48
  tags: ["fips"],
@@ -75,10 +51,6 @@ var regionHash = {
75
51
  },
76
52
  "ca-central-1": {
77
53
  variants: [
78
- {
79
- hostname: "snowball.ca-central-1.amazonaws.com",
80
- tags: [],
81
- },
82
54
  {
83
55
  hostname: "snowball-fips.ca-central-1.amazonaws.com",
84
56
  tags: ["fips"],
@@ -87,10 +59,6 @@ var regionHash = {
87
59
  },
88
60
  "cn-north-1": {
89
61
  variants: [
90
- {
91
- hostname: "snowball.cn-north-1.amazonaws.com.cn",
92
- tags: [],
93
- },
94
62
  {
95
63
  hostname: "snowball-fips.cn-north-1.amazonaws.com.cn",
96
64
  tags: ["fips"],
@@ -99,10 +67,6 @@ var regionHash = {
99
67
  },
100
68
  "cn-northwest-1": {
101
69
  variants: [
102
- {
103
- hostname: "snowball.cn-northwest-1.amazonaws.com.cn",
104
- tags: [],
105
- },
106
70
  {
107
71
  hostname: "snowball-fips.cn-northwest-1.amazonaws.com.cn",
108
72
  tags: ["fips"],
@@ -111,10 +75,6 @@ var regionHash = {
111
75
  },
112
76
  "eu-central-1": {
113
77
  variants: [
114
- {
115
- hostname: "snowball.eu-central-1.amazonaws.com",
116
- tags: [],
117
- },
118
78
  {
119
79
  hostname: "snowball-fips.eu-central-1.amazonaws.com",
120
80
  tags: ["fips"],
@@ -123,10 +83,6 @@ var regionHash = {
123
83
  },
124
84
  "eu-west-1": {
125
85
  variants: [
126
- {
127
- hostname: "snowball.eu-west-1.amazonaws.com",
128
- tags: [],
129
- },
130
86
  {
131
87
  hostname: "snowball-fips.eu-west-1.amazonaws.com",
132
88
  tags: ["fips"],
@@ -135,10 +91,6 @@ var regionHash = {
135
91
  },
136
92
  "eu-west-2": {
137
93
  variants: [
138
- {
139
- hostname: "snowball.eu-west-2.amazonaws.com",
140
- tags: [],
141
- },
142
94
  {
143
95
  hostname: "snowball-fips.eu-west-2.amazonaws.com",
144
96
  tags: ["fips"],
@@ -147,10 +99,6 @@ var regionHash = {
147
99
  },
148
100
  "eu-west-3": {
149
101
  variants: [
150
- {
151
- hostname: "snowball.eu-west-3.amazonaws.com",
152
- tags: [],
153
- },
154
102
  {
155
103
  hostname: "snowball-fips.eu-west-3.amazonaws.com",
156
104
  tags: ["fips"],
@@ -159,10 +107,6 @@ var regionHash = {
159
107
  },
160
108
  "sa-east-1": {
161
109
  variants: [
162
- {
163
- hostname: "snowball.sa-east-1.amazonaws.com",
164
- tags: [],
165
- },
166
110
  {
167
111
  hostname: "snowball-fips.sa-east-1.amazonaws.com",
168
112
  tags: ["fips"],
@@ -171,10 +115,6 @@ var regionHash = {
171
115
  },
172
116
  "us-east-1": {
173
117
  variants: [
174
- {
175
- hostname: "snowball.us-east-1.amazonaws.com",
176
- tags: [],
177
- },
178
118
  {
179
119
  hostname: "snowball-fips.us-east-1.amazonaws.com",
180
120
  tags: ["fips"],
@@ -183,10 +123,6 @@ var regionHash = {
183
123
  },
184
124
  "us-east-2": {
185
125
  variants: [
186
- {
187
- hostname: "snowball.us-east-2.amazonaws.com",
188
- tags: [],
189
- },
190
126
  {
191
127
  hostname: "snowball-fips.us-east-2.amazonaws.com",
192
128
  tags: ["fips"],
@@ -195,10 +131,6 @@ var regionHash = {
195
131
  },
196
132
  "us-gov-east-1": {
197
133
  variants: [
198
- {
199
- hostname: "snowball.us-gov-east-1.amazonaws.com",
200
- tags: [],
201
- },
202
134
  {
203
135
  hostname: "snowball-fips.us-gov-east-1.amazonaws.com",
204
136
  tags: ["fips"],
@@ -207,10 +139,6 @@ var regionHash = {
207
139
  },
208
140
  "us-gov-west-1": {
209
141
  variants: [
210
- {
211
- hostname: "snowball.us-gov-west-1.amazonaws.com",
212
- tags: [],
213
- },
214
142
  {
215
143
  hostname: "snowball-fips.us-gov-west-1.amazonaws.com",
216
144
  tags: ["fips"],
@@ -219,10 +147,6 @@ var regionHash = {
219
147
  },
220
148
  "us-west-1": {
221
149
  variants: [
222
- {
223
- hostname: "snowball.us-west-1.amazonaws.com",
224
- tags: [],
225
- },
226
150
  {
227
151
  hostname: "snowball-fips.us-west-1.amazonaws.com",
228
152
  tags: ["fips"],
@@ -231,10 +155,6 @@ var regionHash = {
231
155
  },
232
156
  "us-west-2": {
233
157
  variants: [
234
- {
235
- hostname: "snowball.us-west-2.amazonaws.com",
236
- tags: [],
237
- },
238
158
  {
239
159
  hostname: "snowball-fips.us-west-2.amazonaws.com",
240
160
  tags: ["fips"],
@@ -253,6 +173,7 @@ var partitionHash = {
253
173
  "ap-south-1",
254
174
  "ap-southeast-1",
255
175
  "ap-southeast-2",
176
+ "ap-southeast-3",
256
177
  "ca-central-1",
257
178
  "eu-central-1",
258
179
  "eu-north-1",
@@ -11,18 +11,6 @@ export var CancelClusterResult;
11
11
  (function (CancelClusterResult) {
12
12
  CancelClusterResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
13
13
  })(CancelClusterResult || (CancelClusterResult = {}));
14
- export var InvalidJobStateException;
15
- (function (InvalidJobStateException) {
16
- InvalidJobStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
17
- })(InvalidJobStateException || (InvalidJobStateException = {}));
18
- export var InvalidResourceException;
19
- (function (InvalidResourceException) {
20
- InvalidResourceException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
21
- })(InvalidResourceException || (InvalidResourceException = {}));
22
- export var KMSRequestFailedException;
23
- (function (KMSRequestFailedException) {
24
- KMSRequestFailedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
25
- })(KMSRequestFailedException || (KMSRequestFailedException = {}));
26
14
  export var CancelJobRequest;
27
15
  (function (CancelJobRequest) {
28
16
  CancelJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -39,14 +27,6 @@ export var CreateAddressResult;
39
27
  (function (CreateAddressResult) {
40
28
  CreateAddressResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
41
29
  })(CreateAddressResult || (CreateAddressResult = {}));
42
- export var InvalidAddressException;
43
- (function (InvalidAddressException) {
44
- InvalidAddressException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
45
- })(InvalidAddressException || (InvalidAddressException = {}));
46
- export var UnsupportedAddressException;
47
- (function (UnsupportedAddressException) {
48
- UnsupportedAddressException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
49
- })(UnsupportedAddressException || (UnsupportedAddressException = {}));
50
30
  export var JobType;
51
31
  (function (JobType) {
52
32
  JobType["EXPORT"] = "EXPORT";
@@ -81,6 +61,10 @@ export var NFSOnDeviceServiceConfiguration;
81
61
  (function (NFSOnDeviceServiceConfiguration) {
82
62
  NFSOnDeviceServiceConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
83
63
  })(NFSOnDeviceServiceConfiguration || (NFSOnDeviceServiceConfiguration = {}));
64
+ export var TGWOnDeviceServiceConfiguration;
65
+ (function (TGWOnDeviceServiceConfiguration) {
66
+ TGWOnDeviceServiceConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
67
+ })(TGWOnDeviceServiceConfiguration || (TGWOnDeviceServiceConfiguration = {}));
84
68
  export var OnDeviceServiceConfiguration;
85
69
  (function (OnDeviceServiceConfiguration) {
86
70
  OnDeviceServiceConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -162,18 +146,6 @@ export var CreateClusterResult;
162
146
  (function (CreateClusterResult) {
163
147
  CreateClusterResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
164
148
  })(CreateClusterResult || (CreateClusterResult = {}));
165
- export var Ec2RequestFailedException;
166
- (function (Ec2RequestFailedException) {
167
- Ec2RequestFailedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
168
- })(Ec2RequestFailedException || (Ec2RequestFailedException = {}));
169
- export var InvalidInputCombinationException;
170
- (function (InvalidInputCombinationException) {
171
- InvalidInputCombinationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
172
- })(InvalidInputCombinationException || (InvalidInputCombinationException = {}));
173
- export var ClusterLimitExceededException;
174
- (function (ClusterLimitExceededException) {
175
- ClusterLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
176
- })(ClusterLimitExceededException || (ClusterLimitExceededException = {}));
177
149
  export var WirelessConnection;
178
150
  (function (WirelessConnection) {
179
151
  WirelessConnection.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -218,10 +190,6 @@ export var CreateLongTermPricingResult;
218
190
  (function (CreateLongTermPricingResult) {
219
191
  CreateLongTermPricingResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
220
192
  })(CreateLongTermPricingResult || (CreateLongTermPricingResult = {}));
221
- export var ConflictException;
222
- (function (ConflictException) {
223
- ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
224
- })(ConflictException || (ConflictException = {}));
225
193
  export var CreateReturnShippingLabelRequest;
226
194
  (function (CreateReturnShippingLabelRequest) {
227
195
  CreateReturnShippingLabelRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -237,10 +205,6 @@ export var CreateReturnShippingLabelResult;
237
205
  (function (CreateReturnShippingLabelResult) {
238
206
  CreateReturnShippingLabelResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
239
207
  })(CreateReturnShippingLabelResult || (CreateReturnShippingLabelResult = {}));
240
- export var ReturnShippingLabelAlreadyExistsException;
241
- (function (ReturnShippingLabelAlreadyExistsException) {
242
- ReturnShippingLabelAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
243
- })(ReturnShippingLabelAlreadyExistsException || (ReturnShippingLabelAlreadyExistsException = {}));
244
208
  export var DescribeAddressRequest;
245
209
  (function (DescribeAddressRequest) {
246
210
  DescribeAddressRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -257,10 +221,6 @@ export var DescribeAddressesResult;
257
221
  (function (DescribeAddressesResult) {
258
222
  DescribeAddressesResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
259
223
  })(DescribeAddressesResult || (DescribeAddressesResult = {}));
260
- export var InvalidNextTokenException;
261
- (function (InvalidNextTokenException) {
262
- InvalidNextTokenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
263
- })(InvalidNextTokenException || (InvalidNextTokenException = {}));
264
224
  export var DescribeClusterRequest;
265
225
  (function (DescribeClusterRequest) {
266
226
  DescribeClusterRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -2223,9 +2223,12 @@ var serializeAws_json1_1Notification = function (input, context) {
2223
2223
  })), (input.NotifyAll !== undefined && input.NotifyAll !== null && { NotifyAll: input.NotifyAll })), (input.SnsTopicARN !== undefined && input.SnsTopicARN !== null && { SnsTopicARN: input.SnsTopicARN }));
2224
2224
  };
2225
2225
  var serializeAws_json1_1OnDeviceServiceConfiguration = function (input, context) {
2226
- return __assign({}, (input.NFSOnDeviceService !== undefined &&
2226
+ return __assign(__assign({}, (input.NFSOnDeviceService !== undefined &&
2227
2227
  input.NFSOnDeviceService !== null && {
2228
2228
  NFSOnDeviceService: serializeAws_json1_1NFSOnDeviceServiceConfiguration(input.NFSOnDeviceService, context),
2229
+ })), (input.TGWOnDeviceService !== undefined &&
2230
+ input.TGWOnDeviceService !== null && {
2231
+ TGWOnDeviceService: serializeAws_json1_1TGWOnDeviceServiceConfiguration(input.TGWOnDeviceService, context),
2229
2232
  }));
2230
2233
  };
2231
2234
  var serializeAws_json1_1S3Resource = function (input, context) {
@@ -2269,6 +2272,9 @@ var serializeAws_json1_1TaxDocuments = function (input, context) {
2269
2272
  return __assign({}, (input.IND !== undefined &&
2270
2273
  input.IND !== null && { IND: serializeAws_json1_1INDTaxDocuments(input.IND, context) }));
2271
2274
  };
2275
+ var serializeAws_json1_1TGWOnDeviceServiceConfiguration = function (input, context) {
2276
+ return __assign(__assign({}, (input.StorageLimit !== undefined && input.StorageLimit !== null && { StorageLimit: input.StorageLimit })), (input.StorageUnit !== undefined && input.StorageUnit !== null && { StorageUnit: input.StorageUnit }));
2277
+ };
2272
2278
  var serializeAws_json1_1UpdateClusterRequest = function (input, context) {
2273
2279
  return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AddressId !== undefined && input.AddressId !== null && { AddressId: input.AddressId })), (input.ClusterId !== undefined && input.ClusterId !== null && { ClusterId: input.ClusterId })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.ForwardingAddressId !== undefined &&
2274
2280
  input.ForwardingAddressId !== null && { ForwardingAddressId: input.ForwardingAddressId })), (input.Notification !== undefined &&
@@ -2482,6 +2488,7 @@ var deserializeAws_json1_1DescribeReturnShippingLabelResult = function (output,
2482
2488
  ExpirationDate: output.ExpirationDate !== undefined && output.ExpirationDate !== null
2483
2489
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpirationDate)))
2484
2490
  : undefined,
2491
+ ReturnShippingLabelURI: __expectString(output.ReturnShippingLabelURI),
2485
2492
  Status: __expectString(output.Status),
2486
2493
  };
2487
2494
  };
@@ -2816,6 +2823,9 @@ var deserializeAws_json1_1OnDeviceServiceConfiguration = function (output, conte
2816
2823
  NFSOnDeviceService: output.NFSOnDeviceService !== undefined && output.NFSOnDeviceService !== null
2817
2824
  ? deserializeAws_json1_1NFSOnDeviceServiceConfiguration(output.NFSOnDeviceService, context)
2818
2825
  : undefined,
2826
+ TGWOnDeviceService: output.TGWOnDeviceService !== undefined && output.TGWOnDeviceService !== null
2827
+ ? deserializeAws_json1_1TGWOnDeviceServiceConfiguration(output.TGWOnDeviceService, context)
2828
+ : undefined,
2819
2829
  };
2820
2830
  };
2821
2831
  var deserializeAws_json1_1ReturnShippingLabelAlreadyExistsException = function (output, context) {
@@ -2891,6 +2901,12 @@ var deserializeAws_json1_1TaxDocuments = function (output, context) {
2891
2901
  : undefined,
2892
2902
  };
2893
2903
  };
2904
+ var deserializeAws_json1_1TGWOnDeviceServiceConfiguration = function (output, context) {
2905
+ return {
2906
+ StorageLimit: __expectInt32(output.StorageLimit),
2907
+ StorageUnit: __expectString(output.StorageUnit),
2908
+ };
2909
+ };
2894
2910
  var deserializeAws_json1_1UnsupportedAddressException = function (output, context) {
2895
2911
  return {
2896
2912
  Message: __expectString(output.Message),
@@ -1,8 +1,8 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
8
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
15
  export var getRuntimeConfig = function (config) {
14
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
15
19
  var clientSharedValues = getSharedRuntimeConfig(config);
16
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
17
26
  };
@@ -1,21 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
16
17
  export var getRuntimeConfig = function (config) {
17
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
21
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
28
  };
@@ -26,13 +26,12 @@ import { UpdateJobShipmentStateCommandInput, UpdateJobShipmentStateCommandOutput
26
26
  import { UpdateLongTermPricingCommandInput, UpdateLongTermPricingCommandOutput } from "./commands/UpdateLongTermPricingCommand";
27
27
  import { SnowballClient } from "./SnowballClient";
28
28
  /**
29
- * <p>AWS Snow Family is a petabyte-scale data transport solution that uses secure devices to
30
- * transfer large amounts of data between your on-premises data centers and Amazon Simple Storage
31
- * Service (Amazon S3). The Snow commands described here provide access to the same
32
- * functionality that is available in the AWS Snow Family Management Console, which enables you to
33
- * create and manage jobs for a Snow device. To transfer data locally with a Snow device, you'll
34
- * need to use the Snowball Edge client or the Amazon S3 API Interface for Snowball or AWS OpsHub for Snow Family. For more
35
- * information, see the <a href="https://docs.aws.amazon.com/AWSImportExport/latest/ug/api-reference.html">User Guide</a>.</p>
29
+ * <p>The Amazon Web Services Snow Family provides a petabyte-scale data transport solution that uses
30
+ * secure devices to transfer large amounts of data between your on-premises data centers and
31
+ * Amazon Simple Storage Service (Amazon S3). The Snow Family commands described here provide access to the same
32
+ * functionality that is available in the Amazon Web Services Snow Family Management Console, which enables you to create
33
+ * and manage jobs for a Snow Family device. To transfer data locally with a Snow Family device,
34
+ * you'll need to use the Snowball Edge client or the Amazon S3 API Interface for Snowball or OpsHub for Snow Family. For more information, see the <a href="https://docs.aws.amazon.com/AWSImportExport/latest/ug/api-reference.html">User Guide</a>.</p>
36
35
  */
37
36
  export declare class Snowball extends SnowballClient {
38
37
  /**
@@ -70,21 +69,21 @@ export declare class Snowball extends SnowballClient {
70
69
  createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
71
70
  /**
72
71
  * <p>Creates a job to import or export data between Amazon S3 and your on-premises data
73
- * center. Your AWS account must have the right trust policies and permissions in place to create
74
- * a job for a Snow device. If you're creating a job for a node in a cluster, you only need to provide
75
- * the <code>clusterId</code> value; the other job attributes are inherited from the cluster.
76
- * </p>
72
+ * center. Your Amazon Web Services account must have the right trust policies and permissions in
73
+ * place to create a job for a Snow device. If you're creating a job for a node in a cluster, you
74
+ * only need to provide the <code>clusterId</code> value; the other job attributes are inherited
75
+ * from the cluster. </p>
77
76
  * <note>
78
77
  * <p>Only the Snowball; Edge device type is supported when ordering clustered jobs.</p>
79
78
  * <p>The device capacity is optional.</p>
80
- * <p>Availability of device types differ by AWS Region. For more information about Region
81
- * availability, see <a href="https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/?p=ngi&loc=4">AWS Regional Services</a>.</p>
79
+ * <p>Availability of device types differ by Amazon Web Services Region. For more information
80
+ * about Region availability, see <a href="https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/?p=ngi&loc=4">Amazon Web Services Regional Services</a>.</p>
82
81
  * </note>
83
82
  *
84
83
  * <p></p>
85
84
  *
86
85
  * <p class="title">
87
- * <b>AWS Snow Family device types and their capacities.</b>
86
+ * <b>Snow Family Devices and their capacities.</b>
88
87
  * </p>
89
88
  * <ul>
90
89
  * <li>
@@ -178,7 +177,8 @@ export declare class Snowball extends SnowballClient {
178
177
  * <li>
179
178
  * <p>Description: Original Snowball device</p>
180
179
  * <note>
181
- * <p>This device is only available in the Ningxia, Beijing, and Singapore AWS Regions. </p>
180
+ * <p>This device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region
181
+ * </p>
182
182
  * </note>
183
183
  * </li>
184
184
  * </ul>
@@ -194,7 +194,7 @@ export declare class Snowball extends SnowballClient {
194
194
  * <li>
195
195
  * <p>Description: Original Snowball device</p>
196
196
  * <note>
197
- * <p>This device is only available in the Ningxia, Beijing, and Singapore AWS Regions. </p>
197
+ * <p>This device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services Region. </p>
198
198
  * </note>
199
199
  * </li>
200
200
  * </ul>
@@ -207,15 +207,14 @@ export declare class Snowball extends SnowballClient {
207
207
  createJob(args: CreateJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateJobCommandOutput) => void): void;
208
208
  /**
209
209
  * <p>Creates a job with the long-term usage option for a device. The long-term usage is a
210
- * 1-year or 3-year long-term pricing type for the device. You are billed upfront, and AWS
211
- * provides discounts for long-term pricing.
210
+ * 1-year or 3-year long-term pricing type for the device. You are billed upfront, and Amazon Web Services provides discounts for long-term pricing.
212
211
  * </p>
213
212
  */
214
213
  createLongTermPricing(args: CreateLongTermPricingCommandInput, options?: __HttpHandlerOptions): Promise<CreateLongTermPricingCommandOutput>;
215
214
  createLongTermPricing(args: CreateLongTermPricingCommandInput, cb: (err: any, data?: CreateLongTermPricingCommandOutput) => void): void;
216
215
  createLongTermPricing(args: CreateLongTermPricingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLongTermPricingCommandOutput) => void): void;
217
216
  /**
218
- * <p>Creates a shipping label that will be used to return the Snow device to AWS.</p>
217
+ * <p>Creates a shipping label that will be used to return the Snow device to Amazon Web Services.</p>
219
218
  */
220
219
  createReturnShippingLabel(args: CreateReturnShippingLabelCommandInput, options?: __HttpHandlerOptions): Promise<CreateReturnShippingLabelCommandOutput>;
221
220
  createReturnShippingLabel(args: CreateReturnShippingLabelCommandInput, cb: (err: any, data?: CreateReturnShippingLabelCommandOutput) => void): void;
@@ -250,7 +249,7 @@ export declare class Snowball extends SnowballClient {
250
249
  describeJob(args: DescribeJobCommandInput, cb: (err: any, data?: DescribeJobCommandOutput) => void): void;
251
250
  describeJob(args: DescribeJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobCommandOutput) => void): void;
252
251
  /**
253
- * <p>Information on the shipping label of a Snow device that is being returned to AWS.</p>
252
+ * <p>Information on the shipping label of a Snow device that is being returned to Amazon Web Services.</p>
254
253
  */
255
254
  describeReturnShippingLabel(args: DescribeReturnShippingLabelCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReturnShippingLabelCommandOutput>;
256
255
  describeReturnShippingLabel(args: DescribeReturnShippingLabelCommandInput, cb: (err: any, data?: DescribeReturnShippingLabelCommandOutput) => void): void;
@@ -263,7 +262,7 @@ export declare class Snowball extends SnowballClient {
263
262
  *
264
263
  * <p>The manifest is an encrypted file that you can download after your job enters the
265
264
  * <code>WithCustomer</code> status. The manifest is decrypted by using the
266
- * <code>UnlockCode</code> code value, when you pass both values to the Snow device through the
265
+ * <code>UnlockCode</code> code value, when you pass both values to the Snow device through the
267
266
  * Snowball client when the client is started for the first time.</p>
268
267
  *
269
268
  *
@@ -286,13 +285,13 @@ export declare class Snowball extends SnowballClient {
286
285
  *
287
286
  * <p>The <code>UnlockCode</code> value is a 29-character code with 25 alphanumeric
288
287
  * characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed
289
- * along with the manifest to the Snow device through the Snowball client when the client is started
290
- * for the first time.</p>
288
+ * along with the manifest to the Snow device through the Snowball client when the client is
289
+ * started for the first time.</p>
291
290
  *
292
291
  * <p>As a best practice, we recommend that you don't save a copy of the
293
292
  * <code>UnlockCode</code> in the same location as the manifest file for that job. Saving these
294
- * separately helps prevent unauthorized parties from gaining access to the Snow device associated
295
- * with that job.</p>
293
+ * separately helps prevent unauthorized parties from gaining access to the Snow device
294
+ * associated with that job.</p>
296
295
  */
297
296
  getJobUnlockCode(args: GetJobUnlockCodeCommandInput, options?: __HttpHandlerOptions): Promise<GetJobUnlockCodeCommandOutput>;
298
297
  getJobUnlockCode(args: GetJobUnlockCodeCommandInput, cb: (err: any, data?: GetJobUnlockCodeCommandOutput) => void): void;
@@ -301,15 +300,15 @@ export declare class Snowball extends SnowballClient {
301
300
  * <p>Returns information about the Snow Family service limit for your account, and also the
302
301
  * number of Snow devices your account has in use.</p>
303
302
  *
304
- * <p>The default service limit for the number of Snow devices that you can have at one time is
305
- * 1. If you want to increase your service limit, contact AWS Support.</p>
303
+ * <p>The default service limit for the number of Snow devices that you can have at one time
304
+ * is 1. If you want to increase your service limit, contact Amazon Web Services Support.</p>
306
305
  */
307
306
  getSnowballUsage(args: GetSnowballUsageCommandInput, options?: __HttpHandlerOptions): Promise<GetSnowballUsageCommandOutput>;
308
307
  getSnowballUsage(args: GetSnowballUsageCommandInput, cb: (err: any, data?: GetSnowballUsageCommandOutput) => void): void;
309
308
  getSnowballUsage(args: GetSnowballUsageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSnowballUsageCommandOutput) => void): void;
310
309
  /**
311
310
  * <p>Returns an Amazon S3 presigned URL for an update file associated with a specified
312
- * <code>JobId</code>.</p>
311
+ * <code>JobId</code>.</p>
313
312
  */
314
313
  getSoftwareUpdates(args: GetSoftwareUpdatesCommandInput, options?: __HttpHandlerOptions): Promise<GetSoftwareUpdatesCommandOutput>;
315
314
  getSoftwareUpdates(args: GetSoftwareUpdatesCommandInput, cb: (err: any, data?: GetSoftwareUpdatesCommandOutput) => void): void;
@@ -332,10 +331,10 @@ export declare class Snowball extends SnowballClient {
332
331
  listClusters(args: ListClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
333
332
  /**
334
333
  * <p>This action returns a list of the different Amazon EC2 Amazon Machine Images (AMIs)
335
- * that are owned by your AWS account that would be supported for use on a Snow device.
336
- * Currently, supported AMIs are based on the CentOS 7 (x86_64) - with Updates HVM, Ubuntu Server
337
- * 14.04 LTS (HVM), and Ubuntu 16.04 LTS - Xenial (HVM) images, available on the AWS
338
- * Marketplace.</p>
334
+ * that are owned by your Amazon Web Services accountthat would be supported for use on a Snow
335
+ * device. Currently, supported AMIs are based on the CentOS 7 (x86_64) - with Updates HVM,
336
+ * Ubuntu Server 14.04 LTS (HVM), and Ubuntu 16.04 LTS - Xenial (HVM) images, available on the
337
+ * Amazon Web Services Marketplace.</p>
339
338
  */
340
339
  listCompatibleImages(args: ListCompatibleImagesCommandInput, options?: __HttpHandlerOptions): Promise<ListCompatibleImagesCommandOutput>;
341
340
  listCompatibleImages(args: ListCompatibleImagesCommandInput, cb: (err: any, data?: ListCompatibleImagesCommandOutput) => void): void;