@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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,57 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
28
+ * **clients:** update clients as of 2021/01/07 ([#3163](https://github.com/aws/aws-sdk-js-v3/issues/3163)) ([6648b07](https://github.com/aws/aws-sdk-js-v3/commit/6648b07ea97691d2fed55eab49831646543b648b))
29
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
30
+
31
+
32
+
33
+
34
+
35
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
36
+
37
+
38
+ ### Features
39
+
40
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
41
+
42
+
43
+
44
+
45
+
46
+ # [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
47
+
48
+
49
+ ### Features
50
+
51
+ * **clients:** update clients as of 2021/11/30 ([#3077](https://github.com/aws/aws-sdk-js-v3/issues/3077)) ([2bdba30](https://github.com/aws/aws-sdk-js-v3/commit/2bdba30963e550728ba2903d57daa1e666a29d71))
52
+
53
+
54
+
55
+
56
+
6
57
  # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
58
 
8
59
  **Note:** Version bump only for package @aws-sdk/client-snowball
package/README.md CHANGED
@@ -7,13 +7,12 @@
7
7
 
8
8
  AWS SDK for JavaScript Snowball Client for Node.js, Browser and React Native.
9
9
 
10
- <p>AWS Snow Family is a petabyte-scale data transport solution that uses secure devices to
11
- transfer large amounts of data between your on-premises data centers and Amazon Simple Storage
12
- Service (Amazon S3). The Snow commands described here provide access to the same
13
- functionality that is available in the AWS Snow Family Management Console, which enables you to
14
- create and manage jobs for a Snow device. To transfer data locally with a Snow device, you'll
15
- need to use the Snowball Edge client or the Amazon S3 API Interface for Snowball or AWS OpsHub for Snow Family. For more
16
- information, see the <a href="https://docs.aws.amazon.com/AWSImportExport/latest/ug/api-reference.html">User Guide</a>.</p>
10
+ <p>The Amazon Web Services Snow Family provides a petabyte-scale data transport solution that uses
11
+ secure devices to transfer large amounts of data between your on-premises data centers and
12
+ Amazon Simple Storage Service (Amazon S3). The Snow Family commands described here provide access to the same
13
+ functionality that is available in the Amazon Web Services Snow Family Management Console, which enables you to create
14
+ and manage jobs for a Snow Family device. To transfer data locally with a Snow Family device,
15
+ 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>
17
16
 
18
17
  ## Installing
19
18
 
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
6
  "ap-northeast-1": {
7
7
  variants: [
8
- {
9
- hostname: "snowball.ap-northeast-1.amazonaws.com",
10
- tags: [],
11
- },
12
8
  {
13
9
  hostname: "snowball-fips.ap-northeast-1.amazonaws.com",
14
10
  tags: ["fips"],
@@ -17,10 +13,6 @@ const regionHash = {
17
13
  },
18
14
  "ap-northeast-2": {
19
15
  variants: [
20
- {
21
- hostname: "snowball.ap-northeast-2.amazonaws.com",
22
- tags: [],
23
- },
24
16
  {
25
17
  hostname: "snowball-fips.ap-northeast-2.amazonaws.com",
26
18
  tags: ["fips"],
@@ -29,10 +21,6 @@ const regionHash = {
29
21
  },
30
22
  "ap-northeast-3": {
31
23
  variants: [
32
- {
33
- hostname: "snowball.ap-northeast-3.amazonaws.com",
34
- tags: [],
35
- },
36
24
  {
37
25
  hostname: "snowball-fips.ap-northeast-3.amazonaws.com",
38
26
  tags: ["fips"],
@@ -41,10 +29,6 @@ const regionHash = {
41
29
  },
42
30
  "ap-south-1": {
43
31
  variants: [
44
- {
45
- hostname: "snowball.ap-south-1.amazonaws.com",
46
- tags: [],
47
- },
48
32
  {
49
33
  hostname: "snowball-fips.ap-south-1.amazonaws.com",
50
34
  tags: ["fips"],
@@ -53,10 +37,6 @@ const regionHash = {
53
37
  },
54
38
  "ap-southeast-1": {
55
39
  variants: [
56
- {
57
- hostname: "snowball.ap-southeast-1.amazonaws.com",
58
- tags: [],
59
- },
60
40
  {
61
41
  hostname: "snowball-fips.ap-southeast-1.amazonaws.com",
62
42
  tags: ["fips"],
@@ -65,10 +45,6 @@ const regionHash = {
65
45
  },
66
46
  "ap-southeast-2": {
67
47
  variants: [
68
- {
69
- hostname: "snowball.ap-southeast-2.amazonaws.com",
70
- tags: [],
71
- },
72
48
  {
73
49
  hostname: "snowball-fips.ap-southeast-2.amazonaws.com",
74
50
  tags: ["fips"],
@@ -77,10 +53,6 @@ const regionHash = {
77
53
  },
78
54
  "ca-central-1": {
79
55
  variants: [
80
- {
81
- hostname: "snowball.ca-central-1.amazonaws.com",
82
- tags: [],
83
- },
84
56
  {
85
57
  hostname: "snowball-fips.ca-central-1.amazonaws.com",
86
58
  tags: ["fips"],
@@ -89,10 +61,6 @@ const regionHash = {
89
61
  },
90
62
  "cn-north-1": {
91
63
  variants: [
92
- {
93
- hostname: "snowball.cn-north-1.amazonaws.com.cn",
94
- tags: [],
95
- },
96
64
  {
97
65
  hostname: "snowball-fips.cn-north-1.amazonaws.com.cn",
98
66
  tags: ["fips"],
@@ -101,10 +69,6 @@ const regionHash = {
101
69
  },
102
70
  "cn-northwest-1": {
103
71
  variants: [
104
- {
105
- hostname: "snowball.cn-northwest-1.amazonaws.com.cn",
106
- tags: [],
107
- },
108
72
  {
109
73
  hostname: "snowball-fips.cn-northwest-1.amazonaws.com.cn",
110
74
  tags: ["fips"],
@@ -113,10 +77,6 @@ const regionHash = {
113
77
  },
114
78
  "eu-central-1": {
115
79
  variants: [
116
- {
117
- hostname: "snowball.eu-central-1.amazonaws.com",
118
- tags: [],
119
- },
120
80
  {
121
81
  hostname: "snowball-fips.eu-central-1.amazonaws.com",
122
82
  tags: ["fips"],
@@ -125,10 +85,6 @@ const regionHash = {
125
85
  },
126
86
  "eu-west-1": {
127
87
  variants: [
128
- {
129
- hostname: "snowball.eu-west-1.amazonaws.com",
130
- tags: [],
131
- },
132
88
  {
133
89
  hostname: "snowball-fips.eu-west-1.amazonaws.com",
134
90
  tags: ["fips"],
@@ -137,10 +93,6 @@ const regionHash = {
137
93
  },
138
94
  "eu-west-2": {
139
95
  variants: [
140
- {
141
- hostname: "snowball.eu-west-2.amazonaws.com",
142
- tags: [],
143
- },
144
96
  {
145
97
  hostname: "snowball-fips.eu-west-2.amazonaws.com",
146
98
  tags: ["fips"],
@@ -149,10 +101,6 @@ const regionHash = {
149
101
  },
150
102
  "eu-west-3": {
151
103
  variants: [
152
- {
153
- hostname: "snowball.eu-west-3.amazonaws.com",
154
- tags: [],
155
- },
156
104
  {
157
105
  hostname: "snowball-fips.eu-west-3.amazonaws.com",
158
106
  tags: ["fips"],
@@ -161,10 +109,6 @@ const regionHash = {
161
109
  },
162
110
  "sa-east-1": {
163
111
  variants: [
164
- {
165
- hostname: "snowball.sa-east-1.amazonaws.com",
166
- tags: [],
167
- },
168
112
  {
169
113
  hostname: "snowball-fips.sa-east-1.amazonaws.com",
170
114
  tags: ["fips"],
@@ -173,10 +117,6 @@ const regionHash = {
173
117
  },
174
118
  "us-east-1": {
175
119
  variants: [
176
- {
177
- hostname: "snowball.us-east-1.amazonaws.com",
178
- tags: [],
179
- },
180
120
  {
181
121
  hostname: "snowball-fips.us-east-1.amazonaws.com",
182
122
  tags: ["fips"],
@@ -185,10 +125,6 @@ const regionHash = {
185
125
  },
186
126
  "us-east-2": {
187
127
  variants: [
188
- {
189
- hostname: "snowball.us-east-2.amazonaws.com",
190
- tags: [],
191
- },
192
128
  {
193
129
  hostname: "snowball-fips.us-east-2.amazonaws.com",
194
130
  tags: ["fips"],
@@ -197,10 +133,6 @@ const regionHash = {
197
133
  },
198
134
  "us-gov-east-1": {
199
135
  variants: [
200
- {
201
- hostname: "snowball.us-gov-east-1.amazonaws.com",
202
- tags: [],
203
- },
204
136
  {
205
137
  hostname: "snowball-fips.us-gov-east-1.amazonaws.com",
206
138
  tags: ["fips"],
@@ -209,10 +141,6 @@ const regionHash = {
209
141
  },
210
142
  "us-gov-west-1": {
211
143
  variants: [
212
- {
213
- hostname: "snowball.us-gov-west-1.amazonaws.com",
214
- tags: [],
215
- },
216
144
  {
217
145
  hostname: "snowball-fips.us-gov-west-1.amazonaws.com",
218
146
  tags: ["fips"],
@@ -221,10 +149,6 @@ const regionHash = {
221
149
  },
222
150
  "us-west-1": {
223
151
  variants: [
224
- {
225
- hostname: "snowball.us-west-1.amazonaws.com",
226
- tags: [],
227
- },
228
152
  {
229
153
  hostname: "snowball-fips.us-west-1.amazonaws.com",
230
154
  tags: ["fips"],
@@ -233,10 +157,6 @@ const regionHash = {
233
157
  },
234
158
  "us-west-2": {
235
159
  variants: [
236
- {
237
- hostname: "snowball.us-west-2.amazonaws.com",
238
- tags: [],
239
- },
240
160
  {
241
161
  hostname: "snowball-fips.us-west-2.amazonaws.com",
242
162
  tags: ["fips"],
@@ -255,6 +175,7 @@ const partitionHash = {
255
175
  "ap-south-1",
256
176
  "ap-southeast-1",
257
177
  "ap-southeast-2",
178
+ "ap-southeast-3",
258
179
  "ca-central-1",
259
180
  "eu-central-1",
260
181
  "eu-north-1",
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateReturnShippingLabelResult = exports.ShippingLabelStatus = exports.CreateReturnShippingLabelRequest = exports.ConflictException = exports.CreateLongTermPricingResult = exports.CreateLongTermPricingRequest = exports.LongTermPricingType = exports.CreateJobResult = exports.CreateJobRequest = exports.SnowballCapacity = exports.DeviceConfiguration = exports.SnowconeDeviceConfiguration = exports.WirelessConnection = exports.ClusterLimitExceededException = exports.InvalidInputCombinationException = exports.Ec2RequestFailedException = exports.CreateClusterResult = exports.CreateClusterRequest = exports.TaxDocuments = exports.INDTaxDocuments = exports.SnowballType = exports.ShippingOption = exports.JobResource = exports.S3Resource = exports.TargetOnDeviceService = exports.TransferOption = exports.DeviceServiceName = exports.KeyRange = exports.LambdaResource = exports.EventTriggerDefinition = exports.Ec2AmiResource = exports.RemoteManagement = exports.OnDeviceServiceConfiguration = exports.NFSOnDeviceServiceConfiguration = exports.StorageUnit = exports.Notification = exports.JobState = exports.JobType = exports.UnsupportedAddressException = exports.InvalidAddressException = exports.CreateAddressResult = exports.CreateAddressRequest = exports.CancelJobResult = exports.CancelJobRequest = exports.KMSRequestFailedException = exports.InvalidResourceException = exports.InvalidJobStateException = exports.CancelClusterResult = exports.CancelClusterRequest = exports.Address = void 0;
4
- exports.UpdateLongTermPricingResult = exports.UpdateLongTermPricingRequest = exports.UpdateJobShipmentStateResult = exports.UpdateJobShipmentStateRequest = exports.ShipmentState = exports.UpdateJobResult = exports.UpdateJobRequest = exports.UpdateClusterResult = exports.UpdateClusterRequest = exports.ListLongTermPricingResult = exports.LongTermPricingListEntry = exports.ListLongTermPricingRequest = exports.ListJobsResult = exports.ListJobsRequest = exports.ListCompatibleImagesResult = exports.CompatibleImage = exports.ListCompatibleImagesRequest = exports.ListClustersResult = exports.ClusterListEntry = exports.ListClustersRequest = exports.ListClusterJobsResult = exports.JobListEntry = exports.ListClusterJobsRequest = exports.GetSoftwareUpdatesResult = exports.GetSoftwareUpdatesRequest = exports.GetSnowballUsageResult = exports.GetSnowballUsageRequest = exports.GetJobUnlockCodeResult = exports.GetJobUnlockCodeRequest = exports.GetJobManifestResult = exports.GetJobManifestRequest = exports.DescribeReturnShippingLabelResult = exports.DescribeReturnShippingLabelRequest = exports.DescribeJobResult = exports.JobMetadata = exports.ShippingDetails = exports.Shipment = exports.JobLogs = exports.DataTransfer = exports.DescribeJobRequest = exports.DescribeClusterResult = exports.ClusterMetadata = exports.ClusterState = exports.DescribeClusterRequest = exports.InvalidNextTokenException = exports.DescribeAddressesResult = exports.DescribeAddressesRequest = exports.DescribeAddressResult = exports.DescribeAddressRequest = exports.ReturnShippingLabelAlreadyExistsException = void 0;
3
+ exports.DescribeClusterResult = exports.ClusterMetadata = exports.ClusterState = exports.DescribeClusterRequest = exports.DescribeAddressesResult = exports.DescribeAddressesRequest = exports.DescribeAddressResult = exports.DescribeAddressRequest = exports.CreateReturnShippingLabelResult = exports.ShippingLabelStatus = exports.CreateReturnShippingLabelRequest = exports.CreateLongTermPricingResult = exports.CreateLongTermPricingRequest = exports.LongTermPricingType = exports.CreateJobResult = exports.CreateJobRequest = exports.SnowballCapacity = exports.DeviceConfiguration = exports.SnowconeDeviceConfiguration = exports.WirelessConnection = exports.CreateClusterResult = exports.CreateClusterRequest = exports.TaxDocuments = exports.INDTaxDocuments = exports.SnowballType = exports.ShippingOption = exports.JobResource = exports.S3Resource = exports.TargetOnDeviceService = exports.TransferOption = exports.DeviceServiceName = exports.KeyRange = exports.LambdaResource = exports.EventTriggerDefinition = exports.Ec2AmiResource = exports.RemoteManagement = exports.OnDeviceServiceConfiguration = exports.TGWOnDeviceServiceConfiguration = exports.NFSOnDeviceServiceConfiguration = exports.StorageUnit = exports.Notification = exports.JobState = exports.JobType = exports.CreateAddressResult = exports.CreateAddressRequest = exports.CancelJobResult = exports.CancelJobRequest = exports.CancelClusterResult = exports.CancelClusterRequest = exports.Address = void 0;
4
+ exports.UpdateLongTermPricingResult = exports.UpdateLongTermPricingRequest = exports.UpdateJobShipmentStateResult = exports.UpdateJobShipmentStateRequest = exports.ShipmentState = exports.UpdateJobResult = exports.UpdateJobRequest = exports.UpdateClusterResult = exports.UpdateClusterRequest = exports.ListLongTermPricingResult = exports.LongTermPricingListEntry = exports.ListLongTermPricingRequest = exports.ListJobsResult = exports.ListJobsRequest = exports.ListCompatibleImagesResult = exports.CompatibleImage = exports.ListCompatibleImagesRequest = exports.ListClustersResult = exports.ClusterListEntry = exports.ListClustersRequest = exports.ListClusterJobsResult = exports.JobListEntry = exports.ListClusterJobsRequest = exports.GetSoftwareUpdatesResult = exports.GetSoftwareUpdatesRequest = exports.GetSnowballUsageResult = exports.GetSnowballUsageRequest = exports.GetJobUnlockCodeResult = exports.GetJobUnlockCodeRequest = exports.GetJobManifestResult = exports.GetJobManifestRequest = exports.DescribeReturnShippingLabelResult = exports.DescribeReturnShippingLabelRequest = exports.DescribeJobResult = exports.JobMetadata = exports.ShippingDetails = exports.Shipment = exports.JobLogs = exports.DataTransfer = exports.DescribeJobRequest = void 0;
5
5
  var Address;
6
6
  (function (Address) {
7
7
  Address.filterSensitiveLog = (obj) => ({
@@ -20,24 +20,6 @@ var CancelClusterResult;
20
20
  ...obj,
21
21
  });
22
22
  })(CancelClusterResult = exports.CancelClusterResult || (exports.CancelClusterResult = {}));
23
- var InvalidJobStateException;
24
- (function (InvalidJobStateException) {
25
- InvalidJobStateException.filterSensitiveLog = (obj) => ({
26
- ...obj,
27
- });
28
- })(InvalidJobStateException = exports.InvalidJobStateException || (exports.InvalidJobStateException = {}));
29
- var InvalidResourceException;
30
- (function (InvalidResourceException) {
31
- InvalidResourceException.filterSensitiveLog = (obj) => ({
32
- ...obj,
33
- });
34
- })(InvalidResourceException = exports.InvalidResourceException || (exports.InvalidResourceException = {}));
35
- var KMSRequestFailedException;
36
- (function (KMSRequestFailedException) {
37
- KMSRequestFailedException.filterSensitiveLog = (obj) => ({
38
- ...obj,
39
- });
40
- })(KMSRequestFailedException = exports.KMSRequestFailedException || (exports.KMSRequestFailedException = {}));
41
23
  var CancelJobRequest;
42
24
  (function (CancelJobRequest) {
43
25
  CancelJobRequest.filterSensitiveLog = (obj) => ({
@@ -62,18 +44,6 @@ var CreateAddressResult;
62
44
  ...obj,
63
45
  });
64
46
  })(CreateAddressResult = exports.CreateAddressResult || (exports.CreateAddressResult = {}));
65
- var InvalidAddressException;
66
- (function (InvalidAddressException) {
67
- InvalidAddressException.filterSensitiveLog = (obj) => ({
68
- ...obj,
69
- });
70
- })(InvalidAddressException = exports.InvalidAddressException || (exports.InvalidAddressException = {}));
71
- var UnsupportedAddressException;
72
- (function (UnsupportedAddressException) {
73
- UnsupportedAddressException.filterSensitiveLog = (obj) => ({
74
- ...obj,
75
- });
76
- })(UnsupportedAddressException = exports.UnsupportedAddressException || (exports.UnsupportedAddressException = {}));
77
47
  var JobType;
78
48
  (function (JobType) {
79
49
  JobType["EXPORT"] = "EXPORT";
@@ -112,6 +82,12 @@ var NFSOnDeviceServiceConfiguration;
112
82
  ...obj,
113
83
  });
114
84
  })(NFSOnDeviceServiceConfiguration = exports.NFSOnDeviceServiceConfiguration || (exports.NFSOnDeviceServiceConfiguration = {}));
85
+ var TGWOnDeviceServiceConfiguration;
86
+ (function (TGWOnDeviceServiceConfiguration) {
87
+ TGWOnDeviceServiceConfiguration.filterSensitiveLog = (obj) => ({
88
+ ...obj,
89
+ });
90
+ })(TGWOnDeviceServiceConfiguration = exports.TGWOnDeviceServiceConfiguration || (exports.TGWOnDeviceServiceConfiguration = {}));
115
91
  var OnDeviceServiceConfiguration;
116
92
  (function (OnDeviceServiceConfiguration) {
117
93
  OnDeviceServiceConfiguration.filterSensitiveLog = (obj) => ({
@@ -217,24 +193,6 @@ var CreateClusterResult;
217
193
  ...obj,
218
194
  });
219
195
  })(CreateClusterResult = exports.CreateClusterResult || (exports.CreateClusterResult = {}));
220
- var Ec2RequestFailedException;
221
- (function (Ec2RequestFailedException) {
222
- Ec2RequestFailedException.filterSensitiveLog = (obj) => ({
223
- ...obj,
224
- });
225
- })(Ec2RequestFailedException = exports.Ec2RequestFailedException || (exports.Ec2RequestFailedException = {}));
226
- var InvalidInputCombinationException;
227
- (function (InvalidInputCombinationException) {
228
- InvalidInputCombinationException.filterSensitiveLog = (obj) => ({
229
- ...obj,
230
- });
231
- })(InvalidInputCombinationException = exports.InvalidInputCombinationException || (exports.InvalidInputCombinationException = {}));
232
- var ClusterLimitExceededException;
233
- (function (ClusterLimitExceededException) {
234
- ClusterLimitExceededException.filterSensitiveLog = (obj) => ({
235
- ...obj,
236
- });
237
- })(ClusterLimitExceededException = exports.ClusterLimitExceededException || (exports.ClusterLimitExceededException = {}));
238
196
  var WirelessConnection;
239
197
  (function (WirelessConnection) {
240
198
  WirelessConnection.filterSensitiveLog = (obj) => ({
@@ -293,12 +251,6 @@ var CreateLongTermPricingResult;
293
251
  ...obj,
294
252
  });
295
253
  })(CreateLongTermPricingResult = exports.CreateLongTermPricingResult || (exports.CreateLongTermPricingResult = {}));
296
- var ConflictException;
297
- (function (ConflictException) {
298
- ConflictException.filterSensitiveLog = (obj) => ({
299
- ...obj,
300
- });
301
- })(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
302
254
  var CreateReturnShippingLabelRequest;
303
255
  (function (CreateReturnShippingLabelRequest) {
304
256
  CreateReturnShippingLabelRequest.filterSensitiveLog = (obj) => ({
@@ -318,12 +270,6 @@ var CreateReturnShippingLabelResult;
318
270
  ...obj,
319
271
  });
320
272
  })(CreateReturnShippingLabelResult = exports.CreateReturnShippingLabelResult || (exports.CreateReturnShippingLabelResult = {}));
321
- var ReturnShippingLabelAlreadyExistsException;
322
- (function (ReturnShippingLabelAlreadyExistsException) {
323
- ReturnShippingLabelAlreadyExistsException.filterSensitiveLog = (obj) => ({
324
- ...obj,
325
- });
326
- })(ReturnShippingLabelAlreadyExistsException = exports.ReturnShippingLabelAlreadyExistsException || (exports.ReturnShippingLabelAlreadyExistsException = {}));
327
273
  var DescribeAddressRequest;
328
274
  (function (DescribeAddressRequest) {
329
275
  DescribeAddressRequest.filterSensitiveLog = (obj) => ({
@@ -348,12 +294,6 @@ var DescribeAddressesResult;
348
294
  ...obj,
349
295
  });
350
296
  })(DescribeAddressesResult = exports.DescribeAddressesResult || (exports.DescribeAddressesResult = {}));
351
- var InvalidNextTokenException;
352
- (function (InvalidNextTokenException) {
353
- InvalidNextTokenException.filterSensitiveLog = (obj) => ({
354
- ...obj,
355
- });
356
- })(InvalidNextTokenException = exports.InvalidNextTokenException || (exports.InvalidNextTokenException = {}));
357
297
  var DescribeClusterRequest;
358
298
  (function (DescribeClusterRequest) {
359
299
  DescribeClusterRequest.filterSensitiveLog = (obj) => ({
@@ -2125,6 +2125,10 @@ const serializeAws_json1_1OnDeviceServiceConfiguration = (input, context) => {
2125
2125
  input.NFSOnDeviceService !== null && {
2126
2126
  NFSOnDeviceService: serializeAws_json1_1NFSOnDeviceServiceConfiguration(input.NFSOnDeviceService, context),
2127
2127
  }),
2128
+ ...(input.TGWOnDeviceService !== undefined &&
2129
+ input.TGWOnDeviceService !== null && {
2130
+ TGWOnDeviceService: serializeAws_json1_1TGWOnDeviceServiceConfiguration(input.TGWOnDeviceService, context),
2131
+ }),
2128
2132
  };
2129
2133
  };
2130
2134
  const serializeAws_json1_1S3Resource = (input, context) => {
@@ -2179,6 +2183,12 @@ const serializeAws_json1_1TaxDocuments = (input, context) => {
2179
2183
  input.IND !== null && { IND: serializeAws_json1_1INDTaxDocuments(input.IND, context) }),
2180
2184
  };
2181
2185
  };
2186
+ const serializeAws_json1_1TGWOnDeviceServiceConfiguration = (input, context) => {
2187
+ return {
2188
+ ...(input.StorageLimit !== undefined && input.StorageLimit !== null && { StorageLimit: input.StorageLimit }),
2189
+ ...(input.StorageUnit !== undefined && input.StorageUnit !== null && { StorageUnit: input.StorageUnit }),
2190
+ };
2191
+ };
2182
2192
  const serializeAws_json1_1UpdateClusterRequest = (input, context) => {
2183
2193
  return {
2184
2194
  ...(input.AddressId !== undefined && input.AddressId !== null && { AddressId: input.AddressId }),
@@ -2422,6 +2432,7 @@ const deserializeAws_json1_1DescribeReturnShippingLabelResult = (output, context
2422
2432
  ExpirationDate: output.ExpirationDate !== undefined && output.ExpirationDate !== null
2423
2433
  ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpirationDate)))
2424
2434
  : undefined,
2435
+ ReturnShippingLabelURI: smithy_client_1.expectString(output.ReturnShippingLabelURI),
2425
2436
  Status: smithy_client_1.expectString(output.Status),
2426
2437
  };
2427
2438
  };
@@ -2756,6 +2767,9 @@ const deserializeAws_json1_1OnDeviceServiceConfiguration = (output, context) =>
2756
2767
  NFSOnDeviceService: output.NFSOnDeviceService !== undefined && output.NFSOnDeviceService !== null
2757
2768
  ? deserializeAws_json1_1NFSOnDeviceServiceConfiguration(output.NFSOnDeviceService, context)
2758
2769
  : undefined,
2770
+ TGWOnDeviceService: output.TGWOnDeviceService !== undefined && output.TGWOnDeviceService !== null
2771
+ ? deserializeAws_json1_1TGWOnDeviceServiceConfiguration(output.TGWOnDeviceService, context)
2772
+ : undefined,
2759
2773
  };
2760
2774
  };
2761
2775
  const deserializeAws_json1_1ReturnShippingLabelAlreadyExistsException = (output, context) => {
@@ -2831,6 +2845,12 @@ const deserializeAws_json1_1TaxDocuments = (output, context) => {
2831
2845
  : undefined,
2832
2846
  };
2833
2847
  };
2848
+ const deserializeAws_json1_1TGWOnDeviceServiceConfiguration = (output, context) => {
2849
+ return {
2850
+ StorageLimit: smithy_client_1.expectInt32(output.StorageLimit),
2851
+ StorageUnit: smithy_client_1.expectString(output.StorageUnit),
2852
+ };
2853
+ };
2834
2854
  const deserializeAws_json1_1UnsupportedAddressException = (output, context) => {
2835
2855
  return {
2836
2856
  Message: smithy_client_1.expectString(output.Message),
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
20
  const getRuntimeConfig = (config) => {
20
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
25
  return {
24
26
  ...clientSharedValues,
25
27
  ...config,
26
28
  runtime: "node",
29
+ defaultsMode,
27
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
28
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
29
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
31
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
33
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
34
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
35
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
36
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),