@aws-sdk/client-redshift 3.201.0 → 3.204.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/dist-cjs/protocols/Aws_query.js +213 -0
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/protocols/Aws_query.js +213 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +6 -5
- package/CHANGELOG.md +0 -3273
|
@@ -7519,6 +7519,9 @@ const serializeAws_queryAuthorizeEndpointAccessMessage = (input, context) => {
|
|
|
7519
7519
|
}
|
|
7520
7520
|
if (input.VpcIds != null) {
|
|
7521
7521
|
const memberEntries = serializeAws_queryVpcIdentifierList(input.VpcIds, context);
|
|
7522
|
+
if (input.VpcIds?.length === 0) {
|
|
7523
|
+
entries.VpcIds = [];
|
|
7524
|
+
}
|
|
7522
7525
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7523
7526
|
const loc = `VpcIds.${key}`;
|
|
7524
7527
|
entries[loc] = value;
|
|
@@ -7546,6 +7549,9 @@ const serializeAws_queryBatchDeleteClusterSnapshotsRequest = (input, context) =>
|
|
|
7546
7549
|
const entries = {};
|
|
7547
7550
|
if (input.Identifiers != null) {
|
|
7548
7551
|
const memberEntries = serializeAws_queryDeleteClusterSnapshotMessageList(input.Identifiers, context);
|
|
7552
|
+
if (input.Identifiers?.length === 0) {
|
|
7553
|
+
entries.Identifiers = [];
|
|
7554
|
+
}
|
|
7549
7555
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7550
7556
|
const loc = `Identifiers.${key}`;
|
|
7551
7557
|
entries[loc] = value;
|
|
@@ -7557,6 +7563,9 @@ const serializeAws_queryBatchModifyClusterSnapshotsMessage = (input, context) =>
|
|
|
7557
7563
|
const entries = {};
|
|
7558
7564
|
if (input.SnapshotIdentifierList != null) {
|
|
7559
7565
|
const memberEntries = serializeAws_querySnapshotIdentifierList(input.SnapshotIdentifierList, context);
|
|
7566
|
+
if (input.SnapshotIdentifierList?.length === 0) {
|
|
7567
|
+
entries.SnapshotIdentifierList = [];
|
|
7568
|
+
}
|
|
7560
7569
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7561
7570
|
const loc = `SnapshotIdentifierList.${key}`;
|
|
7562
7571
|
entries[loc] = value;
|
|
@@ -7637,6 +7646,9 @@ const serializeAws_queryCreateClusterMessage = (input, context) => {
|
|
|
7637
7646
|
}
|
|
7638
7647
|
if (input.ClusterSecurityGroups != null) {
|
|
7639
7648
|
const memberEntries = serializeAws_queryClusterSecurityGroupNameList(input.ClusterSecurityGroups, context);
|
|
7649
|
+
if (input.ClusterSecurityGroups?.length === 0) {
|
|
7650
|
+
entries.ClusterSecurityGroups = [];
|
|
7651
|
+
}
|
|
7640
7652
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7641
7653
|
const loc = `ClusterSecurityGroups.${key}`;
|
|
7642
7654
|
entries[loc] = value;
|
|
@@ -7644,6 +7656,9 @@ const serializeAws_queryCreateClusterMessage = (input, context) => {
|
|
|
7644
7656
|
}
|
|
7645
7657
|
if (input.VpcSecurityGroupIds != null) {
|
|
7646
7658
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
7659
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
7660
|
+
entries.VpcSecurityGroupIds = [];
|
|
7661
|
+
}
|
|
7647
7662
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7648
7663
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
7649
7664
|
entries[loc] = value;
|
|
@@ -7696,6 +7711,9 @@ const serializeAws_queryCreateClusterMessage = (input, context) => {
|
|
|
7696
7711
|
}
|
|
7697
7712
|
if (input.Tags != null) {
|
|
7698
7713
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
7714
|
+
if (input.Tags?.length === 0) {
|
|
7715
|
+
entries.Tags = [];
|
|
7716
|
+
}
|
|
7699
7717
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7700
7718
|
const loc = `Tags.${key}`;
|
|
7701
7719
|
entries[loc] = value;
|
|
@@ -7712,6 +7730,9 @@ const serializeAws_queryCreateClusterMessage = (input, context) => {
|
|
|
7712
7730
|
}
|
|
7713
7731
|
if (input.IamRoles != null) {
|
|
7714
7732
|
const memberEntries = serializeAws_queryIamRoleArnList(input.IamRoles, context);
|
|
7733
|
+
if (input.IamRoles?.length === 0) {
|
|
7734
|
+
entries.IamRoles = [];
|
|
7735
|
+
}
|
|
7715
7736
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7716
7737
|
const loc = `IamRoles.${key}`;
|
|
7717
7738
|
entries[loc] = value;
|
|
@@ -7750,6 +7771,9 @@ const serializeAws_queryCreateClusterParameterGroupMessage = (input, context) =>
|
|
|
7750
7771
|
}
|
|
7751
7772
|
if (input.Tags != null) {
|
|
7752
7773
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
7774
|
+
if (input.Tags?.length === 0) {
|
|
7775
|
+
entries.Tags = [];
|
|
7776
|
+
}
|
|
7753
7777
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7754
7778
|
const loc = `Tags.${key}`;
|
|
7755
7779
|
entries[loc] = value;
|
|
@@ -7767,6 +7791,9 @@ const serializeAws_queryCreateClusterSecurityGroupMessage = (input, context) =>
|
|
|
7767
7791
|
}
|
|
7768
7792
|
if (input.Tags != null) {
|
|
7769
7793
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
7794
|
+
if (input.Tags?.length === 0) {
|
|
7795
|
+
entries.Tags = [];
|
|
7796
|
+
}
|
|
7770
7797
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7771
7798
|
const loc = `Tags.${key}`;
|
|
7772
7799
|
entries[loc] = value;
|
|
@@ -7787,6 +7814,9 @@ const serializeAws_queryCreateClusterSnapshotMessage = (input, context) => {
|
|
|
7787
7814
|
}
|
|
7788
7815
|
if (input.Tags != null) {
|
|
7789
7816
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
7817
|
+
if (input.Tags?.length === 0) {
|
|
7818
|
+
entries.Tags = [];
|
|
7819
|
+
}
|
|
7790
7820
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7791
7821
|
const loc = `Tags.${key}`;
|
|
7792
7822
|
entries[loc] = value;
|
|
@@ -7804,6 +7834,9 @@ const serializeAws_queryCreateClusterSubnetGroupMessage = (input, context) => {
|
|
|
7804
7834
|
}
|
|
7805
7835
|
if (input.SubnetIds != null) {
|
|
7806
7836
|
const memberEntries = serializeAws_querySubnetIdentifierList(input.SubnetIds, context);
|
|
7837
|
+
if (input.SubnetIds?.length === 0) {
|
|
7838
|
+
entries.SubnetIds = [];
|
|
7839
|
+
}
|
|
7807
7840
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7808
7841
|
const loc = `SubnetIds.${key}`;
|
|
7809
7842
|
entries[loc] = value;
|
|
@@ -7811,6 +7844,9 @@ const serializeAws_queryCreateClusterSubnetGroupMessage = (input, context) => {
|
|
|
7811
7844
|
}
|
|
7812
7845
|
if (input.Tags != null) {
|
|
7813
7846
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
7847
|
+
if (input.Tags?.length === 0) {
|
|
7848
|
+
entries.Tags = [];
|
|
7849
|
+
}
|
|
7814
7850
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7815
7851
|
const loc = `Tags.${key}`;
|
|
7816
7852
|
entries[loc] = value;
|
|
@@ -7834,6 +7870,9 @@ const serializeAws_queryCreateEndpointAccessMessage = (input, context) => {
|
|
|
7834
7870
|
}
|
|
7835
7871
|
if (input.VpcSecurityGroupIds != null) {
|
|
7836
7872
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
7873
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
7874
|
+
entries.VpcSecurityGroupIds = [];
|
|
7875
|
+
}
|
|
7837
7876
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7838
7877
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
7839
7878
|
entries[loc] = value;
|
|
@@ -7854,6 +7893,9 @@ const serializeAws_queryCreateEventSubscriptionMessage = (input, context) => {
|
|
|
7854
7893
|
}
|
|
7855
7894
|
if (input.SourceIds != null) {
|
|
7856
7895
|
const memberEntries = serializeAws_querySourceIdsList(input.SourceIds, context);
|
|
7896
|
+
if (input.SourceIds?.length === 0) {
|
|
7897
|
+
entries.SourceIds = [];
|
|
7898
|
+
}
|
|
7857
7899
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7858
7900
|
const loc = `SourceIds.${key}`;
|
|
7859
7901
|
entries[loc] = value;
|
|
@@ -7861,6 +7903,9 @@ const serializeAws_queryCreateEventSubscriptionMessage = (input, context) => {
|
|
|
7861
7903
|
}
|
|
7862
7904
|
if (input.EventCategories != null) {
|
|
7863
7905
|
const memberEntries = serializeAws_queryEventCategoriesList(input.EventCategories, context);
|
|
7906
|
+
if (input.EventCategories?.length === 0) {
|
|
7907
|
+
entries.EventCategories = [];
|
|
7908
|
+
}
|
|
7864
7909
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7865
7910
|
const loc = `EventCategories.${key}`;
|
|
7866
7911
|
entries[loc] = value;
|
|
@@ -7874,6 +7919,9 @@ const serializeAws_queryCreateEventSubscriptionMessage = (input, context) => {
|
|
|
7874
7919
|
}
|
|
7875
7920
|
if (input.Tags != null) {
|
|
7876
7921
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
7922
|
+
if (input.Tags?.length === 0) {
|
|
7923
|
+
entries.Tags = [];
|
|
7924
|
+
}
|
|
7877
7925
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7878
7926
|
const loc = `Tags.${key}`;
|
|
7879
7927
|
entries[loc] = value;
|
|
@@ -7888,6 +7936,9 @@ const serializeAws_queryCreateHsmClientCertificateMessage = (input, context) =>
|
|
|
7888
7936
|
}
|
|
7889
7937
|
if (input.Tags != null) {
|
|
7890
7938
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
7939
|
+
if (input.Tags?.length === 0) {
|
|
7940
|
+
entries.Tags = [];
|
|
7941
|
+
}
|
|
7891
7942
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7892
7943
|
const loc = `Tags.${key}`;
|
|
7893
7944
|
entries[loc] = value;
|
|
@@ -7917,6 +7968,9 @@ const serializeAws_queryCreateHsmConfigurationMessage = (input, context) => {
|
|
|
7917
7968
|
}
|
|
7918
7969
|
if (input.Tags != null) {
|
|
7919
7970
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
7971
|
+
if (input.Tags?.length === 0) {
|
|
7972
|
+
entries.Tags = [];
|
|
7973
|
+
}
|
|
7920
7974
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7921
7975
|
const loc = `Tags.${key}`;
|
|
7922
7976
|
entries[loc] = value;
|
|
@@ -7966,6 +8020,9 @@ const serializeAws_queryCreateSnapshotCopyGrantMessage = (input, context) => {
|
|
|
7966
8020
|
}
|
|
7967
8021
|
if (input.Tags != null) {
|
|
7968
8022
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
8023
|
+
if (input.Tags?.length === 0) {
|
|
8024
|
+
entries.Tags = [];
|
|
8025
|
+
}
|
|
7969
8026
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7970
8027
|
const loc = `Tags.${key}`;
|
|
7971
8028
|
entries[loc] = value;
|
|
@@ -7977,6 +8034,9 @@ const serializeAws_queryCreateSnapshotScheduleMessage = (input, context) => {
|
|
|
7977
8034
|
const entries = {};
|
|
7978
8035
|
if (input.ScheduleDefinitions != null) {
|
|
7979
8036
|
const memberEntries = serializeAws_queryScheduleDefinitionList(input.ScheduleDefinitions, context);
|
|
8037
|
+
if (input.ScheduleDefinitions?.length === 0) {
|
|
8038
|
+
entries.ScheduleDefinitions = [];
|
|
8039
|
+
}
|
|
7980
8040
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7981
8041
|
const loc = `ScheduleDefinitions.${key}`;
|
|
7982
8042
|
entries[loc] = value;
|
|
@@ -7990,6 +8050,9 @@ const serializeAws_queryCreateSnapshotScheduleMessage = (input, context) => {
|
|
|
7990
8050
|
}
|
|
7991
8051
|
if (input.Tags != null) {
|
|
7992
8052
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
8053
|
+
if (input.Tags?.length === 0) {
|
|
8054
|
+
entries.Tags = [];
|
|
8055
|
+
}
|
|
7993
8056
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7994
8057
|
const loc = `Tags.${key}`;
|
|
7995
8058
|
entries[loc] = value;
|
|
@@ -8010,6 +8073,9 @@ const serializeAws_queryCreateTagsMessage = (input, context) => {
|
|
|
8010
8073
|
}
|
|
8011
8074
|
if (input.Tags != null) {
|
|
8012
8075
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
8076
|
+
if (input.Tags?.length === 0) {
|
|
8077
|
+
entries.Tags = [];
|
|
8078
|
+
}
|
|
8013
8079
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8014
8080
|
const loc = `Tags.${key}`;
|
|
8015
8081
|
entries[loc] = value;
|
|
@@ -8039,6 +8105,9 @@ const serializeAws_queryCreateUsageLimitMessage = (input, context) => {
|
|
|
8039
8105
|
}
|
|
8040
8106
|
if (input.Tags != null) {
|
|
8041
8107
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
8108
|
+
if (input.Tags?.length === 0) {
|
|
8109
|
+
entries.Tags = [];
|
|
8110
|
+
}
|
|
8042
8111
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8043
8112
|
const loc = `Tags.${key}`;
|
|
8044
8113
|
entries[loc] = value;
|
|
@@ -8193,6 +8262,9 @@ const serializeAws_queryDeleteTagsMessage = (input, context) => {
|
|
|
8193
8262
|
}
|
|
8194
8263
|
if (input.TagKeys != null) {
|
|
8195
8264
|
const memberEntries = serializeAws_queryTagKeyList(input.TagKeys, context);
|
|
8265
|
+
if (input.TagKeys?.length === 0) {
|
|
8266
|
+
entries.TagKeys = [];
|
|
8267
|
+
}
|
|
8196
8268
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8197
8269
|
const loc = `TagKeys.${key}`;
|
|
8198
8270
|
entries[loc] = value;
|
|
@@ -8211,6 +8283,9 @@ const serializeAws_queryDescribeAccountAttributesMessage = (input, context) => {
|
|
|
8211
8283
|
const entries = {};
|
|
8212
8284
|
if (input.AttributeNames != null) {
|
|
8213
8285
|
const memberEntries = serializeAws_queryAttributeNameList(input.AttributeNames, context);
|
|
8286
|
+
if (input.AttributeNames?.length === 0) {
|
|
8287
|
+
entries.AttributeNames = [];
|
|
8288
|
+
}
|
|
8214
8289
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8215
8290
|
const loc = `AttributeNames.${key}`;
|
|
8216
8291
|
entries[loc] = value;
|
|
@@ -8251,6 +8326,9 @@ const serializeAws_queryDescribeClusterParameterGroupsMessage = (input, context)
|
|
|
8251
8326
|
}
|
|
8252
8327
|
if (input.TagKeys != null) {
|
|
8253
8328
|
const memberEntries = serializeAws_queryTagKeyList(input.TagKeys, context);
|
|
8329
|
+
if (input.TagKeys?.length === 0) {
|
|
8330
|
+
entries.TagKeys = [];
|
|
8331
|
+
}
|
|
8254
8332
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8255
8333
|
const loc = `TagKeys.${key}`;
|
|
8256
8334
|
entries[loc] = value;
|
|
@@ -8258,6 +8336,9 @@ const serializeAws_queryDescribeClusterParameterGroupsMessage = (input, context)
|
|
|
8258
8336
|
}
|
|
8259
8337
|
if (input.TagValues != null) {
|
|
8260
8338
|
const memberEntries = serializeAws_queryTagValueList(input.TagValues, context);
|
|
8339
|
+
if (input.TagValues?.length === 0) {
|
|
8340
|
+
entries.TagValues = [];
|
|
8341
|
+
}
|
|
8261
8342
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8262
8343
|
const loc = `TagValues.${key}`;
|
|
8263
8344
|
entries[loc] = value;
|
|
@@ -8294,6 +8375,9 @@ const serializeAws_queryDescribeClusterSecurityGroupsMessage = (input, context)
|
|
|
8294
8375
|
}
|
|
8295
8376
|
if (input.TagKeys != null) {
|
|
8296
8377
|
const memberEntries = serializeAws_queryTagKeyList(input.TagKeys, context);
|
|
8378
|
+
if (input.TagKeys?.length === 0) {
|
|
8379
|
+
entries.TagKeys = [];
|
|
8380
|
+
}
|
|
8297
8381
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8298
8382
|
const loc = `TagKeys.${key}`;
|
|
8299
8383
|
entries[loc] = value;
|
|
@@ -8301,6 +8385,9 @@ const serializeAws_queryDescribeClusterSecurityGroupsMessage = (input, context)
|
|
|
8301
8385
|
}
|
|
8302
8386
|
if (input.TagValues != null) {
|
|
8303
8387
|
const memberEntries = serializeAws_queryTagValueList(input.TagValues, context);
|
|
8388
|
+
if (input.TagValues?.length === 0) {
|
|
8389
|
+
entries.TagValues = [];
|
|
8390
|
+
}
|
|
8304
8391
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8305
8392
|
const loc = `TagValues.${key}`;
|
|
8306
8393
|
entries[loc] = value;
|
|
@@ -8321,6 +8408,9 @@ const serializeAws_queryDescribeClustersMessage = (input, context) => {
|
|
|
8321
8408
|
}
|
|
8322
8409
|
if (input.TagKeys != null) {
|
|
8323
8410
|
const memberEntries = serializeAws_queryTagKeyList(input.TagKeys, context);
|
|
8411
|
+
if (input.TagKeys?.length === 0) {
|
|
8412
|
+
entries.TagKeys = [];
|
|
8413
|
+
}
|
|
8324
8414
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8325
8415
|
const loc = `TagKeys.${key}`;
|
|
8326
8416
|
entries[loc] = value;
|
|
@@ -8328,6 +8418,9 @@ const serializeAws_queryDescribeClustersMessage = (input, context) => {
|
|
|
8328
8418
|
}
|
|
8329
8419
|
if (input.TagValues != null) {
|
|
8330
8420
|
const memberEntries = serializeAws_queryTagValueList(input.TagValues, context);
|
|
8421
|
+
if (input.TagValues?.length === 0) {
|
|
8422
|
+
entries.TagValues = [];
|
|
8423
|
+
}
|
|
8331
8424
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8332
8425
|
const loc = `TagValues.${key}`;
|
|
8333
8426
|
entries[loc] = value;
|
|
@@ -8366,6 +8459,9 @@ const serializeAws_queryDescribeClusterSnapshotsMessage = (input, context) => {
|
|
|
8366
8459
|
}
|
|
8367
8460
|
if (input.TagKeys != null) {
|
|
8368
8461
|
const memberEntries = serializeAws_queryTagKeyList(input.TagKeys, context);
|
|
8462
|
+
if (input.TagKeys?.length === 0) {
|
|
8463
|
+
entries.TagKeys = [];
|
|
8464
|
+
}
|
|
8369
8465
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8370
8466
|
const loc = `TagKeys.${key}`;
|
|
8371
8467
|
entries[loc] = value;
|
|
@@ -8373,6 +8469,9 @@ const serializeAws_queryDescribeClusterSnapshotsMessage = (input, context) => {
|
|
|
8373
8469
|
}
|
|
8374
8470
|
if (input.TagValues != null) {
|
|
8375
8471
|
const memberEntries = serializeAws_queryTagValueList(input.TagValues, context);
|
|
8472
|
+
if (input.TagValues?.length === 0) {
|
|
8473
|
+
entries.TagValues = [];
|
|
8474
|
+
}
|
|
8376
8475
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8377
8476
|
const loc = `TagValues.${key}`;
|
|
8378
8477
|
entries[loc] = value;
|
|
@@ -8383,6 +8482,9 @@ const serializeAws_queryDescribeClusterSnapshotsMessage = (input, context) => {
|
|
|
8383
8482
|
}
|
|
8384
8483
|
if (input.SortingEntities != null) {
|
|
8385
8484
|
const memberEntries = serializeAws_querySnapshotSortingEntityList(input.SortingEntities, context);
|
|
8485
|
+
if (input.SortingEntities?.length === 0) {
|
|
8486
|
+
entries.SortingEntities = [];
|
|
8487
|
+
}
|
|
8386
8488
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8387
8489
|
const loc = `SortingEntities.${key}`;
|
|
8388
8490
|
entries[loc] = value;
|
|
@@ -8403,6 +8505,9 @@ const serializeAws_queryDescribeClusterSubnetGroupsMessage = (input, context) =>
|
|
|
8403
8505
|
}
|
|
8404
8506
|
if (input.TagKeys != null) {
|
|
8405
8507
|
const memberEntries = serializeAws_queryTagKeyList(input.TagKeys, context);
|
|
8508
|
+
if (input.TagKeys?.length === 0) {
|
|
8509
|
+
entries.TagKeys = [];
|
|
8510
|
+
}
|
|
8406
8511
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8407
8512
|
const loc = `TagKeys.${key}`;
|
|
8408
8513
|
entries[loc] = value;
|
|
@@ -8410,6 +8515,9 @@ const serializeAws_queryDescribeClusterSubnetGroupsMessage = (input, context) =>
|
|
|
8410
8515
|
}
|
|
8411
8516
|
if (input.TagValues != null) {
|
|
8412
8517
|
const memberEntries = serializeAws_queryTagValueList(input.TagValues, context);
|
|
8518
|
+
if (input.TagValues?.length === 0) {
|
|
8519
|
+
entries.TagValues = [];
|
|
8520
|
+
}
|
|
8413
8521
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8414
8522
|
const loc = `TagValues.${key}`;
|
|
8415
8523
|
entries[loc] = value;
|
|
@@ -8590,6 +8698,9 @@ const serializeAws_queryDescribeEventSubscriptionsMessage = (input, context) =>
|
|
|
8590
8698
|
}
|
|
8591
8699
|
if (input.TagKeys != null) {
|
|
8592
8700
|
const memberEntries = serializeAws_queryTagKeyList(input.TagKeys, context);
|
|
8701
|
+
if (input.TagKeys?.length === 0) {
|
|
8702
|
+
entries.TagKeys = [];
|
|
8703
|
+
}
|
|
8593
8704
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8594
8705
|
const loc = `TagKeys.${key}`;
|
|
8595
8706
|
entries[loc] = value;
|
|
@@ -8597,6 +8708,9 @@ const serializeAws_queryDescribeEventSubscriptionsMessage = (input, context) =>
|
|
|
8597
8708
|
}
|
|
8598
8709
|
if (input.TagValues != null) {
|
|
8599
8710
|
const memberEntries = serializeAws_queryTagValueList(input.TagValues, context);
|
|
8711
|
+
if (input.TagValues?.length === 0) {
|
|
8712
|
+
entries.TagValues = [];
|
|
8713
|
+
}
|
|
8600
8714
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8601
8715
|
const loc = `TagValues.${key}`;
|
|
8602
8716
|
entries[loc] = value;
|
|
@@ -8617,6 +8731,9 @@ const serializeAws_queryDescribeHsmClientCertificatesMessage = (input, context)
|
|
|
8617
8731
|
}
|
|
8618
8732
|
if (input.TagKeys != null) {
|
|
8619
8733
|
const memberEntries = serializeAws_queryTagKeyList(input.TagKeys, context);
|
|
8734
|
+
if (input.TagKeys?.length === 0) {
|
|
8735
|
+
entries.TagKeys = [];
|
|
8736
|
+
}
|
|
8620
8737
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8621
8738
|
const loc = `TagKeys.${key}`;
|
|
8622
8739
|
entries[loc] = value;
|
|
@@ -8624,6 +8741,9 @@ const serializeAws_queryDescribeHsmClientCertificatesMessage = (input, context)
|
|
|
8624
8741
|
}
|
|
8625
8742
|
if (input.TagValues != null) {
|
|
8626
8743
|
const memberEntries = serializeAws_queryTagValueList(input.TagValues, context);
|
|
8744
|
+
if (input.TagValues?.length === 0) {
|
|
8745
|
+
entries.TagValues = [];
|
|
8746
|
+
}
|
|
8627
8747
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8628
8748
|
const loc = `TagValues.${key}`;
|
|
8629
8749
|
entries[loc] = value;
|
|
@@ -8644,6 +8764,9 @@ const serializeAws_queryDescribeHsmConfigurationsMessage = (input, context) => {
|
|
|
8644
8764
|
}
|
|
8645
8765
|
if (input.TagKeys != null) {
|
|
8646
8766
|
const memberEntries = serializeAws_queryTagKeyList(input.TagKeys, context);
|
|
8767
|
+
if (input.TagKeys?.length === 0) {
|
|
8768
|
+
entries.TagKeys = [];
|
|
8769
|
+
}
|
|
8647
8770
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8648
8771
|
const loc = `TagKeys.${key}`;
|
|
8649
8772
|
entries[loc] = value;
|
|
@@ -8651,6 +8774,9 @@ const serializeAws_queryDescribeHsmConfigurationsMessage = (input, context) => {
|
|
|
8651
8774
|
}
|
|
8652
8775
|
if (input.TagValues != null) {
|
|
8653
8776
|
const memberEntries = serializeAws_queryTagValueList(input.TagValues, context);
|
|
8777
|
+
if (input.TagValues?.length === 0) {
|
|
8778
|
+
entries.TagValues = [];
|
|
8779
|
+
}
|
|
8654
8780
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8655
8781
|
const loc = `TagValues.${key}`;
|
|
8656
8782
|
entries[loc] = value;
|
|
@@ -8684,6 +8810,9 @@ const serializeAws_queryDescribeNodeConfigurationOptionsMessage = (input, contex
|
|
|
8684
8810
|
}
|
|
8685
8811
|
if (input.Filters != null) {
|
|
8686
8812
|
const memberEntries = serializeAws_queryNodeConfigurationOptionsFilterList(input.Filters, context);
|
|
8813
|
+
if (input.Filters?.length === 0) {
|
|
8814
|
+
entries.Filter = [];
|
|
8815
|
+
}
|
|
8687
8816
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8688
8817
|
const loc = `Filter.${key}`;
|
|
8689
8818
|
entries[loc] = value;
|
|
@@ -8797,6 +8926,9 @@ const serializeAws_queryDescribeScheduledActionsMessage = (input, context) => {
|
|
|
8797
8926
|
}
|
|
8798
8927
|
if (input.Filters != null) {
|
|
8799
8928
|
const memberEntries = serializeAws_queryScheduledActionFilterList(input.Filters, context);
|
|
8929
|
+
if (input.Filters?.length === 0) {
|
|
8930
|
+
entries.Filters = [];
|
|
8931
|
+
}
|
|
8800
8932
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8801
8933
|
const loc = `Filters.${key}`;
|
|
8802
8934
|
entries[loc] = value;
|
|
@@ -8823,6 +8955,9 @@ const serializeAws_queryDescribeSnapshotCopyGrantsMessage = (input, context) =>
|
|
|
8823
8955
|
}
|
|
8824
8956
|
if (input.TagKeys != null) {
|
|
8825
8957
|
const memberEntries = serializeAws_queryTagKeyList(input.TagKeys, context);
|
|
8958
|
+
if (input.TagKeys?.length === 0) {
|
|
8959
|
+
entries.TagKeys = [];
|
|
8960
|
+
}
|
|
8826
8961
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8827
8962
|
const loc = `TagKeys.${key}`;
|
|
8828
8963
|
entries[loc] = value;
|
|
@@ -8830,6 +8965,9 @@ const serializeAws_queryDescribeSnapshotCopyGrantsMessage = (input, context) =>
|
|
|
8830
8965
|
}
|
|
8831
8966
|
if (input.TagValues != null) {
|
|
8832
8967
|
const memberEntries = serializeAws_queryTagValueList(input.TagValues, context);
|
|
8968
|
+
if (input.TagValues?.length === 0) {
|
|
8969
|
+
entries.TagValues = [];
|
|
8970
|
+
}
|
|
8833
8971
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8834
8972
|
const loc = `TagValues.${key}`;
|
|
8835
8973
|
entries[loc] = value;
|
|
@@ -8847,6 +8985,9 @@ const serializeAws_queryDescribeSnapshotSchedulesMessage = (input, context) => {
|
|
|
8847
8985
|
}
|
|
8848
8986
|
if (input.TagKeys != null) {
|
|
8849
8987
|
const memberEntries = serializeAws_queryTagKeyList(input.TagKeys, context);
|
|
8988
|
+
if (input.TagKeys?.length === 0) {
|
|
8989
|
+
entries.TagKeys = [];
|
|
8990
|
+
}
|
|
8850
8991
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8851
8992
|
const loc = `TagKeys.${key}`;
|
|
8852
8993
|
entries[loc] = value;
|
|
@@ -8854,6 +8995,9 @@ const serializeAws_queryDescribeSnapshotSchedulesMessage = (input, context) => {
|
|
|
8854
8995
|
}
|
|
8855
8996
|
if (input.TagValues != null) {
|
|
8856
8997
|
const memberEntries = serializeAws_queryTagValueList(input.TagValues, context);
|
|
8998
|
+
if (input.TagValues?.length === 0) {
|
|
8999
|
+
entries.TagValues = [];
|
|
9000
|
+
}
|
|
8857
9001
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8858
9002
|
const loc = `TagValues.${key}`;
|
|
8859
9003
|
entries[loc] = value;
|
|
@@ -8899,6 +9043,9 @@ const serializeAws_queryDescribeTagsMessage = (input, context) => {
|
|
|
8899
9043
|
}
|
|
8900
9044
|
if (input.TagKeys != null) {
|
|
8901
9045
|
const memberEntries = serializeAws_queryTagKeyList(input.TagKeys, context);
|
|
9046
|
+
if (input.TagKeys?.length === 0) {
|
|
9047
|
+
entries.TagKeys = [];
|
|
9048
|
+
}
|
|
8902
9049
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8903
9050
|
const loc = `TagKeys.${key}`;
|
|
8904
9051
|
entries[loc] = value;
|
|
@@ -8906,6 +9053,9 @@ const serializeAws_queryDescribeTagsMessage = (input, context) => {
|
|
|
8906
9053
|
}
|
|
8907
9054
|
if (input.TagValues != null) {
|
|
8908
9055
|
const memberEntries = serializeAws_queryTagValueList(input.TagValues, context);
|
|
9056
|
+
if (input.TagValues?.length === 0) {
|
|
9057
|
+
entries.TagValues = [];
|
|
9058
|
+
}
|
|
8909
9059
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8910
9060
|
const loc = `TagValues.${key}`;
|
|
8911
9061
|
entries[loc] = value;
|
|
@@ -8932,6 +9082,9 @@ const serializeAws_queryDescribeUsageLimitsMessage = (input, context) => {
|
|
|
8932
9082
|
}
|
|
8933
9083
|
if (input.TagKeys != null) {
|
|
8934
9084
|
const memberEntries = serializeAws_queryTagKeyList(input.TagKeys, context);
|
|
9085
|
+
if (input.TagKeys?.length === 0) {
|
|
9086
|
+
entries.TagKeys = [];
|
|
9087
|
+
}
|
|
8935
9088
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8936
9089
|
const loc = `TagKeys.${key}`;
|
|
8937
9090
|
entries[loc] = value;
|
|
@@ -8939,6 +9092,9 @@ const serializeAws_queryDescribeUsageLimitsMessage = (input, context) => {
|
|
|
8939
9092
|
}
|
|
8940
9093
|
if (input.TagValues != null) {
|
|
8941
9094
|
const memberEntries = serializeAws_queryTagValueList(input.TagValues, context);
|
|
9095
|
+
if (input.TagValues?.length === 0) {
|
|
9096
|
+
entries.TagValues = [];
|
|
9097
|
+
}
|
|
8942
9098
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8943
9099
|
const loc = `TagValues.${key}`;
|
|
8944
9100
|
entries[loc] = value;
|
|
@@ -8992,6 +9148,9 @@ const serializeAws_queryEnableLoggingMessage = (input, context) => {
|
|
|
8992
9148
|
}
|
|
8993
9149
|
if (input.LogExports != null) {
|
|
8994
9150
|
const memberEntries = serializeAws_queryLogTypeList(input.LogExports, context);
|
|
9151
|
+
if (input.LogExports?.length === 0) {
|
|
9152
|
+
entries.LogExports = [];
|
|
9153
|
+
}
|
|
8995
9154
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8996
9155
|
const loc = `LogExports.${key}`;
|
|
8997
9156
|
entries[loc] = value;
|
|
@@ -9049,6 +9208,9 @@ const serializeAws_queryGetClusterCredentialsMessage = (input, context) => {
|
|
|
9049
9208
|
}
|
|
9050
9209
|
if (input.DbGroups != null) {
|
|
9051
9210
|
const memberEntries = serializeAws_queryDbGroupList(input.DbGroups, context);
|
|
9211
|
+
if (input.DbGroups?.length === 0) {
|
|
9212
|
+
entries.DbGroups = [];
|
|
9213
|
+
}
|
|
9052
9214
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9053
9215
|
const loc = `DbGroups.${key}`;
|
|
9054
9216
|
entries[loc] = value;
|
|
@@ -9162,6 +9324,9 @@ const serializeAws_queryModifyClusterIamRolesMessage = (input, context) => {
|
|
|
9162
9324
|
}
|
|
9163
9325
|
if (input.AddIamRoles != null) {
|
|
9164
9326
|
const memberEntries = serializeAws_queryIamRoleArnList(input.AddIamRoles, context);
|
|
9327
|
+
if (input.AddIamRoles?.length === 0) {
|
|
9328
|
+
entries.AddIamRoles = [];
|
|
9329
|
+
}
|
|
9165
9330
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9166
9331
|
const loc = `AddIamRoles.${key}`;
|
|
9167
9332
|
entries[loc] = value;
|
|
@@ -9169,6 +9334,9 @@ const serializeAws_queryModifyClusterIamRolesMessage = (input, context) => {
|
|
|
9169
9334
|
}
|
|
9170
9335
|
if (input.RemoveIamRoles != null) {
|
|
9171
9336
|
const memberEntries = serializeAws_queryIamRoleArnList(input.RemoveIamRoles, context);
|
|
9337
|
+
if (input.RemoveIamRoles?.length === 0) {
|
|
9338
|
+
entries.RemoveIamRoles = [];
|
|
9339
|
+
}
|
|
9172
9340
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9173
9341
|
const loc = `RemoveIamRoles.${key}`;
|
|
9174
9342
|
entries[loc] = value;
|
|
@@ -9217,6 +9385,9 @@ const serializeAws_queryModifyClusterMessage = (input, context) => {
|
|
|
9217
9385
|
}
|
|
9218
9386
|
if (input.ClusterSecurityGroups != null) {
|
|
9219
9387
|
const memberEntries = serializeAws_queryClusterSecurityGroupNameList(input.ClusterSecurityGroups, context);
|
|
9388
|
+
if (input.ClusterSecurityGroups?.length === 0) {
|
|
9389
|
+
entries.ClusterSecurityGroups = [];
|
|
9390
|
+
}
|
|
9220
9391
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9221
9392
|
const loc = `ClusterSecurityGroups.${key}`;
|
|
9222
9393
|
entries[loc] = value;
|
|
@@ -9224,6 +9395,9 @@ const serializeAws_queryModifyClusterMessage = (input, context) => {
|
|
|
9224
9395
|
}
|
|
9225
9396
|
if (input.VpcSecurityGroupIds != null) {
|
|
9226
9397
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
9398
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
9399
|
+
entries.VpcSecurityGroupIds = [];
|
|
9400
|
+
}
|
|
9227
9401
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9228
9402
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
9229
9403
|
entries[loc] = value;
|
|
@@ -9295,6 +9469,9 @@ const serializeAws_queryModifyClusterParameterGroupMessage = (input, context) =>
|
|
|
9295
9469
|
}
|
|
9296
9470
|
if (input.Parameters != null) {
|
|
9297
9471
|
const memberEntries = serializeAws_queryParametersList(input.Parameters, context);
|
|
9472
|
+
if (input.Parameters?.length === 0) {
|
|
9473
|
+
entries.Parameters = [];
|
|
9474
|
+
}
|
|
9298
9475
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9299
9476
|
const loc = `Parameters.${key}`;
|
|
9300
9477
|
entries[loc] = value;
|
|
@@ -9338,6 +9515,9 @@ const serializeAws_queryModifyClusterSubnetGroupMessage = (input, context) => {
|
|
|
9338
9515
|
}
|
|
9339
9516
|
if (input.SubnetIds != null) {
|
|
9340
9517
|
const memberEntries = serializeAws_querySubnetIdentifierList(input.SubnetIds, context);
|
|
9518
|
+
if (input.SubnetIds?.length === 0) {
|
|
9519
|
+
entries.SubnetIds = [];
|
|
9520
|
+
}
|
|
9341
9521
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9342
9522
|
const loc = `SubnetIds.${key}`;
|
|
9343
9523
|
entries[loc] = value;
|
|
@@ -9352,6 +9532,9 @@ const serializeAws_queryModifyEndpointAccessMessage = (input, context) => {
|
|
|
9352
9532
|
}
|
|
9353
9533
|
if (input.VpcSecurityGroupIds != null) {
|
|
9354
9534
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
9535
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
9536
|
+
entries.VpcSecurityGroupIds = [];
|
|
9537
|
+
}
|
|
9355
9538
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9356
9539
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
9357
9540
|
entries[loc] = value;
|
|
@@ -9372,6 +9555,9 @@ const serializeAws_queryModifyEventSubscriptionMessage = (input, context) => {
|
|
|
9372
9555
|
}
|
|
9373
9556
|
if (input.SourceIds != null) {
|
|
9374
9557
|
const memberEntries = serializeAws_querySourceIdsList(input.SourceIds, context);
|
|
9558
|
+
if (input.SourceIds?.length === 0) {
|
|
9559
|
+
entries.SourceIds = [];
|
|
9560
|
+
}
|
|
9375
9561
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9376
9562
|
const loc = `SourceIds.${key}`;
|
|
9377
9563
|
entries[loc] = value;
|
|
@@ -9379,6 +9565,9 @@ const serializeAws_queryModifyEventSubscriptionMessage = (input, context) => {
|
|
|
9379
9565
|
}
|
|
9380
9566
|
if (input.EventCategories != null) {
|
|
9381
9567
|
const memberEntries = serializeAws_queryEventCategoriesList(input.EventCategories, context);
|
|
9568
|
+
if (input.EventCategories?.length === 0) {
|
|
9569
|
+
entries.EventCategories = [];
|
|
9570
|
+
}
|
|
9382
9571
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9383
9572
|
const loc = `EventCategories.${key}`;
|
|
9384
9573
|
entries[loc] = value;
|
|
@@ -9444,6 +9633,9 @@ const serializeAws_queryModifySnapshotScheduleMessage = (input, context) => {
|
|
|
9444
9633
|
}
|
|
9445
9634
|
if (input.ScheduleDefinitions != null) {
|
|
9446
9635
|
const memberEntries = serializeAws_queryScheduleDefinitionList(input.ScheduleDefinitions, context);
|
|
9636
|
+
if (input.ScheduleDefinitions?.length === 0) {
|
|
9637
|
+
entries.ScheduleDefinitions = [];
|
|
9638
|
+
}
|
|
9447
9639
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9448
9640
|
const loc = `ScheduleDefinitions.${key}`;
|
|
9449
9641
|
entries[loc] = value;
|
|
@@ -9474,6 +9666,9 @@ const serializeAws_queryNodeConfigurationOptionsFilter = (input, context) => {
|
|
|
9474
9666
|
}
|
|
9475
9667
|
if (input.Values != null) {
|
|
9476
9668
|
const memberEntries = serializeAws_queryValueStringList(input.Values, context);
|
|
9669
|
+
if (input.Values?.length === 0) {
|
|
9670
|
+
entries.Value = [];
|
|
9671
|
+
}
|
|
9477
9672
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9478
9673
|
const loc = `Value.${key}`;
|
|
9479
9674
|
entries[loc] = value;
|
|
@@ -9599,6 +9794,9 @@ const serializeAws_queryResetClusterParameterGroupMessage = (input, context) =>
|
|
|
9599
9794
|
}
|
|
9600
9795
|
if (input.Parameters != null) {
|
|
9601
9796
|
const memberEntries = serializeAws_queryParametersList(input.Parameters, context);
|
|
9797
|
+
if (input.Parameters?.length === 0) {
|
|
9798
|
+
entries.Parameters = [];
|
|
9799
|
+
}
|
|
9602
9800
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9603
9801
|
const loc = `Parameters.${key}`;
|
|
9604
9802
|
entries[loc] = value;
|
|
@@ -9677,6 +9875,9 @@ const serializeAws_queryRestoreFromClusterSnapshotMessage = (input, context) =>
|
|
|
9677
9875
|
}
|
|
9678
9876
|
if (input.ClusterSecurityGroups != null) {
|
|
9679
9877
|
const memberEntries = serializeAws_queryClusterSecurityGroupNameList(input.ClusterSecurityGroups, context);
|
|
9878
|
+
if (input.ClusterSecurityGroups?.length === 0) {
|
|
9879
|
+
entries.ClusterSecurityGroups = [];
|
|
9880
|
+
}
|
|
9680
9881
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9681
9882
|
const loc = `ClusterSecurityGroups.${key}`;
|
|
9682
9883
|
entries[loc] = value;
|
|
@@ -9684,6 +9885,9 @@ const serializeAws_queryRestoreFromClusterSnapshotMessage = (input, context) =>
|
|
|
9684
9885
|
}
|
|
9685
9886
|
if (input.VpcSecurityGroupIds != null) {
|
|
9686
9887
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
9888
|
+
if (input.VpcSecurityGroupIds?.length === 0) {
|
|
9889
|
+
entries.VpcSecurityGroupIds = [];
|
|
9890
|
+
}
|
|
9687
9891
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9688
9892
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
9689
9893
|
entries[loc] = value;
|
|
@@ -9712,6 +9916,9 @@ const serializeAws_queryRestoreFromClusterSnapshotMessage = (input, context) =>
|
|
|
9712
9916
|
}
|
|
9713
9917
|
if (input.IamRoles != null) {
|
|
9714
9918
|
const memberEntries = serializeAws_queryIamRoleArnList(input.IamRoles, context);
|
|
9919
|
+
if (input.IamRoles?.length === 0) {
|
|
9920
|
+
entries.IamRoles = [];
|
|
9921
|
+
}
|
|
9715
9922
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9716
9923
|
const loc = `IamRoles.${key}`;
|
|
9717
9924
|
entries[loc] = value;
|
|
@@ -9810,6 +10017,9 @@ const serializeAws_queryRevokeEndpointAccessMessage = (input, context) => {
|
|
|
9810
10017
|
}
|
|
9811
10018
|
if (input.VpcIds != null) {
|
|
9812
10019
|
const memberEntries = serializeAws_queryVpcIdentifierList(input.VpcIds, context);
|
|
10020
|
+
if (input.VpcIds?.length === 0) {
|
|
10021
|
+
entries.VpcIds = [];
|
|
10022
|
+
}
|
|
9813
10023
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9814
10024
|
const loc = `VpcIds.${key}`;
|
|
9815
10025
|
entries[loc] = value;
|
|
@@ -9850,6 +10060,9 @@ const serializeAws_queryScheduledActionFilter = (input, context) => {
|
|
|
9850
10060
|
}
|
|
9851
10061
|
if (input.Values != null) {
|
|
9852
10062
|
const memberEntries = serializeAws_queryValueStringList(input.Values, context);
|
|
10063
|
+
if (input.Values?.length === 0) {
|
|
10064
|
+
entries.Values = [];
|
|
10065
|
+
}
|
|
9853
10066
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9854
10067
|
const loc = `Values.${key}`;
|
|
9855
10068
|
entries[loc] = value;
|