@aws-sdk/client-resource-groups 3.121.0 → 3.130.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
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.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-resource-groups
20
+
21
+
22
+
23
+
24
+
25
+ # [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-resource-groups
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
7
34
 
8
35
 
@@ -13,17 +13,15 @@ const serializeAws_restJson1CreateGroupCommand = async (input, context) => {
13
13
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/groups";
14
14
  let body;
15
15
  body = JSON.stringify({
16
- ...(input.Configuration !== undefined &&
17
- input.Configuration !== null && {
16
+ ...(input.Configuration != null && {
18
17
  Configuration: serializeAws_restJson1GroupConfigurationList(input.Configuration, context),
19
18
  }),
20
- ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
21
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
22
- ...(input.ResourceQuery !== undefined &&
23
- input.ResourceQuery !== null && {
19
+ ...(input.Description != null && { Description: input.Description }),
20
+ ...(input.Name != null && { Name: input.Name }),
21
+ ...(input.ResourceQuery != null && {
24
22
  ResourceQuery: serializeAws_restJson1ResourceQuery(input.ResourceQuery, context),
25
23
  }),
26
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1Tags(input.Tags, context) }),
24
+ ...(input.Tags != null && { Tags: serializeAws_restJson1Tags(input.Tags, context) }),
27
25
  });
28
26
  return new protocol_http_1.HttpRequest({
29
27
  protocol,
@@ -44,8 +42,8 @@ const serializeAws_restJson1DeleteGroupCommand = async (input, context) => {
44
42
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/delete-group";
45
43
  let body;
46
44
  body = JSON.stringify({
47
- ...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
48
- ...(input.GroupName !== undefined && input.GroupName !== null && { GroupName: input.GroupName }),
45
+ ...(input.Group != null && { Group: input.Group }),
46
+ ...(input.GroupName != null && { GroupName: input.GroupName }),
49
47
  });
50
48
  return new protocol_http_1.HttpRequest({
51
49
  protocol,
@@ -66,8 +64,8 @@ const serializeAws_restJson1GetGroupCommand = async (input, context) => {
66
64
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/get-group";
67
65
  let body;
68
66
  body = JSON.stringify({
69
- ...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
70
- ...(input.GroupName !== undefined && input.GroupName !== null && { GroupName: input.GroupName }),
67
+ ...(input.Group != null && { Group: input.Group }),
68
+ ...(input.GroupName != null && { GroupName: input.GroupName }),
71
69
  });
72
70
  return new protocol_http_1.HttpRequest({
73
71
  protocol,
@@ -88,7 +86,7 @@ const serializeAws_restJson1GetGroupConfigurationCommand = async (input, context
88
86
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/get-group-configuration";
89
87
  let body;
90
88
  body = JSON.stringify({
91
- ...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
89
+ ...(input.Group != null && { Group: input.Group }),
92
90
  });
93
91
  return new protocol_http_1.HttpRequest({
94
92
  protocol,
@@ -109,8 +107,8 @@ const serializeAws_restJson1GetGroupQueryCommand = async (input, context) => {
109
107
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/get-group-query";
110
108
  let body;
111
109
  body = JSON.stringify({
112
- ...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
113
- ...(input.GroupName !== undefined && input.GroupName !== null && { GroupName: input.GroupName }),
110
+ ...(input.Group != null && { Group: input.Group }),
111
+ ...(input.GroupName != null && { GroupName: input.GroupName }),
114
112
  });
115
113
  return new protocol_http_1.HttpRequest({
116
114
  protocol,
@@ -157,9 +155,8 @@ const serializeAws_restJson1GroupResourcesCommand = async (input, context) => {
157
155
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/group-resources";
158
156
  let body;
159
157
  body = JSON.stringify({
160
- ...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
161
- ...(input.ResourceArns !== undefined &&
162
- input.ResourceArns !== null && {
158
+ ...(input.Group != null && { Group: input.Group }),
159
+ ...(input.ResourceArns != null && {
163
160
  ResourceArns: serializeAws_restJson1ResourceArnList(input.ResourceArns, context),
164
161
  }),
165
162
  });
@@ -182,12 +179,11 @@ const serializeAws_restJson1ListGroupResourcesCommand = async (input, context) =
182
179
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/list-group-resources";
183
180
  let body;
184
181
  body = JSON.stringify({
185
- ...(input.Filters !== undefined &&
186
- input.Filters !== null && { Filters: serializeAws_restJson1ResourceFilterList(input.Filters, context) }),
187
- ...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
188
- ...(input.GroupName !== undefined && input.GroupName !== null && { GroupName: input.GroupName }),
189
- ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
190
- ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
182
+ ...(input.Filters != null && { Filters: serializeAws_restJson1ResourceFilterList(input.Filters, context) }),
183
+ ...(input.Group != null && { Group: input.Group }),
184
+ ...(input.GroupName != null && { GroupName: input.GroupName }),
185
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
186
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
191
187
  });
192
188
  return new protocol_http_1.HttpRequest({
193
189
  protocol,
@@ -212,8 +208,7 @@ const serializeAws_restJson1ListGroupsCommand = async (input, context) => {
212
208
  };
213
209
  let body;
214
210
  body = JSON.stringify({
215
- ...(input.Filters !== undefined &&
216
- input.Filters !== null && { Filters: serializeAws_restJson1GroupFilterList(input.Filters, context) }),
211
+ ...(input.Filters != null && { Filters: serializeAws_restJson1GroupFilterList(input.Filters, context) }),
217
212
  });
218
213
  return new protocol_http_1.HttpRequest({
219
214
  protocol,
@@ -235,11 +230,10 @@ const serializeAws_restJson1PutGroupConfigurationCommand = async (input, context
235
230
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/put-group-configuration";
236
231
  let body;
237
232
  body = JSON.stringify({
238
- ...(input.Configuration !== undefined &&
239
- input.Configuration !== null && {
233
+ ...(input.Configuration != null && {
240
234
  Configuration: serializeAws_restJson1GroupConfigurationList(input.Configuration, context),
241
235
  }),
242
- ...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
236
+ ...(input.Group != null && { Group: input.Group }),
243
237
  });
244
238
  return new protocol_http_1.HttpRequest({
245
239
  protocol,
@@ -260,10 +254,9 @@ const serializeAws_restJson1SearchResourcesCommand = async (input, context) => {
260
254
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/resources/search";
261
255
  let body;
262
256
  body = JSON.stringify({
263
- ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
264
- ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
265
- ...(input.ResourceQuery !== undefined &&
266
- input.ResourceQuery !== null && {
257
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
258
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
259
+ ...(input.ResourceQuery != null && {
267
260
  ResourceQuery: serializeAws_restJson1ResourceQuery(input.ResourceQuery, context),
268
261
  }),
269
262
  });
@@ -296,7 +289,7 @@ const serializeAws_restJson1TagCommand = async (input, context) => {
296
289
  }
297
290
  let body;
298
291
  body = JSON.stringify({
299
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1Tags(input.Tags, context) }),
292
+ ...(input.Tags != null && { Tags: serializeAws_restJson1Tags(input.Tags, context) }),
300
293
  });
301
294
  return new protocol_http_1.HttpRequest({
302
295
  protocol,
@@ -317,9 +310,8 @@ const serializeAws_restJson1UngroupResourcesCommand = async (input, context) =>
317
310
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/ungroup-resources";
318
311
  let body;
319
312
  body = JSON.stringify({
320
- ...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
321
- ...(input.ResourceArns !== undefined &&
322
- input.ResourceArns !== null && {
313
+ ...(input.Group != null && { Group: input.Group }),
314
+ ...(input.ResourceArns != null && {
323
315
  ResourceArns: serializeAws_restJson1ResourceArnList(input.ResourceArns, context),
324
316
  }),
325
317
  });
@@ -352,8 +344,7 @@ const serializeAws_restJson1UntagCommand = async (input, context) => {
352
344
  }
353
345
  let body;
354
346
  body = JSON.stringify({
355
- ...(input.Keys !== undefined &&
356
- input.Keys !== null && { Keys: serializeAws_restJson1TagKeyList(input.Keys, context) }),
347
+ ...(input.Keys != null && { Keys: serializeAws_restJson1TagKeyList(input.Keys, context) }),
357
348
  });
358
349
  return new protocol_http_1.HttpRequest({
359
350
  protocol,
@@ -374,9 +365,9 @@ const serializeAws_restJson1UpdateGroupCommand = async (input, context) => {
374
365
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/update-group";
375
366
  let body;
376
367
  body = JSON.stringify({
377
- ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
378
- ...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
379
- ...(input.GroupName !== undefined && input.GroupName !== null && { GroupName: input.GroupName }),
368
+ ...(input.Description != null && { Description: input.Description }),
369
+ ...(input.Group != null && { Group: input.Group }),
370
+ ...(input.GroupName != null && { GroupName: input.GroupName }),
380
371
  });
381
372
  return new protocol_http_1.HttpRequest({
382
373
  protocol,
@@ -397,10 +388,9 @@ const serializeAws_restJson1UpdateGroupQueryCommand = async (input, context) =>
397
388
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/update-group-query";
398
389
  let body;
399
390
  body = JSON.stringify({
400
- ...(input.Group !== undefined && input.Group !== null && { Group: input.Group }),
401
- ...(input.GroupName !== undefined && input.GroupName !== null && { GroupName: input.GroupName }),
402
- ...(input.ResourceQuery !== undefined &&
403
- input.ResourceQuery !== null && {
391
+ ...(input.Group != null && { Group: input.Group }),
392
+ ...(input.GroupName != null && { GroupName: input.GroupName }),
393
+ ...(input.ResourceQuery != null && {
404
394
  ResourceQuery: serializeAws_restJson1ResourceQuery(input.ResourceQuery, context),
405
395
  }),
406
396
  });
@@ -1410,9 +1400,10 @@ const deserializeAws_restJson1UnauthorizedExceptionResponse = async (parsedOutpu
1410
1400
  };
1411
1401
  const serializeAws_restJson1GroupConfigurationItem = (input, context) => {
1412
1402
  return {
1413
- ...(input.Parameters !== undefined &&
1414
- input.Parameters !== null && { Parameters: serializeAws_restJson1GroupParameterList(input.Parameters, context) }),
1415
- ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
1403
+ ...(input.Parameters != null && {
1404
+ Parameters: serializeAws_restJson1GroupParameterList(input.Parameters, context),
1405
+ }),
1406
+ ...(input.Type != null && { Type: input.Type }),
1416
1407
  };
1417
1408
  };
1418
1409
  const serializeAws_restJson1GroupConfigurationList = (input, context) => {
@@ -1427,9 +1418,8 @@ const serializeAws_restJson1GroupConfigurationList = (input, context) => {
1427
1418
  };
1428
1419
  const serializeAws_restJson1GroupConfigurationParameter = (input, context) => {
1429
1420
  return {
1430
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
1431
- ...(input.Values !== undefined &&
1432
- input.Values !== null && {
1421
+ ...(input.Name != null && { Name: input.Name }),
1422
+ ...(input.Values != null && {
1433
1423
  Values: serializeAws_restJson1GroupConfigurationParameterValueList(input.Values, context),
1434
1424
  }),
1435
1425
  };
@@ -1446,9 +1436,8 @@ const serializeAws_restJson1GroupConfigurationParameterValueList = (input, conte
1446
1436
  };
1447
1437
  const serializeAws_restJson1GroupFilter = (input, context) => {
1448
1438
  return {
1449
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
1450
- ...(input.Values !== undefined &&
1451
- input.Values !== null && { Values: serializeAws_restJson1GroupFilterValues(input.Values, context) }),
1439
+ ...(input.Name != null && { Name: input.Name }),
1440
+ ...(input.Values != null && { Values: serializeAws_restJson1GroupFilterValues(input.Values, context) }),
1452
1441
  };
1453
1442
  };
1454
1443
  const serializeAws_restJson1GroupFilterList = (input, context) => {
@@ -1493,9 +1482,8 @@ const serializeAws_restJson1ResourceArnList = (input, context) => {
1493
1482
  };
1494
1483
  const serializeAws_restJson1ResourceFilter = (input, context) => {
1495
1484
  return {
1496
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
1497
- ...(input.Values !== undefined &&
1498
- input.Values !== null && { Values: serializeAws_restJson1ResourceFilterValues(input.Values, context) }),
1485
+ ...(input.Name != null && { Name: input.Name }),
1486
+ ...(input.Values != null && { Values: serializeAws_restJson1ResourceFilterValues(input.Values, context) }),
1499
1487
  };
1500
1488
  };
1501
1489
  const serializeAws_restJson1ResourceFilterList = (input, context) => {
@@ -1520,8 +1508,8 @@ const serializeAws_restJson1ResourceFilterValues = (input, context) => {
1520
1508
  };
1521
1509
  const serializeAws_restJson1ResourceQuery = (input, context) => {
1522
1510
  return {
1523
- ...(input.Query !== undefined && input.Query !== null && { Query: input.Query }),
1524
- ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
1511
+ ...(input.Query != null && { Query: input.Query }),
1512
+ ...(input.Type != null && { Type: input.Type }),
1525
1513
  };
1526
1514
  };
1527
1515
  const serializeAws_restJson1TagKeyList = (input, context) => {
@@ -1572,11 +1560,11 @@ const deserializeAws_restJson1Group = (output, context) => {
1572
1560
  };
1573
1561
  const deserializeAws_restJson1GroupConfiguration = (output, context) => {
1574
1562
  return {
1575
- Configuration: output.Configuration !== undefined && output.Configuration !== null
1563
+ Configuration: output.Configuration != null
1576
1564
  ? deserializeAws_restJson1GroupConfigurationList(output.Configuration, context)
1577
1565
  : undefined,
1578
1566
  FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
1579
- ProposedConfiguration: output.ProposedConfiguration !== undefined && output.ProposedConfiguration !== null
1567
+ ProposedConfiguration: output.ProposedConfiguration != null
1580
1568
  ? deserializeAws_restJson1GroupConfigurationList(output.ProposedConfiguration, context)
1581
1569
  : undefined,
1582
1570
  Status: (0, smithy_client_1.expectString)(output.Status),
@@ -1584,9 +1572,7 @@ const deserializeAws_restJson1GroupConfiguration = (output, context) => {
1584
1572
  };
1585
1573
  const deserializeAws_restJson1GroupConfigurationItem = (output, context) => {
1586
1574
  return {
1587
- Parameters: output.Parameters !== undefined && output.Parameters !== null
1588
- ? deserializeAws_restJson1GroupParameterList(output.Parameters, context)
1589
- : undefined,
1575
+ Parameters: output.Parameters != null ? deserializeAws_restJson1GroupParameterList(output.Parameters, context) : undefined,
1590
1576
  Type: (0, smithy_client_1.expectString)(output.Type),
1591
1577
  };
1592
1578
  };
@@ -1604,7 +1590,7 @@ const deserializeAws_restJson1GroupConfigurationList = (output, context) => {
1604
1590
  const deserializeAws_restJson1GroupConfigurationParameter = (output, context) => {
1605
1591
  return {
1606
1592
  Name: (0, smithy_client_1.expectString)(output.Name),
1607
- Values: output.Values !== undefined && output.Values !== null
1593
+ Values: output.Values != null
1608
1594
  ? deserializeAws_restJson1GroupConfigurationParameterValueList(output.Values, context)
1609
1595
  : undefined,
1610
1596
  };
@@ -1662,19 +1648,13 @@ const deserializeAws_restJson1GroupParameterList = (output, context) => {
1662
1648
  const deserializeAws_restJson1GroupQuery = (output, context) => {
1663
1649
  return {
1664
1650
  GroupName: (0, smithy_client_1.expectString)(output.GroupName),
1665
- ResourceQuery: output.ResourceQuery !== undefined && output.ResourceQuery !== null
1666
- ? deserializeAws_restJson1ResourceQuery(output.ResourceQuery, context)
1667
- : undefined,
1651
+ ResourceQuery: output.ResourceQuery != null ? deserializeAws_restJson1ResourceQuery(output.ResourceQuery, context) : undefined,
1668
1652
  };
1669
1653
  };
1670
1654
  const deserializeAws_restJson1ListGroupResourcesItem = (output, context) => {
1671
1655
  return {
1672
- Identifier: output.Identifier !== undefined && output.Identifier !== null
1673
- ? deserializeAws_restJson1ResourceIdentifier(output.Identifier, context)
1674
- : undefined,
1675
- Status: output.Status !== undefined && output.Status !== null
1676
- ? deserializeAws_restJson1ResourceStatus(output.Status, context)
1677
- : undefined,
1656
+ Identifier: output.Identifier != null ? deserializeAws_restJson1ResourceIdentifier(output.Identifier, context) : undefined,
1657
+ Status: output.Status != null ? deserializeAws_restJson1ResourceStatus(output.Status, context) : undefined,
1678
1658
  };
1679
1659
  };
1680
1660
  const deserializeAws_restJson1ListGroupResourcesItemList = (output, context) => {
@@ -1813,6 +1793,9 @@ const loadRestJsonErrorCode = (output, data) => {
1813
1793
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
1814
1794
  const sanitizeErrorCode = (rawValue) => {
1815
1795
  let cleanValue = rawValue;
1796
+ if (typeof cleanValue === "number") {
1797
+ cleanValue = cleanValue.toString();
1798
+ }
1816
1799
  if (cleanValue.indexOf(":") >= 0) {
1817
1800
  cleanValue = cleanValue.split(":")[0];
1818
1801
  }
@@ -14,13 +14,11 @@ export var serializeAws_restJson1CreateGroupCommand = function (input, context)
14
14
  "content-type": "application/json",
15
15
  };
16
16
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/groups";
17
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration !== undefined &&
18
- input.Configuration !== null && {
17
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration != null && {
19
18
  Configuration: serializeAws_restJson1GroupConfigurationList(input.Configuration, context),
20
- })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ResourceQuery !== undefined &&
21
- input.ResourceQuery !== null && {
19
+ })), (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.ResourceQuery != null && {
22
20
  ResourceQuery: serializeAws_restJson1ResourceQuery(input.ResourceQuery, context),
23
- })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1Tags(input.Tags, context) })));
21
+ })), (input.Tags != null && { Tags: serializeAws_restJson1Tags(input.Tags, context) })));
24
22
  return [2, new __HttpRequest({
25
23
  protocol: protocol,
26
24
  hostname: hostname,
@@ -44,7 +42,7 @@ export var serializeAws_restJson1DeleteGroupCommand = function (input, context)
44
42
  "content-type": "application/json",
45
43
  };
46
44
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/delete-group";
47
- body = JSON.stringify(__assign(__assign({}, (input.Group !== undefined && input.Group !== null && { Group: input.Group })), (input.GroupName !== undefined && input.GroupName !== null && { GroupName: input.GroupName })));
45
+ body = JSON.stringify(__assign(__assign({}, (input.Group != null && { Group: input.Group })), (input.GroupName != null && { GroupName: input.GroupName })));
48
46
  return [2, new __HttpRequest({
49
47
  protocol: protocol,
50
48
  hostname: hostname,
@@ -68,7 +66,7 @@ export var serializeAws_restJson1GetGroupCommand = function (input, context) { r
68
66
  "content-type": "application/json",
69
67
  };
70
68
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/get-group";
71
- body = JSON.stringify(__assign(__assign({}, (input.Group !== undefined && input.Group !== null && { Group: input.Group })), (input.GroupName !== undefined && input.GroupName !== null && { GroupName: input.GroupName })));
69
+ body = JSON.stringify(__assign(__assign({}, (input.Group != null && { Group: input.Group })), (input.GroupName != null && { GroupName: input.GroupName })));
72
70
  return [2, new __HttpRequest({
73
71
  protocol: protocol,
74
72
  hostname: hostname,
@@ -92,7 +90,7 @@ export var serializeAws_restJson1GetGroupConfigurationCommand = function (input,
92
90
  "content-type": "application/json",
93
91
  };
94
92
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/get-group-configuration";
95
- body = JSON.stringify(__assign({}, (input.Group !== undefined && input.Group !== null && { Group: input.Group })));
93
+ body = JSON.stringify(__assign({}, (input.Group != null && { Group: input.Group })));
96
94
  return [2, new __HttpRequest({
97
95
  protocol: protocol,
98
96
  hostname: hostname,
@@ -116,7 +114,7 @@ export var serializeAws_restJson1GetGroupQueryCommand = function (input, context
116
114
  "content-type": "application/json",
117
115
  };
118
116
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/get-group-query";
119
- body = JSON.stringify(__assign(__assign({}, (input.Group !== undefined && input.Group !== null && { Group: input.Group })), (input.GroupName !== undefined && input.GroupName !== null && { GroupName: input.GroupName })));
117
+ body = JSON.stringify(__assign(__assign({}, (input.Group != null && { Group: input.Group })), (input.GroupName != null && { GroupName: input.GroupName })));
120
118
  return [2, new __HttpRequest({
121
119
  protocol: protocol,
122
120
  hostname: hostname,
@@ -171,8 +169,7 @@ export var serializeAws_restJson1GroupResourcesCommand = function (input, contex
171
169
  "content-type": "application/json",
172
170
  };
173
171
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/group-resources";
174
- body = JSON.stringify(__assign(__assign({}, (input.Group !== undefined && input.Group !== null && { Group: input.Group })), (input.ResourceArns !== undefined &&
175
- input.ResourceArns !== null && {
172
+ body = JSON.stringify(__assign(__assign({}, (input.Group != null && { Group: input.Group })), (input.ResourceArns != null && {
176
173
  ResourceArns: serializeAws_restJson1ResourceArnList(input.ResourceArns, context),
177
174
  })));
178
175
  return [2, new __HttpRequest({
@@ -198,8 +195,7 @@ export var serializeAws_restJson1ListGroupResourcesCommand = function (input, co
198
195
  "content-type": "application/json",
199
196
  };
200
197
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-group-resources";
201
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
202
- input.Filters !== null && { Filters: serializeAws_restJson1ResourceFilterList(input.Filters, context) })), (input.Group !== undefined && input.Group !== null && { Group: input.Group })), (input.GroupName !== undefined && input.GroupName !== null && { GroupName: input.GroupName })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
198
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Filters != null && { Filters: serializeAws_restJson1ResourceFilterList(input.Filters, context) })), (input.Group != null && { Group: input.Group })), (input.GroupName != null && { GroupName: input.GroupName })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })));
203
199
  return [2, new __HttpRequest({
204
200
  protocol: protocol,
205
201
  hostname: hostname,
@@ -224,8 +220,7 @@ export var serializeAws_restJson1ListGroupsCommand = function (input, context) {
224
220
  };
225
221
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/groups-list";
226
222
  query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
227
- body = JSON.stringify(__assign({}, (input.Filters !== undefined &&
228
- input.Filters !== null && { Filters: serializeAws_restJson1GroupFilterList(input.Filters, context) })));
223
+ body = JSON.stringify(__assign({}, (input.Filters != null && { Filters: serializeAws_restJson1GroupFilterList(input.Filters, context) })));
229
224
  return [2, new __HttpRequest({
230
225
  protocol: protocol,
231
226
  hostname: hostname,
@@ -250,10 +245,9 @@ export var serializeAws_restJson1PutGroupConfigurationCommand = function (input,
250
245
  "content-type": "application/json",
251
246
  };
252
247
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/put-group-configuration";
253
- body = JSON.stringify(__assign(__assign({}, (input.Configuration !== undefined &&
254
- input.Configuration !== null && {
248
+ body = JSON.stringify(__assign(__assign({}, (input.Configuration != null && {
255
249
  Configuration: serializeAws_restJson1GroupConfigurationList(input.Configuration, context),
256
- })), (input.Group !== undefined && input.Group !== null && { Group: input.Group })));
250
+ })), (input.Group != null && { Group: input.Group })));
257
251
  return [2, new __HttpRequest({
258
252
  protocol: protocol,
259
253
  hostname: hostname,
@@ -277,8 +271,7 @@ export var serializeAws_restJson1SearchResourcesCommand = function (input, conte
277
271
  "content-type": "application/json",
278
272
  };
279
273
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resources/search";
280
- body = JSON.stringify(__assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ResourceQuery !== undefined &&
281
- input.ResourceQuery !== null && {
274
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceQuery != null && {
282
275
  ResourceQuery: serializeAws_restJson1ResourceQuery(input.ResourceQuery, context),
283
276
  })));
284
277
  return [2, new __HttpRequest({
@@ -314,7 +307,7 @@ export var serializeAws_restJson1TagCommand = function (input, context) { return
314
307
  else {
315
308
  throw new Error("No value provided for input HTTP label: Arn.");
316
309
  }
317
- body = JSON.stringify(__assign({}, (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1Tags(input.Tags, context) })));
310
+ body = JSON.stringify(__assign({}, (input.Tags != null && { Tags: serializeAws_restJson1Tags(input.Tags, context) })));
318
311
  return [2, new __HttpRequest({
319
312
  protocol: protocol,
320
313
  hostname: hostname,
@@ -338,8 +331,7 @@ export var serializeAws_restJson1UngroupResourcesCommand = function (input, cont
338
331
  "content-type": "application/json",
339
332
  };
340
333
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/ungroup-resources";
341
- body = JSON.stringify(__assign(__assign({}, (input.Group !== undefined && input.Group !== null && { Group: input.Group })), (input.ResourceArns !== undefined &&
342
- input.ResourceArns !== null && {
334
+ body = JSON.stringify(__assign(__assign({}, (input.Group != null && { Group: input.Group })), (input.ResourceArns != null && {
343
335
  ResourceArns: serializeAws_restJson1ResourceArnList(input.ResourceArns, context),
344
336
  })));
345
337
  return [2, new __HttpRequest({
@@ -375,8 +367,7 @@ export var serializeAws_restJson1UntagCommand = function (input, context) { retu
375
367
  else {
376
368
  throw new Error("No value provided for input HTTP label: Arn.");
377
369
  }
378
- body = JSON.stringify(__assign({}, (input.Keys !== undefined &&
379
- input.Keys !== null && { Keys: serializeAws_restJson1TagKeyList(input.Keys, context) })));
370
+ body = JSON.stringify(__assign({}, (input.Keys != null && { Keys: serializeAws_restJson1TagKeyList(input.Keys, context) })));
380
371
  return [2, new __HttpRequest({
381
372
  protocol: protocol,
382
373
  hostname: hostname,
@@ -400,7 +391,7 @@ export var serializeAws_restJson1UpdateGroupCommand = function (input, context)
400
391
  "content-type": "application/json",
401
392
  };
402
393
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/update-group";
403
- body = JSON.stringify(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Group !== undefined && input.Group !== null && { Group: input.Group })), (input.GroupName !== undefined && input.GroupName !== null && { GroupName: input.GroupName })));
394
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Group != null && { Group: input.Group })), (input.GroupName != null && { GroupName: input.GroupName })));
404
395
  return [2, new __HttpRequest({
405
396
  protocol: protocol,
406
397
  hostname: hostname,
@@ -424,8 +415,7 @@ export var serializeAws_restJson1UpdateGroupQueryCommand = function (input, cont
424
415
  "content-type": "application/json",
425
416
  };
426
417
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/update-group-query";
427
- body = JSON.stringify(__assign(__assign(__assign({}, (input.Group !== undefined && input.Group !== null && { Group: input.Group })), (input.GroupName !== undefined && input.GroupName !== null && { GroupName: input.GroupName })), (input.ResourceQuery !== undefined &&
428
- input.ResourceQuery !== null && {
418
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.Group != null && { Group: input.Group })), (input.GroupName != null && { GroupName: input.GroupName })), (input.ResourceQuery != null && {
429
419
  ResourceQuery: serializeAws_restJson1ResourceQuery(input.ResourceQuery, context),
430
420
  })));
431
421
  return [2, new __HttpRequest({
@@ -1815,8 +1805,9 @@ var deserializeAws_restJson1UnauthorizedExceptionResponse = function (parsedOutp
1815
1805
  });
1816
1806
  }); };
1817
1807
  var serializeAws_restJson1GroupConfigurationItem = function (input, context) {
1818
- return __assign(__assign({}, (input.Parameters !== undefined &&
1819
- input.Parameters !== null && { Parameters: serializeAws_restJson1GroupParameterList(input.Parameters, context) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
1808
+ return __assign(__assign({}, (input.Parameters != null && {
1809
+ Parameters: serializeAws_restJson1GroupParameterList(input.Parameters, context),
1810
+ })), (input.Type != null && { Type: input.Type }));
1820
1811
  };
1821
1812
  var serializeAws_restJson1GroupConfigurationList = function (input, context) {
1822
1813
  return input
@@ -1829,8 +1820,7 @@ var serializeAws_restJson1GroupConfigurationList = function (input, context) {
1829
1820
  });
1830
1821
  };
1831
1822
  var serializeAws_restJson1GroupConfigurationParameter = function (input, context) {
1832
- return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Values !== undefined &&
1833
- input.Values !== null && {
1823
+ return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && {
1834
1824
  Values: serializeAws_restJson1GroupConfigurationParameterValueList(input.Values, context),
1835
1825
  }));
1836
1826
  };
@@ -1845,8 +1835,7 @@ var serializeAws_restJson1GroupConfigurationParameterValueList = function (input
1845
1835
  });
1846
1836
  };
1847
1837
  var serializeAws_restJson1GroupFilter = function (input, context) {
1848
- return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Values !== undefined &&
1849
- input.Values !== null && { Values: serializeAws_restJson1GroupFilterValues(input.Values, context) }));
1838
+ return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_restJson1GroupFilterValues(input.Values, context) }));
1850
1839
  };
1851
1840
  var serializeAws_restJson1GroupFilterList = function (input, context) {
1852
1841
  return input
@@ -1889,8 +1878,7 @@ var serializeAws_restJson1ResourceArnList = function (input, context) {
1889
1878
  });
1890
1879
  };
1891
1880
  var serializeAws_restJson1ResourceFilter = function (input, context) {
1892
- return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Values !== undefined &&
1893
- input.Values !== null && { Values: serializeAws_restJson1ResourceFilterValues(input.Values, context) }));
1881
+ return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Values != null && { Values: serializeAws_restJson1ResourceFilterValues(input.Values, context) }));
1894
1882
  };
1895
1883
  var serializeAws_restJson1ResourceFilterList = function (input, context) {
1896
1884
  return input
@@ -1913,7 +1901,7 @@ var serializeAws_restJson1ResourceFilterValues = function (input, context) {
1913
1901
  });
1914
1902
  };
1915
1903
  var serializeAws_restJson1ResourceQuery = function (input, context) {
1916
- return __assign(__assign({}, (input.Query !== undefined && input.Query !== null && { Query: input.Query })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
1904
+ return __assign(__assign({}, (input.Query != null && { Query: input.Query })), (input.Type != null && { Type: input.Type }));
1917
1905
  };
1918
1906
  var serializeAws_restJson1TagKeyList = function (input, context) {
1919
1907
  return input
@@ -1962,11 +1950,11 @@ var deserializeAws_restJson1Group = function (output, context) {
1962
1950
  };
1963
1951
  var deserializeAws_restJson1GroupConfiguration = function (output, context) {
1964
1952
  return {
1965
- Configuration: output.Configuration !== undefined && output.Configuration !== null
1953
+ Configuration: output.Configuration != null
1966
1954
  ? deserializeAws_restJson1GroupConfigurationList(output.Configuration, context)
1967
1955
  : undefined,
1968
1956
  FailureReason: __expectString(output.FailureReason),
1969
- ProposedConfiguration: output.ProposedConfiguration !== undefined && output.ProposedConfiguration !== null
1957
+ ProposedConfiguration: output.ProposedConfiguration != null
1970
1958
  ? deserializeAws_restJson1GroupConfigurationList(output.ProposedConfiguration, context)
1971
1959
  : undefined,
1972
1960
  Status: __expectString(output.Status),
@@ -1974,9 +1962,7 @@ var deserializeAws_restJson1GroupConfiguration = function (output, context) {
1974
1962
  };
1975
1963
  var deserializeAws_restJson1GroupConfigurationItem = function (output, context) {
1976
1964
  return {
1977
- Parameters: output.Parameters !== undefined && output.Parameters !== null
1978
- ? deserializeAws_restJson1GroupParameterList(output.Parameters, context)
1979
- : undefined,
1965
+ Parameters: output.Parameters != null ? deserializeAws_restJson1GroupParameterList(output.Parameters, context) : undefined,
1980
1966
  Type: __expectString(output.Type),
1981
1967
  };
1982
1968
  };
@@ -1994,7 +1980,7 @@ var deserializeAws_restJson1GroupConfigurationList = function (output, context)
1994
1980
  var deserializeAws_restJson1GroupConfigurationParameter = function (output, context) {
1995
1981
  return {
1996
1982
  Name: __expectString(output.Name),
1997
- Values: output.Values !== undefined && output.Values !== null
1983
+ Values: output.Values != null
1998
1984
  ? deserializeAws_restJson1GroupConfigurationParameterValueList(output.Values, context)
1999
1985
  : undefined,
2000
1986
  };
@@ -2052,19 +2038,13 @@ var deserializeAws_restJson1GroupParameterList = function (output, context) {
2052
2038
  var deserializeAws_restJson1GroupQuery = function (output, context) {
2053
2039
  return {
2054
2040
  GroupName: __expectString(output.GroupName),
2055
- ResourceQuery: output.ResourceQuery !== undefined && output.ResourceQuery !== null
2056
- ? deserializeAws_restJson1ResourceQuery(output.ResourceQuery, context)
2057
- : undefined,
2041
+ ResourceQuery: output.ResourceQuery != null ? deserializeAws_restJson1ResourceQuery(output.ResourceQuery, context) : undefined,
2058
2042
  };
2059
2043
  };
2060
2044
  var deserializeAws_restJson1ListGroupResourcesItem = function (output, context) {
2061
2045
  return {
2062
- Identifier: output.Identifier !== undefined && output.Identifier !== null
2063
- ? deserializeAws_restJson1ResourceIdentifier(output.Identifier, context)
2064
- : undefined,
2065
- Status: output.Status !== undefined && output.Status !== null
2066
- ? deserializeAws_restJson1ResourceStatus(output.Status, context)
2067
- : undefined,
2046
+ Identifier: output.Identifier != null ? deserializeAws_restJson1ResourceIdentifier(output.Identifier, context) : undefined,
2047
+ Status: output.Status != null ? deserializeAws_restJson1ResourceStatus(output.Status, context) : undefined,
2068
2048
  };
2069
2049
  };
2070
2050
  var deserializeAws_restJson1ListGroupResourcesItemList = function (output, context) {
@@ -2209,6 +2189,9 @@ var loadRestJsonErrorCode = function (output, data) {
2209
2189
  var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
2210
2190
  var sanitizeErrorCode = function (rawValue) {
2211
2191
  var cleanValue = rawValue;
2192
+ if (typeof cleanValue === "number") {
2193
+ cleanValue = cleanValue.toString();
2194
+ }
2212
2195
  if (cleanValue.indexOf(":") >= 0) {
2213
2196
  cleanValue = cleanValue.split(":")[0];
2214
2197
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-resource-groups",
3
3
  "description": "AWS SDK for JavaScript Resource Groups Client for Node.js, Browser and React Native",
4
- "version": "3.121.0",
4
+ "version": "3.130.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,35 +18,35 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.121.0",
22
- "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.121.0",
24
- "@aws-sdk/fetch-http-handler": "3.110.0",
25
- "@aws-sdk/hash-node": "3.110.0",
26
- "@aws-sdk/invalid-dependency": "3.110.0",
27
- "@aws-sdk/middleware-content-length": "3.110.0",
28
- "@aws-sdk/middleware-host-header": "3.110.0",
29
- "@aws-sdk/middleware-logger": "3.110.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.118.1",
32
- "@aws-sdk/middleware-serde": "3.110.0",
33
- "@aws-sdk/middleware-signing": "3.110.0",
34
- "@aws-sdk/middleware-stack": "3.110.0",
35
- "@aws-sdk/middleware-user-agent": "3.110.0",
36
- "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.118.1",
38
- "@aws-sdk/protocol-http": "3.110.0",
39
- "@aws-sdk/smithy-client": "3.110.0",
40
- "@aws-sdk/types": "3.110.0",
41
- "@aws-sdk/url-parser": "3.110.0",
21
+ "@aws-sdk/client-sts": "3.130.0",
22
+ "@aws-sdk/config-resolver": "3.130.0",
23
+ "@aws-sdk/credential-provider-node": "3.130.0",
24
+ "@aws-sdk/fetch-http-handler": "3.127.0",
25
+ "@aws-sdk/hash-node": "3.127.0",
26
+ "@aws-sdk/invalid-dependency": "3.127.0",
27
+ "@aws-sdk/middleware-content-length": "3.127.0",
28
+ "@aws-sdk/middleware-host-header": "3.127.0",
29
+ "@aws-sdk/middleware-logger": "3.127.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
+ "@aws-sdk/middleware-retry": "3.127.0",
32
+ "@aws-sdk/middleware-serde": "3.127.0",
33
+ "@aws-sdk/middleware-signing": "3.130.0",
34
+ "@aws-sdk/middleware-stack": "3.127.0",
35
+ "@aws-sdk/middleware-user-agent": "3.127.0",
36
+ "@aws-sdk/node-config-provider": "3.127.0",
37
+ "@aws-sdk/node-http-handler": "3.127.0",
38
+ "@aws-sdk/protocol-http": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.127.0",
40
+ "@aws-sdk/types": "3.127.0",
41
+ "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
- "@aws-sdk/util-user-agent-browser": "3.110.0",
49
- "@aws-sdk/util-user-agent-node": "3.118.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.130.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.127.0",
49
+ "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1"