@aws-sdk/client-iam 3.200.0 → 3.202.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,28 @@
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.202.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.201.0...v3.202.0) (2022-11-02)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **codegen:** aws-query protocol, distinguish explicit empty list ([#4003](https://github.com/aws/aws-sdk-js-v3/issues/4003)) ([8e10769](https://github.com/aws/aws-sdk-js-v3/commit/8e10769b6146f93c0674686fa547290292714917))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
18
+
19
+
20
+ ### Features
21
+
22
+ * end support for Node.js 12.x ([#4123](https://github.com/aws/aws-sdk-js-v3/issues/4123)) ([83f913e](https://github.com/aws/aws-sdk-js-v3/commit/83f913ec2ac3878d8726c6964f585550dc5caf3e))
23
+
24
+
25
+
26
+
27
+
6
28
  # [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
7
29
 
8
30
  **Note:** Version bump only for package @aws-sdk/client-iam
@@ -2,11 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
- var _a, _b;
6
5
  return {
7
6
  ...options,
8
- useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
9
- useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
7
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
10
9
  defaultSigningName: "iam",
11
10
  };
12
11
  };
@@ -8604,6 +8604,9 @@ const serializeAws_queryContextEntry = (input, context) => {
8604
8604
  }
8605
8605
  if (input.ContextKeyValues != null) {
8606
8606
  const memberEntries = serializeAws_queryContextKeyValueListType(input.ContextKeyValues, context);
8607
+ if (input.ContextKeyValues?.length === 0) {
8608
+ entries.ContextKeyValues = [];
8609
+ }
8607
8610
  Object.entries(memberEntries).forEach(([key, value]) => {
8608
8611
  const loc = `ContextKeyValues.${key}`;
8609
8612
  entries[loc] = value;
@@ -8675,6 +8678,9 @@ const serializeAws_queryCreateInstanceProfileRequest = (input, context) => {
8675
8678
  }
8676
8679
  if (input.Tags != null) {
8677
8680
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
8681
+ if (input.Tags?.length === 0) {
8682
+ entries.Tags = [];
8683
+ }
8678
8684
  Object.entries(memberEntries).forEach(([key, value]) => {
8679
8685
  const loc = `Tags.${key}`;
8680
8686
  entries[loc] = value;
@@ -8702,6 +8708,9 @@ const serializeAws_queryCreateOpenIDConnectProviderRequest = (input, context) =>
8702
8708
  }
8703
8709
  if (input.ClientIDList != null) {
8704
8710
  const memberEntries = serializeAws_queryclientIDListType(input.ClientIDList, context);
8711
+ if (input.ClientIDList?.length === 0) {
8712
+ entries.ClientIDList = [];
8713
+ }
8705
8714
  Object.entries(memberEntries).forEach(([key, value]) => {
8706
8715
  const loc = `ClientIDList.${key}`;
8707
8716
  entries[loc] = value;
@@ -8709,6 +8718,9 @@ const serializeAws_queryCreateOpenIDConnectProviderRequest = (input, context) =>
8709
8718
  }
8710
8719
  if (input.ThumbprintList != null) {
8711
8720
  const memberEntries = serializeAws_querythumbprintListType(input.ThumbprintList, context);
8721
+ if (input.ThumbprintList?.length === 0) {
8722
+ entries.ThumbprintList = [];
8723
+ }
8712
8724
  Object.entries(memberEntries).forEach(([key, value]) => {
8713
8725
  const loc = `ThumbprintList.${key}`;
8714
8726
  entries[loc] = value;
@@ -8716,6 +8728,9 @@ const serializeAws_queryCreateOpenIDConnectProviderRequest = (input, context) =>
8716
8728
  }
8717
8729
  if (input.Tags != null) {
8718
8730
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
8731
+ if (input.Tags?.length === 0) {
8732
+ entries.Tags = [];
8733
+ }
8719
8734
  Object.entries(memberEntries).forEach(([key, value]) => {
8720
8735
  const loc = `Tags.${key}`;
8721
8736
  entries[loc] = value;
@@ -8739,6 +8754,9 @@ const serializeAws_queryCreatePolicyRequest = (input, context) => {
8739
8754
  }
8740
8755
  if (input.Tags != null) {
8741
8756
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
8757
+ if (input.Tags?.length === 0) {
8758
+ entries.Tags = [];
8759
+ }
8742
8760
  Object.entries(memberEntries).forEach(([key, value]) => {
8743
8761
  const loc = `Tags.${key}`;
8744
8762
  entries[loc] = value;
@@ -8781,6 +8799,9 @@ const serializeAws_queryCreateRoleRequest = (input, context) => {
8781
8799
  }
8782
8800
  if (input.Tags != null) {
8783
8801
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
8802
+ if (input.Tags?.length === 0) {
8803
+ entries.Tags = [];
8804
+ }
8784
8805
  Object.entries(memberEntries).forEach(([key, value]) => {
8785
8806
  const loc = `Tags.${key}`;
8786
8807
  entries[loc] = value;
@@ -8798,6 +8819,9 @@ const serializeAws_queryCreateSAMLProviderRequest = (input, context) => {
8798
8819
  }
8799
8820
  if (input.Tags != null) {
8800
8821
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
8822
+ if (input.Tags?.length === 0) {
8823
+ entries.Tags = [];
8824
+ }
8801
8825
  Object.entries(memberEntries).forEach(([key, value]) => {
8802
8826
  const loc = `Tags.${key}`;
8803
8827
  entries[loc] = value;
@@ -8841,6 +8865,9 @@ const serializeAws_queryCreateUserRequest = (input, context) => {
8841
8865
  }
8842
8866
  if (input.Tags != null) {
8843
8867
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
8868
+ if (input.Tags?.length === 0) {
8869
+ entries.Tags = [];
8870
+ }
8844
8871
  Object.entries(memberEntries).forEach(([key, value]) => {
8845
8872
  const loc = `Tags.${key}`;
8846
8873
  entries[loc] = value;
@@ -8858,6 +8885,9 @@ const serializeAws_queryCreateVirtualMFADeviceRequest = (input, context) => {
8858
8885
  }
8859
8886
  if (input.Tags != null) {
8860
8887
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
8888
+ if (input.Tags?.length === 0) {
8889
+ entries.Tags = [];
8890
+ }
8861
8891
  Object.entries(memberEntries).forEach(([key, value]) => {
8862
8892
  const loc = `Tags.${key}`;
8863
8893
  entries[loc] = value;
@@ -9142,6 +9172,9 @@ const serializeAws_queryGetAccountAuthorizationDetailsRequest = (input, context)
9142
9172
  const entries = {};
9143
9173
  if (input.Filter != null) {
9144
9174
  const memberEntries = serializeAws_queryentityListType(input.Filter, context);
9175
+ if (input.Filter?.length === 0) {
9176
+ entries.Filter = [];
9177
+ }
9145
9178
  Object.entries(memberEntries).forEach(([key, value]) => {
9146
9179
  const loc = `Filter.${key}`;
9147
9180
  entries[loc] = value;
@@ -9159,6 +9192,9 @@ const serializeAws_queryGetContextKeysForCustomPolicyRequest = (input, context)
9159
9192
  const entries = {};
9160
9193
  if (input.PolicyInputList != null) {
9161
9194
  const memberEntries = serializeAws_querySimulationPolicyListType(input.PolicyInputList, context);
9195
+ if (input.PolicyInputList?.length === 0) {
9196
+ entries.PolicyInputList = [];
9197
+ }
9162
9198
  Object.entries(memberEntries).forEach(([key, value]) => {
9163
9199
  const loc = `PolicyInputList.${key}`;
9164
9200
  entries[loc] = value;
@@ -9173,6 +9209,9 @@ const serializeAws_queryGetContextKeysForPrincipalPolicyRequest = (input, contex
9173
9209
  }
9174
9210
  if (input.PolicyInputList != null) {
9175
9211
  const memberEntries = serializeAws_querySimulationPolicyListType(input.PolicyInputList, context);
9212
+ if (input.PolicyInputList?.length === 0) {
9213
+ entries.PolicyInputList = [];
9214
+ }
9176
9215
  Object.entries(memberEntries).forEach(([key, value]) => {
9177
9216
  const loc = `PolicyInputList.${key}`;
9178
9217
  entries[loc] = value;
@@ -9578,6 +9617,9 @@ const serializeAws_queryListPoliciesGrantingServiceAccessRequest = (input, conte
9578
9617
  }
9579
9618
  if (input.ServiceNamespaces != null) {
9580
9619
  const memberEntries = serializeAws_queryserviceNamespaceListType(input.ServiceNamespaces, context);
9620
+ if (input.ServiceNamespaces?.length === 0) {
9621
+ entries.ServiceNamespaces = [];
9622
+ }
9581
9623
  Object.entries(memberEntries).forEach(([key, value]) => {
9582
9624
  const loc = `ServiceNamespaces.${key}`;
9583
9625
  entries[loc] = value;
@@ -9963,6 +10005,9 @@ const serializeAws_querySimulateCustomPolicyRequest = (input, context) => {
9963
10005
  const entries = {};
9964
10006
  if (input.PolicyInputList != null) {
9965
10007
  const memberEntries = serializeAws_querySimulationPolicyListType(input.PolicyInputList, context);
10008
+ if (input.PolicyInputList?.length === 0) {
10009
+ entries.PolicyInputList = [];
10010
+ }
9966
10011
  Object.entries(memberEntries).forEach(([key, value]) => {
9967
10012
  const loc = `PolicyInputList.${key}`;
9968
10013
  entries[loc] = value;
@@ -9970,6 +10015,9 @@ const serializeAws_querySimulateCustomPolicyRequest = (input, context) => {
9970
10015
  }
9971
10016
  if (input.PermissionsBoundaryPolicyInputList != null) {
9972
10017
  const memberEntries = serializeAws_querySimulationPolicyListType(input.PermissionsBoundaryPolicyInputList, context);
10018
+ if (input.PermissionsBoundaryPolicyInputList?.length === 0) {
10019
+ entries.PermissionsBoundaryPolicyInputList = [];
10020
+ }
9973
10021
  Object.entries(memberEntries).forEach(([key, value]) => {
9974
10022
  const loc = `PermissionsBoundaryPolicyInputList.${key}`;
9975
10023
  entries[loc] = value;
@@ -9977,6 +10025,9 @@ const serializeAws_querySimulateCustomPolicyRequest = (input, context) => {
9977
10025
  }
9978
10026
  if (input.ActionNames != null) {
9979
10027
  const memberEntries = serializeAws_queryActionNameListType(input.ActionNames, context);
10028
+ if (input.ActionNames?.length === 0) {
10029
+ entries.ActionNames = [];
10030
+ }
9980
10031
  Object.entries(memberEntries).forEach(([key, value]) => {
9981
10032
  const loc = `ActionNames.${key}`;
9982
10033
  entries[loc] = value;
@@ -9984,6 +10035,9 @@ const serializeAws_querySimulateCustomPolicyRequest = (input, context) => {
9984
10035
  }
9985
10036
  if (input.ResourceArns != null) {
9986
10037
  const memberEntries = serializeAws_queryResourceNameListType(input.ResourceArns, context);
10038
+ if (input.ResourceArns?.length === 0) {
10039
+ entries.ResourceArns = [];
10040
+ }
9987
10041
  Object.entries(memberEntries).forEach(([key, value]) => {
9988
10042
  const loc = `ResourceArns.${key}`;
9989
10043
  entries[loc] = value;
@@ -10000,6 +10054,9 @@ const serializeAws_querySimulateCustomPolicyRequest = (input, context) => {
10000
10054
  }
10001
10055
  if (input.ContextEntries != null) {
10002
10056
  const memberEntries = serializeAws_queryContextEntryListType(input.ContextEntries, context);
10057
+ if (input.ContextEntries?.length === 0) {
10058
+ entries.ContextEntries = [];
10059
+ }
10003
10060
  Object.entries(memberEntries).forEach(([key, value]) => {
10004
10061
  const loc = `ContextEntries.${key}`;
10005
10062
  entries[loc] = value;
@@ -10023,6 +10080,9 @@ const serializeAws_querySimulatePrincipalPolicyRequest = (input, context) => {
10023
10080
  }
10024
10081
  if (input.PolicyInputList != null) {
10025
10082
  const memberEntries = serializeAws_querySimulationPolicyListType(input.PolicyInputList, context);
10083
+ if (input.PolicyInputList?.length === 0) {
10084
+ entries.PolicyInputList = [];
10085
+ }
10026
10086
  Object.entries(memberEntries).forEach(([key, value]) => {
10027
10087
  const loc = `PolicyInputList.${key}`;
10028
10088
  entries[loc] = value;
@@ -10030,6 +10090,9 @@ const serializeAws_querySimulatePrincipalPolicyRequest = (input, context) => {
10030
10090
  }
10031
10091
  if (input.PermissionsBoundaryPolicyInputList != null) {
10032
10092
  const memberEntries = serializeAws_querySimulationPolicyListType(input.PermissionsBoundaryPolicyInputList, context);
10093
+ if (input.PermissionsBoundaryPolicyInputList?.length === 0) {
10094
+ entries.PermissionsBoundaryPolicyInputList = [];
10095
+ }
10033
10096
  Object.entries(memberEntries).forEach(([key, value]) => {
10034
10097
  const loc = `PermissionsBoundaryPolicyInputList.${key}`;
10035
10098
  entries[loc] = value;
@@ -10037,6 +10100,9 @@ const serializeAws_querySimulatePrincipalPolicyRequest = (input, context) => {
10037
10100
  }
10038
10101
  if (input.ActionNames != null) {
10039
10102
  const memberEntries = serializeAws_queryActionNameListType(input.ActionNames, context);
10103
+ if (input.ActionNames?.length === 0) {
10104
+ entries.ActionNames = [];
10105
+ }
10040
10106
  Object.entries(memberEntries).forEach(([key, value]) => {
10041
10107
  const loc = `ActionNames.${key}`;
10042
10108
  entries[loc] = value;
@@ -10044,6 +10110,9 @@ const serializeAws_querySimulatePrincipalPolicyRequest = (input, context) => {
10044
10110
  }
10045
10111
  if (input.ResourceArns != null) {
10046
10112
  const memberEntries = serializeAws_queryResourceNameListType(input.ResourceArns, context);
10113
+ if (input.ResourceArns?.length === 0) {
10114
+ entries.ResourceArns = [];
10115
+ }
10047
10116
  Object.entries(memberEntries).forEach(([key, value]) => {
10048
10117
  const loc = `ResourceArns.${key}`;
10049
10118
  entries[loc] = value;
@@ -10060,6 +10129,9 @@ const serializeAws_querySimulatePrincipalPolicyRequest = (input, context) => {
10060
10129
  }
10061
10130
  if (input.ContextEntries != null) {
10062
10131
  const memberEntries = serializeAws_queryContextEntryListType(input.ContextEntries, context);
10132
+ if (input.ContextEntries?.length === 0) {
10133
+ entries.ContextEntries = [];
10134
+ }
10063
10135
  Object.entries(memberEntries).forEach(([key, value]) => {
10064
10136
  const loc = `ContextEntries.${key}`;
10065
10137
  entries[loc] = value;
@@ -10105,6 +10177,9 @@ const serializeAws_queryTagInstanceProfileRequest = (input, context) => {
10105
10177
  }
10106
10178
  if (input.Tags != null) {
10107
10179
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
10180
+ if (input.Tags?.length === 0) {
10181
+ entries.Tags = [];
10182
+ }
10108
10183
  Object.entries(memberEntries).forEach(([key, value]) => {
10109
10184
  const loc = `Tags.${key}`;
10110
10185
  entries[loc] = value;
@@ -10146,6 +10221,9 @@ const serializeAws_queryTagMFADeviceRequest = (input, context) => {
10146
10221
  }
10147
10222
  if (input.Tags != null) {
10148
10223
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
10224
+ if (input.Tags?.length === 0) {
10225
+ entries.Tags = [];
10226
+ }
10149
10227
  Object.entries(memberEntries).forEach(([key, value]) => {
10150
10228
  const loc = `Tags.${key}`;
10151
10229
  entries[loc] = value;
@@ -10160,6 +10238,9 @@ const serializeAws_queryTagOpenIDConnectProviderRequest = (input, context) => {
10160
10238
  }
10161
10239
  if (input.Tags != null) {
10162
10240
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
10241
+ if (input.Tags?.length === 0) {
10242
+ entries.Tags = [];
10243
+ }
10163
10244
  Object.entries(memberEntries).forEach(([key, value]) => {
10164
10245
  const loc = `Tags.${key}`;
10165
10246
  entries[loc] = value;
@@ -10174,6 +10255,9 @@ const serializeAws_queryTagPolicyRequest = (input, context) => {
10174
10255
  }
10175
10256
  if (input.Tags != null) {
10176
10257
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
10258
+ if (input.Tags?.length === 0) {
10259
+ entries.Tags = [];
10260
+ }
10177
10261
  Object.entries(memberEntries).forEach(([key, value]) => {
10178
10262
  const loc = `Tags.${key}`;
10179
10263
  entries[loc] = value;
@@ -10188,6 +10272,9 @@ const serializeAws_queryTagRoleRequest = (input, context) => {
10188
10272
  }
10189
10273
  if (input.Tags != null) {
10190
10274
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
10275
+ if (input.Tags?.length === 0) {
10276
+ entries.Tags = [];
10277
+ }
10191
10278
  Object.entries(memberEntries).forEach(([key, value]) => {
10192
10279
  const loc = `Tags.${key}`;
10193
10280
  entries[loc] = value;
@@ -10202,6 +10289,9 @@ const serializeAws_queryTagSAMLProviderRequest = (input, context) => {
10202
10289
  }
10203
10290
  if (input.Tags != null) {
10204
10291
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
10292
+ if (input.Tags?.length === 0) {
10293
+ entries.Tags = [];
10294
+ }
10205
10295
  Object.entries(memberEntries).forEach(([key, value]) => {
10206
10296
  const loc = `Tags.${key}`;
10207
10297
  entries[loc] = value;
@@ -10216,6 +10306,9 @@ const serializeAws_queryTagServerCertificateRequest = (input, context) => {
10216
10306
  }
10217
10307
  if (input.Tags != null) {
10218
10308
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
10309
+ if (input.Tags?.length === 0) {
10310
+ entries.Tags = [];
10311
+ }
10219
10312
  Object.entries(memberEntries).forEach(([key, value]) => {
10220
10313
  const loc = `Tags.${key}`;
10221
10314
  entries[loc] = value;
@@ -10230,6 +10323,9 @@ const serializeAws_queryTagUserRequest = (input, context) => {
10230
10323
  }
10231
10324
  if (input.Tags != null) {
10232
10325
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
10326
+ if (input.Tags?.length === 0) {
10327
+ entries.Tags = [];
10328
+ }
10233
10329
  Object.entries(memberEntries).forEach(([key, value]) => {
10234
10330
  const loc = `Tags.${key}`;
10235
10331
  entries[loc] = value;
@@ -10256,6 +10352,9 @@ const serializeAws_queryUntagInstanceProfileRequest = (input, context) => {
10256
10352
  }
10257
10353
  if (input.TagKeys != null) {
10258
10354
  const memberEntries = serializeAws_querytagKeyListType(input.TagKeys, context);
10355
+ if (input.TagKeys?.length === 0) {
10356
+ entries.TagKeys = [];
10357
+ }
10259
10358
  Object.entries(memberEntries).forEach(([key, value]) => {
10260
10359
  const loc = `TagKeys.${key}`;
10261
10360
  entries[loc] = value;
@@ -10270,6 +10369,9 @@ const serializeAws_queryUntagMFADeviceRequest = (input, context) => {
10270
10369
  }
10271
10370
  if (input.TagKeys != null) {
10272
10371
  const memberEntries = serializeAws_querytagKeyListType(input.TagKeys, context);
10372
+ if (input.TagKeys?.length === 0) {
10373
+ entries.TagKeys = [];
10374
+ }
10273
10375
  Object.entries(memberEntries).forEach(([key, value]) => {
10274
10376
  const loc = `TagKeys.${key}`;
10275
10377
  entries[loc] = value;
@@ -10284,6 +10386,9 @@ const serializeAws_queryUntagOpenIDConnectProviderRequest = (input, context) =>
10284
10386
  }
10285
10387
  if (input.TagKeys != null) {
10286
10388
  const memberEntries = serializeAws_querytagKeyListType(input.TagKeys, context);
10389
+ if (input.TagKeys?.length === 0) {
10390
+ entries.TagKeys = [];
10391
+ }
10287
10392
  Object.entries(memberEntries).forEach(([key, value]) => {
10288
10393
  const loc = `TagKeys.${key}`;
10289
10394
  entries[loc] = value;
@@ -10298,6 +10403,9 @@ const serializeAws_queryUntagPolicyRequest = (input, context) => {
10298
10403
  }
10299
10404
  if (input.TagKeys != null) {
10300
10405
  const memberEntries = serializeAws_querytagKeyListType(input.TagKeys, context);
10406
+ if (input.TagKeys?.length === 0) {
10407
+ entries.TagKeys = [];
10408
+ }
10301
10409
  Object.entries(memberEntries).forEach(([key, value]) => {
10302
10410
  const loc = `TagKeys.${key}`;
10303
10411
  entries[loc] = value;
@@ -10312,6 +10420,9 @@ const serializeAws_queryUntagRoleRequest = (input, context) => {
10312
10420
  }
10313
10421
  if (input.TagKeys != null) {
10314
10422
  const memberEntries = serializeAws_querytagKeyListType(input.TagKeys, context);
10423
+ if (input.TagKeys?.length === 0) {
10424
+ entries.TagKeys = [];
10425
+ }
10315
10426
  Object.entries(memberEntries).forEach(([key, value]) => {
10316
10427
  const loc = `TagKeys.${key}`;
10317
10428
  entries[loc] = value;
@@ -10326,6 +10437,9 @@ const serializeAws_queryUntagSAMLProviderRequest = (input, context) => {
10326
10437
  }
10327
10438
  if (input.TagKeys != null) {
10328
10439
  const memberEntries = serializeAws_querytagKeyListType(input.TagKeys, context);
10440
+ if (input.TagKeys?.length === 0) {
10441
+ entries.TagKeys = [];
10442
+ }
10329
10443
  Object.entries(memberEntries).forEach(([key, value]) => {
10330
10444
  const loc = `TagKeys.${key}`;
10331
10445
  entries[loc] = value;
@@ -10340,6 +10454,9 @@ const serializeAws_queryUntagServerCertificateRequest = (input, context) => {
10340
10454
  }
10341
10455
  if (input.TagKeys != null) {
10342
10456
  const memberEntries = serializeAws_querytagKeyListType(input.TagKeys, context);
10457
+ if (input.TagKeys?.length === 0) {
10458
+ entries.TagKeys = [];
10459
+ }
10343
10460
  Object.entries(memberEntries).forEach(([key, value]) => {
10344
10461
  const loc = `TagKeys.${key}`;
10345
10462
  entries[loc] = value;
@@ -10354,6 +10471,9 @@ const serializeAws_queryUntagUserRequest = (input, context) => {
10354
10471
  }
10355
10472
  if (input.TagKeys != null) {
10356
10473
  const memberEntries = serializeAws_querytagKeyListType(input.TagKeys, context);
10474
+ if (input.TagKeys?.length === 0) {
10475
+ entries.TagKeys = [];
10476
+ }
10357
10477
  Object.entries(memberEntries).forEach(([key, value]) => {
10358
10478
  const loc = `TagKeys.${key}`;
10359
10479
  entries[loc] = value;
@@ -10448,6 +10568,9 @@ const serializeAws_queryUpdateOpenIDConnectProviderThumbprintRequest = (input, c
10448
10568
  }
10449
10569
  if (input.ThumbprintList != null) {
10450
10570
  const memberEntries = serializeAws_querythumbprintListType(input.ThumbprintList, context);
10571
+ if (input.ThumbprintList?.length === 0) {
10572
+ entries.ThumbprintList = [];
10573
+ }
10451
10574
  Object.entries(memberEntries).forEach(([key, value]) => {
10452
10575
  const loc = `ThumbprintList.${key}`;
10453
10576
  entries[loc] = value;
@@ -10572,6 +10695,9 @@ const serializeAws_queryUploadServerCertificateRequest = (input, context) => {
10572
10695
  }
10573
10696
  if (input.Tags != null) {
10574
10697
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
10698
+ if (input.Tags?.length === 0) {
10699
+ entries.Tags = [];
10700
+ }
10575
10701
  Object.entries(memberEntries).forEach(([key, value]) => {
10576
10702
  const loc = `Tags.${key}`;
10577
10703
  entries[loc] = value;
@@ -13832,15 +13958,12 @@ const deserializeAws_queryvirtualMFADeviceListType = (output, context) => {
13832
13958
  return deserializeAws_queryVirtualMFADevice(entry, context);
13833
13959
  });
13834
13960
  };
13835
- const deserializeMetadata = (output) => {
13836
- var _a, _b;
13837
- return ({
13838
- httpStatusCode: output.statusCode,
13839
- requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
13840
- extendedRequestId: output.headers["x-amz-id-2"],
13841
- cfId: output.headers["x-amz-cf-id"],
13842
- });
13843
- };
13961
+ const deserializeMetadata = (output) => ({
13962
+ httpStatusCode: output.statusCode,
13963
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
13964
+ extendedRequestId: output.headers["x-amz-id-2"],
13965
+ cfId: output.headers["x-amz-cf-id"],
13966
+ });
13844
13967
  const collectBody = (streamBody = new Uint8Array(), context) => {
13845
13968
  if (streamBody instanceof Uint8Array) {
13846
13969
  return Promise.resolve(streamBody);
@@ -13892,10 +14015,9 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
13892
14015
  return {};
13893
14016
  });
13894
14017
  const parseErrorBody = async (errorBody, context) => {
13895
- var _a;
13896
14018
  const value = await parseBody(errorBody, context);
13897
14019
  if (value.Error) {
13898
- value.Error.message = (_a = value.Error.message) !== null && _a !== void 0 ? _a : value.Error.Message;
14020
+ value.Error.message = value.Error.message ?? value.Error.Message;
13899
14021
  }
13900
14022
  return value;
13901
14023
  };
@@ -16,7 +16,6 @@ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
16
  const smithy_client_1 = require("@aws-sdk/smithy-client");
17
17
  const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
18
18
  const getRuntimeConfig = (config) => {
19
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
19
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
21
20
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
21
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -25,21 +24,22 @@ const getRuntimeConfig = (config) => {
25
24
  ...config,
26
25
  runtime: "browser",
27
26
  defaultsMode,
28
- base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
29
- base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
30
- bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
31
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
32
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
34
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
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),
37
- sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
38
- streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
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)),
40
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
41
- utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
42
- utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
27
+ base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
28
+ base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
29
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
30
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
31
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
32
+ (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
+ maxAttempts: config?.maxAttempts ?? middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
34
+ region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
35
+ requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
37
+ sha256: config?.sha256 ?? sha256_browser_1.Sha256,
38
+ streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
39
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
40
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
41
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
42
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
43
43
  };
44
44
  };
45
45
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -19,7 +19,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
20
  const smithy_client_2 = require("@aws-sdk/smithy-client");
21
21
  const getRuntimeConfig = (config) => {
22
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
23
22
  (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
24
23
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
25
24
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -29,24 +28,26 @@ const getRuntimeConfig = (config) => {
29
28
  ...config,
30
29
  runtime: "node",
31
30
  defaultsMode,
32
- base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
33
- base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
34
- bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
35
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
36
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
38
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
39
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
40
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
41
- ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
42
- default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
43
- }),
44
- sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
45
- streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
46
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
47
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
48
- utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
49
- utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
31
+ base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
32
+ base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
33
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
34
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
35
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
36
+ (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
38
+ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
39
+ requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
40
+ retryMode: config?.retryMode ??
41
+ (0, node_config_provider_1.loadConfig)({
42
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
43
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
44
+ }),
45
+ sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
46
+ streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
47
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
48
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
49
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
50
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
50
51
  };
51
52
  };
52
53
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -4,13 +4,12 @@ exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
6
  const getRuntimeConfig = (config) => {
7
- var _a;
8
7
  const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
8
  return {
10
9
  ...browserDefaults,
11
10
  ...config,
12
11
  runtime: "react-native",
13
- sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : sha256_js_1.Sha256,
12
+ sha256: config?.sha256 ?? sha256_js_1.Sha256,
14
13
  };
15
14
  };
16
15
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -3,15 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
5
  const endpointResolver_1 = require("./endpoint/endpointResolver");
6
- const getRuntimeConfig = (config) => {
7
- var _a, _b, _c, _d, _e;
8
- return ({
9
- apiVersion: "2010-05-08",
10
- disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
11
- endpointProvider: (_b = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _b !== void 0 ? _b : endpointResolver_1.defaultEndpointResolver,
12
- logger: (_c = config === null || config === void 0 ? void 0 : config.logger) !== null && _c !== void 0 ? _c : {},
13
- serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "IAM",
14
- urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
15
- });
16
- };
6
+ const getRuntimeConfig = (config) => ({
7
+ apiVersion: "2010-05-08",
8
+ disableHostPrefix: config?.disableHostPrefix ?? false,
9
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
10
+ logger: config?.logger ?? {},
11
+ serviceId: config?.serviceId ?? "IAM",
12
+ urlParser: config?.urlParser ?? url_parser_1.parseUrl,
13
+ });
17
14
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -8279,6 +8279,9 @@ const serializeAws_queryContextEntry = (input, context) => {
8279
8279
  }
8280
8280
  if (input.ContextKeyValues != null) {
8281
8281
  const memberEntries = serializeAws_queryContextKeyValueListType(input.ContextKeyValues, context);
8282
+ if (input.ContextKeyValues?.length === 0) {
8283
+ entries.ContextKeyValues = [];
8284
+ }
8282
8285
  Object.entries(memberEntries).forEach(([key, value]) => {
8283
8286
  const loc = `ContextKeyValues.${key}`;
8284
8287
  entries[loc] = value;
@@ -8350,6 +8353,9 @@ const serializeAws_queryCreateInstanceProfileRequest = (input, context) => {
8350
8353
  }
8351
8354
  if (input.Tags != null) {
8352
8355
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
8356
+ if (input.Tags?.length === 0) {
8357
+ entries.Tags = [];
8358
+ }
8353
8359
  Object.entries(memberEntries).forEach(([key, value]) => {
8354
8360
  const loc = `Tags.${key}`;
8355
8361
  entries[loc] = value;
@@ -8377,6 +8383,9 @@ const serializeAws_queryCreateOpenIDConnectProviderRequest = (input, context) =>
8377
8383
  }
8378
8384
  if (input.ClientIDList != null) {
8379
8385
  const memberEntries = serializeAws_queryclientIDListType(input.ClientIDList, context);
8386
+ if (input.ClientIDList?.length === 0) {
8387
+ entries.ClientIDList = [];
8388
+ }
8380
8389
  Object.entries(memberEntries).forEach(([key, value]) => {
8381
8390
  const loc = `ClientIDList.${key}`;
8382
8391
  entries[loc] = value;
@@ -8384,6 +8393,9 @@ const serializeAws_queryCreateOpenIDConnectProviderRequest = (input, context) =>
8384
8393
  }
8385
8394
  if (input.ThumbprintList != null) {
8386
8395
  const memberEntries = serializeAws_querythumbprintListType(input.ThumbprintList, context);
8396
+ if (input.ThumbprintList?.length === 0) {
8397
+ entries.ThumbprintList = [];
8398
+ }
8387
8399
  Object.entries(memberEntries).forEach(([key, value]) => {
8388
8400
  const loc = `ThumbprintList.${key}`;
8389
8401
  entries[loc] = value;
@@ -8391,6 +8403,9 @@ const serializeAws_queryCreateOpenIDConnectProviderRequest = (input, context) =>
8391
8403
  }
8392
8404
  if (input.Tags != null) {
8393
8405
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
8406
+ if (input.Tags?.length === 0) {
8407
+ entries.Tags = [];
8408
+ }
8394
8409
  Object.entries(memberEntries).forEach(([key, value]) => {
8395
8410
  const loc = `Tags.${key}`;
8396
8411
  entries[loc] = value;
@@ -8414,6 +8429,9 @@ const serializeAws_queryCreatePolicyRequest = (input, context) => {
8414
8429
  }
8415
8430
  if (input.Tags != null) {
8416
8431
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
8432
+ if (input.Tags?.length === 0) {
8433
+ entries.Tags = [];
8434
+ }
8417
8435
  Object.entries(memberEntries).forEach(([key, value]) => {
8418
8436
  const loc = `Tags.${key}`;
8419
8437
  entries[loc] = value;
@@ -8456,6 +8474,9 @@ const serializeAws_queryCreateRoleRequest = (input, context) => {
8456
8474
  }
8457
8475
  if (input.Tags != null) {
8458
8476
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
8477
+ if (input.Tags?.length === 0) {
8478
+ entries.Tags = [];
8479
+ }
8459
8480
  Object.entries(memberEntries).forEach(([key, value]) => {
8460
8481
  const loc = `Tags.${key}`;
8461
8482
  entries[loc] = value;
@@ -8473,6 +8494,9 @@ const serializeAws_queryCreateSAMLProviderRequest = (input, context) => {
8473
8494
  }
8474
8495
  if (input.Tags != null) {
8475
8496
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
8497
+ if (input.Tags?.length === 0) {
8498
+ entries.Tags = [];
8499
+ }
8476
8500
  Object.entries(memberEntries).forEach(([key, value]) => {
8477
8501
  const loc = `Tags.${key}`;
8478
8502
  entries[loc] = value;
@@ -8516,6 +8540,9 @@ const serializeAws_queryCreateUserRequest = (input, context) => {
8516
8540
  }
8517
8541
  if (input.Tags != null) {
8518
8542
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
8543
+ if (input.Tags?.length === 0) {
8544
+ entries.Tags = [];
8545
+ }
8519
8546
  Object.entries(memberEntries).forEach(([key, value]) => {
8520
8547
  const loc = `Tags.${key}`;
8521
8548
  entries[loc] = value;
@@ -8533,6 +8560,9 @@ const serializeAws_queryCreateVirtualMFADeviceRequest = (input, context) => {
8533
8560
  }
8534
8561
  if (input.Tags != null) {
8535
8562
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
8563
+ if (input.Tags?.length === 0) {
8564
+ entries.Tags = [];
8565
+ }
8536
8566
  Object.entries(memberEntries).forEach(([key, value]) => {
8537
8567
  const loc = `Tags.${key}`;
8538
8568
  entries[loc] = value;
@@ -8817,6 +8847,9 @@ const serializeAws_queryGetAccountAuthorizationDetailsRequest = (input, context)
8817
8847
  const entries = {};
8818
8848
  if (input.Filter != null) {
8819
8849
  const memberEntries = serializeAws_queryentityListType(input.Filter, context);
8850
+ if (input.Filter?.length === 0) {
8851
+ entries.Filter = [];
8852
+ }
8820
8853
  Object.entries(memberEntries).forEach(([key, value]) => {
8821
8854
  const loc = `Filter.${key}`;
8822
8855
  entries[loc] = value;
@@ -8834,6 +8867,9 @@ const serializeAws_queryGetContextKeysForCustomPolicyRequest = (input, context)
8834
8867
  const entries = {};
8835
8868
  if (input.PolicyInputList != null) {
8836
8869
  const memberEntries = serializeAws_querySimulationPolicyListType(input.PolicyInputList, context);
8870
+ if (input.PolicyInputList?.length === 0) {
8871
+ entries.PolicyInputList = [];
8872
+ }
8837
8873
  Object.entries(memberEntries).forEach(([key, value]) => {
8838
8874
  const loc = `PolicyInputList.${key}`;
8839
8875
  entries[loc] = value;
@@ -8848,6 +8884,9 @@ const serializeAws_queryGetContextKeysForPrincipalPolicyRequest = (input, contex
8848
8884
  }
8849
8885
  if (input.PolicyInputList != null) {
8850
8886
  const memberEntries = serializeAws_querySimulationPolicyListType(input.PolicyInputList, context);
8887
+ if (input.PolicyInputList?.length === 0) {
8888
+ entries.PolicyInputList = [];
8889
+ }
8851
8890
  Object.entries(memberEntries).forEach(([key, value]) => {
8852
8891
  const loc = `PolicyInputList.${key}`;
8853
8892
  entries[loc] = value;
@@ -9253,6 +9292,9 @@ const serializeAws_queryListPoliciesGrantingServiceAccessRequest = (input, conte
9253
9292
  }
9254
9293
  if (input.ServiceNamespaces != null) {
9255
9294
  const memberEntries = serializeAws_queryserviceNamespaceListType(input.ServiceNamespaces, context);
9295
+ if (input.ServiceNamespaces?.length === 0) {
9296
+ entries.ServiceNamespaces = [];
9297
+ }
9256
9298
  Object.entries(memberEntries).forEach(([key, value]) => {
9257
9299
  const loc = `ServiceNamespaces.${key}`;
9258
9300
  entries[loc] = value;
@@ -9638,6 +9680,9 @@ const serializeAws_querySimulateCustomPolicyRequest = (input, context) => {
9638
9680
  const entries = {};
9639
9681
  if (input.PolicyInputList != null) {
9640
9682
  const memberEntries = serializeAws_querySimulationPolicyListType(input.PolicyInputList, context);
9683
+ if (input.PolicyInputList?.length === 0) {
9684
+ entries.PolicyInputList = [];
9685
+ }
9641
9686
  Object.entries(memberEntries).forEach(([key, value]) => {
9642
9687
  const loc = `PolicyInputList.${key}`;
9643
9688
  entries[loc] = value;
@@ -9645,6 +9690,9 @@ const serializeAws_querySimulateCustomPolicyRequest = (input, context) => {
9645
9690
  }
9646
9691
  if (input.PermissionsBoundaryPolicyInputList != null) {
9647
9692
  const memberEntries = serializeAws_querySimulationPolicyListType(input.PermissionsBoundaryPolicyInputList, context);
9693
+ if (input.PermissionsBoundaryPolicyInputList?.length === 0) {
9694
+ entries.PermissionsBoundaryPolicyInputList = [];
9695
+ }
9648
9696
  Object.entries(memberEntries).forEach(([key, value]) => {
9649
9697
  const loc = `PermissionsBoundaryPolicyInputList.${key}`;
9650
9698
  entries[loc] = value;
@@ -9652,6 +9700,9 @@ const serializeAws_querySimulateCustomPolicyRequest = (input, context) => {
9652
9700
  }
9653
9701
  if (input.ActionNames != null) {
9654
9702
  const memberEntries = serializeAws_queryActionNameListType(input.ActionNames, context);
9703
+ if (input.ActionNames?.length === 0) {
9704
+ entries.ActionNames = [];
9705
+ }
9655
9706
  Object.entries(memberEntries).forEach(([key, value]) => {
9656
9707
  const loc = `ActionNames.${key}`;
9657
9708
  entries[loc] = value;
@@ -9659,6 +9710,9 @@ const serializeAws_querySimulateCustomPolicyRequest = (input, context) => {
9659
9710
  }
9660
9711
  if (input.ResourceArns != null) {
9661
9712
  const memberEntries = serializeAws_queryResourceNameListType(input.ResourceArns, context);
9713
+ if (input.ResourceArns?.length === 0) {
9714
+ entries.ResourceArns = [];
9715
+ }
9662
9716
  Object.entries(memberEntries).forEach(([key, value]) => {
9663
9717
  const loc = `ResourceArns.${key}`;
9664
9718
  entries[loc] = value;
@@ -9675,6 +9729,9 @@ const serializeAws_querySimulateCustomPolicyRequest = (input, context) => {
9675
9729
  }
9676
9730
  if (input.ContextEntries != null) {
9677
9731
  const memberEntries = serializeAws_queryContextEntryListType(input.ContextEntries, context);
9732
+ if (input.ContextEntries?.length === 0) {
9733
+ entries.ContextEntries = [];
9734
+ }
9678
9735
  Object.entries(memberEntries).forEach(([key, value]) => {
9679
9736
  const loc = `ContextEntries.${key}`;
9680
9737
  entries[loc] = value;
@@ -9698,6 +9755,9 @@ const serializeAws_querySimulatePrincipalPolicyRequest = (input, context) => {
9698
9755
  }
9699
9756
  if (input.PolicyInputList != null) {
9700
9757
  const memberEntries = serializeAws_querySimulationPolicyListType(input.PolicyInputList, context);
9758
+ if (input.PolicyInputList?.length === 0) {
9759
+ entries.PolicyInputList = [];
9760
+ }
9701
9761
  Object.entries(memberEntries).forEach(([key, value]) => {
9702
9762
  const loc = `PolicyInputList.${key}`;
9703
9763
  entries[loc] = value;
@@ -9705,6 +9765,9 @@ const serializeAws_querySimulatePrincipalPolicyRequest = (input, context) => {
9705
9765
  }
9706
9766
  if (input.PermissionsBoundaryPolicyInputList != null) {
9707
9767
  const memberEntries = serializeAws_querySimulationPolicyListType(input.PermissionsBoundaryPolicyInputList, context);
9768
+ if (input.PermissionsBoundaryPolicyInputList?.length === 0) {
9769
+ entries.PermissionsBoundaryPolicyInputList = [];
9770
+ }
9708
9771
  Object.entries(memberEntries).forEach(([key, value]) => {
9709
9772
  const loc = `PermissionsBoundaryPolicyInputList.${key}`;
9710
9773
  entries[loc] = value;
@@ -9712,6 +9775,9 @@ const serializeAws_querySimulatePrincipalPolicyRequest = (input, context) => {
9712
9775
  }
9713
9776
  if (input.ActionNames != null) {
9714
9777
  const memberEntries = serializeAws_queryActionNameListType(input.ActionNames, context);
9778
+ if (input.ActionNames?.length === 0) {
9779
+ entries.ActionNames = [];
9780
+ }
9715
9781
  Object.entries(memberEntries).forEach(([key, value]) => {
9716
9782
  const loc = `ActionNames.${key}`;
9717
9783
  entries[loc] = value;
@@ -9719,6 +9785,9 @@ const serializeAws_querySimulatePrincipalPolicyRequest = (input, context) => {
9719
9785
  }
9720
9786
  if (input.ResourceArns != null) {
9721
9787
  const memberEntries = serializeAws_queryResourceNameListType(input.ResourceArns, context);
9788
+ if (input.ResourceArns?.length === 0) {
9789
+ entries.ResourceArns = [];
9790
+ }
9722
9791
  Object.entries(memberEntries).forEach(([key, value]) => {
9723
9792
  const loc = `ResourceArns.${key}`;
9724
9793
  entries[loc] = value;
@@ -9735,6 +9804,9 @@ const serializeAws_querySimulatePrincipalPolicyRequest = (input, context) => {
9735
9804
  }
9736
9805
  if (input.ContextEntries != null) {
9737
9806
  const memberEntries = serializeAws_queryContextEntryListType(input.ContextEntries, context);
9807
+ if (input.ContextEntries?.length === 0) {
9808
+ entries.ContextEntries = [];
9809
+ }
9738
9810
  Object.entries(memberEntries).forEach(([key, value]) => {
9739
9811
  const loc = `ContextEntries.${key}`;
9740
9812
  entries[loc] = value;
@@ -9780,6 +9852,9 @@ const serializeAws_queryTagInstanceProfileRequest = (input, context) => {
9780
9852
  }
9781
9853
  if (input.Tags != null) {
9782
9854
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
9855
+ if (input.Tags?.length === 0) {
9856
+ entries.Tags = [];
9857
+ }
9783
9858
  Object.entries(memberEntries).forEach(([key, value]) => {
9784
9859
  const loc = `Tags.${key}`;
9785
9860
  entries[loc] = value;
@@ -9821,6 +9896,9 @@ const serializeAws_queryTagMFADeviceRequest = (input, context) => {
9821
9896
  }
9822
9897
  if (input.Tags != null) {
9823
9898
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
9899
+ if (input.Tags?.length === 0) {
9900
+ entries.Tags = [];
9901
+ }
9824
9902
  Object.entries(memberEntries).forEach(([key, value]) => {
9825
9903
  const loc = `Tags.${key}`;
9826
9904
  entries[loc] = value;
@@ -9835,6 +9913,9 @@ const serializeAws_queryTagOpenIDConnectProviderRequest = (input, context) => {
9835
9913
  }
9836
9914
  if (input.Tags != null) {
9837
9915
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
9916
+ if (input.Tags?.length === 0) {
9917
+ entries.Tags = [];
9918
+ }
9838
9919
  Object.entries(memberEntries).forEach(([key, value]) => {
9839
9920
  const loc = `Tags.${key}`;
9840
9921
  entries[loc] = value;
@@ -9849,6 +9930,9 @@ const serializeAws_queryTagPolicyRequest = (input, context) => {
9849
9930
  }
9850
9931
  if (input.Tags != null) {
9851
9932
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
9933
+ if (input.Tags?.length === 0) {
9934
+ entries.Tags = [];
9935
+ }
9852
9936
  Object.entries(memberEntries).forEach(([key, value]) => {
9853
9937
  const loc = `Tags.${key}`;
9854
9938
  entries[loc] = value;
@@ -9863,6 +9947,9 @@ const serializeAws_queryTagRoleRequest = (input, context) => {
9863
9947
  }
9864
9948
  if (input.Tags != null) {
9865
9949
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
9950
+ if (input.Tags?.length === 0) {
9951
+ entries.Tags = [];
9952
+ }
9866
9953
  Object.entries(memberEntries).forEach(([key, value]) => {
9867
9954
  const loc = `Tags.${key}`;
9868
9955
  entries[loc] = value;
@@ -9877,6 +9964,9 @@ const serializeAws_queryTagSAMLProviderRequest = (input, context) => {
9877
9964
  }
9878
9965
  if (input.Tags != null) {
9879
9966
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
9967
+ if (input.Tags?.length === 0) {
9968
+ entries.Tags = [];
9969
+ }
9880
9970
  Object.entries(memberEntries).forEach(([key, value]) => {
9881
9971
  const loc = `Tags.${key}`;
9882
9972
  entries[loc] = value;
@@ -9891,6 +9981,9 @@ const serializeAws_queryTagServerCertificateRequest = (input, context) => {
9891
9981
  }
9892
9982
  if (input.Tags != null) {
9893
9983
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
9984
+ if (input.Tags?.length === 0) {
9985
+ entries.Tags = [];
9986
+ }
9894
9987
  Object.entries(memberEntries).forEach(([key, value]) => {
9895
9988
  const loc = `Tags.${key}`;
9896
9989
  entries[loc] = value;
@@ -9905,6 +9998,9 @@ const serializeAws_queryTagUserRequest = (input, context) => {
9905
9998
  }
9906
9999
  if (input.Tags != null) {
9907
10000
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
10001
+ if (input.Tags?.length === 0) {
10002
+ entries.Tags = [];
10003
+ }
9908
10004
  Object.entries(memberEntries).forEach(([key, value]) => {
9909
10005
  const loc = `Tags.${key}`;
9910
10006
  entries[loc] = value;
@@ -9931,6 +10027,9 @@ const serializeAws_queryUntagInstanceProfileRequest = (input, context) => {
9931
10027
  }
9932
10028
  if (input.TagKeys != null) {
9933
10029
  const memberEntries = serializeAws_querytagKeyListType(input.TagKeys, context);
10030
+ if (input.TagKeys?.length === 0) {
10031
+ entries.TagKeys = [];
10032
+ }
9934
10033
  Object.entries(memberEntries).forEach(([key, value]) => {
9935
10034
  const loc = `TagKeys.${key}`;
9936
10035
  entries[loc] = value;
@@ -9945,6 +10044,9 @@ const serializeAws_queryUntagMFADeviceRequest = (input, context) => {
9945
10044
  }
9946
10045
  if (input.TagKeys != null) {
9947
10046
  const memberEntries = serializeAws_querytagKeyListType(input.TagKeys, context);
10047
+ if (input.TagKeys?.length === 0) {
10048
+ entries.TagKeys = [];
10049
+ }
9948
10050
  Object.entries(memberEntries).forEach(([key, value]) => {
9949
10051
  const loc = `TagKeys.${key}`;
9950
10052
  entries[loc] = value;
@@ -9959,6 +10061,9 @@ const serializeAws_queryUntagOpenIDConnectProviderRequest = (input, context) =>
9959
10061
  }
9960
10062
  if (input.TagKeys != null) {
9961
10063
  const memberEntries = serializeAws_querytagKeyListType(input.TagKeys, context);
10064
+ if (input.TagKeys?.length === 0) {
10065
+ entries.TagKeys = [];
10066
+ }
9962
10067
  Object.entries(memberEntries).forEach(([key, value]) => {
9963
10068
  const loc = `TagKeys.${key}`;
9964
10069
  entries[loc] = value;
@@ -9973,6 +10078,9 @@ const serializeAws_queryUntagPolicyRequest = (input, context) => {
9973
10078
  }
9974
10079
  if (input.TagKeys != null) {
9975
10080
  const memberEntries = serializeAws_querytagKeyListType(input.TagKeys, context);
10081
+ if (input.TagKeys?.length === 0) {
10082
+ entries.TagKeys = [];
10083
+ }
9976
10084
  Object.entries(memberEntries).forEach(([key, value]) => {
9977
10085
  const loc = `TagKeys.${key}`;
9978
10086
  entries[loc] = value;
@@ -9987,6 +10095,9 @@ const serializeAws_queryUntagRoleRequest = (input, context) => {
9987
10095
  }
9988
10096
  if (input.TagKeys != null) {
9989
10097
  const memberEntries = serializeAws_querytagKeyListType(input.TagKeys, context);
10098
+ if (input.TagKeys?.length === 0) {
10099
+ entries.TagKeys = [];
10100
+ }
9990
10101
  Object.entries(memberEntries).forEach(([key, value]) => {
9991
10102
  const loc = `TagKeys.${key}`;
9992
10103
  entries[loc] = value;
@@ -10001,6 +10112,9 @@ const serializeAws_queryUntagSAMLProviderRequest = (input, context) => {
10001
10112
  }
10002
10113
  if (input.TagKeys != null) {
10003
10114
  const memberEntries = serializeAws_querytagKeyListType(input.TagKeys, context);
10115
+ if (input.TagKeys?.length === 0) {
10116
+ entries.TagKeys = [];
10117
+ }
10004
10118
  Object.entries(memberEntries).forEach(([key, value]) => {
10005
10119
  const loc = `TagKeys.${key}`;
10006
10120
  entries[loc] = value;
@@ -10015,6 +10129,9 @@ const serializeAws_queryUntagServerCertificateRequest = (input, context) => {
10015
10129
  }
10016
10130
  if (input.TagKeys != null) {
10017
10131
  const memberEntries = serializeAws_querytagKeyListType(input.TagKeys, context);
10132
+ if (input.TagKeys?.length === 0) {
10133
+ entries.TagKeys = [];
10134
+ }
10018
10135
  Object.entries(memberEntries).forEach(([key, value]) => {
10019
10136
  const loc = `TagKeys.${key}`;
10020
10137
  entries[loc] = value;
@@ -10029,6 +10146,9 @@ const serializeAws_queryUntagUserRequest = (input, context) => {
10029
10146
  }
10030
10147
  if (input.TagKeys != null) {
10031
10148
  const memberEntries = serializeAws_querytagKeyListType(input.TagKeys, context);
10149
+ if (input.TagKeys?.length === 0) {
10150
+ entries.TagKeys = [];
10151
+ }
10032
10152
  Object.entries(memberEntries).forEach(([key, value]) => {
10033
10153
  const loc = `TagKeys.${key}`;
10034
10154
  entries[loc] = value;
@@ -10123,6 +10243,9 @@ const serializeAws_queryUpdateOpenIDConnectProviderThumbprintRequest = (input, c
10123
10243
  }
10124
10244
  if (input.ThumbprintList != null) {
10125
10245
  const memberEntries = serializeAws_querythumbprintListType(input.ThumbprintList, context);
10246
+ if (input.ThumbprintList?.length === 0) {
10247
+ entries.ThumbprintList = [];
10248
+ }
10126
10249
  Object.entries(memberEntries).forEach(([key, value]) => {
10127
10250
  const loc = `ThumbprintList.${key}`;
10128
10251
  entries[loc] = value;
@@ -10247,6 +10370,9 @@ const serializeAws_queryUploadServerCertificateRequest = (input, context) => {
10247
10370
  }
10248
10371
  if (input.Tags != null) {
10249
10372
  const memberEntries = serializeAws_querytagListType(input.Tags, context);
10373
+ if (input.Tags?.length === 0) {
10374
+ entries.Tags = [];
10375
+ }
10250
10376
  Object.entries(memberEntries).forEach(([key, value]) => {
10251
10377
  const loc = `Tags.${key}`;
10252
10378
  entries[loc] = value;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iam",
3
3
  "description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
4
- "version": "3.200.0",
4
+ "version": "3.202.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",
@@ -19,46 +19,46 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.200.0",
23
- "@aws-sdk/config-resolver": "3.200.0",
24
- "@aws-sdk/credential-provider-node": "3.200.0",
25
- "@aws-sdk/fetch-http-handler": "3.200.0",
26
- "@aws-sdk/hash-node": "3.200.0",
27
- "@aws-sdk/invalid-dependency": "3.200.0",
28
- "@aws-sdk/middleware-content-length": "3.200.0",
29
- "@aws-sdk/middleware-endpoint": "3.200.0",
30
- "@aws-sdk/middleware-host-header": "3.200.0",
31
- "@aws-sdk/middleware-logger": "3.200.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.200.0",
33
- "@aws-sdk/middleware-retry": "3.200.0",
34
- "@aws-sdk/middleware-serde": "3.200.0",
35
- "@aws-sdk/middleware-signing": "3.200.0",
36
- "@aws-sdk/middleware-stack": "3.200.0",
37
- "@aws-sdk/middleware-user-agent": "3.200.0",
38
- "@aws-sdk/node-config-provider": "3.200.0",
39
- "@aws-sdk/node-http-handler": "3.200.0",
40
- "@aws-sdk/protocol-http": "3.200.0",
41
- "@aws-sdk/smithy-client": "3.200.0",
42
- "@aws-sdk/types": "3.200.0",
43
- "@aws-sdk/url-parser": "3.200.0",
22
+ "@aws-sdk/client-sts": "3.202.0",
23
+ "@aws-sdk/config-resolver": "3.201.0",
24
+ "@aws-sdk/credential-provider-node": "3.202.0",
25
+ "@aws-sdk/fetch-http-handler": "3.201.0",
26
+ "@aws-sdk/hash-node": "3.201.0",
27
+ "@aws-sdk/invalid-dependency": "3.201.0",
28
+ "@aws-sdk/middleware-content-length": "3.201.0",
29
+ "@aws-sdk/middleware-endpoint": "3.201.0",
30
+ "@aws-sdk/middleware-host-header": "3.201.0",
31
+ "@aws-sdk/middleware-logger": "3.201.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.201.0",
33
+ "@aws-sdk/middleware-retry": "3.201.0",
34
+ "@aws-sdk/middleware-serde": "3.201.0",
35
+ "@aws-sdk/middleware-signing": "3.201.0",
36
+ "@aws-sdk/middleware-stack": "3.201.0",
37
+ "@aws-sdk/middleware-user-agent": "3.201.0",
38
+ "@aws-sdk/node-config-provider": "3.201.0",
39
+ "@aws-sdk/node-http-handler": "3.201.0",
40
+ "@aws-sdk/protocol-http": "3.201.0",
41
+ "@aws-sdk/smithy-client": "3.201.0",
42
+ "@aws-sdk/types": "3.201.0",
43
+ "@aws-sdk/url-parser": "3.201.0",
44
44
  "@aws-sdk/util-base64-browser": "3.188.0",
45
- "@aws-sdk/util-base64-node": "3.188.0",
45
+ "@aws-sdk/util-base64-node": "3.201.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
- "@aws-sdk/util-body-length-node": "3.188.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.200.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.200.0",
50
- "@aws-sdk/util-endpoints": "3.200.0",
51
- "@aws-sdk/util-user-agent-browser": "3.200.0",
52
- "@aws-sdk/util-user-agent-node": "3.200.0",
47
+ "@aws-sdk/util-body-length-node": "3.201.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.201.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.201.0",
50
+ "@aws-sdk/util-endpoints": "3.202.0",
51
+ "@aws-sdk/util-user-agent-browser": "3.201.0",
52
+ "@aws-sdk/util-user-agent-node": "3.201.0",
53
53
  "@aws-sdk/util-utf8-browser": "3.188.0",
54
- "@aws-sdk/util-utf8-node": "3.199.0",
55
- "@aws-sdk/util-waiter": "3.200.0",
54
+ "@aws-sdk/util-utf8-node": "3.201.0",
55
+ "@aws-sdk/util-waiter": "3.201.0",
56
56
  "fast-xml-parser": "4.0.11",
57
57
  "tslib": "^2.3.1"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@aws-sdk/service-client-documentation-generator": "3.188.0",
61
- "@tsconfig/recommended": "1.0.1",
61
+ "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^12.7.5",
63
63
  "concurrently": "7.0.0",
64
64
  "downlevel-dts": "0.10.1",
@@ -72,7 +72,7 @@
72
72
  }
73
73
  },
74
74
  "engines": {
75
- "node": ">=12.0.0"
75
+ "node": ">=14.0.0"
76
76
  },
77
77
  "typesVersions": {
78
78
  "<4.0": {