@aws-sdk/client-s3-control 3.893.0 → 3.894.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/index.js +63 -63
- package/dist-es/protocols/Aws_restXml.js +63 -63
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -2938,7 +2938,7 @@ var de_GetAccessPointCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2938
2938
|
if (data[_DST] != null) {
|
|
2939
2939
|
contents[_DST] = (0, import_smithy_client.expectString)(data[_DST]);
|
|
2940
2940
|
}
|
|
2941
|
-
if (data.Endpoints === "") {
|
|
2941
|
+
if (String(data.Endpoints).trim() === "") {
|
|
2942
2942
|
contents[_E] = {};
|
|
2943
2943
|
} else if (data[_E] != null && data[_E][_e] != null) {
|
|
2944
2944
|
contents[_E] = de_Endpoints((0, import_smithy_client.getArrayIfSingleItem)(data[_E][_e]), context);
|
|
@@ -3084,7 +3084,7 @@ var de_GetBucketLifecycleConfigurationCommand = /* @__PURE__ */ __name(async (ou
|
|
|
3084
3084
|
$metadata: deserializeMetadata(output)
|
|
3085
3085
|
});
|
|
3086
3086
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
|
|
3087
|
-
if (data.Rules === "") {
|
|
3087
|
+
if (String(data.Rules).trim() === "") {
|
|
3088
3088
|
contents[_Ru] = [];
|
|
3089
3089
|
} else if (data[_Ru] != null && data[_Ru][_Rul] != null) {
|
|
3090
3090
|
contents[_Ru] = de_LifecycleRules((0, import_smithy_client.getArrayIfSingleItem)(data[_Ru][_Rul]), context);
|
|
@@ -3125,7 +3125,7 @@ var de_GetBucketTaggingCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3125
3125
|
$metadata: deserializeMetadata(output)
|
|
3126
3126
|
});
|
|
3127
3127
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
|
|
3128
|
-
if (data.TagSet === "") {
|
|
3128
|
+
if (String(data.TagSet).trim() === "") {
|
|
3129
3129
|
contents[_TS] = [];
|
|
3130
3130
|
} else if (data[_TS] != null && data[_TS][_m] != null) {
|
|
3131
3131
|
contents[_TS] = de_S3TagSet((0, import_smithy_client.getArrayIfSingleItem)(data[_TS][_m]), context);
|
|
@@ -3175,7 +3175,7 @@ var de_GetJobTaggingCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3175
3175
|
$metadata: deserializeMetadata(output)
|
|
3176
3176
|
});
|
|
3177
3177
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
|
|
3178
|
-
if (data.Tags === "") {
|
|
3178
|
+
if (String(data.Tags).trim() === "") {
|
|
3179
3179
|
contents[_T] = [];
|
|
3180
3180
|
} else if (data[_T] != null && data[_T][_m] != null) {
|
|
3181
3181
|
contents[_T] = de_S3TagSet((0, import_smithy_client.getArrayIfSingleItem)(data[_T][_m]), context);
|
|
@@ -3232,7 +3232,7 @@ var de_GetMultiRegionAccessPointRoutesCommand = /* @__PURE__ */ __name(async (ou
|
|
|
3232
3232
|
if (data[_Mr] != null) {
|
|
3233
3233
|
contents[_Mr] = (0, import_smithy_client.expectString)(data[_Mr]);
|
|
3234
3234
|
}
|
|
3235
|
-
if (data.Routes === "") {
|
|
3235
|
+
if (String(data.Routes).trim() === "") {
|
|
3236
3236
|
contents[_Ro] = [];
|
|
3237
3237
|
} else if (data[_Ro] != null && data[_Ro][_Rou] != null) {
|
|
3238
3238
|
contents[_Ro] = de_RouteList((0, import_smithy_client.getArrayIfSingleItem)(data[_Ro][_Rou]), context);
|
|
@@ -3269,7 +3269,7 @@ var de_GetStorageLensConfigurationTaggingCommand = /* @__PURE__ */ __name(async
|
|
|
3269
3269
|
$metadata: deserializeMetadata(output)
|
|
3270
3270
|
});
|
|
3271
3271
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
|
|
3272
|
-
if (data.Tags === "") {
|
|
3272
|
+
if (String(data.Tags).trim() === "") {
|
|
3273
3273
|
contents[_T] = [];
|
|
3274
3274
|
} else if (data[_T] != null && data[_T][_Tag] != null) {
|
|
3275
3275
|
contents[_T] = de_StorageLensTags((0, import_smithy_client.getArrayIfSingleItem)(data[_T][_Tag]), context);
|
|
@@ -3295,7 +3295,7 @@ var de_ListAccessGrantsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3295
3295
|
$metadata: deserializeMetadata(output)
|
|
3296
3296
|
});
|
|
3297
3297
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
|
|
3298
|
-
if (data.AccessGrantsList === "") {
|
|
3298
|
+
if (String(data.AccessGrantsList).trim() === "") {
|
|
3299
3299
|
contents[_AGL] = [];
|
|
3300
3300
|
} else if (data[_AGL] != null && data[_AGL][_AG] != null) {
|
|
3301
3301
|
contents[_AGL] = de_AccessGrantsList((0, import_smithy_client.getArrayIfSingleItem)(data[_AGL][_AG]), context);
|
|
@@ -3313,7 +3313,7 @@ var de_ListAccessGrantsInstancesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3313
3313
|
$metadata: deserializeMetadata(output)
|
|
3314
3314
|
});
|
|
3315
3315
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
|
|
3316
|
-
if (data.AccessGrantsInstancesList === "") {
|
|
3316
|
+
if (String(data.AccessGrantsInstancesList).trim() === "") {
|
|
3317
3317
|
contents[_AGIL] = [];
|
|
3318
3318
|
} else if (data[_AGIL] != null && data[_AGIL][_AGIc] != null) {
|
|
3319
3319
|
contents[_AGIL] = de_AccessGrantsInstancesList((0, import_smithy_client.getArrayIfSingleItem)(data[_AGIL][_AGIc]), context);
|
|
@@ -3331,7 +3331,7 @@ var de_ListAccessGrantsLocationsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3331
3331
|
$metadata: deserializeMetadata(output)
|
|
3332
3332
|
});
|
|
3333
3333
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
|
|
3334
|
-
if (data.AccessGrantsLocationsList === "") {
|
|
3334
|
+
if (String(data.AccessGrantsLocationsList).trim() === "") {
|
|
3335
3335
|
contents[_AGLL] = [];
|
|
3336
3336
|
} else if (data[_AGLL] != null && data[_AGLL][_AGLc] != null) {
|
|
3337
3337
|
contents[_AGLL] = de_AccessGrantsLocationsList((0, import_smithy_client.getArrayIfSingleItem)(data[_AGLL][_AGLc]), context);
|
|
@@ -3349,7 +3349,7 @@ var de_ListAccessPointsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3349
3349
|
$metadata: deserializeMetadata(output)
|
|
3350
3350
|
});
|
|
3351
3351
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
|
|
3352
|
-
if (data.AccessPointList === "") {
|
|
3352
|
+
if (String(data.AccessPointList).trim() === "") {
|
|
3353
3353
|
contents[_APL] = [];
|
|
3354
3354
|
} else if (data[_APL] != null && data[_APL][_AP] != null) {
|
|
3355
3355
|
contents[_APL] = de_AccessPointList((0, import_smithy_client.getArrayIfSingleItem)(data[_APL][_AP]), context);
|
|
@@ -3367,7 +3367,7 @@ var de_ListAccessPointsForDirectoryBucketsCommand = /* @__PURE__ */ __name(async
|
|
|
3367
3367
|
$metadata: deserializeMetadata(output)
|
|
3368
3368
|
});
|
|
3369
3369
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
|
|
3370
|
-
if (data.AccessPointList === "") {
|
|
3370
|
+
if (String(data.AccessPointList).trim() === "") {
|
|
3371
3371
|
contents[_APL] = [];
|
|
3372
3372
|
} else if (data[_APL] != null && data[_APL][_AP] != null) {
|
|
3373
3373
|
contents[_APL] = de_AccessPointList((0, import_smithy_client.getArrayIfSingleItem)(data[_APL][_AP]), context);
|
|
@@ -3388,7 +3388,7 @@ var de_ListAccessPointsForObjectLambdaCommand = /* @__PURE__ */ __name(async (ou
|
|
|
3388
3388
|
if (data[_NT] != null) {
|
|
3389
3389
|
contents[_NT] = (0, import_smithy_client.expectString)(data[_NT]);
|
|
3390
3390
|
}
|
|
3391
|
-
if (data.ObjectLambdaAccessPointList === "") {
|
|
3391
|
+
if (String(data.ObjectLambdaAccessPointList).trim() === "") {
|
|
3392
3392
|
contents[_OLAPL] = [];
|
|
3393
3393
|
} else if (data[_OLAPL] != null && data[_OLAPL][_OLAP] != null) {
|
|
3394
3394
|
contents[_OLAPL] = de_ObjectLambdaAccessPointList((0, import_smithy_client.getArrayIfSingleItem)(data[_OLAPL][_OLAP]), context);
|
|
@@ -3403,7 +3403,7 @@ var de_ListCallerAccessGrantsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3403
3403
|
$metadata: deserializeMetadata(output)
|
|
3404
3404
|
});
|
|
3405
3405
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
|
|
3406
|
-
if (data.CallerAccessGrantsList === "") {
|
|
3406
|
+
if (String(data.CallerAccessGrantsList).trim() === "") {
|
|
3407
3407
|
contents[_CAGL] = [];
|
|
3408
3408
|
} else if (data[_CAGL] != null && data[_CAGL][_AG] != null) {
|
|
3409
3409
|
contents[_CAGL] = de_CallerAccessGrantsList((0, import_smithy_client.getArrayIfSingleItem)(data[_CAGL][_AG]), context);
|
|
@@ -3421,7 +3421,7 @@ var de_ListJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3421
3421
|
$metadata: deserializeMetadata(output)
|
|
3422
3422
|
});
|
|
3423
3423
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
|
|
3424
|
-
if (data.Jobs === "") {
|
|
3424
|
+
if (String(data.Jobs).trim() === "") {
|
|
3425
3425
|
contents[_Jo] = [];
|
|
3426
3426
|
} else if (data[_Jo] != null && data[_Jo][_m] != null) {
|
|
3427
3427
|
contents[_Jo] = de_JobListDescriptorList((0, import_smithy_client.getArrayIfSingleItem)(data[_Jo][_m]), context);
|
|
@@ -3439,7 +3439,7 @@ var de_ListMultiRegionAccessPointsCommand = /* @__PURE__ */ __name(async (output
|
|
|
3439
3439
|
$metadata: deserializeMetadata(output)
|
|
3440
3440
|
});
|
|
3441
3441
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
|
|
3442
|
-
if (data.AccessPoints === "") {
|
|
3442
|
+
if (String(data.AccessPoints).trim() === "") {
|
|
3443
3443
|
contents[_APc] = [];
|
|
3444
3444
|
} else if (data[_APc] != null && data[_APc][_AP] != null) {
|
|
3445
3445
|
contents[_APc] = de_MultiRegionAccessPointReportList((0, import_smithy_client.getArrayIfSingleItem)(data[_APc][_AP]), context);
|
|
@@ -3460,7 +3460,7 @@ var de_ListRegionalBucketsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3460
3460
|
if (data[_NT] != null) {
|
|
3461
3461
|
contents[_NT] = (0, import_smithy_client.expectString)(data[_NT]);
|
|
3462
3462
|
}
|
|
3463
|
-
if (data.RegionalBucketList === "") {
|
|
3463
|
+
if (String(data.RegionalBucketList).trim() === "") {
|
|
3464
3464
|
contents[_RBL] = [];
|
|
3465
3465
|
} else if (data[_RBL] != null && data[_RBL][_RB] != null) {
|
|
3466
3466
|
contents[_RBL] = de_RegionalBucketList((0, import_smithy_client.getArrayIfSingleItem)(data[_RBL][_RB]), context);
|
|
@@ -3478,7 +3478,7 @@ var de_ListStorageLensConfigurationsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
3478
3478
|
if (data[_NT] != null) {
|
|
3479
3479
|
contents[_NT] = (0, import_smithy_client.expectString)(data[_NT]);
|
|
3480
3480
|
}
|
|
3481
|
-
if (data.StorageLensConfiguration === "") {
|
|
3481
|
+
if (String(data.StorageLensConfiguration).trim() === "") {
|
|
3482
3482
|
contents[_SLCL] = [];
|
|
3483
3483
|
} else if (data[_SLC] != null) {
|
|
3484
3484
|
contents[_SLCL] = de_StorageLensConfigurationList((0, import_smithy_client.getArrayIfSingleItem)(data[_SLC]), context);
|
|
@@ -3496,7 +3496,7 @@ var de_ListStorageLensGroupsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3496
3496
|
if (data[_NT] != null) {
|
|
3497
3497
|
contents[_NT] = (0, import_smithy_client.expectString)(data[_NT]);
|
|
3498
3498
|
}
|
|
3499
|
-
if (data.StorageLensGroup === "") {
|
|
3499
|
+
if (String(data.StorageLensGroup).trim() === "") {
|
|
3500
3500
|
contents[_SLGL] = [];
|
|
3501
3501
|
} else if (data[_SLG] != null) {
|
|
3502
3502
|
contents[_SLGL] = de_StorageLensGroupList((0, import_smithy_client.getArrayIfSingleItem)(data[_SLG]), context);
|
|
@@ -3511,7 +3511,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3511
3511
|
$metadata: deserializeMetadata(output)
|
|
3512
3512
|
});
|
|
3513
3513
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseXmlBody)(output.body, context)), "body");
|
|
3514
|
-
if (data.Tags === "") {
|
|
3514
|
+
if (String(data.Tags).trim() === "") {
|
|
3515
3515
|
contents[_T] = [];
|
|
3516
3516
|
} else if (data[_T] != null && data[_T][_Tag] != null) {
|
|
3517
3517
|
contents[_T] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(data[_T][_Tag]), context);
|
|
@@ -5638,7 +5638,7 @@ var de_CreateMultiRegionAccessPointInput = /* @__PURE__ */ __name((output, conte
|
|
|
5638
5638
|
if (output[_PAB] != null) {
|
|
5639
5639
|
contents[_PAB] = de_PublicAccessBlockConfiguration(output[_PAB], context);
|
|
5640
5640
|
}
|
|
5641
|
-
if (output.Regions === "") {
|
|
5641
|
+
if (String(output.Regions).trim() === "") {
|
|
5642
5642
|
contents[_Re] = [];
|
|
5643
5643
|
} else if (output[_Re] != null && output[_Re][_Reg] != null) {
|
|
5644
5644
|
contents[_Re] = de_RegionCreationList((0, import_smithy_client.getArrayIfSingleItem)(output[_Re][_Reg]), context);
|
|
@@ -5739,12 +5739,12 @@ var de_EstablishedMultiRegionAccessPointPolicy = /* @__PURE__ */ __name((output,
|
|
|
5739
5739
|
}, "de_EstablishedMultiRegionAccessPointPolicy");
|
|
5740
5740
|
var de__Exclude = /* @__PURE__ */ __name((output, context) => {
|
|
5741
5741
|
const contents = {};
|
|
5742
|
-
if (output.Buckets === "") {
|
|
5742
|
+
if (String(output.Buckets).trim() === "") {
|
|
5743
5743
|
contents[_Bu] = [];
|
|
5744
5744
|
} else if (output[_Bu] != null && output[_Bu][_Ar] != null) {
|
|
5745
5745
|
contents[_Bu] = de_Buckets((0, import_smithy_client.getArrayIfSingleItem)(output[_Bu][_Ar]), context);
|
|
5746
5746
|
}
|
|
5747
|
-
if (output.Regions === "") {
|
|
5747
|
+
if (String(output.Regions).trim() === "") {
|
|
5748
5748
|
contents[_Re] = [];
|
|
5749
5749
|
} else if (output[_Re] != null && output[_Re][_Reg] != null) {
|
|
5750
5750
|
contents[_Re] = de_Regions((0, import_smithy_client.getArrayIfSingleItem)(output[_Re][_Reg]), context);
|
|
@@ -5780,12 +5780,12 @@ var de_Grantee = /* @__PURE__ */ __name((output, context) => {
|
|
|
5780
5780
|
}, "de_Grantee");
|
|
5781
5781
|
var de_Include = /* @__PURE__ */ __name((output, context) => {
|
|
5782
5782
|
const contents = {};
|
|
5783
|
-
if (output.Buckets === "") {
|
|
5783
|
+
if (String(output.Buckets).trim() === "") {
|
|
5784
5784
|
contents[_Bu] = [];
|
|
5785
5785
|
} else if (output[_Bu] != null && output[_Bu][_Ar] != null) {
|
|
5786
5786
|
contents[_Bu] = de_Buckets((0, import_smithy_client.getArrayIfSingleItem)(output[_Bu][_Ar]), context);
|
|
5787
5787
|
}
|
|
5788
|
-
if (output.Regions === "") {
|
|
5788
|
+
if (String(output.Regions).trim() === "") {
|
|
5789
5789
|
contents[_Re] = [];
|
|
5790
5790
|
} else if (output[_Re] != null && output[_Re][_Reg] != null) {
|
|
5791
5791
|
contents[_Re] = de_Regions((0, import_smithy_client.getArrayIfSingleItem)(output[_Re][_Reg]), context);
|
|
@@ -5824,7 +5824,7 @@ var de_JobDescriptor = /* @__PURE__ */ __name((output, context) => {
|
|
|
5824
5824
|
if (output[_SUR] != null) {
|
|
5825
5825
|
contents[_SUR] = (0, import_smithy_client.expectString)(output[_SUR]);
|
|
5826
5826
|
}
|
|
5827
|
-
if (output.FailureReasons === "") {
|
|
5827
|
+
if (String(output.FailureReasons).trim() === "") {
|
|
5828
5828
|
contents[_FR] = [];
|
|
5829
5829
|
} else if (output[_FR] != null && output[_FR][_m] != null) {
|
|
5830
5830
|
contents[_FR] = de_JobFailureList((0, import_smithy_client.getArrayIfSingleItem)(output[_FR][_m]), context);
|
|
@@ -5847,7 +5847,7 @@ var de_JobDescriptor = /* @__PURE__ */ __name((output, context) => {
|
|
|
5847
5847
|
if (output[_SCu] != null) {
|
|
5848
5848
|
contents[_SCu] = (0, import_smithy_client.expectString)(output[_SCu]);
|
|
5849
5849
|
}
|
|
5850
|
-
if (output.ManifestGenerator === "") {
|
|
5850
|
+
if (String(output.ManifestGenerator).trim() === "") {
|
|
5851
5851
|
} else if (output[_MG] != null) {
|
|
5852
5852
|
contents[_MG] = de_JobManifestGenerator((0, import_smithy_client.expectUnion)(output[_MG]), context);
|
|
5853
5853
|
}
|
|
@@ -5938,7 +5938,7 @@ var de_JobManifestGeneratorFilter = /* @__PURE__ */ __name((output, context) =>
|
|
|
5938
5938
|
if (output[_CB] != null) {
|
|
5939
5939
|
contents[_CB] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_CB]));
|
|
5940
5940
|
}
|
|
5941
|
-
if (output.ObjectReplicationStatuses === "") {
|
|
5941
|
+
if (String(output.ObjectReplicationStatuses).trim() === "") {
|
|
5942
5942
|
contents[_ORS] = [];
|
|
5943
5943
|
} else if (output[_ORS] != null && output[_ORS][_m] != null) {
|
|
5944
5944
|
contents[_ORS] = de_ReplicationStatusFilterList((0, import_smithy_client.getArrayIfSingleItem)(output[_ORS][_m]), context);
|
|
@@ -5952,12 +5952,12 @@ var de_JobManifestGeneratorFilter = /* @__PURE__ */ __name((output, context) =>
|
|
|
5952
5952
|
if (output[_OSLTB] != null) {
|
|
5953
5953
|
contents[_OSLTB] = (0, import_smithy_client.strictParseLong)(output[_OSLTB]);
|
|
5954
5954
|
}
|
|
5955
|
-
if (output.MatchAnyStorageClass === "") {
|
|
5955
|
+
if (String(output.MatchAnyStorageClass).trim() === "") {
|
|
5956
5956
|
contents[_MASC] = [];
|
|
5957
5957
|
} else if (output[_MASC] != null && output[_MASC][_m] != null) {
|
|
5958
5958
|
contents[_MASC] = de_StorageClassList((0, import_smithy_client.getArrayIfSingleItem)(output[_MASC][_m]), context);
|
|
5959
5959
|
}
|
|
5960
|
-
if (output.MatchAnyObjectEncryption === "") {
|
|
5960
|
+
if (String(output.MatchAnyObjectEncryption).trim() === "") {
|
|
5961
5961
|
contents[_MAOE] = [];
|
|
5962
5962
|
} else if (output[_MAOE] != null && output[_MAOE][_OE] != null) {
|
|
5963
5963
|
contents[_MAOE] = de_ObjectEncryptionFilterList((0, import_smithy_client.getArrayIfSingleItem)(output[_MAOE][_OE]), context);
|
|
@@ -5982,7 +5982,7 @@ var de_JobManifestSpec = /* @__PURE__ */ __name((output, context) => {
|
|
|
5982
5982
|
if (output[_F] != null) {
|
|
5983
5983
|
contents[_F] = (0, import_smithy_client.expectString)(output[_F]);
|
|
5984
5984
|
}
|
|
5985
|
-
if (output.Fields === "") {
|
|
5985
|
+
if (String(output.Fields).trim() === "") {
|
|
5986
5986
|
contents[_Fi] = [];
|
|
5987
5987
|
} else if (output[_Fi] != null && output[_Fi][_m] != null) {
|
|
5988
5988
|
contents[_Fi] = de_JobManifestFieldList((0, import_smithy_client.getArrayIfSingleItem)(output[_Fi][_m]), context);
|
|
@@ -6070,17 +6070,17 @@ var de_JobTimers = /* @__PURE__ */ __name((output, context) => {
|
|
|
6070
6070
|
}, "de_JobTimers");
|
|
6071
6071
|
var de_KeyNameConstraint = /* @__PURE__ */ __name((output, context) => {
|
|
6072
6072
|
const contents = {};
|
|
6073
|
-
if (output.MatchAnyPrefix === "") {
|
|
6073
|
+
if (String(output.MatchAnyPrefix).trim() === "") {
|
|
6074
6074
|
contents[_MAP] = [];
|
|
6075
6075
|
} else if (output[_MAP] != null && output[_MAP][_m] != null) {
|
|
6076
6076
|
contents[_MAP] = de_NonEmptyMaxLength1024StringList((0, import_smithy_client.getArrayIfSingleItem)(output[_MAP][_m]), context);
|
|
6077
6077
|
}
|
|
6078
|
-
if (output.MatchAnySuffix === "") {
|
|
6078
|
+
if (String(output.MatchAnySuffix).trim() === "") {
|
|
6079
6079
|
contents[_MAS] = [];
|
|
6080
6080
|
} else if (output[_MAS] != null && output[_MAS][_m] != null) {
|
|
6081
6081
|
contents[_MAS] = de_NonEmptyMaxLength1024StringList((0, import_smithy_client.getArrayIfSingleItem)(output[_MAS][_m]), context);
|
|
6082
6082
|
}
|
|
6083
|
-
if (output.MatchAnySubstring === "") {
|
|
6083
|
+
if (String(output.MatchAnySubstring).trim() === "") {
|
|
6084
6084
|
contents[_MASa] = [];
|
|
6085
6085
|
} else if (output[_MASa] != null && output[_MASa][_m] != null) {
|
|
6086
6086
|
contents[_MASa] = de_NonEmptyMaxLength1024StringList((0, import_smithy_client.getArrayIfSingleItem)(output[_MASa][_m]), context);
|
|
@@ -6095,7 +6095,7 @@ var de_LambdaInvokeOperation = /* @__PURE__ */ __name((output, context) => {
|
|
|
6095
6095
|
if (output[_ISV] != null) {
|
|
6096
6096
|
contents[_ISV] = (0, import_smithy_client.expectString)(output[_ISV]);
|
|
6097
6097
|
}
|
|
6098
|
-
if (output.UserArguments === "") {
|
|
6098
|
+
if (String(output.UserArguments).trim() === "") {
|
|
6099
6099
|
contents[_UA] = {};
|
|
6100
6100
|
} else if (output[_UA] != null && output[_UA][_e] != null) {
|
|
6101
6101
|
contents[_UA] = de_UserArguments((0, import_smithy_client.getArrayIfSingleItem)(output[_UA][_e]), context);
|
|
@@ -6129,12 +6129,12 @@ var de_LifecycleRule = /* @__PURE__ */ __name((output, context) => {
|
|
|
6129
6129
|
if (output[_St] != null) {
|
|
6130
6130
|
contents[_St] = (0, import_smithy_client.expectString)(output[_St]);
|
|
6131
6131
|
}
|
|
6132
|
-
if (output.Transitions === "") {
|
|
6132
|
+
if (String(output.Transitions).trim() === "") {
|
|
6133
6133
|
contents[_Tr] = [];
|
|
6134
6134
|
} else if (output[_Tr] != null && output[_Tr][_Tra] != null) {
|
|
6135
6135
|
contents[_Tr] = de_TransitionList((0, import_smithy_client.getArrayIfSingleItem)(output[_Tr][_Tra]), context);
|
|
6136
6136
|
}
|
|
6137
|
-
if (output.NoncurrentVersionTransitions === "") {
|
|
6137
|
+
if (String(output.NoncurrentVersionTransitions).trim() === "") {
|
|
6138
6138
|
contents[_NVT] = [];
|
|
6139
6139
|
} else if (output[_NVT] != null && output[_NVT][_NVTo] != null) {
|
|
6140
6140
|
contents[_NVT] = de_NoncurrentVersionTransitionList((0, import_smithy_client.getArrayIfSingleItem)(output[_NVT][_NVTo]), context);
|
|
@@ -6152,7 +6152,7 @@ var de_LifecycleRuleAndOperator = /* @__PURE__ */ __name((output, context) => {
|
|
|
6152
6152
|
if (output[_Pre] != null) {
|
|
6153
6153
|
contents[_Pre] = (0, import_smithy_client.expectString)(output[_Pre]);
|
|
6154
6154
|
}
|
|
6155
|
-
if (output.Tags === "") {
|
|
6155
|
+
if (String(output.Tags).trim() === "") {
|
|
6156
6156
|
contents[_T] = [];
|
|
6157
6157
|
} else if (output[_T] != null && output[_T][_m] != null) {
|
|
6158
6158
|
contents[_T] = de_S3TagSet((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_m]), context);
|
|
@@ -6390,7 +6390,7 @@ var de_MultiRegionAccessPointReport = /* @__PURE__ */ __name((output, context) =
|
|
|
6390
6390
|
if (output[_St] != null) {
|
|
6391
6391
|
contents[_St] = (0, import_smithy_client.expectString)(output[_St]);
|
|
6392
6392
|
}
|
|
6393
|
-
if (output.Regions === "") {
|
|
6393
|
+
if (String(output.Regions).trim() === "") {
|
|
6394
6394
|
contents[_Re] = [];
|
|
6395
6395
|
} else if (output[_Re] != null && output[_Re][_Reg] != null) {
|
|
6396
6396
|
contents[_Re] = de_RegionReportList((0, import_smithy_client.getArrayIfSingleItem)(output[_Re][_Reg]), context);
|
|
@@ -6417,7 +6417,7 @@ var de_MultiRegionAccessPointRoute = /* @__PURE__ */ __name((output, context) =>
|
|
|
6417
6417
|
}, "de_MultiRegionAccessPointRoute");
|
|
6418
6418
|
var de_MultiRegionAccessPointsAsyncResponse = /* @__PURE__ */ __name((output, context) => {
|
|
6419
6419
|
const contents = {};
|
|
6420
|
-
if (output.Regions === "") {
|
|
6420
|
+
if (String(output.Regions).trim() === "") {
|
|
6421
6421
|
contents[_Re] = [];
|
|
6422
6422
|
} else if (output[_Re] != null && output[_Re][_Reg] != null) {
|
|
6423
6423
|
contents[_Re] = de_MultiRegionAccessPointRegionalResponseList((0, import_smithy_client.getArrayIfSingleItem)(output[_Re][_Reg]), context);
|
|
@@ -6532,12 +6532,12 @@ var de_ObjectLambdaConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
|
6532
6532
|
if (output[_CWME] != null) {
|
|
6533
6533
|
contents[_CWME] = (0, import_smithy_client.parseBoolean)(output[_CWME]);
|
|
6534
6534
|
}
|
|
6535
|
-
if (output.AllowedFeatures === "") {
|
|
6535
|
+
if (String(output.AllowedFeatures).trim() === "") {
|
|
6536
6536
|
contents[_AFl] = [];
|
|
6537
6537
|
} else if (output[_AFl] != null && output[_AFl][_AF] != null) {
|
|
6538
6538
|
contents[_AFl] = de_ObjectLambdaAllowedFeaturesList((0, import_smithy_client.getArrayIfSingleItem)(output[_AFl][_AF]), context);
|
|
6539
6539
|
}
|
|
6540
|
-
if (output.TransformationConfigurations === "") {
|
|
6540
|
+
if (String(output.TransformationConfigurations).trim() === "") {
|
|
6541
6541
|
contents[_TC] = [];
|
|
6542
6542
|
} else if (output[_TC] != null && output[_TC][_TCr] != null) {
|
|
6543
6543
|
contents[_TC] = de_ObjectLambdaTransformationConfigurationsList((0, import_smithy_client.getArrayIfSingleItem)(output[_TC][_TCr]), context);
|
|
@@ -6554,7 +6554,7 @@ var de_ObjectLambdaContentTransformation = /* @__PURE__ */ __name((output, conte
|
|
|
6554
6554
|
}, "de_ObjectLambdaContentTransformation");
|
|
6555
6555
|
var de_ObjectLambdaTransformationConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
6556
6556
|
const contents = {};
|
|
6557
|
-
if (output.Actions === "") {
|
|
6557
|
+
if (String(output.Actions).trim() === "") {
|
|
6558
6558
|
contents[_Act] = [];
|
|
6559
6559
|
} else if (output[_Act] != null && output[_Act][_Acti] != null) {
|
|
6560
6560
|
contents[_Act] = de_ObjectLambdaTransformationConfigurationActionsList(
|
|
@@ -6562,7 +6562,7 @@ var de_ObjectLambdaTransformationConfiguration = /* @__PURE__ */ __name((output,
|
|
|
6562
6562
|
context
|
|
6563
6563
|
);
|
|
6564
6564
|
}
|
|
6565
|
-
if (output.ContentTransformation === "") {
|
|
6565
|
+
if (String(output.ContentTransformation).trim() === "") {
|
|
6566
6566
|
} else if (output[_CTo] != null) {
|
|
6567
6567
|
contents[_CTo] = de_ObjectLambdaContentTransformation((0, import_smithy_client.expectUnion)(output[_CTo]), context);
|
|
6568
6568
|
}
|
|
@@ -6714,7 +6714,7 @@ var de_ReplicationConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
|
6714
6714
|
if (output[_Rol] != null) {
|
|
6715
6715
|
contents[_Rol] = (0, import_smithy_client.expectString)(output[_Rol]);
|
|
6716
6716
|
}
|
|
6717
|
-
if (output.Rules === "") {
|
|
6717
|
+
if (String(output.Rules).trim() === "") {
|
|
6718
6718
|
contents[_Ru] = [];
|
|
6719
6719
|
} else if (output[_Ru] != null && output[_Ru][_Rul] != null) {
|
|
6720
6720
|
contents[_Ru] = de_ReplicationRules((0, import_smithy_client.getArrayIfSingleItem)(output[_Ru][_Rul]), context);
|
|
@@ -6760,7 +6760,7 @@ var de_ReplicationRuleAndOperator = /* @__PURE__ */ __name((output, context) =>
|
|
|
6760
6760
|
if (output[_Pre] != null) {
|
|
6761
6761
|
contents[_Pre] = (0, import_smithy_client.expectString)(output[_Pre]);
|
|
6762
6762
|
}
|
|
6763
|
-
if (output.Tags === "") {
|
|
6763
|
+
if (String(output.Tags).trim() === "") {
|
|
6764
6764
|
contents[_T] = [];
|
|
6765
6765
|
} else if (output[_T] != null && output[_T][_m] != null) {
|
|
6766
6766
|
contents[_T] = de_S3TagSet((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_m]), context);
|
|
@@ -6817,7 +6817,7 @@ var de_S3AccessControlList = /* @__PURE__ */ __name((output, context) => {
|
|
|
6817
6817
|
if (output[_Ow] != null) {
|
|
6818
6818
|
contents[_Ow] = de_S3ObjectOwner(output[_Ow], context);
|
|
6819
6819
|
}
|
|
6820
|
-
if (output.Grants === "") {
|
|
6820
|
+
if (String(output.Grants).trim() === "") {
|
|
6821
6821
|
contents[_Gr] = [];
|
|
6822
6822
|
} else if (output[_Gr] != null && output[_Gr][_m] != null) {
|
|
6823
6823
|
contents[_Gr] = de_S3GrantList((0, import_smithy_client.getArrayIfSingleItem)(output[_Gr][_m]), context);
|
|
@@ -6874,7 +6874,7 @@ var de_S3CopyObjectOperation = /* @__PURE__ */ __name((output, context) => {
|
|
|
6874
6874
|
if (output[_CACL] != null) {
|
|
6875
6875
|
contents[_CACL] = (0, import_smithy_client.expectString)(output[_CACL]);
|
|
6876
6876
|
}
|
|
6877
|
-
if (output.AccessControlGrants === "") {
|
|
6877
|
+
if (String(output.AccessControlGrants).trim() === "") {
|
|
6878
6878
|
contents[_ACG] = [];
|
|
6879
6879
|
} else if (output[_ACG] != null && output[_ACG][_m] != null) {
|
|
6880
6880
|
contents[_ACG] = de_S3GrantList((0, import_smithy_client.getArrayIfSingleItem)(output[_ACG][_m]), context);
|
|
@@ -6888,7 +6888,7 @@ var de_S3CopyObjectOperation = /* @__PURE__ */ __name((output, context) => {
|
|
|
6888
6888
|
if (output[_NOM] != null) {
|
|
6889
6889
|
contents[_NOM] = de_S3ObjectMetadata(output[_NOM], context);
|
|
6890
6890
|
}
|
|
6891
|
-
if (output.NewObjectTagging === "") {
|
|
6891
|
+
if (String(output.NewObjectTagging).trim() === "") {
|
|
6892
6892
|
contents[_NOT] = [];
|
|
6893
6893
|
} else if (output[_NOT] != null && output[_NOT][_m] != null) {
|
|
6894
6894
|
contents[_NOT] = de_S3TagSet((0, import_smithy_client.getArrayIfSingleItem)(output[_NOT][_m]), context);
|
|
@@ -7039,7 +7039,7 @@ var de_S3ObjectMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
|
7039
7039
|
if (output[_CL] != null) {
|
|
7040
7040
|
contents[_CL] = (0, import_smithy_client.expectString)(output[_CL]);
|
|
7041
7041
|
}
|
|
7042
|
-
if (output.UserMetadata === "") {
|
|
7042
|
+
if (String(output.UserMetadata).trim() === "") {
|
|
7043
7043
|
contents[_UM] = {};
|
|
7044
7044
|
} else if (output[_UM] != null && output[_UM][_e] != null) {
|
|
7045
7045
|
contents[_UM] = de_S3UserMetadata((0, import_smithy_client.getArrayIfSingleItem)(output[_UM][_e]), context);
|
|
@@ -7114,7 +7114,7 @@ var de_S3SetObjectRetentionOperation = /* @__PURE__ */ __name((output, context)
|
|
|
7114
7114
|
}, "de_S3SetObjectRetentionOperation");
|
|
7115
7115
|
var de_S3SetObjectTaggingOperation = /* @__PURE__ */ __name((output, context) => {
|
|
7116
7116
|
const contents = {};
|
|
7117
|
-
if (output.TagSet === "") {
|
|
7117
|
+
if (String(output.TagSet).trim() === "") {
|
|
7118
7118
|
contents[_TS] = [];
|
|
7119
7119
|
} else if (output[_TS] != null && output[_TS][_m] != null) {
|
|
7120
7120
|
contents[_TS] = de_S3TagSet((0, import_smithy_client.getArrayIfSingleItem)(output[_TS][_m]), context);
|
|
@@ -7147,12 +7147,12 @@ var de_S3UserMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
|
7147
7147
|
}, "de_S3UserMetadata");
|
|
7148
7148
|
var de_Scope = /* @__PURE__ */ __name((output, context) => {
|
|
7149
7149
|
const contents = {};
|
|
7150
|
-
if (output.Prefixes === "") {
|
|
7150
|
+
if (String(output.Prefixes).trim() === "") {
|
|
7151
7151
|
contents[_Pref] = [];
|
|
7152
7152
|
} else if (output[_Pref] != null && output[_Pref][_Pre] != null) {
|
|
7153
7153
|
contents[_Pref] = de_PrefixesList((0, import_smithy_client.getArrayIfSingleItem)(output[_Pref][_Pre]), context);
|
|
7154
7154
|
}
|
|
7155
|
-
if (output.Permissions === "") {
|
|
7155
|
+
if (String(output.Permissions).trim() === "") {
|
|
7156
7156
|
contents[_Pe] = [];
|
|
7157
7157
|
} else if (output[_Pe] != null && output[_Pe][_P] != null) {
|
|
7158
7158
|
contents[_Pe] = de_ScopePermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_Pe][_P]), context);
|
|
@@ -7314,17 +7314,17 @@ var de_StorageLensGroup = /* @__PURE__ */ __name((output, context) => {
|
|
|
7314
7314
|
}, "de_StorageLensGroup");
|
|
7315
7315
|
var de_StorageLensGroupAndOperator = /* @__PURE__ */ __name((output, context) => {
|
|
7316
7316
|
const contents = {};
|
|
7317
|
-
if (output.MatchAnyPrefix === "") {
|
|
7317
|
+
if (String(output.MatchAnyPrefix).trim() === "") {
|
|
7318
7318
|
contents[_MAP] = [];
|
|
7319
7319
|
} else if (output[_MAP] != null && output[_MAP][_Pre] != null) {
|
|
7320
7320
|
contents[_MAP] = de_MatchAnyPrefix((0, import_smithy_client.getArrayIfSingleItem)(output[_MAP][_Pre]), context);
|
|
7321
7321
|
}
|
|
7322
|
-
if (output.MatchAnySuffix === "") {
|
|
7322
|
+
if (String(output.MatchAnySuffix).trim() === "") {
|
|
7323
7323
|
contents[_MAS] = [];
|
|
7324
7324
|
} else if (output[_MAS] != null && output[_MAS][_Su] != null) {
|
|
7325
7325
|
contents[_MAS] = de_MatchAnySuffix((0, import_smithy_client.getArrayIfSingleItem)(output[_MAS][_Su]), context);
|
|
7326
7326
|
}
|
|
7327
|
-
if (output.MatchAnyTag === "") {
|
|
7327
|
+
if (String(output.MatchAnyTag).trim() === "") {
|
|
7328
7328
|
contents[_MAT] = [];
|
|
7329
7329
|
} else if (output[_MAT] != null && output[_MAT][_Tag] != null) {
|
|
7330
7330
|
contents[_MAT] = de_MatchAnyTag((0, import_smithy_client.getArrayIfSingleItem)(output[_MAT][_Tag]), context);
|
|
@@ -7339,17 +7339,17 @@ var de_StorageLensGroupAndOperator = /* @__PURE__ */ __name((output, context) =>
|
|
|
7339
7339
|
}, "de_StorageLensGroupAndOperator");
|
|
7340
7340
|
var de_StorageLensGroupFilter = /* @__PURE__ */ __name((output, context) => {
|
|
7341
7341
|
const contents = {};
|
|
7342
|
-
if (output.MatchAnyPrefix === "") {
|
|
7342
|
+
if (String(output.MatchAnyPrefix).trim() === "") {
|
|
7343
7343
|
contents[_MAP] = [];
|
|
7344
7344
|
} else if (output[_MAP] != null && output[_MAP][_Pre] != null) {
|
|
7345
7345
|
contents[_MAP] = de_MatchAnyPrefix((0, import_smithy_client.getArrayIfSingleItem)(output[_MAP][_Pre]), context);
|
|
7346
7346
|
}
|
|
7347
|
-
if (output.MatchAnySuffix === "") {
|
|
7347
|
+
if (String(output.MatchAnySuffix).trim() === "") {
|
|
7348
7348
|
contents[_MAS] = [];
|
|
7349
7349
|
} else if (output[_MAS] != null && output[_MAS][_Su] != null) {
|
|
7350
7350
|
contents[_MAS] = de_MatchAnySuffix((0, import_smithy_client.getArrayIfSingleItem)(output[_MAS][_Su]), context);
|
|
7351
7351
|
}
|
|
7352
|
-
if (output.MatchAnyTag === "") {
|
|
7352
|
+
if (String(output.MatchAnyTag).trim() === "") {
|
|
7353
7353
|
contents[_MAT] = [];
|
|
7354
7354
|
} else if (output[_MAT] != null && output[_MAT][_Tag] != null) {
|
|
7355
7355
|
contents[_MAT] = de_MatchAnyTag((0, import_smithy_client.getArrayIfSingleItem)(output[_MAT][_Tag]), context);
|
|
@@ -7387,12 +7387,12 @@ var de_StorageLensGroupLevelInclude = /* @__PURE__ */ __name((output, context) =
|
|
|
7387
7387
|
}, "de_StorageLensGroupLevelInclude");
|
|
7388
7388
|
var de_StorageLensGroupLevelSelectionCriteria = /* @__PURE__ */ __name((output, context) => {
|
|
7389
7389
|
const contents = {};
|
|
7390
|
-
if (output.Include === "") {
|
|
7390
|
+
if (String(output.Include).trim() === "") {
|
|
7391
7391
|
contents[_I] = [];
|
|
7392
7392
|
} else if (output[_I] != null && output[_I][_Ar] != null) {
|
|
7393
7393
|
contents[_I] = de_StorageLensGroupLevelInclude((0, import_smithy_client.getArrayIfSingleItem)(output[_I][_Ar]), context);
|
|
7394
7394
|
}
|
|
7395
|
-
if (output.Exclude === "") {
|
|
7395
|
+
if (String(output.Exclude).trim() === "") {
|
|
7396
7396
|
contents[_Ex] = [];
|
|
7397
7397
|
} else if (output[_Ex] != null && output[_Ex][_Ar] != null) {
|
|
7398
7398
|
contents[_Ex] = de_StorageLensGroupLevelExclude((0, import_smithy_client.getArrayIfSingleItem)(output[_Ex][_Ar]), context);
|
|
@@ -7406,17 +7406,17 @@ var de_StorageLensGroupList = /* @__PURE__ */ __name((output, context) => {
|
|
|
7406
7406
|
}, "de_StorageLensGroupList");
|
|
7407
7407
|
var de_StorageLensGroupOrOperator = /* @__PURE__ */ __name((output, context) => {
|
|
7408
7408
|
const contents = {};
|
|
7409
|
-
if (output.MatchAnyPrefix === "") {
|
|
7409
|
+
if (String(output.MatchAnyPrefix).trim() === "") {
|
|
7410
7410
|
contents[_MAP] = [];
|
|
7411
7411
|
} else if (output[_MAP] != null && output[_MAP][_Pre] != null) {
|
|
7412
7412
|
contents[_MAP] = de_MatchAnyPrefix((0, import_smithy_client.getArrayIfSingleItem)(output[_MAP][_Pre]), context);
|
|
7413
7413
|
}
|
|
7414
|
-
if (output.MatchAnySuffix === "") {
|
|
7414
|
+
if (String(output.MatchAnySuffix).trim() === "") {
|
|
7415
7415
|
contents[_MAS] = [];
|
|
7416
7416
|
} else if (output[_MAS] != null && output[_MAS][_Su] != null) {
|
|
7417
7417
|
contents[_MAS] = de_MatchAnySuffix((0, import_smithy_client.getArrayIfSingleItem)(output[_MAS][_Su]), context);
|
|
7418
7418
|
}
|
|
7419
|
-
if (output.MatchAnyTag === "") {
|
|
7419
|
+
if (String(output.MatchAnyTag).trim() === "") {
|
|
7420
7420
|
contents[_MAT] = [];
|
|
7421
7421
|
} else if (output[_MAT] != null && output[_MAT][_Tag] != null) {
|
|
7422
7422
|
contents[_MAT] = de_MatchAnyTag((0, import_smithy_client.getArrayIfSingleItem)(output[_MAT][_Tag]), context);
|
|
@@ -2002,7 +2002,7 @@ export const de_GetAccessPointCommand = async (output, context) => {
|
|
|
2002
2002
|
if (data[_DST] != null) {
|
|
2003
2003
|
contents[_DST] = __expectString(data[_DST]);
|
|
2004
2004
|
}
|
|
2005
|
-
if (data.Endpoints === "") {
|
|
2005
|
+
if (String(data.Endpoints).trim() === "") {
|
|
2006
2006
|
contents[_E] = {};
|
|
2007
2007
|
}
|
|
2008
2008
|
else if (data[_E] != null && data[_E][_e] != null) {
|
|
@@ -2149,7 +2149,7 @@ export const de_GetBucketLifecycleConfigurationCommand = async (output, context)
|
|
|
2149
2149
|
$metadata: deserializeMetadata(output),
|
|
2150
2150
|
});
|
|
2151
2151
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2152
|
-
if (data.Rules === "") {
|
|
2152
|
+
if (String(data.Rules).trim() === "") {
|
|
2153
2153
|
contents[_Ru] = [];
|
|
2154
2154
|
}
|
|
2155
2155
|
else if (data[_Ru] != null && data[_Ru][_Rul] != null) {
|
|
@@ -2191,7 +2191,7 @@ export const de_GetBucketTaggingCommand = async (output, context) => {
|
|
|
2191
2191
|
$metadata: deserializeMetadata(output),
|
|
2192
2192
|
});
|
|
2193
2193
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2194
|
-
if (data.TagSet === "") {
|
|
2194
|
+
if (String(data.TagSet).trim() === "") {
|
|
2195
2195
|
contents[_TS] = [];
|
|
2196
2196
|
}
|
|
2197
2197
|
else if (data[_TS] != null && data[_TS][_m] != null) {
|
|
@@ -2242,7 +2242,7 @@ export const de_GetJobTaggingCommand = async (output, context) => {
|
|
|
2242
2242
|
$metadata: deserializeMetadata(output),
|
|
2243
2243
|
});
|
|
2244
2244
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2245
|
-
if (data.Tags === "") {
|
|
2245
|
+
if (String(data.Tags).trim() === "") {
|
|
2246
2246
|
contents[_T] = [];
|
|
2247
2247
|
}
|
|
2248
2248
|
else if (data[_T] != null && data[_T][_m] != null) {
|
|
@@ -2300,7 +2300,7 @@ export const de_GetMultiRegionAccessPointRoutesCommand = async (output, context)
|
|
|
2300
2300
|
if (data[_Mr] != null) {
|
|
2301
2301
|
contents[_Mr] = __expectString(data[_Mr]);
|
|
2302
2302
|
}
|
|
2303
|
-
if (data.Routes === "") {
|
|
2303
|
+
if (String(data.Routes).trim() === "") {
|
|
2304
2304
|
contents[_Ro] = [];
|
|
2305
2305
|
}
|
|
2306
2306
|
else if (data[_Ro] != null && data[_Ro][_Rou] != null) {
|
|
@@ -2338,7 +2338,7 @@ export const de_GetStorageLensConfigurationTaggingCommand = async (output, conte
|
|
|
2338
2338
|
$metadata: deserializeMetadata(output),
|
|
2339
2339
|
});
|
|
2340
2340
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2341
|
-
if (data.Tags === "") {
|
|
2341
|
+
if (String(data.Tags).trim() === "") {
|
|
2342
2342
|
contents[_T] = [];
|
|
2343
2343
|
}
|
|
2344
2344
|
else if (data[_T] != null && data[_T][_Tag] != null) {
|
|
@@ -2365,7 +2365,7 @@ export const de_ListAccessGrantsCommand = async (output, context) => {
|
|
|
2365
2365
|
$metadata: deserializeMetadata(output),
|
|
2366
2366
|
});
|
|
2367
2367
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2368
|
-
if (data.AccessGrantsList === "") {
|
|
2368
|
+
if (String(data.AccessGrantsList).trim() === "") {
|
|
2369
2369
|
contents[_AGL] = [];
|
|
2370
2370
|
}
|
|
2371
2371
|
else if (data[_AGL] != null && data[_AGL][_AG] != null) {
|
|
@@ -2384,7 +2384,7 @@ export const de_ListAccessGrantsInstancesCommand = async (output, context) => {
|
|
|
2384
2384
|
$metadata: deserializeMetadata(output),
|
|
2385
2385
|
});
|
|
2386
2386
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2387
|
-
if (data.AccessGrantsInstancesList === "") {
|
|
2387
|
+
if (String(data.AccessGrantsInstancesList).trim() === "") {
|
|
2388
2388
|
contents[_AGIL] = [];
|
|
2389
2389
|
}
|
|
2390
2390
|
else if (data[_AGIL] != null && data[_AGIL][_AGIc] != null) {
|
|
@@ -2403,7 +2403,7 @@ export const de_ListAccessGrantsLocationsCommand = async (output, context) => {
|
|
|
2403
2403
|
$metadata: deserializeMetadata(output),
|
|
2404
2404
|
});
|
|
2405
2405
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2406
|
-
if (data.AccessGrantsLocationsList === "") {
|
|
2406
|
+
if (String(data.AccessGrantsLocationsList).trim() === "") {
|
|
2407
2407
|
contents[_AGLL] = [];
|
|
2408
2408
|
}
|
|
2409
2409
|
else if (data[_AGLL] != null && data[_AGLL][_AGLc] != null) {
|
|
@@ -2422,7 +2422,7 @@ export const de_ListAccessPointsCommand = async (output, context) => {
|
|
|
2422
2422
|
$metadata: deserializeMetadata(output),
|
|
2423
2423
|
});
|
|
2424
2424
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2425
|
-
if (data.AccessPointList === "") {
|
|
2425
|
+
if (String(data.AccessPointList).trim() === "") {
|
|
2426
2426
|
contents[_APL] = [];
|
|
2427
2427
|
}
|
|
2428
2428
|
else if (data[_APL] != null && data[_APL][_AP] != null) {
|
|
@@ -2441,7 +2441,7 @@ export const de_ListAccessPointsForDirectoryBucketsCommand = async (output, cont
|
|
|
2441
2441
|
$metadata: deserializeMetadata(output),
|
|
2442
2442
|
});
|
|
2443
2443
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2444
|
-
if (data.AccessPointList === "") {
|
|
2444
|
+
if (String(data.AccessPointList).trim() === "") {
|
|
2445
2445
|
contents[_APL] = [];
|
|
2446
2446
|
}
|
|
2447
2447
|
else if (data[_APL] != null && data[_APL][_AP] != null) {
|
|
@@ -2463,7 +2463,7 @@ export const de_ListAccessPointsForObjectLambdaCommand = async (output, context)
|
|
|
2463
2463
|
if (data[_NT] != null) {
|
|
2464
2464
|
contents[_NT] = __expectString(data[_NT]);
|
|
2465
2465
|
}
|
|
2466
|
-
if (data.ObjectLambdaAccessPointList === "") {
|
|
2466
|
+
if (String(data.ObjectLambdaAccessPointList).trim() === "") {
|
|
2467
2467
|
contents[_OLAPL] = [];
|
|
2468
2468
|
}
|
|
2469
2469
|
else if (data[_OLAPL] != null && data[_OLAPL][_OLAP] != null) {
|
|
@@ -2479,7 +2479,7 @@ export const de_ListCallerAccessGrantsCommand = async (output, context) => {
|
|
|
2479
2479
|
$metadata: deserializeMetadata(output),
|
|
2480
2480
|
});
|
|
2481
2481
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2482
|
-
if (data.CallerAccessGrantsList === "") {
|
|
2482
|
+
if (String(data.CallerAccessGrantsList).trim() === "") {
|
|
2483
2483
|
contents[_CAGL] = [];
|
|
2484
2484
|
}
|
|
2485
2485
|
else if (data[_CAGL] != null && data[_CAGL][_AG] != null) {
|
|
@@ -2498,7 +2498,7 @@ export const de_ListJobsCommand = async (output, context) => {
|
|
|
2498
2498
|
$metadata: deserializeMetadata(output),
|
|
2499
2499
|
});
|
|
2500
2500
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2501
|
-
if (data.Jobs === "") {
|
|
2501
|
+
if (String(data.Jobs).trim() === "") {
|
|
2502
2502
|
contents[_Jo] = [];
|
|
2503
2503
|
}
|
|
2504
2504
|
else if (data[_Jo] != null && data[_Jo][_m] != null) {
|
|
@@ -2517,7 +2517,7 @@ export const de_ListMultiRegionAccessPointsCommand = async (output, context) =>
|
|
|
2517
2517
|
$metadata: deserializeMetadata(output),
|
|
2518
2518
|
});
|
|
2519
2519
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2520
|
-
if (data.AccessPoints === "") {
|
|
2520
|
+
if (String(data.AccessPoints).trim() === "") {
|
|
2521
2521
|
contents[_APc] = [];
|
|
2522
2522
|
}
|
|
2523
2523
|
else if (data[_APc] != null && data[_APc][_AP] != null) {
|
|
@@ -2539,7 +2539,7 @@ export const de_ListRegionalBucketsCommand = async (output, context) => {
|
|
|
2539
2539
|
if (data[_NT] != null) {
|
|
2540
2540
|
contents[_NT] = __expectString(data[_NT]);
|
|
2541
2541
|
}
|
|
2542
|
-
if (data.RegionalBucketList === "") {
|
|
2542
|
+
if (String(data.RegionalBucketList).trim() === "") {
|
|
2543
2543
|
contents[_RBL] = [];
|
|
2544
2544
|
}
|
|
2545
2545
|
else if (data[_RBL] != null && data[_RBL][_RB] != null) {
|
|
@@ -2558,7 +2558,7 @@ export const de_ListStorageLensConfigurationsCommand = async (output, context) =
|
|
|
2558
2558
|
if (data[_NT] != null) {
|
|
2559
2559
|
contents[_NT] = __expectString(data[_NT]);
|
|
2560
2560
|
}
|
|
2561
|
-
if (data.StorageLensConfiguration === "") {
|
|
2561
|
+
if (String(data.StorageLensConfiguration).trim() === "") {
|
|
2562
2562
|
contents[_SLCL] = [];
|
|
2563
2563
|
}
|
|
2564
2564
|
else if (data[_SLC] != null) {
|
|
@@ -2577,7 +2577,7 @@ export const de_ListStorageLensGroupsCommand = async (output, context) => {
|
|
|
2577
2577
|
if (data[_NT] != null) {
|
|
2578
2578
|
contents[_NT] = __expectString(data[_NT]);
|
|
2579
2579
|
}
|
|
2580
|
-
if (data.StorageLensGroup === "") {
|
|
2580
|
+
if (String(data.StorageLensGroup).trim() === "") {
|
|
2581
2581
|
contents[_SLGL] = [];
|
|
2582
2582
|
}
|
|
2583
2583
|
else if (data[_SLG] != null) {
|
|
@@ -2593,7 +2593,7 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2593
2593
|
$metadata: deserializeMetadata(output),
|
|
2594
2594
|
});
|
|
2595
2595
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2596
|
-
if (data.Tags === "") {
|
|
2596
|
+
if (String(data.Tags).trim() === "") {
|
|
2597
2597
|
contents[_T] = [];
|
|
2598
2598
|
}
|
|
2599
2599
|
else if (data[_T] != null && data[_T][_Tag] != null) {
|
|
@@ -4761,7 +4761,7 @@ const de_CreateMultiRegionAccessPointInput = (output, context) => {
|
|
|
4761
4761
|
if (output[_PAB] != null) {
|
|
4762
4762
|
contents[_PAB] = de_PublicAccessBlockConfiguration(output[_PAB], context);
|
|
4763
4763
|
}
|
|
4764
|
-
if (output.Regions === "") {
|
|
4764
|
+
if (String(output.Regions).trim() === "") {
|
|
4765
4765
|
contents[_Re] = [];
|
|
4766
4766
|
}
|
|
4767
4767
|
else if (output[_Re] != null && output[_Re][_Reg] != null) {
|
|
@@ -4863,13 +4863,13 @@ const de_EstablishedMultiRegionAccessPointPolicy = (output, context) => {
|
|
|
4863
4863
|
};
|
|
4864
4864
|
const de__Exclude = (output, context) => {
|
|
4865
4865
|
const contents = {};
|
|
4866
|
-
if (output.Buckets === "") {
|
|
4866
|
+
if (String(output.Buckets).trim() === "") {
|
|
4867
4867
|
contents[_Bu] = [];
|
|
4868
4868
|
}
|
|
4869
4869
|
else if (output[_Bu] != null && output[_Bu][_Ar] != null) {
|
|
4870
4870
|
contents[_Bu] = de_Buckets(__getArrayIfSingleItem(output[_Bu][_Ar]), context);
|
|
4871
4871
|
}
|
|
4872
|
-
if (output.Regions === "") {
|
|
4872
|
+
if (String(output.Regions).trim() === "") {
|
|
4873
4873
|
contents[_Re] = [];
|
|
4874
4874
|
}
|
|
4875
4875
|
else if (output[_Re] != null && output[_Re][_Reg] != null) {
|
|
@@ -4906,13 +4906,13 @@ const de_Grantee = (output, context) => {
|
|
|
4906
4906
|
};
|
|
4907
4907
|
const de_Include = (output, context) => {
|
|
4908
4908
|
const contents = {};
|
|
4909
|
-
if (output.Buckets === "") {
|
|
4909
|
+
if (String(output.Buckets).trim() === "") {
|
|
4910
4910
|
contents[_Bu] = [];
|
|
4911
4911
|
}
|
|
4912
4912
|
else if (output[_Bu] != null && output[_Bu][_Ar] != null) {
|
|
4913
4913
|
contents[_Bu] = de_Buckets(__getArrayIfSingleItem(output[_Bu][_Ar]), context);
|
|
4914
4914
|
}
|
|
4915
|
-
if (output.Regions === "") {
|
|
4915
|
+
if (String(output.Regions).trim() === "") {
|
|
4916
4916
|
contents[_Re] = [];
|
|
4917
4917
|
}
|
|
4918
4918
|
else if (output[_Re] != null && output[_Re][_Reg] != null) {
|
|
@@ -4952,7 +4952,7 @@ const de_JobDescriptor = (output, context) => {
|
|
|
4952
4952
|
if (output[_SUR] != null) {
|
|
4953
4953
|
contents[_SUR] = __expectString(output[_SUR]);
|
|
4954
4954
|
}
|
|
4955
|
-
if (output.FailureReasons === "") {
|
|
4955
|
+
if (String(output.FailureReasons).trim() === "") {
|
|
4956
4956
|
contents[_FR] = [];
|
|
4957
4957
|
}
|
|
4958
4958
|
else if (output[_FR] != null && output[_FR][_m] != null) {
|
|
@@ -4976,7 +4976,7 @@ const de_JobDescriptor = (output, context) => {
|
|
|
4976
4976
|
if (output[_SCu] != null) {
|
|
4977
4977
|
contents[_SCu] = __expectString(output[_SCu]);
|
|
4978
4978
|
}
|
|
4979
|
-
if (output.ManifestGenerator === "") {
|
|
4979
|
+
if (String(output.ManifestGenerator).trim() === "") {
|
|
4980
4980
|
}
|
|
4981
4981
|
else if (output[_MG] != null) {
|
|
4982
4982
|
contents[_MG] = de_JobManifestGenerator(__expectUnion(output[_MG]), context);
|
|
@@ -5074,7 +5074,7 @@ const de_JobManifestGeneratorFilter = (output, context) => {
|
|
|
5074
5074
|
if (output[_CB] != null) {
|
|
5075
5075
|
contents[_CB] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_CB]));
|
|
5076
5076
|
}
|
|
5077
|
-
if (output.ObjectReplicationStatuses === "") {
|
|
5077
|
+
if (String(output.ObjectReplicationStatuses).trim() === "") {
|
|
5078
5078
|
contents[_ORS] = [];
|
|
5079
5079
|
}
|
|
5080
5080
|
else if (output[_ORS] != null && output[_ORS][_m] != null) {
|
|
@@ -5089,13 +5089,13 @@ const de_JobManifestGeneratorFilter = (output, context) => {
|
|
|
5089
5089
|
if (output[_OSLTB] != null) {
|
|
5090
5090
|
contents[_OSLTB] = __strictParseLong(output[_OSLTB]);
|
|
5091
5091
|
}
|
|
5092
|
-
if (output.MatchAnyStorageClass === "") {
|
|
5092
|
+
if (String(output.MatchAnyStorageClass).trim() === "") {
|
|
5093
5093
|
contents[_MASC] = [];
|
|
5094
5094
|
}
|
|
5095
5095
|
else if (output[_MASC] != null && output[_MASC][_m] != null) {
|
|
5096
5096
|
contents[_MASC] = de_StorageClassList(__getArrayIfSingleItem(output[_MASC][_m]), context);
|
|
5097
5097
|
}
|
|
5098
|
-
if (output.MatchAnyObjectEncryption === "") {
|
|
5098
|
+
if (String(output.MatchAnyObjectEncryption).trim() === "") {
|
|
5099
5099
|
contents[_MAOE] = [];
|
|
5100
5100
|
}
|
|
5101
5101
|
else if (output[_MAOE] != null && output[_MAOE][_OE] != null) {
|
|
@@ -5121,7 +5121,7 @@ const de_JobManifestSpec = (output, context) => {
|
|
|
5121
5121
|
if (output[_F] != null) {
|
|
5122
5122
|
contents[_F] = __expectString(output[_F]);
|
|
5123
5123
|
}
|
|
5124
|
-
if (output.Fields === "") {
|
|
5124
|
+
if (String(output.Fields).trim() === "") {
|
|
5125
5125
|
contents[_Fi] = [];
|
|
5126
5126
|
}
|
|
5127
5127
|
else if (output[_Fi] != null && output[_Fi][_m] != null) {
|
|
@@ -5210,19 +5210,19 @@ const de_JobTimers = (output, context) => {
|
|
|
5210
5210
|
};
|
|
5211
5211
|
const de_KeyNameConstraint = (output, context) => {
|
|
5212
5212
|
const contents = {};
|
|
5213
|
-
if (output.MatchAnyPrefix === "") {
|
|
5213
|
+
if (String(output.MatchAnyPrefix).trim() === "") {
|
|
5214
5214
|
contents[_MAP] = [];
|
|
5215
5215
|
}
|
|
5216
5216
|
else if (output[_MAP] != null && output[_MAP][_m] != null) {
|
|
5217
5217
|
contents[_MAP] = de_NonEmptyMaxLength1024StringList(__getArrayIfSingleItem(output[_MAP][_m]), context);
|
|
5218
5218
|
}
|
|
5219
|
-
if (output.MatchAnySuffix === "") {
|
|
5219
|
+
if (String(output.MatchAnySuffix).trim() === "") {
|
|
5220
5220
|
contents[_MAS] = [];
|
|
5221
5221
|
}
|
|
5222
5222
|
else if (output[_MAS] != null && output[_MAS][_m] != null) {
|
|
5223
5223
|
contents[_MAS] = de_NonEmptyMaxLength1024StringList(__getArrayIfSingleItem(output[_MAS][_m]), context);
|
|
5224
5224
|
}
|
|
5225
|
-
if (output.MatchAnySubstring === "") {
|
|
5225
|
+
if (String(output.MatchAnySubstring).trim() === "") {
|
|
5226
5226
|
contents[_MASa] = [];
|
|
5227
5227
|
}
|
|
5228
5228
|
else if (output[_MASa] != null && output[_MASa][_m] != null) {
|
|
@@ -5238,7 +5238,7 @@ const de_LambdaInvokeOperation = (output, context) => {
|
|
|
5238
5238
|
if (output[_ISV] != null) {
|
|
5239
5239
|
contents[_ISV] = __expectString(output[_ISV]);
|
|
5240
5240
|
}
|
|
5241
|
-
if (output.UserArguments === "") {
|
|
5241
|
+
if (String(output.UserArguments).trim() === "") {
|
|
5242
5242
|
contents[_UA] = {};
|
|
5243
5243
|
}
|
|
5244
5244
|
else if (output[_UA] != null && output[_UA][_e] != null) {
|
|
@@ -5273,13 +5273,13 @@ const de_LifecycleRule = (output, context) => {
|
|
|
5273
5273
|
if (output[_St] != null) {
|
|
5274
5274
|
contents[_St] = __expectString(output[_St]);
|
|
5275
5275
|
}
|
|
5276
|
-
if (output.Transitions === "") {
|
|
5276
|
+
if (String(output.Transitions).trim() === "") {
|
|
5277
5277
|
contents[_Tr] = [];
|
|
5278
5278
|
}
|
|
5279
5279
|
else if (output[_Tr] != null && output[_Tr][_Tra] != null) {
|
|
5280
5280
|
contents[_Tr] = de_TransitionList(__getArrayIfSingleItem(output[_Tr][_Tra]), context);
|
|
5281
5281
|
}
|
|
5282
|
-
if (output.NoncurrentVersionTransitions === "") {
|
|
5282
|
+
if (String(output.NoncurrentVersionTransitions).trim() === "") {
|
|
5283
5283
|
contents[_NVT] = [];
|
|
5284
5284
|
}
|
|
5285
5285
|
else if (output[_NVT] != null && output[_NVT][_NVTo] != null) {
|
|
@@ -5298,7 +5298,7 @@ const de_LifecycleRuleAndOperator = (output, context) => {
|
|
|
5298
5298
|
if (output[_Pre] != null) {
|
|
5299
5299
|
contents[_Pre] = __expectString(output[_Pre]);
|
|
5300
5300
|
}
|
|
5301
|
-
if (output.Tags === "") {
|
|
5301
|
+
if (String(output.Tags).trim() === "") {
|
|
5302
5302
|
contents[_T] = [];
|
|
5303
5303
|
}
|
|
5304
5304
|
else if (output[_T] != null && output[_T][_m] != null) {
|
|
@@ -5547,7 +5547,7 @@ const de_MultiRegionAccessPointReport = (output, context) => {
|
|
|
5547
5547
|
if (output[_St] != null) {
|
|
5548
5548
|
contents[_St] = __expectString(output[_St]);
|
|
5549
5549
|
}
|
|
5550
|
-
if (output.Regions === "") {
|
|
5550
|
+
if (String(output.Regions).trim() === "") {
|
|
5551
5551
|
contents[_Re] = [];
|
|
5552
5552
|
}
|
|
5553
5553
|
else if (output[_Re] != null && output[_Re][_Reg] != null) {
|
|
@@ -5577,7 +5577,7 @@ const de_MultiRegionAccessPointRoute = (output, context) => {
|
|
|
5577
5577
|
};
|
|
5578
5578
|
const de_MultiRegionAccessPointsAsyncResponse = (output, context) => {
|
|
5579
5579
|
const contents = {};
|
|
5580
|
-
if (output.Regions === "") {
|
|
5580
|
+
if (String(output.Regions).trim() === "") {
|
|
5581
5581
|
contents[_Re] = [];
|
|
5582
5582
|
}
|
|
5583
5583
|
else if (output[_Re] != null && output[_Re][_Reg] != null) {
|
|
@@ -5703,13 +5703,13 @@ const de_ObjectLambdaConfiguration = (output, context) => {
|
|
|
5703
5703
|
if (output[_CWME] != null) {
|
|
5704
5704
|
contents[_CWME] = __parseBoolean(output[_CWME]);
|
|
5705
5705
|
}
|
|
5706
|
-
if (output.AllowedFeatures === "") {
|
|
5706
|
+
if (String(output.AllowedFeatures).trim() === "") {
|
|
5707
5707
|
contents[_AFl] = [];
|
|
5708
5708
|
}
|
|
5709
5709
|
else if (output[_AFl] != null && output[_AFl][_AF] != null) {
|
|
5710
5710
|
contents[_AFl] = de_ObjectLambdaAllowedFeaturesList(__getArrayIfSingleItem(output[_AFl][_AF]), context);
|
|
5711
5711
|
}
|
|
5712
|
-
if (output.TransformationConfigurations === "") {
|
|
5712
|
+
if (String(output.TransformationConfigurations).trim() === "") {
|
|
5713
5713
|
contents[_TC] = [];
|
|
5714
5714
|
}
|
|
5715
5715
|
else if (output[_TC] != null && output[_TC][_TCr] != null) {
|
|
@@ -5727,13 +5727,13 @@ const de_ObjectLambdaContentTransformation = (output, context) => {
|
|
|
5727
5727
|
};
|
|
5728
5728
|
const de_ObjectLambdaTransformationConfiguration = (output, context) => {
|
|
5729
5729
|
const contents = {};
|
|
5730
|
-
if (output.Actions === "") {
|
|
5730
|
+
if (String(output.Actions).trim() === "") {
|
|
5731
5731
|
contents[_Act] = [];
|
|
5732
5732
|
}
|
|
5733
5733
|
else if (output[_Act] != null && output[_Act][_Acti] != null) {
|
|
5734
5734
|
contents[_Act] = de_ObjectLambdaTransformationConfigurationActionsList(__getArrayIfSingleItem(output[_Act][_Acti]), context);
|
|
5735
5735
|
}
|
|
5736
|
-
if (output.ContentTransformation === "") {
|
|
5736
|
+
if (String(output.ContentTransformation).trim() === "") {
|
|
5737
5737
|
}
|
|
5738
5738
|
else if (output[_CTo] != null) {
|
|
5739
5739
|
contents[_CTo] = de_ObjectLambdaContentTransformation(__expectUnion(output[_CTo]), context);
|
|
@@ -5900,7 +5900,7 @@ const de_ReplicationConfiguration = (output, context) => {
|
|
|
5900
5900
|
if (output[_Rol] != null) {
|
|
5901
5901
|
contents[_Rol] = __expectString(output[_Rol]);
|
|
5902
5902
|
}
|
|
5903
|
-
if (output.Rules === "") {
|
|
5903
|
+
if (String(output.Rules).trim() === "") {
|
|
5904
5904
|
contents[_Ru] = [];
|
|
5905
5905
|
}
|
|
5906
5906
|
else if (output[_Ru] != null && output[_Ru][_Rul] != null) {
|
|
@@ -5947,7 +5947,7 @@ const de_ReplicationRuleAndOperator = (output, context) => {
|
|
|
5947
5947
|
if (output[_Pre] != null) {
|
|
5948
5948
|
contents[_Pre] = __expectString(output[_Pre]);
|
|
5949
5949
|
}
|
|
5950
|
-
if (output.Tags === "") {
|
|
5950
|
+
if (String(output.Tags).trim() === "") {
|
|
5951
5951
|
contents[_T] = [];
|
|
5952
5952
|
}
|
|
5953
5953
|
else if (output[_T] != null && output[_T][_m] != null) {
|
|
@@ -6011,7 +6011,7 @@ const de_S3AccessControlList = (output, context) => {
|
|
|
6011
6011
|
if (output[_Ow] != null) {
|
|
6012
6012
|
contents[_Ow] = de_S3ObjectOwner(output[_Ow], context);
|
|
6013
6013
|
}
|
|
6014
|
-
if (output.Grants === "") {
|
|
6014
|
+
if (String(output.Grants).trim() === "") {
|
|
6015
6015
|
contents[_Gr] = [];
|
|
6016
6016
|
}
|
|
6017
6017
|
else if (output[_Gr] != null && output[_Gr][_m] != null) {
|
|
@@ -6069,7 +6069,7 @@ const de_S3CopyObjectOperation = (output, context) => {
|
|
|
6069
6069
|
if (output[_CACL] != null) {
|
|
6070
6070
|
contents[_CACL] = __expectString(output[_CACL]);
|
|
6071
6071
|
}
|
|
6072
|
-
if (output.AccessControlGrants === "") {
|
|
6072
|
+
if (String(output.AccessControlGrants).trim() === "") {
|
|
6073
6073
|
contents[_ACG] = [];
|
|
6074
6074
|
}
|
|
6075
6075
|
else if (output[_ACG] != null && output[_ACG][_m] != null) {
|
|
@@ -6084,7 +6084,7 @@ const de_S3CopyObjectOperation = (output, context) => {
|
|
|
6084
6084
|
if (output[_NOM] != null) {
|
|
6085
6085
|
contents[_NOM] = de_S3ObjectMetadata(output[_NOM], context);
|
|
6086
6086
|
}
|
|
6087
|
-
if (output.NewObjectTagging === "") {
|
|
6087
|
+
if (String(output.NewObjectTagging).trim() === "") {
|
|
6088
6088
|
contents[_NOT] = [];
|
|
6089
6089
|
}
|
|
6090
6090
|
else if (output[_NOT] != null && output[_NOT][_m] != null) {
|
|
@@ -6238,7 +6238,7 @@ const de_S3ObjectMetadata = (output, context) => {
|
|
|
6238
6238
|
if (output[_CL] != null) {
|
|
6239
6239
|
contents[_CL] = __expectString(output[_CL]);
|
|
6240
6240
|
}
|
|
6241
|
-
if (output.UserMetadata === "") {
|
|
6241
|
+
if (String(output.UserMetadata).trim() === "") {
|
|
6242
6242
|
contents[_UM] = {};
|
|
6243
6243
|
}
|
|
6244
6244
|
else if (output[_UM] != null && output[_UM][_e] != null) {
|
|
@@ -6314,7 +6314,7 @@ const de_S3SetObjectRetentionOperation = (output, context) => {
|
|
|
6314
6314
|
};
|
|
6315
6315
|
const de_S3SetObjectTaggingOperation = (output, context) => {
|
|
6316
6316
|
const contents = {};
|
|
6317
|
-
if (output.TagSet === "") {
|
|
6317
|
+
if (String(output.TagSet).trim() === "") {
|
|
6318
6318
|
contents[_TS] = [];
|
|
6319
6319
|
}
|
|
6320
6320
|
else if (output[_TS] != null && output[_TS][_m] != null) {
|
|
@@ -6350,13 +6350,13 @@ const de_S3UserMetadata = (output, context) => {
|
|
|
6350
6350
|
};
|
|
6351
6351
|
const de_Scope = (output, context) => {
|
|
6352
6352
|
const contents = {};
|
|
6353
|
-
if (output.Prefixes === "") {
|
|
6353
|
+
if (String(output.Prefixes).trim() === "") {
|
|
6354
6354
|
contents[_Pref] = [];
|
|
6355
6355
|
}
|
|
6356
6356
|
else if (output[_Pref] != null && output[_Pref][_Pre] != null) {
|
|
6357
6357
|
contents[_Pref] = de_PrefixesList(__getArrayIfSingleItem(output[_Pref][_Pre]), context);
|
|
6358
6358
|
}
|
|
6359
|
-
if (output.Permissions === "") {
|
|
6359
|
+
if (String(output.Permissions).trim() === "") {
|
|
6360
6360
|
contents[_Pe] = [];
|
|
6361
6361
|
}
|
|
6362
6362
|
else if (output[_Pe] != null && output[_Pe][_P] != null) {
|
|
@@ -6525,19 +6525,19 @@ const de_StorageLensGroup = (output, context) => {
|
|
|
6525
6525
|
};
|
|
6526
6526
|
const de_StorageLensGroupAndOperator = (output, context) => {
|
|
6527
6527
|
const contents = {};
|
|
6528
|
-
if (output.MatchAnyPrefix === "") {
|
|
6528
|
+
if (String(output.MatchAnyPrefix).trim() === "") {
|
|
6529
6529
|
contents[_MAP] = [];
|
|
6530
6530
|
}
|
|
6531
6531
|
else if (output[_MAP] != null && output[_MAP][_Pre] != null) {
|
|
6532
6532
|
contents[_MAP] = de_MatchAnyPrefix(__getArrayIfSingleItem(output[_MAP][_Pre]), context);
|
|
6533
6533
|
}
|
|
6534
|
-
if (output.MatchAnySuffix === "") {
|
|
6534
|
+
if (String(output.MatchAnySuffix).trim() === "") {
|
|
6535
6535
|
contents[_MAS] = [];
|
|
6536
6536
|
}
|
|
6537
6537
|
else if (output[_MAS] != null && output[_MAS][_Su] != null) {
|
|
6538
6538
|
contents[_MAS] = de_MatchAnySuffix(__getArrayIfSingleItem(output[_MAS][_Su]), context);
|
|
6539
6539
|
}
|
|
6540
|
-
if (output.MatchAnyTag === "") {
|
|
6540
|
+
if (String(output.MatchAnyTag).trim() === "") {
|
|
6541
6541
|
contents[_MAT] = [];
|
|
6542
6542
|
}
|
|
6543
6543
|
else if (output[_MAT] != null && output[_MAT][_Tag] != null) {
|
|
@@ -6553,19 +6553,19 @@ const de_StorageLensGroupAndOperator = (output, context) => {
|
|
|
6553
6553
|
};
|
|
6554
6554
|
const de_StorageLensGroupFilter = (output, context) => {
|
|
6555
6555
|
const contents = {};
|
|
6556
|
-
if (output.MatchAnyPrefix === "") {
|
|
6556
|
+
if (String(output.MatchAnyPrefix).trim() === "") {
|
|
6557
6557
|
contents[_MAP] = [];
|
|
6558
6558
|
}
|
|
6559
6559
|
else if (output[_MAP] != null && output[_MAP][_Pre] != null) {
|
|
6560
6560
|
contents[_MAP] = de_MatchAnyPrefix(__getArrayIfSingleItem(output[_MAP][_Pre]), context);
|
|
6561
6561
|
}
|
|
6562
|
-
if (output.MatchAnySuffix === "") {
|
|
6562
|
+
if (String(output.MatchAnySuffix).trim() === "") {
|
|
6563
6563
|
contents[_MAS] = [];
|
|
6564
6564
|
}
|
|
6565
6565
|
else if (output[_MAS] != null && output[_MAS][_Su] != null) {
|
|
6566
6566
|
contents[_MAS] = de_MatchAnySuffix(__getArrayIfSingleItem(output[_MAS][_Su]), context);
|
|
6567
6567
|
}
|
|
6568
|
-
if (output.MatchAnyTag === "") {
|
|
6568
|
+
if (String(output.MatchAnyTag).trim() === "") {
|
|
6569
6569
|
contents[_MAT] = [];
|
|
6570
6570
|
}
|
|
6571
6571
|
else if (output[_MAT] != null && output[_MAT][_Tag] != null) {
|
|
@@ -6608,13 +6608,13 @@ const de_StorageLensGroupLevelInclude = (output, context) => {
|
|
|
6608
6608
|
};
|
|
6609
6609
|
const de_StorageLensGroupLevelSelectionCriteria = (output, context) => {
|
|
6610
6610
|
const contents = {};
|
|
6611
|
-
if (output.Include === "") {
|
|
6611
|
+
if (String(output.Include).trim() === "") {
|
|
6612
6612
|
contents[_I] = [];
|
|
6613
6613
|
}
|
|
6614
6614
|
else if (output[_I] != null && output[_I][_Ar] != null) {
|
|
6615
6615
|
contents[_I] = de_StorageLensGroupLevelInclude(__getArrayIfSingleItem(output[_I][_Ar]), context);
|
|
6616
6616
|
}
|
|
6617
|
-
if (output.Exclude === "") {
|
|
6617
|
+
if (String(output.Exclude).trim() === "") {
|
|
6618
6618
|
contents[_Ex] = [];
|
|
6619
6619
|
}
|
|
6620
6620
|
else if (output[_Ex] != null && output[_Ex][_Ar] != null) {
|
|
@@ -6631,19 +6631,19 @@ const de_StorageLensGroupList = (output, context) => {
|
|
|
6631
6631
|
};
|
|
6632
6632
|
const de_StorageLensGroupOrOperator = (output, context) => {
|
|
6633
6633
|
const contents = {};
|
|
6634
|
-
if (output.MatchAnyPrefix === "") {
|
|
6634
|
+
if (String(output.MatchAnyPrefix).trim() === "") {
|
|
6635
6635
|
contents[_MAP] = [];
|
|
6636
6636
|
}
|
|
6637
6637
|
else if (output[_MAP] != null && output[_MAP][_Pre] != null) {
|
|
6638
6638
|
contents[_MAP] = de_MatchAnyPrefix(__getArrayIfSingleItem(output[_MAP][_Pre]), context);
|
|
6639
6639
|
}
|
|
6640
|
-
if (output.MatchAnySuffix === "") {
|
|
6640
|
+
if (String(output.MatchAnySuffix).trim() === "") {
|
|
6641
6641
|
contents[_MAS] = [];
|
|
6642
6642
|
}
|
|
6643
6643
|
else if (output[_MAS] != null && output[_MAS][_Su] != null) {
|
|
6644
6644
|
contents[_MAS] = de_MatchAnySuffix(__getArrayIfSingleItem(output[_MAS][_Su]), context);
|
|
6645
6645
|
}
|
|
6646
|
-
if (output.MatchAnyTag === "") {
|
|
6646
|
+
if (String(output.MatchAnyTag).trim() === "") {
|
|
6647
6647
|
contents[_MAT] = [];
|
|
6648
6648
|
}
|
|
6649
6649
|
else if (output[_MAT] != null && output[_MAT][_Tag] != null) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3-control",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.894.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3-control",
|
|
@@ -22,20 +22,20 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/core": "3.894.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.894.0",
|
|
27
27
|
"@aws-sdk/middleware-bucket-endpoint": "3.893.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
31
31
|
"@aws-sdk/middleware-sdk-s3-control": "3.893.0",
|
|
32
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
+
"@aws-sdk/middleware-user-agent": "3.894.0",
|
|
33
33
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
34
34
|
"@aws-sdk/types": "3.893.0",
|
|
35
35
|
"@aws-sdk/util-endpoints": "3.893.0",
|
|
36
36
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
37
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
38
|
-
"@aws-sdk/xml-builder": "3.
|
|
37
|
+
"@aws-sdk/util-user-agent-node": "3.894.0",
|
|
38
|
+
"@aws-sdk/xml-builder": "3.894.0",
|
|
39
39
|
"@smithy/config-resolver": "^4.2.2",
|
|
40
40
|
"@smithy/core": "^3.11.1",
|
|
41
41
|
"@smithy/fetch-http-handler": "^5.2.1",
|