@aws-sdk/client-s3-control 3.53.1 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/S3ControlClient.js +14 -14
- package/dist-cjs/commands/CreateAccessPointCommand.js +4 -4
- package/dist-cjs/commands/CreateAccessPointForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/CreateBucketCommand.js +5 -5
- package/dist-cjs/commands/CreateJobCommand.js +4 -4
- package/dist-cjs/commands/CreateMultiRegionAccessPointCommand.js +5 -5
- package/dist-cjs/commands/DeleteAccessPointCommand.js +4 -4
- package/dist-cjs/commands/DeleteAccessPointForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/DeleteAccessPointPolicyCommand.js +4 -4
- package/dist-cjs/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketLifecycleConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketPolicyCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketTaggingCommand.js +4 -4
- package/dist-cjs/commands/DeleteJobTaggingCommand.js +4 -4
- package/dist-cjs/commands/DeleteMultiRegionAccessPointCommand.js +5 -5
- package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +4 -4
- package/dist-cjs/commands/DeleteStorageLensConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DeleteStorageLensConfigurationTaggingCommand.js +4 -4
- package/dist-cjs/commands/DescribeJobCommand.js +4 -4
- package/dist-cjs/commands/DescribeMultiRegionAccessPointOperationCommand.js +5 -5
- package/dist-cjs/commands/GetAccessPointCommand.js +4 -4
- package/dist-cjs/commands/GetAccessPointConfigurationForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/GetAccessPointForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/GetAccessPointPolicyCommand.js +4 -4
- package/dist-cjs/commands/GetAccessPointPolicyForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/GetAccessPointPolicyStatusCommand.js +4 -4
- package/dist-cjs/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/GetBucketCommand.js +4 -4
- package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketPolicyCommand.js +4 -4
- package/dist-cjs/commands/GetBucketTaggingCommand.js +4 -4
- package/dist-cjs/commands/GetJobTaggingCommand.js +4 -4
- package/dist-cjs/commands/GetMultiRegionAccessPointCommand.js +5 -5
- package/dist-cjs/commands/GetMultiRegionAccessPointPolicyCommand.js +5 -5
- package/dist-cjs/commands/GetMultiRegionAccessPointPolicyStatusCommand.js +5 -5
- package/dist-cjs/commands/GetPublicAccessBlockCommand.js +4 -4
- package/dist-cjs/commands/GetStorageLensConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetStorageLensConfigurationTaggingCommand.js +4 -4
- package/dist-cjs/commands/ListAccessPointsCommand.js +4 -4
- package/dist-cjs/commands/ListAccessPointsForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/ListJobsCommand.js +4 -4
- package/dist-cjs/commands/ListMultiRegionAccessPointsCommand.js +5 -5
- package/dist-cjs/commands/ListRegionalBucketsCommand.js +4 -4
- package/dist-cjs/commands/ListStorageLensConfigurationsCommand.js +4 -4
- package/dist-cjs/commands/PutAccessPointConfigurationForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/PutAccessPointPolicyCommand.js +4 -4
- package/dist-cjs/commands/PutAccessPointPolicyForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +5 -5
- package/dist-cjs/commands/PutBucketPolicyCommand.js +5 -5
- package/dist-cjs/commands/PutBucketTaggingCommand.js +5 -5
- package/dist-cjs/commands/PutJobTaggingCommand.js +4 -4
- package/dist-cjs/commands/PutMultiRegionAccessPointPolicyCommand.js +5 -5
- package/dist-cjs/commands/PutPublicAccessBlockCommand.js +4 -4
- package/dist-cjs/commands/PutStorageLensConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutStorageLensConfigurationTaggingCommand.js +4 -4
- package/dist-cjs/commands/UpdateJobPriorityCommand.js +4 -4
- package/dist-cjs/commands/UpdateJobStatusCommand.js +4 -4
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restXml.js +464 -464
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/S3Control.js +57 -57
- package/dist-es/pagination/ListAccessPointsForObjectLambdaPaginator.js +4 -4
- package/dist-es/pagination/ListAccessPointsPaginator.js +4 -4
- package/dist-es/pagination/ListJobsPaginator.js +4 -4
- package/dist-es/pagination/ListMultiRegionAccessPointsPaginator.js +4 -4
- package/dist-es/pagination/ListRegionalBucketsPaginator.js +4 -4
- package/dist-es/pagination/ListStorageLensConfigurationsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restXml.js +57 -57
- package/dist-types/S3ControlClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/S3ControlClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +40 -40
|
@@ -23,7 +23,7 @@ const serializeAws_restXmlCreateAccessPointCommand = async (input, context) => {
|
|
|
23
23
|
if (labelValue.length <= 0) {
|
|
24
24
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
25
25
|
}
|
|
26
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
26
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
27
27
|
}
|
|
28
28
|
else {
|
|
29
29
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -52,7 +52,7 @@ const serializeAws_restXmlCreateAccessPointCommand = async (input, context) => {
|
|
|
52
52
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
53
53
|
}
|
|
54
54
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
55
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
55
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
56
56
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -80,7 +80,7 @@ const serializeAws_restXmlCreateAccessPointForObjectLambdaCommand = async (input
|
|
|
80
80
|
if (labelValue.length <= 0) {
|
|
81
81
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
82
82
|
}
|
|
83
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
83
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
84
84
|
}
|
|
85
85
|
else {
|
|
86
86
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -101,7 +101,7 @@ const serializeAws_restXmlCreateAccessPointForObjectLambdaCommand = async (input
|
|
|
101
101
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
102
102
|
}
|
|
103
103
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
104
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
104
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
105
105
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
106
106
|
}
|
|
107
107
|
}
|
|
@@ -137,7 +137,7 @@ const serializeAws_restXmlCreateBucketCommand = async (input, context) => {
|
|
|
137
137
|
if (labelValue.length <= 0) {
|
|
138
138
|
throw new Error("Empty value provided for input HTTP label: Bucket.");
|
|
139
139
|
}
|
|
140
|
-
resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
140
|
+
resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
141
141
|
}
|
|
142
142
|
else {
|
|
143
143
|
throw new Error("No value provided for input HTTP label: Bucket.");
|
|
@@ -176,7 +176,7 @@ const serializeAws_restXmlCreateJobCommand = async (input, context) => {
|
|
|
176
176
|
const bodyNode = new xml_builder_1.XmlNode("CreateJobRequest");
|
|
177
177
|
bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
|
|
178
178
|
if (input.ClientRequestToken === undefined) {
|
|
179
|
-
input.ClientRequestToken = uuid_1.v4();
|
|
179
|
+
input.ClientRequestToken = (0, uuid_1.v4)();
|
|
180
180
|
}
|
|
181
181
|
if (input.ClientRequestToken !== undefined) {
|
|
182
182
|
const node = new xml_builder_1.XmlNode("NonEmptyMaxLength64String")
|
|
@@ -236,7 +236,7 @@ const serializeAws_restXmlCreateJobCommand = async (input, context) => {
|
|
|
236
236
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
237
237
|
}
|
|
238
238
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
239
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
239
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
240
240
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
241
241
|
}
|
|
242
242
|
}
|
|
@@ -263,7 +263,7 @@ const serializeAws_restXmlCreateMultiRegionAccessPointCommand = async (input, co
|
|
|
263
263
|
const bodyNode = new xml_builder_1.XmlNode("CreateMultiRegionAccessPointRequest");
|
|
264
264
|
bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
|
|
265
265
|
if (input.ClientToken === undefined) {
|
|
266
|
-
input.ClientToken = uuid_1.v4();
|
|
266
|
+
input.ClientToken = (0, uuid_1.v4)();
|
|
267
267
|
}
|
|
268
268
|
if (input.ClientToken !== undefined) {
|
|
269
269
|
const node = new xml_builder_1.XmlNode("MultiRegionAccessPointClientToken")
|
|
@@ -283,7 +283,7 @@ const serializeAws_restXmlCreateMultiRegionAccessPointCommand = async (input, co
|
|
|
283
283
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
284
284
|
}
|
|
285
285
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
286
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
286
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
287
287
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
288
288
|
}
|
|
289
289
|
}
|
|
@@ -309,7 +309,7 @@ const serializeAws_restXmlDeleteAccessPointCommand = async (input, context) => {
|
|
|
309
309
|
if (labelValue.length <= 0) {
|
|
310
310
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
311
311
|
}
|
|
312
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
312
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
313
313
|
}
|
|
314
314
|
else {
|
|
315
315
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -322,7 +322,7 @@ const serializeAws_restXmlDeleteAccessPointCommand = async (input, context) => {
|
|
|
322
322
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
323
323
|
}
|
|
324
324
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
325
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
325
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
326
326
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
327
327
|
}
|
|
328
328
|
}
|
|
@@ -349,7 +349,7 @@ const serializeAws_restXmlDeleteAccessPointForObjectLambdaCommand = async (input
|
|
|
349
349
|
if (labelValue.length <= 0) {
|
|
350
350
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
351
351
|
}
|
|
352
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
352
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
353
353
|
}
|
|
354
354
|
else {
|
|
355
355
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -362,7 +362,7 @@ const serializeAws_restXmlDeleteAccessPointForObjectLambdaCommand = async (input
|
|
|
362
362
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
363
363
|
}
|
|
364
364
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
365
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
365
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
366
366
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
367
367
|
}
|
|
368
368
|
}
|
|
@@ -388,7 +388,7 @@ const serializeAws_restXmlDeleteAccessPointPolicyCommand = async (input, context
|
|
|
388
388
|
if (labelValue.length <= 0) {
|
|
389
389
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
390
390
|
}
|
|
391
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
391
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
392
392
|
}
|
|
393
393
|
else {
|
|
394
394
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -401,7 +401,7 @@ const serializeAws_restXmlDeleteAccessPointPolicyCommand = async (input, context
|
|
|
401
401
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
402
402
|
}
|
|
403
403
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
404
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
404
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
405
405
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
406
406
|
}
|
|
407
407
|
}
|
|
@@ -428,7 +428,7 @@ const serializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaCommand = async
|
|
|
428
428
|
if (labelValue.length <= 0) {
|
|
429
429
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
430
430
|
}
|
|
431
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
431
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
432
432
|
}
|
|
433
433
|
else {
|
|
434
434
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -441,7 +441,7 @@ const serializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaCommand = async
|
|
|
441
441
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
442
442
|
}
|
|
443
443
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
444
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
444
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
445
445
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
446
446
|
}
|
|
447
447
|
}
|
|
@@ -467,7 +467,7 @@ const serializeAws_restXmlDeleteBucketCommand = async (input, context) => {
|
|
|
467
467
|
if (labelValue.length <= 0) {
|
|
468
468
|
throw new Error("Empty value provided for input HTTP label: Bucket.");
|
|
469
469
|
}
|
|
470
|
-
resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
470
|
+
resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
471
471
|
}
|
|
472
472
|
else {
|
|
473
473
|
throw new Error("No value provided for input HTTP label: Bucket.");
|
|
@@ -480,7 +480,7 @@ const serializeAws_restXmlDeleteBucketCommand = async (input, context) => {
|
|
|
480
480
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
481
481
|
}
|
|
482
482
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
483
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
483
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
484
484
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
485
485
|
}
|
|
486
486
|
}
|
|
@@ -507,7 +507,7 @@ const serializeAws_restXmlDeleteBucketLifecycleConfigurationCommand = async (inp
|
|
|
507
507
|
if (labelValue.length <= 0) {
|
|
508
508
|
throw new Error("Empty value provided for input HTTP label: Bucket.");
|
|
509
509
|
}
|
|
510
|
-
resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
510
|
+
resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
511
511
|
}
|
|
512
512
|
else {
|
|
513
513
|
throw new Error("No value provided for input HTTP label: Bucket.");
|
|
@@ -520,7 +520,7 @@ const serializeAws_restXmlDeleteBucketLifecycleConfigurationCommand = async (inp
|
|
|
520
520
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
521
521
|
}
|
|
522
522
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
523
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
523
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
524
524
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
525
525
|
}
|
|
526
526
|
}
|
|
@@ -546,7 +546,7 @@ const serializeAws_restXmlDeleteBucketPolicyCommand = async (input, context) =>
|
|
|
546
546
|
if (labelValue.length <= 0) {
|
|
547
547
|
throw new Error("Empty value provided for input HTTP label: Bucket.");
|
|
548
548
|
}
|
|
549
|
-
resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
549
|
+
resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
550
550
|
}
|
|
551
551
|
else {
|
|
552
552
|
throw new Error("No value provided for input HTTP label: Bucket.");
|
|
@@ -559,7 +559,7 @@ const serializeAws_restXmlDeleteBucketPolicyCommand = async (input, context) =>
|
|
|
559
559
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
560
560
|
}
|
|
561
561
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
562
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
562
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
563
563
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
564
564
|
}
|
|
565
565
|
}
|
|
@@ -585,7 +585,7 @@ const serializeAws_restXmlDeleteBucketTaggingCommand = async (input, context) =>
|
|
|
585
585
|
if (labelValue.length <= 0) {
|
|
586
586
|
throw new Error("Empty value provided for input HTTP label: Bucket.");
|
|
587
587
|
}
|
|
588
|
-
resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
588
|
+
resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
589
589
|
}
|
|
590
590
|
else {
|
|
591
591
|
throw new Error("No value provided for input HTTP label: Bucket.");
|
|
@@ -598,7 +598,7 @@ const serializeAws_restXmlDeleteBucketTaggingCommand = async (input, context) =>
|
|
|
598
598
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
599
599
|
}
|
|
600
600
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
601
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
601
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
602
602
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
603
603
|
}
|
|
604
604
|
}
|
|
@@ -624,7 +624,7 @@ const serializeAws_restXmlDeleteJobTaggingCommand = async (input, context) => {
|
|
|
624
624
|
if (labelValue.length <= 0) {
|
|
625
625
|
throw new Error("Empty value provided for input HTTP label: JobId.");
|
|
626
626
|
}
|
|
627
|
-
resolvedPath = resolvedPath.replace("{JobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
627
|
+
resolvedPath = resolvedPath.replace("{JobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
628
628
|
}
|
|
629
629
|
else {
|
|
630
630
|
throw new Error("No value provided for input HTTP label: JobId.");
|
|
@@ -637,7 +637,7 @@ const serializeAws_restXmlDeleteJobTaggingCommand = async (input, context) => {
|
|
|
637
637
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
638
638
|
}
|
|
639
639
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
640
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
640
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
641
641
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
642
642
|
}
|
|
643
643
|
}
|
|
@@ -664,7 +664,7 @@ const serializeAws_restXmlDeleteMultiRegionAccessPointCommand = async (input, co
|
|
|
664
664
|
const bodyNode = new xml_builder_1.XmlNode("DeleteMultiRegionAccessPointRequest");
|
|
665
665
|
bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
|
|
666
666
|
if (input.ClientToken === undefined) {
|
|
667
|
-
input.ClientToken = uuid_1.v4();
|
|
667
|
+
input.ClientToken = (0, uuid_1.v4)();
|
|
668
668
|
}
|
|
669
669
|
if (input.ClientToken !== undefined) {
|
|
670
670
|
const node = new xml_builder_1.XmlNode("MultiRegionAccessPointClientToken")
|
|
@@ -684,7 +684,7 @@ const serializeAws_restXmlDeleteMultiRegionAccessPointCommand = async (input, co
|
|
|
684
684
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
685
685
|
}
|
|
686
686
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
687
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
687
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
688
688
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
689
689
|
}
|
|
690
690
|
}
|
|
@@ -714,7 +714,7 @@ const serializeAws_restXmlDeletePublicAccessBlockCommand = async (input, context
|
|
|
714
714
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
715
715
|
}
|
|
716
716
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
717
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
717
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
718
718
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
719
719
|
}
|
|
720
720
|
}
|
|
@@ -740,7 +740,7 @@ const serializeAws_restXmlDeleteStorageLensConfigurationCommand = async (input,
|
|
|
740
740
|
if (labelValue.length <= 0) {
|
|
741
741
|
throw new Error("Empty value provided for input HTTP label: ConfigId.");
|
|
742
742
|
}
|
|
743
|
-
resolvedPath = resolvedPath.replace("{ConfigId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
743
|
+
resolvedPath = resolvedPath.replace("{ConfigId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
744
744
|
}
|
|
745
745
|
else {
|
|
746
746
|
throw new Error("No value provided for input HTTP label: ConfigId.");
|
|
@@ -753,7 +753,7 @@ const serializeAws_restXmlDeleteStorageLensConfigurationCommand = async (input,
|
|
|
753
753
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
754
754
|
}
|
|
755
755
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
756
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
756
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
757
757
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
758
758
|
}
|
|
759
759
|
}
|
|
@@ -779,7 +779,7 @@ const serializeAws_restXmlDeleteStorageLensConfigurationTaggingCommand = async (
|
|
|
779
779
|
if (labelValue.length <= 0) {
|
|
780
780
|
throw new Error("Empty value provided for input HTTP label: ConfigId.");
|
|
781
781
|
}
|
|
782
|
-
resolvedPath = resolvedPath.replace("{ConfigId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
782
|
+
resolvedPath = resolvedPath.replace("{ConfigId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
783
783
|
}
|
|
784
784
|
else {
|
|
785
785
|
throw new Error("No value provided for input HTTP label: ConfigId.");
|
|
@@ -792,7 +792,7 @@ const serializeAws_restXmlDeleteStorageLensConfigurationTaggingCommand = async (
|
|
|
792
792
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
793
793
|
}
|
|
794
794
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
795
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
795
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
796
796
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
797
797
|
}
|
|
798
798
|
}
|
|
@@ -818,7 +818,7 @@ const serializeAws_restXmlDescribeJobCommand = async (input, context) => {
|
|
|
818
818
|
if (labelValue.length <= 0) {
|
|
819
819
|
throw new Error("Empty value provided for input HTTP label: JobId.");
|
|
820
820
|
}
|
|
821
|
-
resolvedPath = resolvedPath.replace("{JobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
821
|
+
resolvedPath = resolvedPath.replace("{JobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
822
822
|
}
|
|
823
823
|
else {
|
|
824
824
|
throw new Error("No value provided for input HTTP label: JobId.");
|
|
@@ -831,7 +831,7 @@ const serializeAws_restXmlDescribeJobCommand = async (input, context) => {
|
|
|
831
831
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
832
832
|
}
|
|
833
833
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
834
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
834
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
835
835
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
836
836
|
}
|
|
837
837
|
}
|
|
@@ -860,7 +860,7 @@ const serializeAws_restXmlDescribeMultiRegionAccessPointOperationCommand = async
|
|
|
860
860
|
}
|
|
861
861
|
resolvedPath = resolvedPath.replace("{RequestTokenARN+}", labelValue
|
|
862
862
|
.split("/")
|
|
863
|
-
.map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
|
|
863
|
+
.map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
|
|
864
864
|
.join("/"));
|
|
865
865
|
}
|
|
866
866
|
else {
|
|
@@ -874,7 +874,7 @@ const serializeAws_restXmlDescribeMultiRegionAccessPointOperationCommand = async
|
|
|
874
874
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
875
875
|
}
|
|
876
876
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
877
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
877
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
878
878
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
879
879
|
}
|
|
880
880
|
}
|
|
@@ -900,7 +900,7 @@ const serializeAws_restXmlGetAccessPointCommand = async (input, context) => {
|
|
|
900
900
|
if (labelValue.length <= 0) {
|
|
901
901
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
902
902
|
}
|
|
903
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
903
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
904
904
|
}
|
|
905
905
|
else {
|
|
906
906
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -913,7 +913,7 @@ const serializeAws_restXmlGetAccessPointCommand = async (input, context) => {
|
|
|
913
913
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
914
914
|
}
|
|
915
915
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
916
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
916
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
917
917
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
918
918
|
}
|
|
919
919
|
}
|
|
@@ -940,7 +940,7 @@ const serializeAws_restXmlGetAccessPointConfigurationForObjectLambdaCommand = as
|
|
|
940
940
|
if (labelValue.length <= 0) {
|
|
941
941
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
942
942
|
}
|
|
943
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
943
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
944
944
|
}
|
|
945
945
|
else {
|
|
946
946
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -953,7 +953,7 @@ const serializeAws_restXmlGetAccessPointConfigurationForObjectLambdaCommand = as
|
|
|
953
953
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
954
954
|
}
|
|
955
955
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
956
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
956
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
957
957
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
958
958
|
}
|
|
959
959
|
}
|
|
@@ -980,7 +980,7 @@ const serializeAws_restXmlGetAccessPointForObjectLambdaCommand = async (input, c
|
|
|
980
980
|
if (labelValue.length <= 0) {
|
|
981
981
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
982
982
|
}
|
|
983
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
983
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
984
984
|
}
|
|
985
985
|
else {
|
|
986
986
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -993,7 +993,7 @@ const serializeAws_restXmlGetAccessPointForObjectLambdaCommand = async (input, c
|
|
|
993
993
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
994
994
|
}
|
|
995
995
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
996
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
996
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
997
997
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
998
998
|
}
|
|
999
999
|
}
|
|
@@ -1019,7 +1019,7 @@ const serializeAws_restXmlGetAccessPointPolicyCommand = async (input, context) =
|
|
|
1019
1019
|
if (labelValue.length <= 0) {
|
|
1020
1020
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
1021
1021
|
}
|
|
1022
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1022
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1023
1023
|
}
|
|
1024
1024
|
else {
|
|
1025
1025
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -1032,7 +1032,7 @@ const serializeAws_restXmlGetAccessPointPolicyCommand = async (input, context) =
|
|
|
1032
1032
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1033
1033
|
}
|
|
1034
1034
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1035
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1035
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1036
1036
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
@@ -1059,7 +1059,7 @@ const serializeAws_restXmlGetAccessPointPolicyForObjectLambdaCommand = async (in
|
|
|
1059
1059
|
if (labelValue.length <= 0) {
|
|
1060
1060
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
1061
1061
|
}
|
|
1062
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1062
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1063
1063
|
}
|
|
1064
1064
|
else {
|
|
1065
1065
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -1072,7 +1072,7 @@ const serializeAws_restXmlGetAccessPointPolicyForObjectLambdaCommand = async (in
|
|
|
1072
1072
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1073
1073
|
}
|
|
1074
1074
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1075
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1075
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1076
1076
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1077
1077
|
}
|
|
1078
1078
|
}
|
|
@@ -1099,7 +1099,7 @@ const serializeAws_restXmlGetAccessPointPolicyStatusCommand = async (input, cont
|
|
|
1099
1099
|
if (labelValue.length <= 0) {
|
|
1100
1100
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
1101
1101
|
}
|
|
1102
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1102
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1103
1103
|
}
|
|
1104
1104
|
else {
|
|
1105
1105
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -1112,7 +1112,7 @@ const serializeAws_restXmlGetAccessPointPolicyStatusCommand = async (input, cont
|
|
|
1112
1112
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1113
1113
|
}
|
|
1114
1114
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1115
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1115
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1116
1116
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1117
1117
|
}
|
|
1118
1118
|
}
|
|
@@ -1139,7 +1139,7 @@ const serializeAws_restXmlGetAccessPointPolicyStatusForObjectLambdaCommand = asy
|
|
|
1139
1139
|
if (labelValue.length <= 0) {
|
|
1140
1140
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
1141
1141
|
}
|
|
1142
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1142
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1143
1143
|
}
|
|
1144
1144
|
else {
|
|
1145
1145
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -1152,7 +1152,7 @@ const serializeAws_restXmlGetAccessPointPolicyStatusForObjectLambdaCommand = asy
|
|
|
1152
1152
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1153
1153
|
}
|
|
1154
1154
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1155
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1155
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1156
1156
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1157
1157
|
}
|
|
1158
1158
|
}
|
|
@@ -1178,7 +1178,7 @@ const serializeAws_restXmlGetBucketCommand = async (input, context) => {
|
|
|
1178
1178
|
if (labelValue.length <= 0) {
|
|
1179
1179
|
throw new Error("Empty value provided for input HTTP label: Bucket.");
|
|
1180
1180
|
}
|
|
1181
|
-
resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1181
|
+
resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1182
1182
|
}
|
|
1183
1183
|
else {
|
|
1184
1184
|
throw new Error("No value provided for input HTTP label: Bucket.");
|
|
@@ -1191,7 +1191,7 @@ const serializeAws_restXmlGetBucketCommand = async (input, context) => {
|
|
|
1191
1191
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1192
1192
|
}
|
|
1193
1193
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1194
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1194
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1195
1195
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
@@ -1218,7 +1218,7 @@ const serializeAws_restXmlGetBucketLifecycleConfigurationCommand = async (input,
|
|
|
1218
1218
|
if (labelValue.length <= 0) {
|
|
1219
1219
|
throw new Error("Empty value provided for input HTTP label: Bucket.");
|
|
1220
1220
|
}
|
|
1221
|
-
resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1221
|
+
resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1222
1222
|
}
|
|
1223
1223
|
else {
|
|
1224
1224
|
throw new Error("No value provided for input HTTP label: Bucket.");
|
|
@@ -1231,7 +1231,7 @@ const serializeAws_restXmlGetBucketLifecycleConfigurationCommand = async (input,
|
|
|
1231
1231
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1232
1232
|
}
|
|
1233
1233
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1234
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1234
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1235
1235
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1236
1236
|
}
|
|
1237
1237
|
}
|
|
@@ -1257,7 +1257,7 @@ const serializeAws_restXmlGetBucketPolicyCommand = async (input, context) => {
|
|
|
1257
1257
|
if (labelValue.length <= 0) {
|
|
1258
1258
|
throw new Error("Empty value provided for input HTTP label: Bucket.");
|
|
1259
1259
|
}
|
|
1260
|
-
resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1260
|
+
resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1261
1261
|
}
|
|
1262
1262
|
else {
|
|
1263
1263
|
throw new Error("No value provided for input HTTP label: Bucket.");
|
|
@@ -1270,7 +1270,7 @@ const serializeAws_restXmlGetBucketPolicyCommand = async (input, context) => {
|
|
|
1270
1270
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1271
1271
|
}
|
|
1272
1272
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1273
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1273
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1274
1274
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
@@ -1296,7 +1296,7 @@ const serializeAws_restXmlGetBucketTaggingCommand = async (input, context) => {
|
|
|
1296
1296
|
if (labelValue.length <= 0) {
|
|
1297
1297
|
throw new Error("Empty value provided for input HTTP label: Bucket.");
|
|
1298
1298
|
}
|
|
1299
|
-
resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1299
|
+
resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1300
1300
|
}
|
|
1301
1301
|
else {
|
|
1302
1302
|
throw new Error("No value provided for input HTTP label: Bucket.");
|
|
@@ -1309,7 +1309,7 @@ const serializeAws_restXmlGetBucketTaggingCommand = async (input, context) => {
|
|
|
1309
1309
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1310
1310
|
}
|
|
1311
1311
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1312
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1312
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1313
1313
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1314
1314
|
}
|
|
1315
1315
|
}
|
|
@@ -1335,7 +1335,7 @@ const serializeAws_restXmlGetJobTaggingCommand = async (input, context) => {
|
|
|
1335
1335
|
if (labelValue.length <= 0) {
|
|
1336
1336
|
throw new Error("Empty value provided for input HTTP label: JobId.");
|
|
1337
1337
|
}
|
|
1338
|
-
resolvedPath = resolvedPath.replace("{JobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1338
|
+
resolvedPath = resolvedPath.replace("{JobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1339
1339
|
}
|
|
1340
1340
|
else {
|
|
1341
1341
|
throw new Error("No value provided for input HTTP label: JobId.");
|
|
@@ -1348,7 +1348,7 @@ const serializeAws_restXmlGetJobTaggingCommand = async (input, context) => {
|
|
|
1348
1348
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1349
1349
|
}
|
|
1350
1350
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1351
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1351
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1352
1352
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1353
1353
|
}
|
|
1354
1354
|
}
|
|
@@ -1374,7 +1374,7 @@ const serializeAws_restXmlGetMultiRegionAccessPointCommand = async (input, conte
|
|
|
1374
1374
|
if (labelValue.length <= 0) {
|
|
1375
1375
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
1376
1376
|
}
|
|
1377
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1377
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1378
1378
|
}
|
|
1379
1379
|
else {
|
|
1380
1380
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -1387,7 +1387,7 @@ const serializeAws_restXmlGetMultiRegionAccessPointCommand = async (input, conte
|
|
|
1387
1387
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1388
1388
|
}
|
|
1389
1389
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1390
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1390
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1391
1391
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1392
1392
|
}
|
|
1393
1393
|
}
|
|
@@ -1413,7 +1413,7 @@ const serializeAws_restXmlGetMultiRegionAccessPointPolicyCommand = async (input,
|
|
|
1413
1413
|
if (labelValue.length <= 0) {
|
|
1414
1414
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
1415
1415
|
}
|
|
1416
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1416
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1417
1417
|
}
|
|
1418
1418
|
else {
|
|
1419
1419
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -1426,7 +1426,7 @@ const serializeAws_restXmlGetMultiRegionAccessPointPolicyCommand = async (input,
|
|
|
1426
1426
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1427
1427
|
}
|
|
1428
1428
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1429
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1429
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1430
1430
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1431
1431
|
}
|
|
1432
1432
|
}
|
|
@@ -1453,7 +1453,7 @@ const serializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand = async (
|
|
|
1453
1453
|
if (labelValue.length <= 0) {
|
|
1454
1454
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
1455
1455
|
}
|
|
1456
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1456
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1457
1457
|
}
|
|
1458
1458
|
else {
|
|
1459
1459
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -1466,7 +1466,7 @@ const serializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand = async (
|
|
|
1466
1466
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1467
1467
|
}
|
|
1468
1468
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1469
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1469
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1470
1470
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1471
1471
|
}
|
|
1472
1472
|
}
|
|
@@ -1496,7 +1496,7 @@ const serializeAws_restXmlGetPublicAccessBlockCommand = async (input, context) =
|
|
|
1496
1496
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1497
1497
|
}
|
|
1498
1498
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1499
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1499
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1500
1500
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
@@ -1522,7 +1522,7 @@ const serializeAws_restXmlGetStorageLensConfigurationCommand = async (input, con
|
|
|
1522
1522
|
if (labelValue.length <= 0) {
|
|
1523
1523
|
throw new Error("Empty value provided for input HTTP label: ConfigId.");
|
|
1524
1524
|
}
|
|
1525
|
-
resolvedPath = resolvedPath.replace("{ConfigId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1525
|
+
resolvedPath = resolvedPath.replace("{ConfigId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1526
1526
|
}
|
|
1527
1527
|
else {
|
|
1528
1528
|
throw new Error("No value provided for input HTTP label: ConfigId.");
|
|
@@ -1535,7 +1535,7 @@ const serializeAws_restXmlGetStorageLensConfigurationCommand = async (input, con
|
|
|
1535
1535
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1536
1536
|
}
|
|
1537
1537
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1538
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1538
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1539
1539
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1540
1540
|
}
|
|
1541
1541
|
}
|
|
@@ -1561,7 +1561,7 @@ const serializeAws_restXmlGetStorageLensConfigurationTaggingCommand = async (inp
|
|
|
1561
1561
|
if (labelValue.length <= 0) {
|
|
1562
1562
|
throw new Error("Empty value provided for input HTTP label: ConfigId.");
|
|
1563
1563
|
}
|
|
1564
|
-
resolvedPath = resolvedPath.replace("{ConfigId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1564
|
+
resolvedPath = resolvedPath.replace("{ConfigId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1565
1565
|
}
|
|
1566
1566
|
else {
|
|
1567
1567
|
throw new Error("No value provided for input HTTP label: ConfigId.");
|
|
@@ -1574,7 +1574,7 @@ const serializeAws_restXmlGetStorageLensConfigurationTaggingCommand = async (inp
|
|
|
1574
1574
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1575
1575
|
}
|
|
1576
1576
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1577
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1577
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1578
1578
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1579
1579
|
}
|
|
1580
1580
|
}
|
|
@@ -1608,7 +1608,7 @@ const serializeAws_restXmlListAccessPointsCommand = async (input, context) => {
|
|
|
1608
1608
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1609
1609
|
}
|
|
1610
1610
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1611
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1611
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1612
1612
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1613
1613
|
}
|
|
1614
1614
|
}
|
|
@@ -1642,7 +1642,7 @@ const serializeAws_restXmlListAccessPointsForObjectLambdaCommand = async (input,
|
|
|
1642
1642
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1643
1643
|
}
|
|
1644
1644
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1645
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1645
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1646
1646
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1647
1647
|
}
|
|
1648
1648
|
}
|
|
@@ -1677,7 +1677,7 @@ const serializeAws_restXmlListJobsCommand = async (input, context) => {
|
|
|
1677
1677
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1678
1678
|
}
|
|
1679
1679
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1680
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1680
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1681
1681
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1682
1682
|
}
|
|
1683
1683
|
}
|
|
@@ -1711,7 +1711,7 @@ const serializeAws_restXmlListMultiRegionAccessPointsCommand = async (input, con
|
|
|
1711
1711
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1712
1712
|
}
|
|
1713
1713
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1714
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1714
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1715
1715
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1716
1716
|
}
|
|
1717
1717
|
}
|
|
@@ -1746,7 +1746,7 @@ const serializeAws_restXmlListRegionalBucketsCommand = async (input, context) =>
|
|
|
1746
1746
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1747
1747
|
}
|
|
1748
1748
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1749
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1749
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1750
1750
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1751
1751
|
}
|
|
1752
1752
|
}
|
|
@@ -1779,7 +1779,7 @@ const serializeAws_restXmlListStorageLensConfigurationsCommand = async (input, c
|
|
|
1779
1779
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1780
1780
|
}
|
|
1781
1781
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1782
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1782
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1783
1783
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1784
1784
|
}
|
|
1785
1785
|
}
|
|
@@ -1808,7 +1808,7 @@ const serializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand = as
|
|
|
1808
1808
|
if (labelValue.length <= 0) {
|
|
1809
1809
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
1810
1810
|
}
|
|
1811
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1811
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1812
1812
|
}
|
|
1813
1813
|
else {
|
|
1814
1814
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -1829,7 +1829,7 @@ const serializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand = as
|
|
|
1829
1829
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1830
1830
|
}
|
|
1831
1831
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1832
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1832
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1833
1833
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1834
1834
|
}
|
|
1835
1835
|
}
|
|
@@ -1856,7 +1856,7 @@ const serializeAws_restXmlPutAccessPointPolicyCommand = async (input, context) =
|
|
|
1856
1856
|
if (labelValue.length <= 0) {
|
|
1857
1857
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
1858
1858
|
}
|
|
1859
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1859
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1860
1860
|
}
|
|
1861
1861
|
else {
|
|
1862
1862
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -1877,7 +1877,7 @@ const serializeAws_restXmlPutAccessPointPolicyCommand = async (input, context) =
|
|
|
1877
1877
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1878
1878
|
}
|
|
1879
1879
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1880
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1880
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1881
1881
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1882
1882
|
}
|
|
1883
1883
|
}
|
|
@@ -1905,7 +1905,7 @@ const serializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand = async (in
|
|
|
1905
1905
|
if (labelValue.length <= 0) {
|
|
1906
1906
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
1907
1907
|
}
|
|
1908
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1908
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1909
1909
|
}
|
|
1910
1910
|
else {
|
|
1911
1911
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -1926,7 +1926,7 @@ const serializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand = async (in
|
|
|
1926
1926
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1927
1927
|
}
|
|
1928
1928
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1929
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1929
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1930
1930
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1931
1931
|
}
|
|
1932
1932
|
}
|
|
@@ -1954,7 +1954,7 @@ const serializeAws_restXmlPutBucketLifecycleConfigurationCommand = async (input,
|
|
|
1954
1954
|
if (labelValue.length <= 0) {
|
|
1955
1955
|
throw new Error("Empty value provided for input HTTP label: Bucket.");
|
|
1956
1956
|
}
|
|
1957
|
-
resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1957
|
+
resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1958
1958
|
}
|
|
1959
1959
|
else {
|
|
1960
1960
|
throw new Error("No value provided for input HTTP label: Bucket.");
|
|
@@ -1977,7 +1977,7 @@ const serializeAws_restXmlPutBucketLifecycleConfigurationCommand = async (input,
|
|
|
1977
1977
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1978
1978
|
}
|
|
1979
1979
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1980
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1980
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1981
1981
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1982
1982
|
}
|
|
1983
1983
|
}
|
|
@@ -2007,7 +2007,7 @@ const serializeAws_restXmlPutBucketPolicyCommand = async (input, context) => {
|
|
|
2007
2007
|
if (labelValue.length <= 0) {
|
|
2008
2008
|
throw new Error("Empty value provided for input HTTP label: Bucket.");
|
|
2009
2009
|
}
|
|
2010
|
-
resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2010
|
+
resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2011
2011
|
}
|
|
2012
2012
|
else {
|
|
2013
2013
|
throw new Error("No value provided for input HTTP label: Bucket.");
|
|
@@ -2028,7 +2028,7 @@ const serializeAws_restXmlPutBucketPolicyCommand = async (input, context) => {
|
|
|
2028
2028
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
2029
2029
|
}
|
|
2030
2030
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
2031
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
2031
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
2032
2032
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2033
2033
|
}
|
|
2034
2034
|
}
|
|
@@ -2055,7 +2055,7 @@ const serializeAws_restXmlPutBucketTaggingCommand = async (input, context) => {
|
|
|
2055
2055
|
if (labelValue.length <= 0) {
|
|
2056
2056
|
throw new Error("Empty value provided for input HTTP label: Bucket.");
|
|
2057
2057
|
}
|
|
2058
|
-
resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2058
|
+
resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2059
2059
|
}
|
|
2060
2060
|
else {
|
|
2061
2061
|
throw new Error("No value provided for input HTTP label: Bucket.");
|
|
@@ -2078,7 +2078,7 @@ const serializeAws_restXmlPutBucketTaggingCommand = async (input, context) => {
|
|
|
2078
2078
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
2079
2079
|
}
|
|
2080
2080
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
2081
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
2081
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
2082
2082
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2083
2083
|
}
|
|
2084
2084
|
}
|
|
@@ -2105,7 +2105,7 @@ const serializeAws_restXmlPutJobTaggingCommand = async (input, context) => {
|
|
|
2105
2105
|
if (labelValue.length <= 0) {
|
|
2106
2106
|
throw new Error("Empty value provided for input HTTP label: JobId.");
|
|
2107
2107
|
}
|
|
2108
|
-
resolvedPath = resolvedPath.replace("{JobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2108
|
+
resolvedPath = resolvedPath.replace("{JobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2109
2109
|
}
|
|
2110
2110
|
else {
|
|
2111
2111
|
throw new Error("No value provided for input HTTP label: JobId.");
|
|
@@ -2130,7 +2130,7 @@ const serializeAws_restXmlPutJobTaggingCommand = async (input, context) => {
|
|
|
2130
2130
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
2131
2131
|
}
|
|
2132
2132
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
2133
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
2133
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
2134
2134
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2135
2135
|
}
|
|
2136
2136
|
}
|
|
@@ -2157,7 +2157,7 @@ const serializeAws_restXmlPutMultiRegionAccessPointPolicyCommand = async (input,
|
|
|
2157
2157
|
const bodyNode = new xml_builder_1.XmlNode("PutMultiRegionAccessPointPolicyRequest");
|
|
2158
2158
|
bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
|
|
2159
2159
|
if (input.ClientToken === undefined) {
|
|
2160
|
-
input.ClientToken = uuid_1.v4();
|
|
2160
|
+
input.ClientToken = (0, uuid_1.v4)();
|
|
2161
2161
|
}
|
|
2162
2162
|
if (input.ClientToken !== undefined) {
|
|
2163
2163
|
const node = new xml_builder_1.XmlNode("MultiRegionAccessPointClientToken")
|
|
@@ -2177,7 +2177,7 @@ const serializeAws_restXmlPutMultiRegionAccessPointPolicyCommand = async (input,
|
|
|
2177
2177
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
2178
2178
|
}
|
|
2179
2179
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
2180
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
2180
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
2181
2181
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2182
2182
|
}
|
|
2183
2183
|
}
|
|
@@ -2218,7 +2218,7 @@ const serializeAws_restXmlPutPublicAccessBlockCommand = async (input, context) =
|
|
|
2218
2218
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
2219
2219
|
}
|
|
2220
2220
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
2221
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
2221
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
2222
2222
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2223
2223
|
}
|
|
2224
2224
|
}
|
|
@@ -2245,7 +2245,7 @@ const serializeAws_restXmlPutStorageLensConfigurationCommand = async (input, con
|
|
|
2245
2245
|
if (labelValue.length <= 0) {
|
|
2246
2246
|
throw new Error("Empty value provided for input HTTP label: ConfigId.");
|
|
2247
2247
|
}
|
|
2248
|
-
resolvedPath = resolvedPath.replace("{ConfigId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2248
|
+
resolvedPath = resolvedPath.replace("{ConfigId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2249
2249
|
}
|
|
2250
2250
|
else {
|
|
2251
2251
|
throw new Error("No value provided for input HTTP label: ConfigId.");
|
|
@@ -2274,7 +2274,7 @@ const serializeAws_restXmlPutStorageLensConfigurationCommand = async (input, con
|
|
|
2274
2274
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
2275
2275
|
}
|
|
2276
2276
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
2277
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
2277
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
2278
2278
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2279
2279
|
}
|
|
2280
2280
|
}
|
|
@@ -2301,7 +2301,7 @@ const serializeAws_restXmlPutStorageLensConfigurationTaggingCommand = async (inp
|
|
|
2301
2301
|
if (labelValue.length <= 0) {
|
|
2302
2302
|
throw new Error("Empty value provided for input HTTP label: ConfigId.");
|
|
2303
2303
|
}
|
|
2304
|
-
resolvedPath = resolvedPath.replace("{ConfigId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2304
|
+
resolvedPath = resolvedPath.replace("{ConfigId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2305
2305
|
}
|
|
2306
2306
|
else {
|
|
2307
2307
|
throw new Error("No value provided for input HTTP label: ConfigId.");
|
|
@@ -2326,7 +2326,7 @@ const serializeAws_restXmlPutStorageLensConfigurationTaggingCommand = async (inp
|
|
|
2326
2326
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
2327
2327
|
}
|
|
2328
2328
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
2329
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
2329
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
2330
2330
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2331
2331
|
}
|
|
2332
2332
|
}
|
|
@@ -2352,7 +2352,7 @@ const serializeAws_restXmlUpdateJobPriorityCommand = async (input, context) => {
|
|
|
2352
2352
|
if (labelValue.length <= 0) {
|
|
2353
2353
|
throw new Error("Empty value provided for input HTTP label: JobId.");
|
|
2354
2354
|
}
|
|
2355
|
-
resolvedPath = resolvedPath.replace("{JobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2355
|
+
resolvedPath = resolvedPath.replace("{JobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2356
2356
|
}
|
|
2357
2357
|
else {
|
|
2358
2358
|
throw new Error("No value provided for input HTTP label: JobId.");
|
|
@@ -2368,7 +2368,7 @@ const serializeAws_restXmlUpdateJobPriorityCommand = async (input, context) => {
|
|
|
2368
2368
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
2369
2369
|
}
|
|
2370
2370
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
2371
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
2371
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
2372
2372
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2373
2373
|
}
|
|
2374
2374
|
}
|
|
@@ -2395,7 +2395,7 @@ const serializeAws_restXmlUpdateJobStatusCommand = async (input, context) => {
|
|
|
2395
2395
|
if (labelValue.length <= 0) {
|
|
2396
2396
|
throw new Error("Empty value provided for input HTTP label: JobId.");
|
|
2397
2397
|
}
|
|
2398
|
-
resolvedPath = resolvedPath.replace("{JobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2398
|
+
resolvedPath = resolvedPath.replace("{JobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2399
2399
|
}
|
|
2400
2400
|
else {
|
|
2401
2401
|
throw new Error("No value provided for input HTTP label: JobId.");
|
|
@@ -2412,7 +2412,7 @@ const serializeAws_restXmlUpdateJobStatusCommand = async (input, context) => {
|
|
|
2412
2412
|
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
2413
2413
|
}
|
|
2414
2414
|
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
2415
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
2415
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
2416
2416
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2417
2417
|
}
|
|
2418
2418
|
}
|
|
@@ -2437,12 +2437,12 @@ const deserializeAws_restXmlCreateAccessPointCommand = async (output, context) =
|
|
|
2437
2437
|
AccessPointArn: undefined,
|
|
2438
2438
|
Alias: undefined,
|
|
2439
2439
|
};
|
|
2440
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2440
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2441
2441
|
if (data["AccessPointArn"] !== undefined) {
|
|
2442
|
-
contents.AccessPointArn = smithy_client_1.expectString(data["AccessPointArn"]);
|
|
2442
|
+
contents.AccessPointArn = (0, smithy_client_1.expectString)(data["AccessPointArn"]);
|
|
2443
2443
|
}
|
|
2444
2444
|
if (data["Alias"] !== undefined) {
|
|
2445
|
-
contents.Alias = smithy_client_1.expectString(data["Alias"]);
|
|
2445
|
+
contents.Alias = (0, smithy_client_1.expectString)(data["Alias"]);
|
|
2446
2446
|
}
|
|
2447
2447
|
return Promise.resolve(contents);
|
|
2448
2448
|
};
|
|
@@ -2463,7 +2463,7 @@ const deserializeAws_restXmlCreateAccessPointCommandError = async (output, conte
|
|
|
2463
2463
|
$fault: "client",
|
|
2464
2464
|
$metadata: deserializeMetadata(output),
|
|
2465
2465
|
});
|
|
2466
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2466
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2467
2467
|
}
|
|
2468
2468
|
};
|
|
2469
2469
|
const deserializeAws_restXmlCreateAccessPointForObjectLambdaCommand = async (output, context) => {
|
|
@@ -2474,9 +2474,9 @@ const deserializeAws_restXmlCreateAccessPointForObjectLambdaCommand = async (out
|
|
|
2474
2474
|
$metadata: deserializeMetadata(output),
|
|
2475
2475
|
ObjectLambdaAccessPointArn: undefined,
|
|
2476
2476
|
};
|
|
2477
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2477
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2478
2478
|
if (data["ObjectLambdaAccessPointArn"] !== undefined) {
|
|
2479
|
-
contents.ObjectLambdaAccessPointArn = smithy_client_1.expectString(data["ObjectLambdaAccessPointArn"]);
|
|
2479
|
+
contents.ObjectLambdaAccessPointArn = (0, smithy_client_1.expectString)(data["ObjectLambdaAccessPointArn"]);
|
|
2480
2480
|
}
|
|
2481
2481
|
return Promise.resolve(contents);
|
|
2482
2482
|
};
|
|
@@ -2497,7 +2497,7 @@ const deserializeAws_restXmlCreateAccessPointForObjectLambdaCommandError = async
|
|
|
2497
2497
|
$fault: "client",
|
|
2498
2498
|
$metadata: deserializeMetadata(output),
|
|
2499
2499
|
});
|
|
2500
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2500
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2501
2501
|
}
|
|
2502
2502
|
};
|
|
2503
2503
|
const deserializeAws_restXmlCreateBucketCommand = async (output, context) => {
|
|
@@ -2512,9 +2512,9 @@ const deserializeAws_restXmlCreateBucketCommand = async (output, context) => {
|
|
|
2512
2512
|
if (output.headers["location"] !== undefined) {
|
|
2513
2513
|
contents.Location = output.headers["location"];
|
|
2514
2514
|
}
|
|
2515
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2515
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2516
2516
|
if (data["BucketArn"] !== undefined) {
|
|
2517
|
-
contents.BucketArn = smithy_client_1.expectString(data["BucketArn"]);
|
|
2517
|
+
contents.BucketArn = (0, smithy_client_1.expectString)(data["BucketArn"]);
|
|
2518
2518
|
}
|
|
2519
2519
|
return Promise.resolve(contents);
|
|
2520
2520
|
};
|
|
@@ -2541,7 +2541,7 @@ const deserializeAws_restXmlCreateBucketCommandError = async (output, context) =
|
|
|
2541
2541
|
$fault: "client",
|
|
2542
2542
|
$metadata: deserializeMetadata(output),
|
|
2543
2543
|
});
|
|
2544
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2544
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2545
2545
|
}
|
|
2546
2546
|
};
|
|
2547
2547
|
const deserializeAws_restXmlCreateJobCommand = async (output, context) => {
|
|
@@ -2552,9 +2552,9 @@ const deserializeAws_restXmlCreateJobCommand = async (output, context) => {
|
|
|
2552
2552
|
$metadata: deserializeMetadata(output),
|
|
2553
2553
|
JobId: undefined,
|
|
2554
2554
|
};
|
|
2555
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2555
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2556
2556
|
if (data["JobId"] !== undefined) {
|
|
2557
|
-
contents.JobId = smithy_client_1.expectString(data["JobId"]);
|
|
2557
|
+
contents.JobId = (0, smithy_client_1.expectString)(data["JobId"]);
|
|
2558
2558
|
}
|
|
2559
2559
|
return Promise.resolve(contents);
|
|
2560
2560
|
};
|
|
@@ -2587,7 +2587,7 @@ const deserializeAws_restXmlCreateJobCommandError = async (output, context) => {
|
|
|
2587
2587
|
$fault: "client",
|
|
2588
2588
|
$metadata: deserializeMetadata(output),
|
|
2589
2589
|
});
|
|
2590
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2590
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2591
2591
|
}
|
|
2592
2592
|
};
|
|
2593
2593
|
const deserializeAws_restXmlCreateMultiRegionAccessPointCommand = async (output, context) => {
|
|
@@ -2598,9 +2598,9 @@ const deserializeAws_restXmlCreateMultiRegionAccessPointCommand = async (output,
|
|
|
2598
2598
|
$metadata: deserializeMetadata(output),
|
|
2599
2599
|
RequestTokenARN: undefined,
|
|
2600
2600
|
};
|
|
2601
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2601
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2602
2602
|
if (data["RequestTokenARN"] !== undefined) {
|
|
2603
|
-
contents.RequestTokenARN = smithy_client_1.expectString(data["RequestTokenARN"]);
|
|
2603
|
+
contents.RequestTokenARN = (0, smithy_client_1.expectString)(data["RequestTokenARN"]);
|
|
2604
2604
|
}
|
|
2605
2605
|
return Promise.resolve(contents);
|
|
2606
2606
|
};
|
|
@@ -2621,7 +2621,7 @@ const deserializeAws_restXmlCreateMultiRegionAccessPointCommandError = async (ou
|
|
|
2621
2621
|
$fault: "client",
|
|
2622
2622
|
$metadata: deserializeMetadata(output),
|
|
2623
2623
|
});
|
|
2624
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2624
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2625
2625
|
}
|
|
2626
2626
|
};
|
|
2627
2627
|
const deserializeAws_restXmlDeleteAccessPointCommand = async (output, context) => {
|
|
@@ -2651,7 +2651,7 @@ const deserializeAws_restXmlDeleteAccessPointCommandError = async (output, conte
|
|
|
2651
2651
|
$fault: "client",
|
|
2652
2652
|
$metadata: deserializeMetadata(output),
|
|
2653
2653
|
});
|
|
2654
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2654
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2655
2655
|
}
|
|
2656
2656
|
};
|
|
2657
2657
|
const deserializeAws_restXmlDeleteAccessPointForObjectLambdaCommand = async (output, context) => {
|
|
@@ -2681,7 +2681,7 @@ const deserializeAws_restXmlDeleteAccessPointForObjectLambdaCommandError = async
|
|
|
2681
2681
|
$fault: "client",
|
|
2682
2682
|
$metadata: deserializeMetadata(output),
|
|
2683
2683
|
});
|
|
2684
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2684
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2685
2685
|
}
|
|
2686
2686
|
};
|
|
2687
2687
|
const deserializeAws_restXmlDeleteAccessPointPolicyCommand = async (output, context) => {
|
|
@@ -2711,7 +2711,7 @@ const deserializeAws_restXmlDeleteAccessPointPolicyCommandError = async (output,
|
|
|
2711
2711
|
$fault: "client",
|
|
2712
2712
|
$metadata: deserializeMetadata(output),
|
|
2713
2713
|
});
|
|
2714
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2714
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2715
2715
|
}
|
|
2716
2716
|
};
|
|
2717
2717
|
const deserializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaCommand = async (output, context) => {
|
|
@@ -2741,7 +2741,7 @@ const deserializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaCommandError =
|
|
|
2741
2741
|
$fault: "client",
|
|
2742
2742
|
$metadata: deserializeMetadata(output),
|
|
2743
2743
|
});
|
|
2744
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2744
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2745
2745
|
}
|
|
2746
2746
|
};
|
|
2747
2747
|
const deserializeAws_restXmlDeleteBucketCommand = async (output, context) => {
|
|
@@ -2771,7 +2771,7 @@ const deserializeAws_restXmlDeleteBucketCommandError = async (output, context) =
|
|
|
2771
2771
|
$fault: "client",
|
|
2772
2772
|
$metadata: deserializeMetadata(output),
|
|
2773
2773
|
});
|
|
2774
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2774
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2775
2775
|
}
|
|
2776
2776
|
};
|
|
2777
2777
|
const deserializeAws_restXmlDeleteBucketLifecycleConfigurationCommand = async (output, context) => {
|
|
@@ -2801,7 +2801,7 @@ const deserializeAws_restXmlDeleteBucketLifecycleConfigurationCommandError = asy
|
|
|
2801
2801
|
$fault: "client",
|
|
2802
2802
|
$metadata: deserializeMetadata(output),
|
|
2803
2803
|
});
|
|
2804
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2804
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2805
2805
|
}
|
|
2806
2806
|
};
|
|
2807
2807
|
const deserializeAws_restXmlDeleteBucketPolicyCommand = async (output, context) => {
|
|
@@ -2831,7 +2831,7 @@ const deserializeAws_restXmlDeleteBucketPolicyCommandError = async (output, cont
|
|
|
2831
2831
|
$fault: "client",
|
|
2832
2832
|
$metadata: deserializeMetadata(output),
|
|
2833
2833
|
});
|
|
2834
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2834
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2835
2835
|
}
|
|
2836
2836
|
};
|
|
2837
2837
|
const deserializeAws_restXmlDeleteBucketTaggingCommand = async (output, context) => {
|
|
@@ -2861,7 +2861,7 @@ const deserializeAws_restXmlDeleteBucketTaggingCommandError = async (output, con
|
|
|
2861
2861
|
$fault: "client",
|
|
2862
2862
|
$metadata: deserializeMetadata(output),
|
|
2863
2863
|
});
|
|
2864
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2864
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2865
2865
|
}
|
|
2866
2866
|
};
|
|
2867
2867
|
const deserializeAws_restXmlDeleteJobTaggingCommand = async (output, context) => {
|
|
@@ -2900,7 +2900,7 @@ const deserializeAws_restXmlDeleteJobTaggingCommandError = async (output, contex
|
|
|
2900
2900
|
$fault: "client",
|
|
2901
2901
|
$metadata: deserializeMetadata(output),
|
|
2902
2902
|
});
|
|
2903
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2903
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2904
2904
|
}
|
|
2905
2905
|
};
|
|
2906
2906
|
const deserializeAws_restXmlDeleteMultiRegionAccessPointCommand = async (output, context) => {
|
|
@@ -2911,9 +2911,9 @@ const deserializeAws_restXmlDeleteMultiRegionAccessPointCommand = async (output,
|
|
|
2911
2911
|
$metadata: deserializeMetadata(output),
|
|
2912
2912
|
RequestTokenARN: undefined,
|
|
2913
2913
|
};
|
|
2914
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2914
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2915
2915
|
if (data["RequestTokenARN"] !== undefined) {
|
|
2916
|
-
contents.RequestTokenARN = smithy_client_1.expectString(data["RequestTokenARN"]);
|
|
2916
|
+
contents.RequestTokenARN = (0, smithy_client_1.expectString)(data["RequestTokenARN"]);
|
|
2917
2917
|
}
|
|
2918
2918
|
return Promise.resolve(contents);
|
|
2919
2919
|
};
|
|
@@ -2934,7 +2934,7 @@ const deserializeAws_restXmlDeleteMultiRegionAccessPointCommandError = async (ou
|
|
|
2934
2934
|
$fault: "client",
|
|
2935
2935
|
$metadata: deserializeMetadata(output),
|
|
2936
2936
|
});
|
|
2937
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2937
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2938
2938
|
}
|
|
2939
2939
|
};
|
|
2940
2940
|
const deserializeAws_restXmlDeletePublicAccessBlockCommand = async (output, context) => {
|
|
@@ -2964,7 +2964,7 @@ const deserializeAws_restXmlDeletePublicAccessBlockCommandError = async (output,
|
|
|
2964
2964
|
$fault: "client",
|
|
2965
2965
|
$metadata: deserializeMetadata(output),
|
|
2966
2966
|
});
|
|
2967
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2967
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2968
2968
|
}
|
|
2969
2969
|
};
|
|
2970
2970
|
const deserializeAws_restXmlDeleteStorageLensConfigurationCommand = async (output, context) => {
|
|
@@ -2994,7 +2994,7 @@ const deserializeAws_restXmlDeleteStorageLensConfigurationCommandError = async (
|
|
|
2994
2994
|
$fault: "client",
|
|
2995
2995
|
$metadata: deserializeMetadata(output),
|
|
2996
2996
|
});
|
|
2997
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
2997
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2998
2998
|
}
|
|
2999
2999
|
};
|
|
3000
3000
|
const deserializeAws_restXmlDeleteStorageLensConfigurationTaggingCommand = async (output, context) => {
|
|
@@ -3024,7 +3024,7 @@ const deserializeAws_restXmlDeleteStorageLensConfigurationTaggingCommandError =
|
|
|
3024
3024
|
$fault: "client",
|
|
3025
3025
|
$metadata: deserializeMetadata(output),
|
|
3026
3026
|
});
|
|
3027
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3027
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3028
3028
|
}
|
|
3029
3029
|
};
|
|
3030
3030
|
const deserializeAws_restXmlDescribeJobCommand = async (output, context) => {
|
|
@@ -3035,7 +3035,7 @@ const deserializeAws_restXmlDescribeJobCommand = async (output, context) => {
|
|
|
3035
3035
|
$metadata: deserializeMetadata(output),
|
|
3036
3036
|
Job: undefined,
|
|
3037
3037
|
};
|
|
3038
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3038
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3039
3039
|
if (data["Job"] !== undefined) {
|
|
3040
3040
|
contents.Job = deserializeAws_restXmlJobDescriptor(data["Job"], context);
|
|
3041
3041
|
}
|
|
@@ -3070,7 +3070,7 @@ const deserializeAws_restXmlDescribeJobCommandError = async (output, context) =>
|
|
|
3070
3070
|
$fault: "client",
|
|
3071
3071
|
$metadata: deserializeMetadata(output),
|
|
3072
3072
|
});
|
|
3073
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3073
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3074
3074
|
}
|
|
3075
3075
|
};
|
|
3076
3076
|
const deserializeAws_restXmlDescribeMultiRegionAccessPointOperationCommand = async (output, context) => {
|
|
@@ -3081,7 +3081,7 @@ const deserializeAws_restXmlDescribeMultiRegionAccessPointOperationCommand = asy
|
|
|
3081
3081
|
$metadata: deserializeMetadata(output),
|
|
3082
3082
|
AsyncOperation: undefined,
|
|
3083
3083
|
};
|
|
3084
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3084
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3085
3085
|
if (data["AsyncOperation"] !== undefined) {
|
|
3086
3086
|
contents.AsyncOperation = deserializeAws_restXmlAsyncOperation(data["AsyncOperation"], context);
|
|
3087
3087
|
}
|
|
@@ -3104,7 +3104,7 @@ const deserializeAws_restXmlDescribeMultiRegionAccessPointOperationCommandError
|
|
|
3104
3104
|
$fault: "client",
|
|
3105
3105
|
$metadata: deserializeMetadata(output),
|
|
3106
3106
|
});
|
|
3107
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3107
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3108
3108
|
}
|
|
3109
3109
|
};
|
|
3110
3110
|
const deserializeAws_restXmlGetAccessPointCommand = async (output, context) => {
|
|
@@ -3123,30 +3123,30 @@ const deserializeAws_restXmlGetAccessPointCommand = async (output, context) => {
|
|
|
3123
3123
|
PublicAccessBlockConfiguration: undefined,
|
|
3124
3124
|
VpcConfiguration: undefined,
|
|
3125
3125
|
};
|
|
3126
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3126
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3127
3127
|
if (data["AccessPointArn"] !== undefined) {
|
|
3128
|
-
contents.AccessPointArn = smithy_client_1.expectString(data["AccessPointArn"]);
|
|
3128
|
+
contents.AccessPointArn = (0, smithy_client_1.expectString)(data["AccessPointArn"]);
|
|
3129
3129
|
}
|
|
3130
3130
|
if (data["Alias"] !== undefined) {
|
|
3131
|
-
contents.Alias = smithy_client_1.expectString(data["Alias"]);
|
|
3131
|
+
contents.Alias = (0, smithy_client_1.expectString)(data["Alias"]);
|
|
3132
3132
|
}
|
|
3133
3133
|
if (data["Bucket"] !== undefined) {
|
|
3134
|
-
contents.Bucket = smithy_client_1.expectString(data["Bucket"]);
|
|
3134
|
+
contents.Bucket = (0, smithy_client_1.expectString)(data["Bucket"]);
|
|
3135
3135
|
}
|
|
3136
3136
|
if (data["CreationDate"] !== undefined) {
|
|
3137
|
-
contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data["CreationDate"]));
|
|
3137
|
+
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data["CreationDate"]));
|
|
3138
3138
|
}
|
|
3139
3139
|
if (data.Endpoints === "") {
|
|
3140
3140
|
contents.Endpoints = {};
|
|
3141
3141
|
}
|
|
3142
3142
|
if (data["Endpoints"] !== undefined && data["Endpoints"]["entry"] !== undefined) {
|
|
3143
|
-
contents.Endpoints = deserializeAws_restXmlEndpoints(smithy_client_1.getArrayIfSingleItem(data["Endpoints"]["entry"]), context);
|
|
3143
|
+
contents.Endpoints = deserializeAws_restXmlEndpoints((0, smithy_client_1.getArrayIfSingleItem)(data["Endpoints"]["entry"]), context);
|
|
3144
3144
|
}
|
|
3145
3145
|
if (data["Name"] !== undefined) {
|
|
3146
|
-
contents.Name = smithy_client_1.expectString(data["Name"]);
|
|
3146
|
+
contents.Name = (0, smithy_client_1.expectString)(data["Name"]);
|
|
3147
3147
|
}
|
|
3148
3148
|
if (data["NetworkOrigin"] !== undefined) {
|
|
3149
|
-
contents.NetworkOrigin = smithy_client_1.expectString(data["NetworkOrigin"]);
|
|
3149
|
+
contents.NetworkOrigin = (0, smithy_client_1.expectString)(data["NetworkOrigin"]);
|
|
3150
3150
|
}
|
|
3151
3151
|
if (data["PublicAccessBlockConfiguration"] !== undefined) {
|
|
3152
3152
|
contents.PublicAccessBlockConfiguration = deserializeAws_restXmlPublicAccessBlockConfiguration(data["PublicAccessBlockConfiguration"], context);
|
|
@@ -3173,7 +3173,7 @@ const deserializeAws_restXmlGetAccessPointCommandError = async (output, context)
|
|
|
3173
3173
|
$fault: "client",
|
|
3174
3174
|
$metadata: deserializeMetadata(output),
|
|
3175
3175
|
});
|
|
3176
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3176
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3177
3177
|
}
|
|
3178
3178
|
};
|
|
3179
3179
|
const deserializeAws_restXmlGetAccessPointConfigurationForObjectLambdaCommand = async (output, context) => {
|
|
@@ -3184,7 +3184,7 @@ const deserializeAws_restXmlGetAccessPointConfigurationForObjectLambdaCommand =
|
|
|
3184
3184
|
$metadata: deserializeMetadata(output),
|
|
3185
3185
|
Configuration: undefined,
|
|
3186
3186
|
};
|
|
3187
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3187
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3188
3188
|
if (data["Configuration"] !== undefined) {
|
|
3189
3189
|
contents.Configuration = deserializeAws_restXmlObjectLambdaConfiguration(data["Configuration"], context);
|
|
3190
3190
|
}
|
|
@@ -3207,7 +3207,7 @@ const deserializeAws_restXmlGetAccessPointConfigurationForObjectLambdaCommandErr
|
|
|
3207
3207
|
$fault: "client",
|
|
3208
3208
|
$metadata: deserializeMetadata(output),
|
|
3209
3209
|
});
|
|
3210
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3210
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3211
3211
|
}
|
|
3212
3212
|
};
|
|
3213
3213
|
const deserializeAws_restXmlGetAccessPointForObjectLambdaCommand = async (output, context) => {
|
|
@@ -3220,12 +3220,12 @@ const deserializeAws_restXmlGetAccessPointForObjectLambdaCommand = async (output
|
|
|
3220
3220
|
Name: undefined,
|
|
3221
3221
|
PublicAccessBlockConfiguration: undefined,
|
|
3222
3222
|
};
|
|
3223
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3223
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3224
3224
|
if (data["CreationDate"] !== undefined) {
|
|
3225
|
-
contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data["CreationDate"]));
|
|
3225
|
+
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data["CreationDate"]));
|
|
3226
3226
|
}
|
|
3227
3227
|
if (data["Name"] !== undefined) {
|
|
3228
|
-
contents.Name = smithy_client_1.expectString(data["Name"]);
|
|
3228
|
+
contents.Name = (0, smithy_client_1.expectString)(data["Name"]);
|
|
3229
3229
|
}
|
|
3230
3230
|
if (data["PublicAccessBlockConfiguration"] !== undefined) {
|
|
3231
3231
|
contents.PublicAccessBlockConfiguration = deserializeAws_restXmlPublicAccessBlockConfiguration(data["PublicAccessBlockConfiguration"], context);
|
|
@@ -3249,7 +3249,7 @@ const deserializeAws_restXmlGetAccessPointForObjectLambdaCommandError = async (o
|
|
|
3249
3249
|
$fault: "client",
|
|
3250
3250
|
$metadata: deserializeMetadata(output),
|
|
3251
3251
|
});
|
|
3252
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3252
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3253
3253
|
}
|
|
3254
3254
|
};
|
|
3255
3255
|
const deserializeAws_restXmlGetAccessPointPolicyCommand = async (output, context) => {
|
|
@@ -3260,9 +3260,9 @@ const deserializeAws_restXmlGetAccessPointPolicyCommand = async (output, context
|
|
|
3260
3260
|
$metadata: deserializeMetadata(output),
|
|
3261
3261
|
Policy: undefined,
|
|
3262
3262
|
};
|
|
3263
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3263
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3264
3264
|
if (data["Policy"] !== undefined) {
|
|
3265
|
-
contents.Policy = smithy_client_1.expectString(data["Policy"]);
|
|
3265
|
+
contents.Policy = (0, smithy_client_1.expectString)(data["Policy"]);
|
|
3266
3266
|
}
|
|
3267
3267
|
return Promise.resolve(contents);
|
|
3268
3268
|
};
|
|
@@ -3283,7 +3283,7 @@ const deserializeAws_restXmlGetAccessPointPolicyCommandError = async (output, co
|
|
|
3283
3283
|
$fault: "client",
|
|
3284
3284
|
$metadata: deserializeMetadata(output),
|
|
3285
3285
|
});
|
|
3286
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3286
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3287
3287
|
}
|
|
3288
3288
|
};
|
|
3289
3289
|
const deserializeAws_restXmlGetAccessPointPolicyForObjectLambdaCommand = async (output, context) => {
|
|
@@ -3294,9 +3294,9 @@ const deserializeAws_restXmlGetAccessPointPolicyForObjectLambdaCommand = async (
|
|
|
3294
3294
|
$metadata: deserializeMetadata(output),
|
|
3295
3295
|
Policy: undefined,
|
|
3296
3296
|
};
|
|
3297
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3297
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3298
3298
|
if (data["Policy"] !== undefined) {
|
|
3299
|
-
contents.Policy = smithy_client_1.expectString(data["Policy"]);
|
|
3299
|
+
contents.Policy = (0, smithy_client_1.expectString)(data["Policy"]);
|
|
3300
3300
|
}
|
|
3301
3301
|
return Promise.resolve(contents);
|
|
3302
3302
|
};
|
|
@@ -3317,7 +3317,7 @@ const deserializeAws_restXmlGetAccessPointPolicyForObjectLambdaCommandError = as
|
|
|
3317
3317
|
$fault: "client",
|
|
3318
3318
|
$metadata: deserializeMetadata(output),
|
|
3319
3319
|
});
|
|
3320
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3320
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3321
3321
|
}
|
|
3322
3322
|
};
|
|
3323
3323
|
const deserializeAws_restXmlGetAccessPointPolicyStatusCommand = async (output, context) => {
|
|
@@ -3328,7 +3328,7 @@ const deserializeAws_restXmlGetAccessPointPolicyStatusCommand = async (output, c
|
|
|
3328
3328
|
$metadata: deserializeMetadata(output),
|
|
3329
3329
|
PolicyStatus: undefined,
|
|
3330
3330
|
};
|
|
3331
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3331
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3332
3332
|
if (data["PolicyStatus"] !== undefined) {
|
|
3333
3333
|
contents.PolicyStatus = deserializeAws_restXmlPolicyStatus(data["PolicyStatus"], context);
|
|
3334
3334
|
}
|
|
@@ -3351,7 +3351,7 @@ const deserializeAws_restXmlGetAccessPointPolicyStatusCommandError = async (outp
|
|
|
3351
3351
|
$fault: "client",
|
|
3352
3352
|
$metadata: deserializeMetadata(output),
|
|
3353
3353
|
});
|
|
3354
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3354
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3355
3355
|
}
|
|
3356
3356
|
};
|
|
3357
3357
|
const deserializeAws_restXmlGetAccessPointPolicyStatusForObjectLambdaCommand = async (output, context) => {
|
|
@@ -3362,7 +3362,7 @@ const deserializeAws_restXmlGetAccessPointPolicyStatusForObjectLambdaCommand = a
|
|
|
3362
3362
|
$metadata: deserializeMetadata(output),
|
|
3363
3363
|
PolicyStatus: undefined,
|
|
3364
3364
|
};
|
|
3365
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3365
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3366
3366
|
if (data["PolicyStatus"] !== undefined) {
|
|
3367
3367
|
contents.PolicyStatus = deserializeAws_restXmlPolicyStatus(data["PolicyStatus"], context);
|
|
3368
3368
|
}
|
|
@@ -3385,7 +3385,7 @@ const deserializeAws_restXmlGetAccessPointPolicyStatusForObjectLambdaCommandErro
|
|
|
3385
3385
|
$fault: "client",
|
|
3386
3386
|
$metadata: deserializeMetadata(output),
|
|
3387
3387
|
});
|
|
3388
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3388
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3389
3389
|
}
|
|
3390
3390
|
};
|
|
3391
3391
|
const deserializeAws_restXmlGetBucketCommand = async (output, context) => {
|
|
@@ -3398,15 +3398,15 @@ const deserializeAws_restXmlGetBucketCommand = async (output, context) => {
|
|
|
3398
3398
|
CreationDate: undefined,
|
|
3399
3399
|
PublicAccessBlockEnabled: undefined,
|
|
3400
3400
|
};
|
|
3401
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3401
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3402
3402
|
if (data["Bucket"] !== undefined) {
|
|
3403
|
-
contents.Bucket = smithy_client_1.expectString(data["Bucket"]);
|
|
3403
|
+
contents.Bucket = (0, smithy_client_1.expectString)(data["Bucket"]);
|
|
3404
3404
|
}
|
|
3405
3405
|
if (data["CreationDate"] !== undefined) {
|
|
3406
|
-
contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data["CreationDate"]));
|
|
3406
|
+
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data["CreationDate"]));
|
|
3407
3407
|
}
|
|
3408
3408
|
if (data["PublicAccessBlockEnabled"] !== undefined) {
|
|
3409
|
-
contents.PublicAccessBlockEnabled = smithy_client_1.parseBoolean(data["PublicAccessBlockEnabled"]);
|
|
3409
|
+
contents.PublicAccessBlockEnabled = (0, smithy_client_1.parseBoolean)(data["PublicAccessBlockEnabled"]);
|
|
3410
3410
|
}
|
|
3411
3411
|
return Promise.resolve(contents);
|
|
3412
3412
|
};
|
|
@@ -3427,7 +3427,7 @@ const deserializeAws_restXmlGetBucketCommandError = async (output, context) => {
|
|
|
3427
3427
|
$fault: "client",
|
|
3428
3428
|
$metadata: deserializeMetadata(output),
|
|
3429
3429
|
});
|
|
3430
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3430
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3431
3431
|
}
|
|
3432
3432
|
};
|
|
3433
3433
|
const deserializeAws_restXmlGetBucketLifecycleConfigurationCommand = async (output, context) => {
|
|
@@ -3438,12 +3438,12 @@ const deserializeAws_restXmlGetBucketLifecycleConfigurationCommand = async (outp
|
|
|
3438
3438
|
$metadata: deserializeMetadata(output),
|
|
3439
3439
|
Rules: undefined,
|
|
3440
3440
|
};
|
|
3441
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3441
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3442
3442
|
if (data.Rules === "") {
|
|
3443
3443
|
contents.Rules = [];
|
|
3444
3444
|
}
|
|
3445
3445
|
if (data["Rules"] !== undefined && data["Rules"]["Rule"] !== undefined) {
|
|
3446
|
-
contents.Rules = deserializeAws_restXmlLifecycleRules(smithy_client_1.getArrayIfSingleItem(data["Rules"]["Rule"]), context);
|
|
3446
|
+
contents.Rules = deserializeAws_restXmlLifecycleRules((0, smithy_client_1.getArrayIfSingleItem)(data["Rules"]["Rule"]), context);
|
|
3447
3447
|
}
|
|
3448
3448
|
return Promise.resolve(contents);
|
|
3449
3449
|
};
|
|
@@ -3464,7 +3464,7 @@ const deserializeAws_restXmlGetBucketLifecycleConfigurationCommandError = async
|
|
|
3464
3464
|
$fault: "client",
|
|
3465
3465
|
$metadata: deserializeMetadata(output),
|
|
3466
3466
|
});
|
|
3467
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3467
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3468
3468
|
}
|
|
3469
3469
|
};
|
|
3470
3470
|
const deserializeAws_restXmlGetBucketPolicyCommand = async (output, context) => {
|
|
@@ -3475,9 +3475,9 @@ const deserializeAws_restXmlGetBucketPolicyCommand = async (output, context) =>
|
|
|
3475
3475
|
$metadata: deserializeMetadata(output),
|
|
3476
3476
|
Policy: undefined,
|
|
3477
3477
|
};
|
|
3478
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3478
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3479
3479
|
if (data["Policy"] !== undefined) {
|
|
3480
|
-
contents.Policy = smithy_client_1.expectString(data["Policy"]);
|
|
3480
|
+
contents.Policy = (0, smithy_client_1.expectString)(data["Policy"]);
|
|
3481
3481
|
}
|
|
3482
3482
|
return Promise.resolve(contents);
|
|
3483
3483
|
};
|
|
@@ -3498,7 +3498,7 @@ const deserializeAws_restXmlGetBucketPolicyCommandError = async (output, context
|
|
|
3498
3498
|
$fault: "client",
|
|
3499
3499
|
$metadata: deserializeMetadata(output),
|
|
3500
3500
|
});
|
|
3501
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3501
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3502
3502
|
}
|
|
3503
3503
|
};
|
|
3504
3504
|
const deserializeAws_restXmlGetBucketTaggingCommand = async (output, context) => {
|
|
@@ -3509,12 +3509,12 @@ const deserializeAws_restXmlGetBucketTaggingCommand = async (output, context) =>
|
|
|
3509
3509
|
$metadata: deserializeMetadata(output),
|
|
3510
3510
|
TagSet: undefined,
|
|
3511
3511
|
};
|
|
3512
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3512
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3513
3513
|
if (data.TagSet === "") {
|
|
3514
3514
|
contents.TagSet = [];
|
|
3515
3515
|
}
|
|
3516
3516
|
if (data["TagSet"] !== undefined && data["TagSet"]["member"] !== undefined) {
|
|
3517
|
-
contents.TagSet = deserializeAws_restXmlS3TagSet(smithy_client_1.getArrayIfSingleItem(data["TagSet"]["member"]), context);
|
|
3517
|
+
contents.TagSet = deserializeAws_restXmlS3TagSet((0, smithy_client_1.getArrayIfSingleItem)(data["TagSet"]["member"]), context);
|
|
3518
3518
|
}
|
|
3519
3519
|
return Promise.resolve(contents);
|
|
3520
3520
|
};
|
|
@@ -3535,7 +3535,7 @@ const deserializeAws_restXmlGetBucketTaggingCommandError = async (output, contex
|
|
|
3535
3535
|
$fault: "client",
|
|
3536
3536
|
$metadata: deserializeMetadata(output),
|
|
3537
3537
|
});
|
|
3538
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3538
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3539
3539
|
}
|
|
3540
3540
|
};
|
|
3541
3541
|
const deserializeAws_restXmlGetJobTaggingCommand = async (output, context) => {
|
|
@@ -3546,12 +3546,12 @@ const deserializeAws_restXmlGetJobTaggingCommand = async (output, context) => {
|
|
|
3546
3546
|
$metadata: deserializeMetadata(output),
|
|
3547
3547
|
Tags: undefined,
|
|
3548
3548
|
};
|
|
3549
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3549
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3550
3550
|
if (data.Tags === "") {
|
|
3551
3551
|
contents.Tags = [];
|
|
3552
3552
|
}
|
|
3553
3553
|
if (data["Tags"] !== undefined && data["Tags"]["member"] !== undefined) {
|
|
3554
|
-
contents.Tags = deserializeAws_restXmlS3TagSet(smithy_client_1.getArrayIfSingleItem(data["Tags"]["member"]), context);
|
|
3554
|
+
contents.Tags = deserializeAws_restXmlS3TagSet((0, smithy_client_1.getArrayIfSingleItem)(data["Tags"]["member"]), context);
|
|
3555
3555
|
}
|
|
3556
3556
|
return Promise.resolve(contents);
|
|
3557
3557
|
};
|
|
@@ -3581,7 +3581,7 @@ const deserializeAws_restXmlGetJobTaggingCommandError = async (output, context)
|
|
|
3581
3581
|
$fault: "client",
|
|
3582
3582
|
$metadata: deserializeMetadata(output),
|
|
3583
3583
|
});
|
|
3584
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3584
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3585
3585
|
}
|
|
3586
3586
|
};
|
|
3587
3587
|
const deserializeAws_restXmlGetMultiRegionAccessPointCommand = async (output, context) => {
|
|
@@ -3592,7 +3592,7 @@ const deserializeAws_restXmlGetMultiRegionAccessPointCommand = async (output, co
|
|
|
3592
3592
|
$metadata: deserializeMetadata(output),
|
|
3593
3593
|
AccessPoint: undefined,
|
|
3594
3594
|
};
|
|
3595
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3595
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3596
3596
|
if (data["AccessPoint"] !== undefined) {
|
|
3597
3597
|
contents.AccessPoint = deserializeAws_restXmlMultiRegionAccessPointReport(data["AccessPoint"], context);
|
|
3598
3598
|
}
|
|
@@ -3615,7 +3615,7 @@ const deserializeAws_restXmlGetMultiRegionAccessPointCommandError = async (outpu
|
|
|
3615
3615
|
$fault: "client",
|
|
3616
3616
|
$metadata: deserializeMetadata(output),
|
|
3617
3617
|
});
|
|
3618
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3618
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3619
3619
|
}
|
|
3620
3620
|
};
|
|
3621
3621
|
const deserializeAws_restXmlGetMultiRegionAccessPointPolicyCommand = async (output, context) => {
|
|
@@ -3626,7 +3626,7 @@ const deserializeAws_restXmlGetMultiRegionAccessPointPolicyCommand = async (outp
|
|
|
3626
3626
|
$metadata: deserializeMetadata(output),
|
|
3627
3627
|
Policy: undefined,
|
|
3628
3628
|
};
|
|
3629
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3629
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3630
3630
|
if (data["Policy"] !== undefined) {
|
|
3631
3631
|
contents.Policy = deserializeAws_restXmlMultiRegionAccessPointPolicyDocument(data["Policy"], context);
|
|
3632
3632
|
}
|
|
@@ -3649,7 +3649,7 @@ const deserializeAws_restXmlGetMultiRegionAccessPointPolicyCommandError = async
|
|
|
3649
3649
|
$fault: "client",
|
|
3650
3650
|
$metadata: deserializeMetadata(output),
|
|
3651
3651
|
});
|
|
3652
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3652
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3653
3653
|
}
|
|
3654
3654
|
};
|
|
3655
3655
|
const deserializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand = async (output, context) => {
|
|
@@ -3660,7 +3660,7 @@ const deserializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand = async
|
|
|
3660
3660
|
$metadata: deserializeMetadata(output),
|
|
3661
3661
|
Established: undefined,
|
|
3662
3662
|
};
|
|
3663
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3663
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3664
3664
|
if (data["Established"] !== undefined) {
|
|
3665
3665
|
contents.Established = deserializeAws_restXmlPolicyStatus(data["Established"], context);
|
|
3666
3666
|
}
|
|
@@ -3683,7 +3683,7 @@ const deserializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommandError =
|
|
|
3683
3683
|
$fault: "client",
|
|
3684
3684
|
$metadata: deserializeMetadata(output),
|
|
3685
3685
|
});
|
|
3686
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3686
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3687
3687
|
}
|
|
3688
3688
|
};
|
|
3689
3689
|
const deserializeAws_restXmlGetPublicAccessBlockCommand = async (output, context) => {
|
|
@@ -3694,7 +3694,7 @@ const deserializeAws_restXmlGetPublicAccessBlockCommand = async (output, context
|
|
|
3694
3694
|
$metadata: deserializeMetadata(output),
|
|
3695
3695
|
PublicAccessBlockConfiguration: undefined,
|
|
3696
3696
|
};
|
|
3697
|
-
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
3697
|
+
const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
|
|
3698
3698
|
contents.PublicAccessBlockConfiguration = deserializeAws_restXmlPublicAccessBlockConfiguration(data, context);
|
|
3699
3699
|
return Promise.resolve(contents);
|
|
3700
3700
|
};
|
|
@@ -3718,7 +3718,7 @@ const deserializeAws_restXmlGetPublicAccessBlockCommandError = async (output, co
|
|
|
3718
3718
|
$fault: "client",
|
|
3719
3719
|
$metadata: deserializeMetadata(output),
|
|
3720
3720
|
});
|
|
3721
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3721
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3722
3722
|
}
|
|
3723
3723
|
};
|
|
3724
3724
|
const deserializeAws_restXmlGetStorageLensConfigurationCommand = async (output, context) => {
|
|
@@ -3729,7 +3729,7 @@ const deserializeAws_restXmlGetStorageLensConfigurationCommand = async (output,
|
|
|
3729
3729
|
$metadata: deserializeMetadata(output),
|
|
3730
3730
|
StorageLensConfiguration: undefined,
|
|
3731
3731
|
};
|
|
3732
|
-
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
3732
|
+
const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
|
|
3733
3733
|
contents.StorageLensConfiguration = deserializeAws_restXmlStorageLensConfiguration(data, context);
|
|
3734
3734
|
return Promise.resolve(contents);
|
|
3735
3735
|
};
|
|
@@ -3750,7 +3750,7 @@ const deserializeAws_restXmlGetStorageLensConfigurationCommandError = async (out
|
|
|
3750
3750
|
$fault: "client",
|
|
3751
3751
|
$metadata: deserializeMetadata(output),
|
|
3752
3752
|
});
|
|
3753
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3753
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3754
3754
|
}
|
|
3755
3755
|
};
|
|
3756
3756
|
const deserializeAws_restXmlGetStorageLensConfigurationTaggingCommand = async (output, context) => {
|
|
@@ -3761,12 +3761,12 @@ const deserializeAws_restXmlGetStorageLensConfigurationTaggingCommand = async (o
|
|
|
3761
3761
|
$metadata: deserializeMetadata(output),
|
|
3762
3762
|
Tags: undefined,
|
|
3763
3763
|
};
|
|
3764
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3764
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3765
3765
|
if (data.Tags === "") {
|
|
3766
3766
|
contents.Tags = [];
|
|
3767
3767
|
}
|
|
3768
3768
|
if (data["Tags"] !== undefined && data["Tags"]["Tag"] !== undefined) {
|
|
3769
|
-
contents.Tags = deserializeAws_restXmlStorageLensTags(smithy_client_1.getArrayIfSingleItem(data["Tags"]["Tag"]), context);
|
|
3769
|
+
contents.Tags = deserializeAws_restXmlStorageLensTags((0, smithy_client_1.getArrayIfSingleItem)(data["Tags"]["Tag"]), context);
|
|
3770
3770
|
}
|
|
3771
3771
|
return Promise.resolve(contents);
|
|
3772
3772
|
};
|
|
@@ -3787,7 +3787,7 @@ const deserializeAws_restXmlGetStorageLensConfigurationTaggingCommandError = asy
|
|
|
3787
3787
|
$fault: "client",
|
|
3788
3788
|
$metadata: deserializeMetadata(output),
|
|
3789
3789
|
});
|
|
3790
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3790
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3791
3791
|
}
|
|
3792
3792
|
};
|
|
3793
3793
|
const deserializeAws_restXmlListAccessPointsCommand = async (output, context) => {
|
|
@@ -3799,15 +3799,15 @@ const deserializeAws_restXmlListAccessPointsCommand = async (output, context) =>
|
|
|
3799
3799
|
AccessPointList: undefined,
|
|
3800
3800
|
NextToken: undefined,
|
|
3801
3801
|
};
|
|
3802
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3802
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3803
3803
|
if (data.AccessPointList === "") {
|
|
3804
3804
|
contents.AccessPointList = [];
|
|
3805
3805
|
}
|
|
3806
3806
|
if (data["AccessPointList"] !== undefined && data["AccessPointList"]["AccessPoint"] !== undefined) {
|
|
3807
|
-
contents.AccessPointList = deserializeAws_restXmlAccessPointList(smithy_client_1.getArrayIfSingleItem(data["AccessPointList"]["AccessPoint"]), context);
|
|
3807
|
+
contents.AccessPointList = deserializeAws_restXmlAccessPointList((0, smithy_client_1.getArrayIfSingleItem)(data["AccessPointList"]["AccessPoint"]), context);
|
|
3808
3808
|
}
|
|
3809
3809
|
if (data["NextToken"] !== undefined) {
|
|
3810
|
-
contents.NextToken = smithy_client_1.expectString(data["NextToken"]);
|
|
3810
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data["NextToken"]);
|
|
3811
3811
|
}
|
|
3812
3812
|
return Promise.resolve(contents);
|
|
3813
3813
|
};
|
|
@@ -3828,7 +3828,7 @@ const deserializeAws_restXmlListAccessPointsCommandError = async (output, contex
|
|
|
3828
3828
|
$fault: "client",
|
|
3829
3829
|
$metadata: deserializeMetadata(output),
|
|
3830
3830
|
});
|
|
3831
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3831
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3832
3832
|
}
|
|
3833
3833
|
};
|
|
3834
3834
|
const deserializeAws_restXmlListAccessPointsForObjectLambdaCommand = async (output, context) => {
|
|
@@ -3840,16 +3840,16 @@ const deserializeAws_restXmlListAccessPointsForObjectLambdaCommand = async (outp
|
|
|
3840
3840
|
NextToken: undefined,
|
|
3841
3841
|
ObjectLambdaAccessPointList: undefined,
|
|
3842
3842
|
};
|
|
3843
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3843
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3844
3844
|
if (data["NextToken"] !== undefined) {
|
|
3845
|
-
contents.NextToken = smithy_client_1.expectString(data["NextToken"]);
|
|
3845
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data["NextToken"]);
|
|
3846
3846
|
}
|
|
3847
3847
|
if (data.ObjectLambdaAccessPointList === "") {
|
|
3848
3848
|
contents.ObjectLambdaAccessPointList = [];
|
|
3849
3849
|
}
|
|
3850
3850
|
if (data["ObjectLambdaAccessPointList"] !== undefined &&
|
|
3851
3851
|
data["ObjectLambdaAccessPointList"]["ObjectLambdaAccessPoint"] !== undefined) {
|
|
3852
|
-
contents.ObjectLambdaAccessPointList = deserializeAws_restXmlObjectLambdaAccessPointList(smithy_client_1.getArrayIfSingleItem(data["ObjectLambdaAccessPointList"]["ObjectLambdaAccessPoint"]), context);
|
|
3852
|
+
contents.ObjectLambdaAccessPointList = deserializeAws_restXmlObjectLambdaAccessPointList((0, smithy_client_1.getArrayIfSingleItem)(data["ObjectLambdaAccessPointList"]["ObjectLambdaAccessPoint"]), context);
|
|
3853
3853
|
}
|
|
3854
3854
|
return Promise.resolve(contents);
|
|
3855
3855
|
};
|
|
@@ -3870,7 +3870,7 @@ const deserializeAws_restXmlListAccessPointsForObjectLambdaCommandError = async
|
|
|
3870
3870
|
$fault: "client",
|
|
3871
3871
|
$metadata: deserializeMetadata(output),
|
|
3872
3872
|
});
|
|
3873
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3873
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3874
3874
|
}
|
|
3875
3875
|
};
|
|
3876
3876
|
const deserializeAws_restXmlListJobsCommand = async (output, context) => {
|
|
@@ -3882,15 +3882,15 @@ const deserializeAws_restXmlListJobsCommand = async (output, context) => {
|
|
|
3882
3882
|
Jobs: undefined,
|
|
3883
3883
|
NextToken: undefined,
|
|
3884
3884
|
};
|
|
3885
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3885
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3886
3886
|
if (data.Jobs === "") {
|
|
3887
3887
|
contents.Jobs = [];
|
|
3888
3888
|
}
|
|
3889
3889
|
if (data["Jobs"] !== undefined && data["Jobs"]["member"] !== undefined) {
|
|
3890
|
-
contents.Jobs = deserializeAws_restXmlJobListDescriptorList(smithy_client_1.getArrayIfSingleItem(data["Jobs"]["member"]), context);
|
|
3890
|
+
contents.Jobs = deserializeAws_restXmlJobListDescriptorList((0, smithy_client_1.getArrayIfSingleItem)(data["Jobs"]["member"]), context);
|
|
3891
3891
|
}
|
|
3892
3892
|
if (data["NextToken"] !== undefined) {
|
|
3893
|
-
contents.NextToken = smithy_client_1.expectString(data["NextToken"]);
|
|
3893
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data["NextToken"]);
|
|
3894
3894
|
}
|
|
3895
3895
|
return Promise.resolve(contents);
|
|
3896
3896
|
};
|
|
@@ -3920,7 +3920,7 @@ const deserializeAws_restXmlListJobsCommandError = async (output, context) => {
|
|
|
3920
3920
|
$fault: "client",
|
|
3921
3921
|
$metadata: deserializeMetadata(output),
|
|
3922
3922
|
});
|
|
3923
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3923
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3924
3924
|
}
|
|
3925
3925
|
};
|
|
3926
3926
|
const deserializeAws_restXmlListMultiRegionAccessPointsCommand = async (output, context) => {
|
|
@@ -3932,15 +3932,15 @@ const deserializeAws_restXmlListMultiRegionAccessPointsCommand = async (output,
|
|
|
3932
3932
|
AccessPoints: undefined,
|
|
3933
3933
|
NextToken: undefined,
|
|
3934
3934
|
};
|
|
3935
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3935
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3936
3936
|
if (data.AccessPoints === "") {
|
|
3937
3937
|
contents.AccessPoints = [];
|
|
3938
3938
|
}
|
|
3939
3939
|
if (data["AccessPoints"] !== undefined && data["AccessPoints"]["AccessPoint"] !== undefined) {
|
|
3940
|
-
contents.AccessPoints = deserializeAws_restXmlMultiRegionAccessPointReportList(smithy_client_1.getArrayIfSingleItem(data["AccessPoints"]["AccessPoint"]), context);
|
|
3940
|
+
contents.AccessPoints = deserializeAws_restXmlMultiRegionAccessPointReportList((0, smithy_client_1.getArrayIfSingleItem)(data["AccessPoints"]["AccessPoint"]), context);
|
|
3941
3941
|
}
|
|
3942
3942
|
if (data["NextToken"] !== undefined) {
|
|
3943
|
-
contents.NextToken = smithy_client_1.expectString(data["NextToken"]);
|
|
3943
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data["NextToken"]);
|
|
3944
3944
|
}
|
|
3945
3945
|
return Promise.resolve(contents);
|
|
3946
3946
|
};
|
|
@@ -3961,7 +3961,7 @@ const deserializeAws_restXmlListMultiRegionAccessPointsCommandError = async (out
|
|
|
3961
3961
|
$fault: "client",
|
|
3962
3962
|
$metadata: deserializeMetadata(output),
|
|
3963
3963
|
});
|
|
3964
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
3964
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3965
3965
|
}
|
|
3966
3966
|
};
|
|
3967
3967
|
const deserializeAws_restXmlListRegionalBucketsCommand = async (output, context) => {
|
|
@@ -3973,15 +3973,15 @@ const deserializeAws_restXmlListRegionalBucketsCommand = async (output, context)
|
|
|
3973
3973
|
NextToken: undefined,
|
|
3974
3974
|
RegionalBucketList: undefined,
|
|
3975
3975
|
};
|
|
3976
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3976
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3977
3977
|
if (data["NextToken"] !== undefined) {
|
|
3978
|
-
contents.NextToken = smithy_client_1.expectString(data["NextToken"]);
|
|
3978
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data["NextToken"]);
|
|
3979
3979
|
}
|
|
3980
3980
|
if (data.RegionalBucketList === "") {
|
|
3981
3981
|
contents.RegionalBucketList = [];
|
|
3982
3982
|
}
|
|
3983
3983
|
if (data["RegionalBucketList"] !== undefined && data["RegionalBucketList"]["RegionalBucket"] !== undefined) {
|
|
3984
|
-
contents.RegionalBucketList = deserializeAws_restXmlRegionalBucketList(smithy_client_1.getArrayIfSingleItem(data["RegionalBucketList"]["RegionalBucket"]), context);
|
|
3984
|
+
contents.RegionalBucketList = deserializeAws_restXmlRegionalBucketList((0, smithy_client_1.getArrayIfSingleItem)(data["RegionalBucketList"]["RegionalBucket"]), context);
|
|
3985
3985
|
}
|
|
3986
3986
|
return Promise.resolve(contents);
|
|
3987
3987
|
};
|
|
@@ -4002,7 +4002,7 @@ const deserializeAws_restXmlListRegionalBucketsCommandError = async (output, con
|
|
|
4002
4002
|
$fault: "client",
|
|
4003
4003
|
$metadata: deserializeMetadata(output),
|
|
4004
4004
|
});
|
|
4005
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
4005
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4006
4006
|
}
|
|
4007
4007
|
};
|
|
4008
4008
|
const deserializeAws_restXmlListStorageLensConfigurationsCommand = async (output, context) => {
|
|
@@ -4014,15 +4014,15 @@ const deserializeAws_restXmlListStorageLensConfigurationsCommand = async (output
|
|
|
4014
4014
|
NextToken: undefined,
|
|
4015
4015
|
StorageLensConfigurationList: undefined,
|
|
4016
4016
|
};
|
|
4017
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4017
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4018
4018
|
if (data["NextToken"] !== undefined) {
|
|
4019
|
-
contents.NextToken = smithy_client_1.expectString(data["NextToken"]);
|
|
4019
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data["NextToken"]);
|
|
4020
4020
|
}
|
|
4021
4021
|
if (data.StorageLensConfigurationList === "") {
|
|
4022
4022
|
contents.StorageLensConfigurationList = [];
|
|
4023
4023
|
}
|
|
4024
4024
|
if (data["StorageLensConfigurationList"] !== undefined) {
|
|
4025
|
-
contents.StorageLensConfigurationList = deserializeAws_restXmlStorageLensConfigurationList(smithy_client_1.getArrayIfSingleItem(data["StorageLensConfigurationList"]), context);
|
|
4025
|
+
contents.StorageLensConfigurationList = deserializeAws_restXmlStorageLensConfigurationList((0, smithy_client_1.getArrayIfSingleItem)(data["StorageLensConfigurationList"]), context);
|
|
4026
4026
|
}
|
|
4027
4027
|
return Promise.resolve(contents);
|
|
4028
4028
|
};
|
|
@@ -4043,7 +4043,7 @@ const deserializeAws_restXmlListStorageLensConfigurationsCommandError = async (o
|
|
|
4043
4043
|
$fault: "client",
|
|
4044
4044
|
$metadata: deserializeMetadata(output),
|
|
4045
4045
|
});
|
|
4046
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
4046
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4047
4047
|
}
|
|
4048
4048
|
};
|
|
4049
4049
|
const deserializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand = async (output, context) => {
|
|
@@ -4073,7 +4073,7 @@ const deserializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommandErr
|
|
|
4073
4073
|
$fault: "client",
|
|
4074
4074
|
$metadata: deserializeMetadata(output),
|
|
4075
4075
|
});
|
|
4076
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
4076
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4077
4077
|
}
|
|
4078
4078
|
};
|
|
4079
4079
|
const deserializeAws_restXmlPutAccessPointPolicyCommand = async (output, context) => {
|
|
@@ -4103,7 +4103,7 @@ const deserializeAws_restXmlPutAccessPointPolicyCommandError = async (output, co
|
|
|
4103
4103
|
$fault: "client",
|
|
4104
4104
|
$metadata: deserializeMetadata(output),
|
|
4105
4105
|
});
|
|
4106
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
4106
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4107
4107
|
}
|
|
4108
4108
|
};
|
|
4109
4109
|
const deserializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand = async (output, context) => {
|
|
@@ -4133,7 +4133,7 @@ const deserializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommandError = as
|
|
|
4133
4133
|
$fault: "client",
|
|
4134
4134
|
$metadata: deserializeMetadata(output),
|
|
4135
4135
|
});
|
|
4136
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
4136
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4137
4137
|
}
|
|
4138
4138
|
};
|
|
4139
4139
|
const deserializeAws_restXmlPutBucketLifecycleConfigurationCommand = async (output, context) => {
|
|
@@ -4163,7 +4163,7 @@ const deserializeAws_restXmlPutBucketLifecycleConfigurationCommandError = async
|
|
|
4163
4163
|
$fault: "client",
|
|
4164
4164
|
$metadata: deserializeMetadata(output),
|
|
4165
4165
|
});
|
|
4166
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
4166
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4167
4167
|
}
|
|
4168
4168
|
};
|
|
4169
4169
|
const deserializeAws_restXmlPutBucketPolicyCommand = async (output, context) => {
|
|
@@ -4193,7 +4193,7 @@ const deserializeAws_restXmlPutBucketPolicyCommandError = async (output, context
|
|
|
4193
4193
|
$fault: "client",
|
|
4194
4194
|
$metadata: deserializeMetadata(output),
|
|
4195
4195
|
});
|
|
4196
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
4196
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4197
4197
|
}
|
|
4198
4198
|
};
|
|
4199
4199
|
const deserializeAws_restXmlPutBucketTaggingCommand = async (output, context) => {
|
|
@@ -4223,7 +4223,7 @@ const deserializeAws_restXmlPutBucketTaggingCommandError = async (output, contex
|
|
|
4223
4223
|
$fault: "client",
|
|
4224
4224
|
$metadata: deserializeMetadata(output),
|
|
4225
4225
|
});
|
|
4226
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
4226
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4227
4227
|
}
|
|
4228
4228
|
};
|
|
4229
4229
|
const deserializeAws_restXmlPutJobTaggingCommand = async (output, context) => {
|
|
@@ -4265,7 +4265,7 @@ const deserializeAws_restXmlPutJobTaggingCommandError = async (output, context)
|
|
|
4265
4265
|
$fault: "client",
|
|
4266
4266
|
$metadata: deserializeMetadata(output),
|
|
4267
4267
|
});
|
|
4268
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
4268
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4269
4269
|
}
|
|
4270
4270
|
};
|
|
4271
4271
|
const deserializeAws_restXmlPutMultiRegionAccessPointPolicyCommand = async (output, context) => {
|
|
@@ -4276,9 +4276,9 @@ const deserializeAws_restXmlPutMultiRegionAccessPointPolicyCommand = async (outp
|
|
|
4276
4276
|
$metadata: deserializeMetadata(output),
|
|
4277
4277
|
RequestTokenARN: undefined,
|
|
4278
4278
|
};
|
|
4279
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4279
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4280
4280
|
if (data["RequestTokenARN"] !== undefined) {
|
|
4281
|
-
contents.RequestTokenARN = smithy_client_1.expectString(data["RequestTokenARN"]);
|
|
4281
|
+
contents.RequestTokenARN = (0, smithy_client_1.expectString)(data["RequestTokenARN"]);
|
|
4282
4282
|
}
|
|
4283
4283
|
return Promise.resolve(contents);
|
|
4284
4284
|
};
|
|
@@ -4299,7 +4299,7 @@ const deserializeAws_restXmlPutMultiRegionAccessPointPolicyCommandError = async
|
|
|
4299
4299
|
$fault: "client",
|
|
4300
4300
|
$metadata: deserializeMetadata(output),
|
|
4301
4301
|
});
|
|
4302
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
4302
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4303
4303
|
}
|
|
4304
4304
|
};
|
|
4305
4305
|
const deserializeAws_restXmlPutPublicAccessBlockCommand = async (output, context) => {
|
|
@@ -4329,7 +4329,7 @@ const deserializeAws_restXmlPutPublicAccessBlockCommandError = async (output, co
|
|
|
4329
4329
|
$fault: "client",
|
|
4330
4330
|
$metadata: deserializeMetadata(output),
|
|
4331
4331
|
});
|
|
4332
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
4332
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4333
4333
|
}
|
|
4334
4334
|
};
|
|
4335
4335
|
const deserializeAws_restXmlPutStorageLensConfigurationCommand = async (output, context) => {
|
|
@@ -4359,7 +4359,7 @@ const deserializeAws_restXmlPutStorageLensConfigurationCommandError = async (out
|
|
|
4359
4359
|
$fault: "client",
|
|
4360
4360
|
$metadata: deserializeMetadata(output),
|
|
4361
4361
|
});
|
|
4362
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
4362
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4363
4363
|
}
|
|
4364
4364
|
};
|
|
4365
4365
|
const deserializeAws_restXmlPutStorageLensConfigurationTaggingCommand = async (output, context) => {
|
|
@@ -4389,7 +4389,7 @@ const deserializeAws_restXmlPutStorageLensConfigurationTaggingCommandError = asy
|
|
|
4389
4389
|
$fault: "client",
|
|
4390
4390
|
$metadata: deserializeMetadata(output),
|
|
4391
4391
|
});
|
|
4392
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
4392
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4393
4393
|
}
|
|
4394
4394
|
};
|
|
4395
4395
|
const deserializeAws_restXmlUpdateJobPriorityCommand = async (output, context) => {
|
|
@@ -4401,12 +4401,12 @@ const deserializeAws_restXmlUpdateJobPriorityCommand = async (output, context) =
|
|
|
4401
4401
|
JobId: undefined,
|
|
4402
4402
|
Priority: undefined,
|
|
4403
4403
|
};
|
|
4404
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4404
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4405
4405
|
if (data["JobId"] !== undefined) {
|
|
4406
|
-
contents.JobId = smithy_client_1.expectString(data["JobId"]);
|
|
4406
|
+
contents.JobId = (0, smithy_client_1.expectString)(data["JobId"]);
|
|
4407
4407
|
}
|
|
4408
4408
|
if (data["Priority"] !== undefined) {
|
|
4409
|
-
contents.Priority = smithy_client_1.strictParseInt32(data["Priority"]);
|
|
4409
|
+
contents.Priority = (0, smithy_client_1.strictParseInt32)(data["Priority"]);
|
|
4410
4410
|
}
|
|
4411
4411
|
return Promise.resolve(contents);
|
|
4412
4412
|
};
|
|
@@ -4439,7 +4439,7 @@ const deserializeAws_restXmlUpdateJobPriorityCommandError = async (output, conte
|
|
|
4439
4439
|
$fault: "client",
|
|
4440
4440
|
$metadata: deserializeMetadata(output),
|
|
4441
4441
|
});
|
|
4442
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
4442
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4443
4443
|
}
|
|
4444
4444
|
};
|
|
4445
4445
|
const deserializeAws_restXmlUpdateJobStatusCommand = async (output, context) => {
|
|
@@ -4452,15 +4452,15 @@ const deserializeAws_restXmlUpdateJobStatusCommand = async (output, context) =>
|
|
|
4452
4452
|
Status: undefined,
|
|
4453
4453
|
StatusUpdateReason: undefined,
|
|
4454
4454
|
};
|
|
4455
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4455
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4456
4456
|
if (data["JobId"] !== undefined) {
|
|
4457
|
-
contents.JobId = smithy_client_1.expectString(data["JobId"]);
|
|
4457
|
+
contents.JobId = (0, smithy_client_1.expectString)(data["JobId"]);
|
|
4458
4458
|
}
|
|
4459
4459
|
if (data["Status"] !== undefined) {
|
|
4460
|
-
contents.Status = smithy_client_1.expectString(data["Status"]);
|
|
4460
|
+
contents.Status = (0, smithy_client_1.expectString)(data["Status"]);
|
|
4461
4461
|
}
|
|
4462
4462
|
if (data["StatusUpdateReason"] !== undefined) {
|
|
4463
|
-
contents.StatusUpdateReason = smithy_client_1.expectString(data["StatusUpdateReason"]);
|
|
4463
|
+
contents.StatusUpdateReason = (0, smithy_client_1.expectString)(data["StatusUpdateReason"]);
|
|
4464
4464
|
}
|
|
4465
4465
|
return Promise.resolve(contents);
|
|
4466
4466
|
};
|
|
@@ -4496,20 +4496,20 @@ const deserializeAws_restXmlUpdateJobStatusCommandError = async (output, context
|
|
|
4496
4496
|
$fault: "client",
|
|
4497
4497
|
$metadata: deserializeMetadata(output),
|
|
4498
4498
|
});
|
|
4499
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
4499
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4500
4500
|
}
|
|
4501
4501
|
};
|
|
4502
4502
|
const deserializeAws_restXmlBadRequestExceptionResponse = async (parsedOutput, context) => {
|
|
4503
4503
|
const contents = {};
|
|
4504
4504
|
const data = parsedOutput.body.Error;
|
|
4505
4505
|
if (data["Message"] !== undefined) {
|
|
4506
|
-
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
4506
|
+
contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
|
|
4507
4507
|
}
|
|
4508
4508
|
const exception = new models_0_1.BadRequestException({
|
|
4509
4509
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4510
4510
|
...contents,
|
|
4511
4511
|
});
|
|
4512
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
|
|
4512
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
|
|
4513
4513
|
};
|
|
4514
4514
|
const deserializeAws_restXmlBucketAlreadyExistsResponse = async (parsedOutput, context) => {
|
|
4515
4515
|
const contents = {};
|
|
@@ -4518,7 +4518,7 @@ const deserializeAws_restXmlBucketAlreadyExistsResponse = async (parsedOutput, c
|
|
|
4518
4518
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4519
4519
|
...contents,
|
|
4520
4520
|
});
|
|
4521
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
|
|
4521
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
|
|
4522
4522
|
};
|
|
4523
4523
|
const deserializeAws_restXmlBucketAlreadyOwnedByYouResponse = async (parsedOutput, context) => {
|
|
4524
4524
|
const contents = {};
|
|
@@ -4527,115 +4527,115 @@ const deserializeAws_restXmlBucketAlreadyOwnedByYouResponse = async (parsedOutpu
|
|
|
4527
4527
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4528
4528
|
...contents,
|
|
4529
4529
|
});
|
|
4530
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
|
|
4530
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
|
|
4531
4531
|
};
|
|
4532
4532
|
const deserializeAws_restXmlIdempotencyExceptionResponse = async (parsedOutput, context) => {
|
|
4533
4533
|
const contents = {};
|
|
4534
4534
|
const data = parsedOutput.body.Error;
|
|
4535
4535
|
if (data["Message"] !== undefined) {
|
|
4536
|
-
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
4536
|
+
contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
|
|
4537
4537
|
}
|
|
4538
4538
|
const exception = new models_0_1.IdempotencyException({
|
|
4539
4539
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4540
4540
|
...contents,
|
|
4541
4541
|
});
|
|
4542
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
|
|
4542
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
|
|
4543
4543
|
};
|
|
4544
4544
|
const deserializeAws_restXmlInternalServiceExceptionResponse = async (parsedOutput, context) => {
|
|
4545
4545
|
const contents = {};
|
|
4546
4546
|
const data = parsedOutput.body.Error;
|
|
4547
4547
|
if (data["Message"] !== undefined) {
|
|
4548
|
-
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
4548
|
+
contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
|
|
4549
4549
|
}
|
|
4550
4550
|
const exception = new models_0_1.InternalServiceException({
|
|
4551
4551
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4552
4552
|
...contents,
|
|
4553
4553
|
});
|
|
4554
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
|
|
4554
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
|
|
4555
4555
|
};
|
|
4556
4556
|
const deserializeAws_restXmlInvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
|
|
4557
4557
|
const contents = {};
|
|
4558
4558
|
const data = parsedOutput.body.Error;
|
|
4559
4559
|
if (data["Message"] !== undefined) {
|
|
4560
|
-
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
4560
|
+
contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
|
|
4561
4561
|
}
|
|
4562
4562
|
const exception = new models_0_1.InvalidNextTokenException({
|
|
4563
4563
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4564
4564
|
...contents,
|
|
4565
4565
|
});
|
|
4566
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
|
|
4566
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
|
|
4567
4567
|
};
|
|
4568
4568
|
const deserializeAws_restXmlInvalidRequestExceptionResponse = async (parsedOutput, context) => {
|
|
4569
4569
|
const contents = {};
|
|
4570
4570
|
const data = parsedOutput.body.Error;
|
|
4571
4571
|
if (data["Message"] !== undefined) {
|
|
4572
|
-
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
4572
|
+
contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
|
|
4573
4573
|
}
|
|
4574
4574
|
const exception = new models_0_1.InvalidRequestException({
|
|
4575
4575
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4576
4576
|
...contents,
|
|
4577
4577
|
});
|
|
4578
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
|
|
4578
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
|
|
4579
4579
|
};
|
|
4580
4580
|
const deserializeAws_restXmlJobStatusExceptionResponse = async (parsedOutput, context) => {
|
|
4581
4581
|
const contents = {};
|
|
4582
4582
|
const data = parsedOutput.body.Error;
|
|
4583
4583
|
if (data["Message"] !== undefined) {
|
|
4584
|
-
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
4584
|
+
contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
|
|
4585
4585
|
}
|
|
4586
4586
|
const exception = new models_0_1.JobStatusException({
|
|
4587
4587
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4588
4588
|
...contents,
|
|
4589
4589
|
});
|
|
4590
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
|
|
4590
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
|
|
4591
4591
|
};
|
|
4592
4592
|
const deserializeAws_restXmlNoSuchPublicAccessBlockConfigurationResponse = async (parsedOutput, context) => {
|
|
4593
4593
|
const contents = {};
|
|
4594
4594
|
const data = parsedOutput.body.Error;
|
|
4595
4595
|
if (data["Message"] !== undefined) {
|
|
4596
|
-
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
4596
|
+
contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
|
|
4597
4597
|
}
|
|
4598
4598
|
const exception = new models_0_1.NoSuchPublicAccessBlockConfiguration({
|
|
4599
4599
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4600
4600
|
...contents,
|
|
4601
4601
|
});
|
|
4602
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
|
|
4602
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
|
|
4603
4603
|
};
|
|
4604
4604
|
const deserializeAws_restXmlNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
4605
4605
|
const contents = {};
|
|
4606
4606
|
const data = parsedOutput.body.Error;
|
|
4607
4607
|
if (data["Message"] !== undefined) {
|
|
4608
|
-
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
4608
|
+
contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
|
|
4609
4609
|
}
|
|
4610
4610
|
const exception = new models_0_1.NotFoundException({
|
|
4611
4611
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4612
4612
|
...contents,
|
|
4613
4613
|
});
|
|
4614
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
|
|
4614
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
|
|
4615
4615
|
};
|
|
4616
4616
|
const deserializeAws_restXmlTooManyRequestsExceptionResponse = async (parsedOutput, context) => {
|
|
4617
4617
|
const contents = {};
|
|
4618
4618
|
const data = parsedOutput.body.Error;
|
|
4619
4619
|
if (data["Message"] !== undefined) {
|
|
4620
|
-
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
4620
|
+
contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
|
|
4621
4621
|
}
|
|
4622
4622
|
const exception = new models_0_1.TooManyRequestsException({
|
|
4623
4623
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4624
4624
|
...contents,
|
|
4625
4625
|
});
|
|
4626
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
|
|
4626
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
|
|
4627
4627
|
};
|
|
4628
4628
|
const deserializeAws_restXmlTooManyTagsExceptionResponse = async (parsedOutput, context) => {
|
|
4629
4629
|
const contents = {};
|
|
4630
4630
|
const data = parsedOutput.body.Error;
|
|
4631
4631
|
if (data["Message"] !== undefined) {
|
|
4632
|
-
contents.Message = smithy_client_1.expectString(data["Message"]);
|
|
4632
|
+
contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
|
|
4633
4633
|
}
|
|
4634
4634
|
const exception = new models_0_1.TooManyTagsException({
|
|
4635
4635
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4636
4636
|
...contents,
|
|
4637
4637
|
});
|
|
4638
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body.Error);
|
|
4638
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body.Error);
|
|
4639
4639
|
};
|
|
4640
4640
|
const serializeAws_restXmlAbortIncompleteMultipartUpload = (input, context) => {
|
|
4641
4641
|
const bodyNode = new xml_builder_1.XmlNode("AbortIncompleteMultipartUpload");
|
|
@@ -6021,7 +6021,7 @@ const deserializeAws_restXmlAbortIncompleteMultipartUpload = (output, context) =
|
|
|
6021
6021
|
DaysAfterInitiation: undefined,
|
|
6022
6022
|
};
|
|
6023
6023
|
if (output["DaysAfterInitiation"] !== undefined) {
|
|
6024
|
-
contents.DaysAfterInitiation = smithy_client_1.strictParseInt32(output["DaysAfterInitiation"]);
|
|
6024
|
+
contents.DaysAfterInitiation = (0, smithy_client_1.strictParseInt32)(output["DaysAfterInitiation"]);
|
|
6025
6025
|
}
|
|
6026
6026
|
return contents;
|
|
6027
6027
|
};
|
|
@@ -6035,22 +6035,22 @@ const deserializeAws_restXmlAccessPoint = (output, context) => {
|
|
|
6035
6035
|
Alias: undefined,
|
|
6036
6036
|
};
|
|
6037
6037
|
if (output["Name"] !== undefined) {
|
|
6038
|
-
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
6038
|
+
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
6039
6039
|
}
|
|
6040
6040
|
if (output["NetworkOrigin"] !== undefined) {
|
|
6041
|
-
contents.NetworkOrigin = smithy_client_1.expectString(output["NetworkOrigin"]);
|
|
6041
|
+
contents.NetworkOrigin = (0, smithy_client_1.expectString)(output["NetworkOrigin"]);
|
|
6042
6042
|
}
|
|
6043
6043
|
if (output["VpcConfiguration"] !== undefined) {
|
|
6044
6044
|
contents.VpcConfiguration = deserializeAws_restXmlVpcConfiguration(output["VpcConfiguration"], context);
|
|
6045
6045
|
}
|
|
6046
6046
|
if (output["Bucket"] !== undefined) {
|
|
6047
|
-
contents.Bucket = smithy_client_1.expectString(output["Bucket"]);
|
|
6047
|
+
contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
|
|
6048
6048
|
}
|
|
6049
6049
|
if (output["AccessPointArn"] !== undefined) {
|
|
6050
|
-
contents.AccessPointArn = smithy_client_1.expectString(output["AccessPointArn"]);
|
|
6050
|
+
contents.AccessPointArn = (0, smithy_client_1.expectString)(output["AccessPointArn"]);
|
|
6051
6051
|
}
|
|
6052
6052
|
if (output["Alias"] !== undefined) {
|
|
6053
|
-
contents.Alias = smithy_client_1.expectString(output["Alias"]);
|
|
6053
|
+
contents.Alias = (0, smithy_client_1.expectString)(output["Alias"]);
|
|
6054
6054
|
}
|
|
6055
6055
|
return contents;
|
|
6056
6056
|
};
|
|
@@ -6082,7 +6082,7 @@ const deserializeAws_restXmlActivityMetrics = (output, context) => {
|
|
|
6082
6082
|
IsEnabled: undefined,
|
|
6083
6083
|
};
|
|
6084
6084
|
if (output["IsEnabled"] !== undefined) {
|
|
6085
|
-
contents.IsEnabled = smithy_client_1.parseBoolean(output["IsEnabled"]);
|
|
6085
|
+
contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
|
|
6086
6086
|
}
|
|
6087
6087
|
return contents;
|
|
6088
6088
|
};
|
|
@@ -6094,16 +6094,16 @@ const deserializeAws_restXmlAsyncErrorDetails = (output, context) => {
|
|
|
6094
6094
|
RequestId: undefined,
|
|
6095
6095
|
};
|
|
6096
6096
|
if (output["Code"] !== undefined) {
|
|
6097
|
-
contents.Code = smithy_client_1.expectString(output["Code"]);
|
|
6097
|
+
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
6098
6098
|
}
|
|
6099
6099
|
if (output["Message"] !== undefined) {
|
|
6100
|
-
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
6100
|
+
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
6101
6101
|
}
|
|
6102
6102
|
if (output["Resource"] !== undefined) {
|
|
6103
|
-
contents.Resource = smithy_client_1.expectString(output["Resource"]);
|
|
6103
|
+
contents.Resource = (0, smithy_client_1.expectString)(output["Resource"]);
|
|
6104
6104
|
}
|
|
6105
6105
|
if (output["RequestId"] !== undefined) {
|
|
6106
|
-
contents.RequestId = smithy_client_1.expectString(output["RequestId"]);
|
|
6106
|
+
contents.RequestId = (0, smithy_client_1.expectString)(output["RequestId"]);
|
|
6107
6107
|
}
|
|
6108
6108
|
return contents;
|
|
6109
6109
|
};
|
|
@@ -6117,19 +6117,19 @@ const deserializeAws_restXmlAsyncOperation = (output, context) => {
|
|
|
6117
6117
|
ResponseDetails: undefined,
|
|
6118
6118
|
};
|
|
6119
6119
|
if (output["CreationTime"] !== undefined) {
|
|
6120
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTime"]));
|
|
6120
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreationTime"]));
|
|
6121
6121
|
}
|
|
6122
6122
|
if (output["Operation"] !== undefined) {
|
|
6123
|
-
contents.Operation = smithy_client_1.expectString(output["Operation"]);
|
|
6123
|
+
contents.Operation = (0, smithy_client_1.expectString)(output["Operation"]);
|
|
6124
6124
|
}
|
|
6125
6125
|
if (output["RequestTokenARN"] !== undefined) {
|
|
6126
|
-
contents.RequestTokenARN = smithy_client_1.expectString(output["RequestTokenARN"]);
|
|
6126
|
+
contents.RequestTokenARN = (0, smithy_client_1.expectString)(output["RequestTokenARN"]);
|
|
6127
6127
|
}
|
|
6128
6128
|
if (output["RequestParameters"] !== undefined) {
|
|
6129
6129
|
contents.RequestParameters = deserializeAws_restXmlAsyncRequestParameters(output["RequestParameters"], context);
|
|
6130
6130
|
}
|
|
6131
6131
|
if (output["RequestStatus"] !== undefined) {
|
|
6132
|
-
contents.RequestStatus = smithy_client_1.expectString(output["RequestStatus"]);
|
|
6132
|
+
contents.RequestStatus = (0, smithy_client_1.expectString)(output["RequestStatus"]);
|
|
6133
6133
|
}
|
|
6134
6134
|
if (output["ResponseDetails"] !== undefined) {
|
|
6135
6135
|
contents.ResponseDetails = deserializeAws_restXmlAsyncResponseDetails(output["ResponseDetails"], context);
|
|
@@ -6172,10 +6172,10 @@ const deserializeAws_restXmlAwsLambdaTransformation = (output, context) => {
|
|
|
6172
6172
|
FunctionPayload: undefined,
|
|
6173
6173
|
};
|
|
6174
6174
|
if (output["FunctionArn"] !== undefined) {
|
|
6175
|
-
contents.FunctionArn = smithy_client_1.expectString(output["FunctionArn"]);
|
|
6175
|
+
contents.FunctionArn = (0, smithy_client_1.expectString)(output["FunctionArn"]);
|
|
6176
6176
|
}
|
|
6177
6177
|
if (output["FunctionPayload"] !== undefined) {
|
|
6178
|
-
contents.FunctionPayload = smithy_client_1.expectString(output["FunctionPayload"]);
|
|
6178
|
+
contents.FunctionPayload = (0, smithy_client_1.expectString)(output["FunctionPayload"]);
|
|
6179
6179
|
}
|
|
6180
6180
|
return contents;
|
|
6181
6181
|
};
|
|
@@ -6199,7 +6199,7 @@ const deserializeAws_restXmlBuckets = (output, context) => {
|
|
|
6199
6199
|
if (entry === null) {
|
|
6200
6200
|
return null;
|
|
6201
6201
|
}
|
|
6202
|
-
return smithy_client_1.expectString(entry);
|
|
6202
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6203
6203
|
});
|
|
6204
6204
|
};
|
|
6205
6205
|
const deserializeAws_restXmlCloudWatchMetrics = (output, context) => {
|
|
@@ -6207,7 +6207,7 @@ const deserializeAws_restXmlCloudWatchMetrics = (output, context) => {
|
|
|
6207
6207
|
IsEnabled: undefined,
|
|
6208
6208
|
};
|
|
6209
6209
|
if (output["IsEnabled"] !== undefined) {
|
|
6210
|
-
contents.IsEnabled = smithy_client_1.parseBoolean(output["IsEnabled"]);
|
|
6210
|
+
contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
|
|
6211
6211
|
}
|
|
6212
6212
|
return contents;
|
|
6213
6213
|
};
|
|
@@ -6218,7 +6218,7 @@ const deserializeAws_restXmlCreateMultiRegionAccessPointInput = (output, context
|
|
|
6218
6218
|
Regions: undefined,
|
|
6219
6219
|
};
|
|
6220
6220
|
if (output["Name"] !== undefined) {
|
|
6221
|
-
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
6221
|
+
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
6222
6222
|
}
|
|
6223
6223
|
if (output["PublicAccessBlock"] !== undefined) {
|
|
6224
6224
|
contents.PublicAccessBlock = deserializeAws_restXmlPublicAccessBlockConfiguration(output["PublicAccessBlock"], context);
|
|
@@ -6227,7 +6227,7 @@ const deserializeAws_restXmlCreateMultiRegionAccessPointInput = (output, context
|
|
|
6227
6227
|
contents.Regions = [];
|
|
6228
6228
|
}
|
|
6229
6229
|
if (output["Regions"] !== undefined && output["Regions"]["Region"] !== undefined) {
|
|
6230
|
-
contents.Regions = deserializeAws_restXmlRegionCreationList(smithy_client_1.getArrayIfSingleItem(output["Regions"]["Region"]), context);
|
|
6230
|
+
contents.Regions = deserializeAws_restXmlRegionCreationList((0, smithy_client_1.getArrayIfSingleItem)(output["Regions"]["Region"]), context);
|
|
6231
6231
|
}
|
|
6232
6232
|
return contents;
|
|
6233
6233
|
};
|
|
@@ -6236,7 +6236,7 @@ const deserializeAws_restXmlDeleteMultiRegionAccessPointInput = (output, context
|
|
|
6236
6236
|
Name: undefined,
|
|
6237
6237
|
};
|
|
6238
6238
|
if (output["Name"] !== undefined) {
|
|
6239
|
-
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
6239
|
+
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
6240
6240
|
}
|
|
6241
6241
|
return contents;
|
|
6242
6242
|
};
|
|
@@ -6247,7 +6247,7 @@ const deserializeAws_restXmlEndpoints = (output, context) => {
|
|
|
6247
6247
|
}
|
|
6248
6248
|
return {
|
|
6249
6249
|
...acc,
|
|
6250
|
-
[pair["key"]]: smithy_client_1.expectString(pair["value"]),
|
|
6250
|
+
[pair["key"]]: (0, smithy_client_1.expectString)(pair["value"]),
|
|
6251
6251
|
};
|
|
6252
6252
|
}, {});
|
|
6253
6253
|
};
|
|
@@ -6256,7 +6256,7 @@ const deserializeAws_restXmlEstablishedMultiRegionAccessPointPolicy = (output, c
|
|
|
6256
6256
|
Policy: undefined,
|
|
6257
6257
|
};
|
|
6258
6258
|
if (output["Policy"] !== undefined) {
|
|
6259
|
-
contents.Policy = smithy_client_1.expectString(output["Policy"]);
|
|
6259
|
+
contents.Policy = (0, smithy_client_1.expectString)(output["Policy"]);
|
|
6260
6260
|
}
|
|
6261
6261
|
return contents;
|
|
6262
6262
|
};
|
|
@@ -6269,13 +6269,13 @@ const deserializeAws_restXml_Exclude = (output, context) => {
|
|
|
6269
6269
|
contents.Buckets = [];
|
|
6270
6270
|
}
|
|
6271
6271
|
if (output["Buckets"] !== undefined && output["Buckets"]["Arn"] !== undefined) {
|
|
6272
|
-
contents.Buckets = deserializeAws_restXmlBuckets(smithy_client_1.getArrayIfSingleItem(output["Buckets"]["Arn"]), context);
|
|
6272
|
+
contents.Buckets = deserializeAws_restXmlBuckets((0, smithy_client_1.getArrayIfSingleItem)(output["Buckets"]["Arn"]), context);
|
|
6273
6273
|
}
|
|
6274
6274
|
if (output.Regions === "") {
|
|
6275
6275
|
contents.Regions = [];
|
|
6276
6276
|
}
|
|
6277
6277
|
if (output["Regions"] !== undefined && output["Regions"]["Region"] !== undefined) {
|
|
6278
|
-
contents.Regions = deserializeAws_restXmlRegions(smithy_client_1.getArrayIfSingleItem(output["Regions"]["Region"]), context);
|
|
6278
|
+
contents.Regions = deserializeAws_restXmlRegions((0, smithy_client_1.getArrayIfSingleItem)(output["Regions"]["Region"]), context);
|
|
6279
6279
|
}
|
|
6280
6280
|
return contents;
|
|
6281
6281
|
};
|
|
@@ -6301,13 +6301,13 @@ const deserializeAws_restXmlInclude = (output, context) => {
|
|
|
6301
6301
|
contents.Buckets = [];
|
|
6302
6302
|
}
|
|
6303
6303
|
if (output["Buckets"] !== undefined && output["Buckets"]["Arn"] !== undefined) {
|
|
6304
|
-
contents.Buckets = deserializeAws_restXmlBuckets(smithy_client_1.getArrayIfSingleItem(output["Buckets"]["Arn"]), context);
|
|
6304
|
+
contents.Buckets = deserializeAws_restXmlBuckets((0, smithy_client_1.getArrayIfSingleItem)(output["Buckets"]["Arn"]), context);
|
|
6305
6305
|
}
|
|
6306
6306
|
if (output.Regions === "") {
|
|
6307
6307
|
contents.Regions = [];
|
|
6308
6308
|
}
|
|
6309
6309
|
if (output["Regions"] !== undefined && output["Regions"]["Region"] !== undefined) {
|
|
6310
|
-
contents.Regions = deserializeAws_restXmlRegions(smithy_client_1.getArrayIfSingleItem(output["Regions"]["Region"]), context);
|
|
6310
|
+
contents.Regions = deserializeAws_restXmlRegions((0, smithy_client_1.getArrayIfSingleItem)(output["Regions"]["Region"]), context);
|
|
6311
6311
|
}
|
|
6312
6312
|
return contents;
|
|
6313
6313
|
};
|
|
@@ -6334,19 +6334,19 @@ const deserializeAws_restXmlJobDescriptor = (output, context) => {
|
|
|
6334
6334
|
GeneratedManifestDescriptor: undefined,
|
|
6335
6335
|
};
|
|
6336
6336
|
if (output["JobId"] !== undefined) {
|
|
6337
|
-
contents.JobId = smithy_client_1.expectString(output["JobId"]);
|
|
6337
|
+
contents.JobId = (0, smithy_client_1.expectString)(output["JobId"]);
|
|
6338
6338
|
}
|
|
6339
6339
|
if (output["ConfirmationRequired"] !== undefined) {
|
|
6340
|
-
contents.ConfirmationRequired = smithy_client_1.parseBoolean(output["ConfirmationRequired"]);
|
|
6340
|
+
contents.ConfirmationRequired = (0, smithy_client_1.parseBoolean)(output["ConfirmationRequired"]);
|
|
6341
6341
|
}
|
|
6342
6342
|
if (output["Description"] !== undefined) {
|
|
6343
|
-
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
6343
|
+
contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
|
|
6344
6344
|
}
|
|
6345
6345
|
if (output["JobArn"] !== undefined) {
|
|
6346
|
-
contents.JobArn = smithy_client_1.expectString(output["JobArn"]);
|
|
6346
|
+
contents.JobArn = (0, smithy_client_1.expectString)(output["JobArn"]);
|
|
6347
6347
|
}
|
|
6348
6348
|
if (output["Status"] !== undefined) {
|
|
6349
|
-
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
6349
|
+
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
6350
6350
|
}
|
|
6351
6351
|
if (output["Manifest"] !== undefined) {
|
|
6352
6352
|
contents.Manifest = deserializeAws_restXmlJobManifest(output["Manifest"], context);
|
|
@@ -6355,40 +6355,40 @@ const deserializeAws_restXmlJobDescriptor = (output, context) => {
|
|
|
6355
6355
|
contents.Operation = deserializeAws_restXmlJobOperation(output["Operation"], context);
|
|
6356
6356
|
}
|
|
6357
6357
|
if (output["Priority"] !== undefined) {
|
|
6358
|
-
contents.Priority = smithy_client_1.strictParseInt32(output["Priority"]);
|
|
6358
|
+
contents.Priority = (0, smithy_client_1.strictParseInt32)(output["Priority"]);
|
|
6359
6359
|
}
|
|
6360
6360
|
if (output["ProgressSummary"] !== undefined) {
|
|
6361
6361
|
contents.ProgressSummary = deserializeAws_restXmlJobProgressSummary(output["ProgressSummary"], context);
|
|
6362
6362
|
}
|
|
6363
6363
|
if (output["StatusUpdateReason"] !== undefined) {
|
|
6364
|
-
contents.StatusUpdateReason = smithy_client_1.expectString(output["StatusUpdateReason"]);
|
|
6364
|
+
contents.StatusUpdateReason = (0, smithy_client_1.expectString)(output["StatusUpdateReason"]);
|
|
6365
6365
|
}
|
|
6366
6366
|
if (output.FailureReasons === "") {
|
|
6367
6367
|
contents.FailureReasons = [];
|
|
6368
6368
|
}
|
|
6369
6369
|
if (output["FailureReasons"] !== undefined && output["FailureReasons"]["member"] !== undefined) {
|
|
6370
|
-
contents.FailureReasons = deserializeAws_restXmlJobFailureList(smithy_client_1.getArrayIfSingleItem(output["FailureReasons"]["member"]), context);
|
|
6370
|
+
contents.FailureReasons = deserializeAws_restXmlJobFailureList((0, smithy_client_1.getArrayIfSingleItem)(output["FailureReasons"]["member"]), context);
|
|
6371
6371
|
}
|
|
6372
6372
|
if (output["Report"] !== undefined) {
|
|
6373
6373
|
contents.Report = deserializeAws_restXmlJobReport(output["Report"], context);
|
|
6374
6374
|
}
|
|
6375
6375
|
if (output["CreationTime"] !== undefined) {
|
|
6376
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTime"]));
|
|
6376
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreationTime"]));
|
|
6377
6377
|
}
|
|
6378
6378
|
if (output["TerminationDate"] !== undefined) {
|
|
6379
|
-
contents.TerminationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["TerminationDate"]));
|
|
6379
|
+
contents.TerminationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["TerminationDate"]));
|
|
6380
6380
|
}
|
|
6381
6381
|
if (output["RoleArn"] !== undefined) {
|
|
6382
|
-
contents.RoleArn = smithy_client_1.expectString(output["RoleArn"]);
|
|
6382
|
+
contents.RoleArn = (0, smithy_client_1.expectString)(output["RoleArn"]);
|
|
6383
6383
|
}
|
|
6384
6384
|
if (output["SuspendedDate"] !== undefined) {
|
|
6385
|
-
contents.SuspendedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["SuspendedDate"]));
|
|
6385
|
+
contents.SuspendedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["SuspendedDate"]));
|
|
6386
6386
|
}
|
|
6387
6387
|
if (output["SuspendedCause"] !== undefined) {
|
|
6388
|
-
contents.SuspendedCause = smithy_client_1.expectString(output["SuspendedCause"]);
|
|
6388
|
+
contents.SuspendedCause = (0, smithy_client_1.expectString)(output["SuspendedCause"]);
|
|
6389
6389
|
}
|
|
6390
6390
|
if (output["ManifestGenerator"] !== undefined) {
|
|
6391
|
-
contents.ManifestGenerator = deserializeAws_restXmlJobManifestGenerator(smithy_client_1.expectUnion(output["ManifestGenerator"]), context);
|
|
6391
|
+
contents.ManifestGenerator = deserializeAws_restXmlJobManifestGenerator((0, smithy_client_1.expectUnion)(output["ManifestGenerator"]), context);
|
|
6392
6392
|
}
|
|
6393
6393
|
if (output["GeneratedManifestDescriptor"] !== undefined) {
|
|
6394
6394
|
contents.GeneratedManifestDescriptor = deserializeAws_restXmlS3GeneratedManifestDescriptor(output["GeneratedManifestDescriptor"], context);
|
|
@@ -6401,10 +6401,10 @@ const deserializeAws_restXmlJobFailure = (output, context) => {
|
|
|
6401
6401
|
FailureReason: undefined,
|
|
6402
6402
|
};
|
|
6403
6403
|
if (output["FailureCode"] !== undefined) {
|
|
6404
|
-
contents.FailureCode = smithy_client_1.expectString(output["FailureCode"]);
|
|
6404
|
+
contents.FailureCode = (0, smithy_client_1.expectString)(output["FailureCode"]);
|
|
6405
6405
|
}
|
|
6406
6406
|
if (output["FailureReason"] !== undefined) {
|
|
6407
|
-
contents.FailureReason = smithy_client_1.expectString(output["FailureReason"]);
|
|
6407
|
+
contents.FailureReason = (0, smithy_client_1.expectString)(output["FailureReason"]);
|
|
6408
6408
|
}
|
|
6409
6409
|
return contents;
|
|
6410
6410
|
};
|
|
@@ -6430,25 +6430,25 @@ const deserializeAws_restXmlJobListDescriptor = (output, context) => {
|
|
|
6430
6430
|
ProgressSummary: undefined,
|
|
6431
6431
|
};
|
|
6432
6432
|
if (output["JobId"] !== undefined) {
|
|
6433
|
-
contents.JobId = smithy_client_1.expectString(output["JobId"]);
|
|
6433
|
+
contents.JobId = (0, smithy_client_1.expectString)(output["JobId"]);
|
|
6434
6434
|
}
|
|
6435
6435
|
if (output["Description"] !== undefined) {
|
|
6436
|
-
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
6436
|
+
contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
|
|
6437
6437
|
}
|
|
6438
6438
|
if (output["Operation"] !== undefined) {
|
|
6439
|
-
contents.Operation = smithy_client_1.expectString(output["Operation"]);
|
|
6439
|
+
contents.Operation = (0, smithy_client_1.expectString)(output["Operation"]);
|
|
6440
6440
|
}
|
|
6441
6441
|
if (output["Priority"] !== undefined) {
|
|
6442
|
-
contents.Priority = smithy_client_1.strictParseInt32(output["Priority"]);
|
|
6442
|
+
contents.Priority = (0, smithy_client_1.strictParseInt32)(output["Priority"]);
|
|
6443
6443
|
}
|
|
6444
6444
|
if (output["Status"] !== undefined) {
|
|
6445
|
-
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
6445
|
+
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
6446
6446
|
}
|
|
6447
6447
|
if (output["CreationTime"] !== undefined) {
|
|
6448
|
-
contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTime"]));
|
|
6448
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreationTime"]));
|
|
6449
6449
|
}
|
|
6450
6450
|
if (output["TerminationDate"] !== undefined) {
|
|
6451
|
-
contents.TerminationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["TerminationDate"]));
|
|
6451
|
+
contents.TerminationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["TerminationDate"]));
|
|
6452
6452
|
}
|
|
6453
6453
|
if (output["ProgressSummary"] !== undefined) {
|
|
6454
6454
|
contents.ProgressSummary = deserializeAws_restXmlJobProgressSummary(output["ProgressSummary"], context);
|
|
@@ -6485,7 +6485,7 @@ const deserializeAws_restXmlJobManifestFieldList = (output, context) => {
|
|
|
6485
6485
|
if (entry === null) {
|
|
6486
6486
|
return null;
|
|
6487
6487
|
}
|
|
6488
|
-
return smithy_client_1.expectString(entry);
|
|
6488
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6489
6489
|
});
|
|
6490
6490
|
};
|
|
6491
6491
|
const deserializeAws_restXmlJobManifestGenerator = (output, context) => {
|
|
@@ -6504,20 +6504,20 @@ const deserializeAws_restXmlJobManifestGeneratorFilter = (output, context) => {
|
|
|
6504
6504
|
ObjectReplicationStatuses: undefined,
|
|
6505
6505
|
};
|
|
6506
6506
|
if (output["EligibleForReplication"] !== undefined) {
|
|
6507
|
-
contents.EligibleForReplication = smithy_client_1.parseBoolean(output["EligibleForReplication"]);
|
|
6507
|
+
contents.EligibleForReplication = (0, smithy_client_1.parseBoolean)(output["EligibleForReplication"]);
|
|
6508
6508
|
}
|
|
6509
6509
|
if (output["CreatedAfter"] !== undefined) {
|
|
6510
|
-
contents.CreatedAfter = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreatedAfter"]));
|
|
6510
|
+
contents.CreatedAfter = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreatedAfter"]));
|
|
6511
6511
|
}
|
|
6512
6512
|
if (output["CreatedBefore"] !== undefined) {
|
|
6513
|
-
contents.CreatedBefore = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreatedBefore"]));
|
|
6513
|
+
contents.CreatedBefore = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreatedBefore"]));
|
|
6514
6514
|
}
|
|
6515
6515
|
if (output.ObjectReplicationStatuses === "") {
|
|
6516
6516
|
contents.ObjectReplicationStatuses = [];
|
|
6517
6517
|
}
|
|
6518
6518
|
if (output["ObjectReplicationStatuses"] !== undefined &&
|
|
6519
6519
|
output["ObjectReplicationStatuses"]["member"] !== undefined) {
|
|
6520
|
-
contents.ObjectReplicationStatuses = deserializeAws_restXmlReplicationStatusFilterList(smithy_client_1.getArrayIfSingleItem(output["ObjectReplicationStatuses"]["member"]), context);
|
|
6520
|
+
contents.ObjectReplicationStatuses = deserializeAws_restXmlReplicationStatusFilterList((0, smithy_client_1.getArrayIfSingleItem)(output["ObjectReplicationStatuses"]["member"]), context);
|
|
6521
6521
|
}
|
|
6522
6522
|
return contents;
|
|
6523
6523
|
};
|
|
@@ -6528,13 +6528,13 @@ const deserializeAws_restXmlJobManifestLocation = (output, context) => {
|
|
|
6528
6528
|
ETag: undefined,
|
|
6529
6529
|
};
|
|
6530
6530
|
if (output["ObjectArn"] !== undefined) {
|
|
6531
|
-
contents.ObjectArn = smithy_client_1.expectString(output["ObjectArn"]);
|
|
6531
|
+
contents.ObjectArn = (0, smithy_client_1.expectString)(output["ObjectArn"]);
|
|
6532
6532
|
}
|
|
6533
6533
|
if (output["ObjectVersionId"] !== undefined) {
|
|
6534
|
-
contents.ObjectVersionId = smithy_client_1.expectString(output["ObjectVersionId"]);
|
|
6534
|
+
contents.ObjectVersionId = (0, smithy_client_1.expectString)(output["ObjectVersionId"]);
|
|
6535
6535
|
}
|
|
6536
6536
|
if (output["ETag"] !== undefined) {
|
|
6537
|
-
contents.ETag = smithy_client_1.expectString(output["ETag"]);
|
|
6537
|
+
contents.ETag = (0, smithy_client_1.expectString)(output["ETag"]);
|
|
6538
6538
|
}
|
|
6539
6539
|
return contents;
|
|
6540
6540
|
};
|
|
@@ -6544,13 +6544,13 @@ const deserializeAws_restXmlJobManifestSpec = (output, context) => {
|
|
|
6544
6544
|
Fields: undefined,
|
|
6545
6545
|
};
|
|
6546
6546
|
if (output["Format"] !== undefined) {
|
|
6547
|
-
contents.Format = smithy_client_1.expectString(output["Format"]);
|
|
6547
|
+
contents.Format = (0, smithy_client_1.expectString)(output["Format"]);
|
|
6548
6548
|
}
|
|
6549
6549
|
if (output.Fields === "") {
|
|
6550
6550
|
contents.Fields = [];
|
|
6551
6551
|
}
|
|
6552
6552
|
if (output["Fields"] !== undefined && output["Fields"]["member"] !== undefined) {
|
|
6553
|
-
contents.Fields = deserializeAws_restXmlJobManifestFieldList(smithy_client_1.getArrayIfSingleItem(output["Fields"]["member"]), context);
|
|
6553
|
+
contents.Fields = deserializeAws_restXmlJobManifestFieldList((0, smithy_client_1.getArrayIfSingleItem)(output["Fields"]["member"]), context);
|
|
6554
6554
|
}
|
|
6555
6555
|
return contents;
|
|
6556
6556
|
};
|
|
@@ -6603,13 +6603,13 @@ const deserializeAws_restXmlJobProgressSummary = (output, context) => {
|
|
|
6603
6603
|
Timers: undefined,
|
|
6604
6604
|
};
|
|
6605
6605
|
if (output["TotalNumberOfTasks"] !== undefined) {
|
|
6606
|
-
contents.TotalNumberOfTasks = smithy_client_1.strictParseLong(output["TotalNumberOfTasks"]);
|
|
6606
|
+
contents.TotalNumberOfTasks = (0, smithy_client_1.strictParseLong)(output["TotalNumberOfTasks"]);
|
|
6607
6607
|
}
|
|
6608
6608
|
if (output["NumberOfTasksSucceeded"] !== undefined) {
|
|
6609
|
-
contents.NumberOfTasksSucceeded = smithy_client_1.strictParseLong(output["NumberOfTasksSucceeded"]);
|
|
6609
|
+
contents.NumberOfTasksSucceeded = (0, smithy_client_1.strictParseLong)(output["NumberOfTasksSucceeded"]);
|
|
6610
6610
|
}
|
|
6611
6611
|
if (output["NumberOfTasksFailed"] !== undefined) {
|
|
6612
|
-
contents.NumberOfTasksFailed = smithy_client_1.strictParseLong(output["NumberOfTasksFailed"]);
|
|
6612
|
+
contents.NumberOfTasksFailed = (0, smithy_client_1.strictParseLong)(output["NumberOfTasksFailed"]);
|
|
6613
6613
|
}
|
|
6614
6614
|
if (output["Timers"] !== undefined) {
|
|
6615
6615
|
contents.Timers = deserializeAws_restXmlJobTimers(output["Timers"], context);
|
|
@@ -6625,19 +6625,19 @@ const deserializeAws_restXmlJobReport = (output, context) => {
|
|
|
6625
6625
|
ReportScope: undefined,
|
|
6626
6626
|
};
|
|
6627
6627
|
if (output["Bucket"] !== undefined) {
|
|
6628
|
-
contents.Bucket = smithy_client_1.expectString(output["Bucket"]);
|
|
6628
|
+
contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
|
|
6629
6629
|
}
|
|
6630
6630
|
if (output["Format"] !== undefined) {
|
|
6631
|
-
contents.Format = smithy_client_1.expectString(output["Format"]);
|
|
6631
|
+
contents.Format = (0, smithy_client_1.expectString)(output["Format"]);
|
|
6632
6632
|
}
|
|
6633
6633
|
if (output["Enabled"] !== undefined) {
|
|
6634
|
-
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
6634
|
+
contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
|
|
6635
6635
|
}
|
|
6636
6636
|
if (output["Prefix"] !== undefined) {
|
|
6637
|
-
contents.Prefix = smithy_client_1.expectString(output["Prefix"]);
|
|
6637
|
+
contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
|
|
6638
6638
|
}
|
|
6639
6639
|
if (output["ReportScope"] !== undefined) {
|
|
6640
|
-
contents.ReportScope = smithy_client_1.expectString(output["ReportScope"]);
|
|
6640
|
+
contents.ReportScope = (0, smithy_client_1.expectString)(output["ReportScope"]);
|
|
6641
6641
|
}
|
|
6642
6642
|
return contents;
|
|
6643
6643
|
};
|
|
@@ -6646,7 +6646,7 @@ const deserializeAws_restXmlJobTimers = (output, context) => {
|
|
|
6646
6646
|
ElapsedTimeInActiveSeconds: undefined,
|
|
6647
6647
|
};
|
|
6648
6648
|
if (output["ElapsedTimeInActiveSeconds"] !== undefined) {
|
|
6649
|
-
contents.ElapsedTimeInActiveSeconds = smithy_client_1.strictParseLong(output["ElapsedTimeInActiveSeconds"]);
|
|
6649
|
+
contents.ElapsedTimeInActiveSeconds = (0, smithy_client_1.strictParseLong)(output["ElapsedTimeInActiveSeconds"]);
|
|
6650
6650
|
}
|
|
6651
6651
|
return contents;
|
|
6652
6652
|
};
|
|
@@ -6655,7 +6655,7 @@ const deserializeAws_restXmlLambdaInvokeOperation = (output, context) => {
|
|
|
6655
6655
|
FunctionArn: undefined,
|
|
6656
6656
|
};
|
|
6657
6657
|
if (output["FunctionArn"] !== undefined) {
|
|
6658
|
-
contents.FunctionArn = smithy_client_1.expectString(output["FunctionArn"]);
|
|
6658
|
+
contents.FunctionArn = (0, smithy_client_1.expectString)(output["FunctionArn"]);
|
|
6659
6659
|
}
|
|
6660
6660
|
return contents;
|
|
6661
6661
|
};
|
|
@@ -6666,13 +6666,13 @@ const deserializeAws_restXmlLifecycleExpiration = (output, context) => {
|
|
|
6666
6666
|
ExpiredObjectDeleteMarker: undefined,
|
|
6667
6667
|
};
|
|
6668
6668
|
if (output["Date"] !== undefined) {
|
|
6669
|
-
contents.Date = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Date"]));
|
|
6669
|
+
contents.Date = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["Date"]));
|
|
6670
6670
|
}
|
|
6671
6671
|
if (output["Days"] !== undefined) {
|
|
6672
|
-
contents.Days = smithy_client_1.strictParseInt32(output["Days"]);
|
|
6672
|
+
contents.Days = (0, smithy_client_1.strictParseInt32)(output["Days"]);
|
|
6673
6673
|
}
|
|
6674
6674
|
if (output["ExpiredObjectDeleteMarker"] !== undefined) {
|
|
6675
|
-
contents.ExpiredObjectDeleteMarker = smithy_client_1.parseBoolean(output["ExpiredObjectDeleteMarker"]);
|
|
6675
|
+
contents.ExpiredObjectDeleteMarker = (0, smithy_client_1.parseBoolean)(output["ExpiredObjectDeleteMarker"]);
|
|
6676
6676
|
}
|
|
6677
6677
|
return contents;
|
|
6678
6678
|
};
|
|
@@ -6691,26 +6691,26 @@ const deserializeAws_restXmlLifecycleRule = (output, context) => {
|
|
|
6691
6691
|
contents.Expiration = deserializeAws_restXmlLifecycleExpiration(output["Expiration"], context);
|
|
6692
6692
|
}
|
|
6693
6693
|
if (output["ID"] !== undefined) {
|
|
6694
|
-
contents.ID = smithy_client_1.expectString(output["ID"]);
|
|
6694
|
+
contents.ID = (0, smithy_client_1.expectString)(output["ID"]);
|
|
6695
6695
|
}
|
|
6696
6696
|
if (output["Filter"] !== undefined) {
|
|
6697
6697
|
contents.Filter = deserializeAws_restXmlLifecycleRuleFilter(output["Filter"], context);
|
|
6698
6698
|
}
|
|
6699
6699
|
if (output["Status"] !== undefined) {
|
|
6700
|
-
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
6700
|
+
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
6701
6701
|
}
|
|
6702
6702
|
if (output.Transitions === "") {
|
|
6703
6703
|
contents.Transitions = [];
|
|
6704
6704
|
}
|
|
6705
6705
|
if (output["Transitions"] !== undefined && output["Transitions"]["Transition"] !== undefined) {
|
|
6706
|
-
contents.Transitions = deserializeAws_restXmlTransitionList(smithy_client_1.getArrayIfSingleItem(output["Transitions"]["Transition"]), context);
|
|
6706
|
+
contents.Transitions = deserializeAws_restXmlTransitionList((0, smithy_client_1.getArrayIfSingleItem)(output["Transitions"]["Transition"]), context);
|
|
6707
6707
|
}
|
|
6708
6708
|
if (output.NoncurrentVersionTransitions === "") {
|
|
6709
6709
|
contents.NoncurrentVersionTransitions = [];
|
|
6710
6710
|
}
|
|
6711
6711
|
if (output["NoncurrentVersionTransitions"] !== undefined &&
|
|
6712
6712
|
output["NoncurrentVersionTransitions"]["NoncurrentVersionTransition"] !== undefined) {
|
|
6713
|
-
contents.NoncurrentVersionTransitions = deserializeAws_restXmlNoncurrentVersionTransitionList(smithy_client_1.getArrayIfSingleItem(output["NoncurrentVersionTransitions"]["NoncurrentVersionTransition"]), context);
|
|
6713
|
+
contents.NoncurrentVersionTransitions = deserializeAws_restXmlNoncurrentVersionTransitionList((0, smithy_client_1.getArrayIfSingleItem)(output["NoncurrentVersionTransitions"]["NoncurrentVersionTransition"]), context);
|
|
6714
6714
|
}
|
|
6715
6715
|
if (output["NoncurrentVersionExpiration"] !== undefined) {
|
|
6716
6716
|
contents.NoncurrentVersionExpiration = deserializeAws_restXmlNoncurrentVersionExpiration(output["NoncurrentVersionExpiration"], context);
|
|
@@ -6726,13 +6726,13 @@ const deserializeAws_restXmlLifecycleRuleAndOperator = (output, context) => {
|
|
|
6726
6726
|
Tags: undefined,
|
|
6727
6727
|
};
|
|
6728
6728
|
if (output["Prefix"] !== undefined) {
|
|
6729
|
-
contents.Prefix = smithy_client_1.expectString(output["Prefix"]);
|
|
6729
|
+
contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
|
|
6730
6730
|
}
|
|
6731
6731
|
if (output.Tags === "") {
|
|
6732
6732
|
contents.Tags = [];
|
|
6733
6733
|
}
|
|
6734
6734
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
6735
|
-
contents.Tags = deserializeAws_restXmlS3TagSet(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
6735
|
+
contents.Tags = deserializeAws_restXmlS3TagSet((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
|
|
6736
6736
|
}
|
|
6737
6737
|
return contents;
|
|
6738
6738
|
};
|
|
@@ -6743,7 +6743,7 @@ const deserializeAws_restXmlLifecycleRuleFilter = (output, context) => {
|
|
|
6743
6743
|
And: undefined,
|
|
6744
6744
|
};
|
|
6745
6745
|
if (output["Prefix"] !== undefined) {
|
|
6746
|
-
contents.Prefix = smithy_client_1.expectString(output["Prefix"]);
|
|
6746
|
+
contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
|
|
6747
6747
|
}
|
|
6748
6748
|
if (output["Tag"] !== undefined) {
|
|
6749
6749
|
contents.Tag = deserializeAws_restXmlS3Tag(output["Tag"], context);
|
|
@@ -6771,16 +6771,16 @@ const deserializeAws_restXmlListStorageLensConfigurationEntry = (output, context
|
|
|
6771
6771
|
IsEnabled: undefined,
|
|
6772
6772
|
};
|
|
6773
6773
|
if (output["Id"] !== undefined) {
|
|
6774
|
-
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
6774
|
+
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
6775
6775
|
}
|
|
6776
6776
|
if (output["StorageLensArn"] !== undefined) {
|
|
6777
|
-
contents.StorageLensArn = smithy_client_1.expectString(output["StorageLensArn"]);
|
|
6777
|
+
contents.StorageLensArn = (0, smithy_client_1.expectString)(output["StorageLensArn"]);
|
|
6778
6778
|
}
|
|
6779
6779
|
if (output["HomeRegion"] !== undefined) {
|
|
6780
|
-
contents.HomeRegion = smithy_client_1.expectString(output["HomeRegion"]);
|
|
6780
|
+
contents.HomeRegion = (0, smithy_client_1.expectString)(output["HomeRegion"]);
|
|
6781
6781
|
}
|
|
6782
6782
|
if (output["IsEnabled"] !== undefined) {
|
|
6783
|
-
contents.IsEnabled = smithy_client_1.parseBoolean(output["IsEnabled"]);
|
|
6783
|
+
contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
|
|
6784
6784
|
}
|
|
6785
6785
|
return contents;
|
|
6786
6786
|
};
|
|
@@ -6803,10 +6803,10 @@ const deserializeAws_restXmlMultiRegionAccessPointRegionalResponse = (output, co
|
|
|
6803
6803
|
RequestStatus: undefined,
|
|
6804
6804
|
};
|
|
6805
6805
|
if (output["Name"] !== undefined) {
|
|
6806
|
-
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
6806
|
+
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
6807
6807
|
}
|
|
6808
6808
|
if (output["RequestStatus"] !== undefined) {
|
|
6809
|
-
contents.RequestStatus = smithy_client_1.expectString(output["RequestStatus"]);
|
|
6809
|
+
contents.RequestStatus = (0, smithy_client_1.expectString)(output["RequestStatus"]);
|
|
6810
6810
|
}
|
|
6811
6811
|
return contents;
|
|
6812
6812
|
};
|
|
@@ -6830,25 +6830,25 @@ const deserializeAws_restXmlMultiRegionAccessPointReport = (output, context) =>
|
|
|
6830
6830
|
Regions: undefined,
|
|
6831
6831
|
};
|
|
6832
6832
|
if (output["Name"] !== undefined) {
|
|
6833
|
-
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
6833
|
+
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
6834
6834
|
}
|
|
6835
6835
|
if (output["Alias"] !== undefined) {
|
|
6836
|
-
contents.Alias = smithy_client_1.expectString(output["Alias"]);
|
|
6836
|
+
contents.Alias = (0, smithy_client_1.expectString)(output["Alias"]);
|
|
6837
6837
|
}
|
|
6838
6838
|
if (output["CreatedAt"] !== undefined) {
|
|
6839
|
-
contents.CreatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreatedAt"]));
|
|
6839
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreatedAt"]));
|
|
6840
6840
|
}
|
|
6841
6841
|
if (output["PublicAccessBlock"] !== undefined) {
|
|
6842
6842
|
contents.PublicAccessBlock = deserializeAws_restXmlPublicAccessBlockConfiguration(output["PublicAccessBlock"], context);
|
|
6843
6843
|
}
|
|
6844
6844
|
if (output["Status"] !== undefined) {
|
|
6845
|
-
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
6845
|
+
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
6846
6846
|
}
|
|
6847
6847
|
if (output.Regions === "") {
|
|
6848
6848
|
contents.Regions = [];
|
|
6849
6849
|
}
|
|
6850
6850
|
if (output["Regions"] !== undefined && output["Regions"]["Region"] !== undefined) {
|
|
6851
|
-
contents.Regions = deserializeAws_restXmlRegionReportList(smithy_client_1.getArrayIfSingleItem(output["Regions"]["Region"]), context);
|
|
6851
|
+
contents.Regions = deserializeAws_restXmlRegionReportList((0, smithy_client_1.getArrayIfSingleItem)(output["Regions"]["Region"]), context);
|
|
6852
6852
|
}
|
|
6853
6853
|
return contents;
|
|
6854
6854
|
};
|
|
@@ -6870,7 +6870,7 @@ const deserializeAws_restXmlMultiRegionAccessPointsAsyncResponse = (output, cont
|
|
|
6870
6870
|
contents.Regions = [];
|
|
6871
6871
|
}
|
|
6872
6872
|
if (output["Regions"] !== undefined && output["Regions"]["Region"] !== undefined) {
|
|
6873
|
-
contents.Regions = deserializeAws_restXmlMultiRegionAccessPointRegionalResponseList(smithy_client_1.getArrayIfSingleItem(output["Regions"]["Region"]), context);
|
|
6873
|
+
contents.Regions = deserializeAws_restXmlMultiRegionAccessPointRegionalResponseList((0, smithy_client_1.getArrayIfSingleItem)(output["Regions"]["Region"]), context);
|
|
6874
6874
|
}
|
|
6875
6875
|
return contents;
|
|
6876
6876
|
};
|
|
@@ -6879,7 +6879,7 @@ const deserializeAws_restXmlNoncurrentVersionExpiration = (output, context) => {
|
|
|
6879
6879
|
NoncurrentDays: undefined,
|
|
6880
6880
|
};
|
|
6881
6881
|
if (output["NoncurrentDays"] !== undefined) {
|
|
6882
|
-
contents.NoncurrentDays = smithy_client_1.strictParseInt32(output["NoncurrentDays"]);
|
|
6882
|
+
contents.NoncurrentDays = (0, smithy_client_1.strictParseInt32)(output["NoncurrentDays"]);
|
|
6883
6883
|
}
|
|
6884
6884
|
return contents;
|
|
6885
6885
|
};
|
|
@@ -6889,10 +6889,10 @@ const deserializeAws_restXmlNoncurrentVersionTransition = (output, context) => {
|
|
|
6889
6889
|
StorageClass: undefined,
|
|
6890
6890
|
};
|
|
6891
6891
|
if (output["NoncurrentDays"] !== undefined) {
|
|
6892
|
-
contents.NoncurrentDays = smithy_client_1.strictParseInt32(output["NoncurrentDays"]);
|
|
6892
|
+
contents.NoncurrentDays = (0, smithy_client_1.strictParseInt32)(output["NoncurrentDays"]);
|
|
6893
6893
|
}
|
|
6894
6894
|
if (output["StorageClass"] !== undefined) {
|
|
6895
|
-
contents.StorageClass = smithy_client_1.expectString(output["StorageClass"]);
|
|
6895
|
+
contents.StorageClass = (0, smithy_client_1.expectString)(output["StorageClass"]);
|
|
6896
6896
|
}
|
|
6897
6897
|
return contents;
|
|
6898
6898
|
};
|
|
@@ -6912,10 +6912,10 @@ const deserializeAws_restXmlObjectLambdaAccessPoint = (output, context) => {
|
|
|
6912
6912
|
ObjectLambdaAccessPointArn: undefined,
|
|
6913
6913
|
};
|
|
6914
6914
|
if (output["Name"] !== undefined) {
|
|
6915
|
-
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
6915
|
+
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
6916
6916
|
}
|
|
6917
6917
|
if (output["ObjectLambdaAccessPointArn"] !== undefined) {
|
|
6918
|
-
contents.ObjectLambdaAccessPointArn = smithy_client_1.expectString(output["ObjectLambdaAccessPointArn"]);
|
|
6918
|
+
contents.ObjectLambdaAccessPointArn = (0, smithy_client_1.expectString)(output["ObjectLambdaAccessPointArn"]);
|
|
6919
6919
|
}
|
|
6920
6920
|
return contents;
|
|
6921
6921
|
};
|
|
@@ -6936,7 +6936,7 @@ const deserializeAws_restXmlObjectLambdaAllowedFeaturesList = (output, context)
|
|
|
6936
6936
|
if (entry === null) {
|
|
6937
6937
|
return null;
|
|
6938
6938
|
}
|
|
6939
|
-
return smithy_client_1.expectString(entry);
|
|
6939
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6940
6940
|
});
|
|
6941
6941
|
};
|
|
6942
6942
|
const deserializeAws_restXmlObjectLambdaConfiguration = (output, context) => {
|
|
@@ -6947,23 +6947,23 @@ const deserializeAws_restXmlObjectLambdaConfiguration = (output, context) => {
|
|
|
6947
6947
|
TransformationConfigurations: undefined,
|
|
6948
6948
|
};
|
|
6949
6949
|
if (output["SupportingAccessPoint"] !== undefined) {
|
|
6950
|
-
contents.SupportingAccessPoint = smithy_client_1.expectString(output["SupportingAccessPoint"]);
|
|
6950
|
+
contents.SupportingAccessPoint = (0, smithy_client_1.expectString)(output["SupportingAccessPoint"]);
|
|
6951
6951
|
}
|
|
6952
6952
|
if (output["CloudWatchMetricsEnabled"] !== undefined) {
|
|
6953
|
-
contents.CloudWatchMetricsEnabled = smithy_client_1.parseBoolean(output["CloudWatchMetricsEnabled"]);
|
|
6953
|
+
contents.CloudWatchMetricsEnabled = (0, smithy_client_1.parseBoolean)(output["CloudWatchMetricsEnabled"]);
|
|
6954
6954
|
}
|
|
6955
6955
|
if (output.AllowedFeatures === "") {
|
|
6956
6956
|
contents.AllowedFeatures = [];
|
|
6957
6957
|
}
|
|
6958
6958
|
if (output["AllowedFeatures"] !== undefined && output["AllowedFeatures"]["AllowedFeature"] !== undefined) {
|
|
6959
|
-
contents.AllowedFeatures = deserializeAws_restXmlObjectLambdaAllowedFeaturesList(smithy_client_1.getArrayIfSingleItem(output["AllowedFeatures"]["AllowedFeature"]), context);
|
|
6959
|
+
contents.AllowedFeatures = deserializeAws_restXmlObjectLambdaAllowedFeaturesList((0, smithy_client_1.getArrayIfSingleItem)(output["AllowedFeatures"]["AllowedFeature"]), context);
|
|
6960
6960
|
}
|
|
6961
6961
|
if (output.TransformationConfigurations === "") {
|
|
6962
6962
|
contents.TransformationConfigurations = [];
|
|
6963
6963
|
}
|
|
6964
6964
|
if (output["TransformationConfigurations"] !== undefined &&
|
|
6965
6965
|
output["TransformationConfigurations"]["TransformationConfiguration"] !== undefined) {
|
|
6966
|
-
contents.TransformationConfigurations = deserializeAws_restXmlObjectLambdaTransformationConfigurationsList(smithy_client_1.getArrayIfSingleItem(output["TransformationConfigurations"]["TransformationConfiguration"]), context);
|
|
6966
|
+
contents.TransformationConfigurations = deserializeAws_restXmlObjectLambdaTransformationConfigurationsList((0, smithy_client_1.getArrayIfSingleItem)(output["TransformationConfigurations"]["TransformationConfiguration"]), context);
|
|
6967
6967
|
}
|
|
6968
6968
|
return contents;
|
|
6969
6969
|
};
|
|
@@ -6984,10 +6984,10 @@ const deserializeAws_restXmlObjectLambdaTransformationConfiguration = (output, c
|
|
|
6984
6984
|
contents.Actions = [];
|
|
6985
6985
|
}
|
|
6986
6986
|
if (output["Actions"] !== undefined && output["Actions"]["Action"] !== undefined) {
|
|
6987
|
-
contents.Actions = deserializeAws_restXmlObjectLambdaTransformationConfigurationActionsList(smithy_client_1.getArrayIfSingleItem(output["Actions"]["Action"]), context);
|
|
6987
|
+
contents.Actions = deserializeAws_restXmlObjectLambdaTransformationConfigurationActionsList((0, smithy_client_1.getArrayIfSingleItem)(output["Actions"]["Action"]), context);
|
|
6988
6988
|
}
|
|
6989
6989
|
if (output["ContentTransformation"] !== undefined) {
|
|
6990
|
-
contents.ContentTransformation = deserializeAws_restXmlObjectLambdaContentTransformation(smithy_client_1.expectUnion(output["ContentTransformation"]), context);
|
|
6990
|
+
contents.ContentTransformation = deserializeAws_restXmlObjectLambdaContentTransformation((0, smithy_client_1.expectUnion)(output["ContentTransformation"]), context);
|
|
6991
6991
|
}
|
|
6992
6992
|
return contents;
|
|
6993
6993
|
};
|
|
@@ -6998,7 +6998,7 @@ const deserializeAws_restXmlObjectLambdaTransformationConfigurationActionsList =
|
|
|
6998
6998
|
if (entry === null) {
|
|
6999
6999
|
return null;
|
|
7000
7000
|
}
|
|
7001
|
-
return smithy_client_1.expectString(entry);
|
|
7001
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7002
7002
|
});
|
|
7003
7003
|
};
|
|
7004
7004
|
const deserializeAws_restXmlObjectLambdaTransformationConfigurationsList = (output, context) => {
|
|
@@ -7016,7 +7016,7 @@ const deserializeAws_restXmlPolicyStatus = (output, context) => {
|
|
|
7016
7016
|
IsPublic: undefined,
|
|
7017
7017
|
};
|
|
7018
7018
|
if (output["IsPublic"] !== undefined) {
|
|
7019
|
-
contents.IsPublic = smithy_client_1.parseBoolean(output["IsPublic"]);
|
|
7019
|
+
contents.IsPublic = (0, smithy_client_1.parseBoolean)(output["IsPublic"]);
|
|
7020
7020
|
}
|
|
7021
7021
|
return contents;
|
|
7022
7022
|
};
|
|
@@ -7035,7 +7035,7 @@ const deserializeAws_restXmlPrefixLevelStorageMetrics = (output, context) => {
|
|
|
7035
7035
|
SelectionCriteria: undefined,
|
|
7036
7036
|
};
|
|
7037
7037
|
if (output["IsEnabled"] !== undefined) {
|
|
7038
|
-
contents.IsEnabled = smithy_client_1.parseBoolean(output["IsEnabled"]);
|
|
7038
|
+
contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
|
|
7039
7039
|
}
|
|
7040
7040
|
if (output["SelectionCriteria"] !== undefined) {
|
|
7041
7041
|
contents.SelectionCriteria = deserializeAws_restXmlSelectionCriteria(output["SelectionCriteria"], context);
|
|
@@ -7047,7 +7047,7 @@ const deserializeAws_restXmlProposedMultiRegionAccessPointPolicy = (output, cont
|
|
|
7047
7047
|
Policy: undefined,
|
|
7048
7048
|
};
|
|
7049
7049
|
if (output["Policy"] !== undefined) {
|
|
7050
|
-
contents.Policy = smithy_client_1.expectString(output["Policy"]);
|
|
7050
|
+
contents.Policy = (0, smithy_client_1.expectString)(output["Policy"]);
|
|
7051
7051
|
}
|
|
7052
7052
|
return contents;
|
|
7053
7053
|
};
|
|
@@ -7059,16 +7059,16 @@ const deserializeAws_restXmlPublicAccessBlockConfiguration = (output, context) =
|
|
|
7059
7059
|
RestrictPublicBuckets: undefined,
|
|
7060
7060
|
};
|
|
7061
7061
|
if (output["BlockPublicAcls"] !== undefined) {
|
|
7062
|
-
contents.BlockPublicAcls = smithy_client_1.parseBoolean(output["BlockPublicAcls"]);
|
|
7062
|
+
contents.BlockPublicAcls = (0, smithy_client_1.parseBoolean)(output["BlockPublicAcls"]);
|
|
7063
7063
|
}
|
|
7064
7064
|
if (output["IgnorePublicAcls"] !== undefined) {
|
|
7065
|
-
contents.IgnorePublicAcls = smithy_client_1.parseBoolean(output["IgnorePublicAcls"]);
|
|
7065
|
+
contents.IgnorePublicAcls = (0, smithy_client_1.parseBoolean)(output["IgnorePublicAcls"]);
|
|
7066
7066
|
}
|
|
7067
7067
|
if (output["BlockPublicPolicy"] !== undefined) {
|
|
7068
|
-
contents.BlockPublicPolicy = smithy_client_1.parseBoolean(output["BlockPublicPolicy"]);
|
|
7068
|
+
contents.BlockPublicPolicy = (0, smithy_client_1.parseBoolean)(output["BlockPublicPolicy"]);
|
|
7069
7069
|
}
|
|
7070
7070
|
if (output["RestrictPublicBuckets"] !== undefined) {
|
|
7071
|
-
contents.RestrictPublicBuckets = smithy_client_1.parseBoolean(output["RestrictPublicBuckets"]);
|
|
7071
|
+
contents.RestrictPublicBuckets = (0, smithy_client_1.parseBoolean)(output["RestrictPublicBuckets"]);
|
|
7072
7072
|
}
|
|
7073
7073
|
return contents;
|
|
7074
7074
|
};
|
|
@@ -7078,10 +7078,10 @@ const deserializeAws_restXmlPutMultiRegionAccessPointPolicyInput = (output, cont
|
|
|
7078
7078
|
Policy: undefined,
|
|
7079
7079
|
};
|
|
7080
7080
|
if (output["Name"] !== undefined) {
|
|
7081
|
-
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
7081
|
+
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
7082
7082
|
}
|
|
7083
7083
|
if (output["Policy"] !== undefined) {
|
|
7084
|
-
contents.Policy = smithy_client_1.expectString(output["Policy"]);
|
|
7084
|
+
contents.Policy = (0, smithy_client_1.expectString)(output["Policy"]);
|
|
7085
7085
|
}
|
|
7086
7086
|
return contents;
|
|
7087
7087
|
};
|
|
@@ -7090,7 +7090,7 @@ const deserializeAws_restXmlRegion = (output, context) => {
|
|
|
7090
7090
|
Bucket: undefined,
|
|
7091
7091
|
};
|
|
7092
7092
|
if (output["Bucket"] !== undefined) {
|
|
7093
|
-
contents.Bucket = smithy_client_1.expectString(output["Bucket"]);
|
|
7093
|
+
contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
|
|
7094
7094
|
}
|
|
7095
7095
|
return contents;
|
|
7096
7096
|
};
|
|
@@ -7103,19 +7103,19 @@ const deserializeAws_restXmlRegionalBucket = (output, context) => {
|
|
|
7103
7103
|
OutpostId: undefined,
|
|
7104
7104
|
};
|
|
7105
7105
|
if (output["Bucket"] !== undefined) {
|
|
7106
|
-
contents.Bucket = smithy_client_1.expectString(output["Bucket"]);
|
|
7106
|
+
contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
|
|
7107
7107
|
}
|
|
7108
7108
|
if (output["BucketArn"] !== undefined) {
|
|
7109
|
-
contents.BucketArn = smithy_client_1.expectString(output["BucketArn"]);
|
|
7109
|
+
contents.BucketArn = (0, smithy_client_1.expectString)(output["BucketArn"]);
|
|
7110
7110
|
}
|
|
7111
7111
|
if (output["PublicAccessBlockEnabled"] !== undefined) {
|
|
7112
|
-
contents.PublicAccessBlockEnabled = smithy_client_1.parseBoolean(output["PublicAccessBlockEnabled"]);
|
|
7112
|
+
contents.PublicAccessBlockEnabled = (0, smithy_client_1.parseBoolean)(output["PublicAccessBlockEnabled"]);
|
|
7113
7113
|
}
|
|
7114
7114
|
if (output["CreationDate"] !== undefined) {
|
|
7115
|
-
contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationDate"]));
|
|
7115
|
+
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreationDate"]));
|
|
7116
7116
|
}
|
|
7117
7117
|
if (output["OutpostId"] !== undefined) {
|
|
7118
|
-
contents.OutpostId = smithy_client_1.expectString(output["OutpostId"]);
|
|
7118
|
+
contents.OutpostId = (0, smithy_client_1.expectString)(output["OutpostId"]);
|
|
7119
7119
|
}
|
|
7120
7120
|
return contents;
|
|
7121
7121
|
};
|
|
@@ -7145,10 +7145,10 @@ const deserializeAws_restXmlRegionReport = (output, context) => {
|
|
|
7145
7145
|
Region: undefined,
|
|
7146
7146
|
};
|
|
7147
7147
|
if (output["Bucket"] !== undefined) {
|
|
7148
|
-
contents.Bucket = smithy_client_1.expectString(output["Bucket"]);
|
|
7148
|
+
contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
|
|
7149
7149
|
}
|
|
7150
7150
|
if (output["Region"] !== undefined) {
|
|
7151
|
-
contents.Region = smithy_client_1.expectString(output["Region"]);
|
|
7151
|
+
contents.Region = (0, smithy_client_1.expectString)(output["Region"]);
|
|
7152
7152
|
}
|
|
7153
7153
|
return contents;
|
|
7154
7154
|
};
|
|
@@ -7169,7 +7169,7 @@ const deserializeAws_restXmlRegions = (output, context) => {
|
|
|
7169
7169
|
if (entry === null) {
|
|
7170
7170
|
return null;
|
|
7171
7171
|
}
|
|
7172
|
-
return smithy_client_1.expectString(entry);
|
|
7172
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7173
7173
|
});
|
|
7174
7174
|
};
|
|
7175
7175
|
const deserializeAws_restXmlReplicationStatusFilterList = (output, context) => {
|
|
@@ -7179,7 +7179,7 @@ const deserializeAws_restXmlReplicationStatusFilterList = (output, context) => {
|
|
|
7179
7179
|
if (entry === null) {
|
|
7180
7180
|
return null;
|
|
7181
7181
|
}
|
|
7182
|
-
return smithy_client_1.expectString(entry);
|
|
7182
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7183
7183
|
});
|
|
7184
7184
|
};
|
|
7185
7185
|
const deserializeAws_restXmlS3AccessControlList = (output, context) => {
|
|
@@ -7194,7 +7194,7 @@ const deserializeAws_restXmlS3AccessControlList = (output, context) => {
|
|
|
7194
7194
|
contents.Grants = [];
|
|
7195
7195
|
}
|
|
7196
7196
|
if (output["Grants"] !== undefined && output["Grants"]["member"] !== undefined) {
|
|
7197
|
-
contents.Grants = deserializeAws_restXmlS3GrantList(smithy_client_1.getArrayIfSingleItem(output["Grants"]["member"]), context);
|
|
7197
|
+
contents.Grants = deserializeAws_restXmlS3GrantList((0, smithy_client_1.getArrayIfSingleItem)(output["Grants"]["member"]), context);
|
|
7198
7198
|
}
|
|
7199
7199
|
return contents;
|
|
7200
7200
|
};
|
|
@@ -7207,7 +7207,7 @@ const deserializeAws_restXmlS3AccessControlPolicy = (output, context) => {
|
|
|
7207
7207
|
contents.AccessControlList = deserializeAws_restXmlS3AccessControlList(output["AccessControlList"], context);
|
|
7208
7208
|
}
|
|
7209
7209
|
if (output["CannedAccessControlList"] !== undefined) {
|
|
7210
|
-
contents.CannedAccessControlList = smithy_client_1.expectString(output["CannedAccessControlList"]);
|
|
7210
|
+
contents.CannedAccessControlList = (0, smithy_client_1.expectString)(output["CannedAccessControlList"]);
|
|
7211
7211
|
}
|
|
7212
7212
|
return contents;
|
|
7213
7213
|
};
|
|
@@ -7221,19 +7221,19 @@ const deserializeAws_restXmlS3BucketDestination = (output, context) => {
|
|
|
7221
7221
|
Encryption: undefined,
|
|
7222
7222
|
};
|
|
7223
7223
|
if (output["Format"] !== undefined) {
|
|
7224
|
-
contents.Format = smithy_client_1.expectString(output["Format"]);
|
|
7224
|
+
contents.Format = (0, smithy_client_1.expectString)(output["Format"]);
|
|
7225
7225
|
}
|
|
7226
7226
|
if (output["OutputSchemaVersion"] !== undefined) {
|
|
7227
|
-
contents.OutputSchemaVersion = smithy_client_1.expectString(output["OutputSchemaVersion"]);
|
|
7227
|
+
contents.OutputSchemaVersion = (0, smithy_client_1.expectString)(output["OutputSchemaVersion"]);
|
|
7228
7228
|
}
|
|
7229
7229
|
if (output["AccountId"] !== undefined) {
|
|
7230
|
-
contents.AccountId = smithy_client_1.expectString(output["AccountId"]);
|
|
7230
|
+
contents.AccountId = (0, smithy_client_1.expectString)(output["AccountId"]);
|
|
7231
7231
|
}
|
|
7232
7232
|
if (output["Arn"] !== undefined) {
|
|
7233
|
-
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
7233
|
+
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
7234
7234
|
}
|
|
7235
7235
|
if (output["Prefix"] !== undefined) {
|
|
7236
|
-
contents.Prefix = smithy_client_1.expectString(output["Prefix"]);
|
|
7236
|
+
contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
|
|
7237
7237
|
}
|
|
7238
7238
|
if (output["Encryption"] !== undefined) {
|
|
7239
7239
|
contents.Encryption = deserializeAws_restXmlStorageLensDataExportEncryption(output["Encryption"], context);
|
|
@@ -7262,22 +7262,22 @@ const deserializeAws_restXmlS3CopyObjectOperation = (output, context) => {
|
|
|
7262
7262
|
ChecksumAlgorithm: undefined,
|
|
7263
7263
|
};
|
|
7264
7264
|
if (output["TargetResource"] !== undefined) {
|
|
7265
|
-
contents.TargetResource = smithy_client_1.expectString(output["TargetResource"]);
|
|
7265
|
+
contents.TargetResource = (0, smithy_client_1.expectString)(output["TargetResource"]);
|
|
7266
7266
|
}
|
|
7267
7267
|
if (output["CannedAccessControlList"] !== undefined) {
|
|
7268
|
-
contents.CannedAccessControlList = smithy_client_1.expectString(output["CannedAccessControlList"]);
|
|
7268
|
+
contents.CannedAccessControlList = (0, smithy_client_1.expectString)(output["CannedAccessControlList"]);
|
|
7269
7269
|
}
|
|
7270
7270
|
if (output.AccessControlGrants === "") {
|
|
7271
7271
|
contents.AccessControlGrants = [];
|
|
7272
7272
|
}
|
|
7273
7273
|
if (output["AccessControlGrants"] !== undefined && output["AccessControlGrants"]["member"] !== undefined) {
|
|
7274
|
-
contents.AccessControlGrants = deserializeAws_restXmlS3GrantList(smithy_client_1.getArrayIfSingleItem(output["AccessControlGrants"]["member"]), context);
|
|
7274
|
+
contents.AccessControlGrants = deserializeAws_restXmlS3GrantList((0, smithy_client_1.getArrayIfSingleItem)(output["AccessControlGrants"]["member"]), context);
|
|
7275
7275
|
}
|
|
7276
7276
|
if (output["MetadataDirective"] !== undefined) {
|
|
7277
|
-
contents.MetadataDirective = smithy_client_1.expectString(output["MetadataDirective"]);
|
|
7277
|
+
contents.MetadataDirective = (0, smithy_client_1.expectString)(output["MetadataDirective"]);
|
|
7278
7278
|
}
|
|
7279
7279
|
if (output["ModifiedSinceConstraint"] !== undefined) {
|
|
7280
|
-
contents.ModifiedSinceConstraint = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ModifiedSinceConstraint"]));
|
|
7280
|
+
contents.ModifiedSinceConstraint = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ModifiedSinceConstraint"]));
|
|
7281
7281
|
}
|
|
7282
7282
|
if (output["NewObjectMetadata"] !== undefined) {
|
|
7283
7283
|
contents.NewObjectMetadata = deserializeAws_restXmlS3ObjectMetadata(output["NewObjectMetadata"], context);
|
|
@@ -7286,40 +7286,40 @@ const deserializeAws_restXmlS3CopyObjectOperation = (output, context) => {
|
|
|
7286
7286
|
contents.NewObjectTagging = [];
|
|
7287
7287
|
}
|
|
7288
7288
|
if (output["NewObjectTagging"] !== undefined && output["NewObjectTagging"]["member"] !== undefined) {
|
|
7289
|
-
contents.NewObjectTagging = deserializeAws_restXmlS3TagSet(smithy_client_1.getArrayIfSingleItem(output["NewObjectTagging"]["member"]), context);
|
|
7289
|
+
contents.NewObjectTagging = deserializeAws_restXmlS3TagSet((0, smithy_client_1.getArrayIfSingleItem)(output["NewObjectTagging"]["member"]), context);
|
|
7290
7290
|
}
|
|
7291
7291
|
if (output["RedirectLocation"] !== undefined) {
|
|
7292
|
-
contents.RedirectLocation = smithy_client_1.expectString(output["RedirectLocation"]);
|
|
7292
|
+
contents.RedirectLocation = (0, smithy_client_1.expectString)(output["RedirectLocation"]);
|
|
7293
7293
|
}
|
|
7294
7294
|
if (output["RequesterPays"] !== undefined) {
|
|
7295
|
-
contents.RequesterPays = smithy_client_1.parseBoolean(output["RequesterPays"]);
|
|
7295
|
+
contents.RequesterPays = (0, smithy_client_1.parseBoolean)(output["RequesterPays"]);
|
|
7296
7296
|
}
|
|
7297
7297
|
if (output["StorageClass"] !== undefined) {
|
|
7298
|
-
contents.StorageClass = smithy_client_1.expectString(output["StorageClass"]);
|
|
7298
|
+
contents.StorageClass = (0, smithy_client_1.expectString)(output["StorageClass"]);
|
|
7299
7299
|
}
|
|
7300
7300
|
if (output["UnModifiedSinceConstraint"] !== undefined) {
|
|
7301
|
-
contents.UnModifiedSinceConstraint = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UnModifiedSinceConstraint"]));
|
|
7301
|
+
contents.UnModifiedSinceConstraint = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["UnModifiedSinceConstraint"]));
|
|
7302
7302
|
}
|
|
7303
7303
|
if (output["SSEAwsKmsKeyId"] !== undefined) {
|
|
7304
|
-
contents.SSEAwsKmsKeyId = smithy_client_1.expectString(output["SSEAwsKmsKeyId"]);
|
|
7304
|
+
contents.SSEAwsKmsKeyId = (0, smithy_client_1.expectString)(output["SSEAwsKmsKeyId"]);
|
|
7305
7305
|
}
|
|
7306
7306
|
if (output["TargetKeyPrefix"] !== undefined) {
|
|
7307
|
-
contents.TargetKeyPrefix = smithy_client_1.expectString(output["TargetKeyPrefix"]);
|
|
7307
|
+
contents.TargetKeyPrefix = (0, smithy_client_1.expectString)(output["TargetKeyPrefix"]);
|
|
7308
7308
|
}
|
|
7309
7309
|
if (output["ObjectLockLegalHoldStatus"] !== undefined) {
|
|
7310
|
-
contents.ObjectLockLegalHoldStatus = smithy_client_1.expectString(output["ObjectLockLegalHoldStatus"]);
|
|
7310
|
+
contents.ObjectLockLegalHoldStatus = (0, smithy_client_1.expectString)(output["ObjectLockLegalHoldStatus"]);
|
|
7311
7311
|
}
|
|
7312
7312
|
if (output["ObjectLockMode"] !== undefined) {
|
|
7313
|
-
contents.ObjectLockMode = smithy_client_1.expectString(output["ObjectLockMode"]);
|
|
7313
|
+
contents.ObjectLockMode = (0, smithy_client_1.expectString)(output["ObjectLockMode"]);
|
|
7314
7314
|
}
|
|
7315
7315
|
if (output["ObjectLockRetainUntilDate"] !== undefined) {
|
|
7316
|
-
contents.ObjectLockRetainUntilDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ObjectLockRetainUntilDate"]));
|
|
7316
|
+
contents.ObjectLockRetainUntilDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["ObjectLockRetainUntilDate"]));
|
|
7317
7317
|
}
|
|
7318
7318
|
if (output["BucketKeyEnabled"] !== undefined) {
|
|
7319
|
-
contents.BucketKeyEnabled = smithy_client_1.parseBoolean(output["BucketKeyEnabled"]);
|
|
7319
|
+
contents.BucketKeyEnabled = (0, smithy_client_1.parseBoolean)(output["BucketKeyEnabled"]);
|
|
7320
7320
|
}
|
|
7321
7321
|
if (output["ChecksumAlgorithm"] !== undefined) {
|
|
7322
|
-
contents.ChecksumAlgorithm = smithy_client_1.expectString(output["ChecksumAlgorithm"]);
|
|
7322
|
+
contents.ChecksumAlgorithm = (0, smithy_client_1.expectString)(output["ChecksumAlgorithm"]);
|
|
7323
7323
|
}
|
|
7324
7324
|
return contents;
|
|
7325
7325
|
};
|
|
@@ -7333,7 +7333,7 @@ const deserializeAws_restXmlS3GeneratedManifestDescriptor = (output, context) =>
|
|
|
7333
7333
|
Location: undefined,
|
|
7334
7334
|
};
|
|
7335
7335
|
if (output["Format"] !== undefined) {
|
|
7336
|
-
contents.Format = smithy_client_1.expectString(output["Format"]);
|
|
7336
|
+
contents.Format = (0, smithy_client_1.expectString)(output["Format"]);
|
|
7337
7337
|
}
|
|
7338
7338
|
if (output["Location"] !== undefined) {
|
|
7339
7339
|
contents.Location = deserializeAws_restXmlJobManifestLocation(output["Location"], context);
|
|
@@ -7349,7 +7349,7 @@ const deserializeAws_restXmlS3Grant = (output, context) => {
|
|
|
7349
7349
|
contents.Grantee = deserializeAws_restXmlS3Grantee(output["Grantee"], context);
|
|
7350
7350
|
}
|
|
7351
7351
|
if (output["Permission"] !== undefined) {
|
|
7352
|
-
contents.Permission = smithy_client_1.expectString(output["Permission"]);
|
|
7352
|
+
contents.Permission = (0, smithy_client_1.expectString)(output["Permission"]);
|
|
7353
7353
|
}
|
|
7354
7354
|
return contents;
|
|
7355
7355
|
};
|
|
@@ -7360,13 +7360,13 @@ const deserializeAws_restXmlS3Grantee = (output, context) => {
|
|
|
7360
7360
|
DisplayName: undefined,
|
|
7361
7361
|
};
|
|
7362
7362
|
if (output["TypeIdentifier"] !== undefined) {
|
|
7363
|
-
contents.TypeIdentifier = smithy_client_1.expectString(output["TypeIdentifier"]);
|
|
7363
|
+
contents.TypeIdentifier = (0, smithy_client_1.expectString)(output["TypeIdentifier"]);
|
|
7364
7364
|
}
|
|
7365
7365
|
if (output["Identifier"] !== undefined) {
|
|
7366
|
-
contents.Identifier = smithy_client_1.expectString(output["Identifier"]);
|
|
7366
|
+
contents.Identifier = (0, smithy_client_1.expectString)(output["Identifier"]);
|
|
7367
7367
|
}
|
|
7368
7368
|
if (output["DisplayName"] !== undefined) {
|
|
7369
|
-
contents.DisplayName = smithy_client_1.expectString(output["DisplayName"]);
|
|
7369
|
+
contents.DisplayName = (0, smithy_client_1.expectString)(output["DisplayName"]);
|
|
7370
7370
|
}
|
|
7371
7371
|
return contents;
|
|
7372
7372
|
};
|
|
@@ -7386,10 +7386,10 @@ const deserializeAws_restXmlS3InitiateRestoreObjectOperation = (output, context)
|
|
|
7386
7386
|
GlacierJobTier: undefined,
|
|
7387
7387
|
};
|
|
7388
7388
|
if (output["ExpirationInDays"] !== undefined) {
|
|
7389
|
-
contents.ExpirationInDays = smithy_client_1.strictParseInt32(output["ExpirationInDays"]);
|
|
7389
|
+
contents.ExpirationInDays = (0, smithy_client_1.strictParseInt32)(output["ExpirationInDays"]);
|
|
7390
7390
|
}
|
|
7391
7391
|
if (output["GlacierJobTier"] !== undefined) {
|
|
7392
|
-
contents.GlacierJobTier = smithy_client_1.expectString(output["GlacierJobTier"]);
|
|
7392
|
+
contents.GlacierJobTier = (0, smithy_client_1.expectString)(output["GlacierJobTier"]);
|
|
7393
7393
|
}
|
|
7394
7394
|
return contents;
|
|
7395
7395
|
};
|
|
@@ -7402,10 +7402,10 @@ const deserializeAws_restXmlS3JobManifestGenerator = (output, context) => {
|
|
|
7402
7402
|
EnableManifestOutput: undefined,
|
|
7403
7403
|
};
|
|
7404
7404
|
if (output["ExpectedBucketOwner"] !== undefined) {
|
|
7405
|
-
contents.ExpectedBucketOwner = smithy_client_1.expectString(output["ExpectedBucketOwner"]);
|
|
7405
|
+
contents.ExpectedBucketOwner = (0, smithy_client_1.expectString)(output["ExpectedBucketOwner"]);
|
|
7406
7406
|
}
|
|
7407
7407
|
if (output["SourceBucket"] !== undefined) {
|
|
7408
|
-
contents.SourceBucket = smithy_client_1.expectString(output["SourceBucket"]);
|
|
7408
|
+
contents.SourceBucket = (0, smithy_client_1.expectString)(output["SourceBucket"]);
|
|
7409
7409
|
}
|
|
7410
7410
|
if (output["ManifestOutputLocation"] !== undefined) {
|
|
7411
7411
|
contents.ManifestOutputLocation = deserializeAws_restXmlS3ManifestOutputLocation(output["ManifestOutputLocation"], context);
|
|
@@ -7414,7 +7414,7 @@ const deserializeAws_restXmlS3JobManifestGenerator = (output, context) => {
|
|
|
7414
7414
|
contents.Filter = deserializeAws_restXmlJobManifestGeneratorFilter(output["Filter"], context);
|
|
7415
7415
|
}
|
|
7416
7416
|
if (output["EnableManifestOutput"] !== undefined) {
|
|
7417
|
-
contents.EnableManifestOutput = smithy_client_1.parseBoolean(output["EnableManifestOutput"]);
|
|
7417
|
+
contents.EnableManifestOutput = (0, smithy_client_1.parseBoolean)(output["EnableManifestOutput"]);
|
|
7418
7418
|
}
|
|
7419
7419
|
return contents;
|
|
7420
7420
|
};
|
|
@@ -7427,19 +7427,19 @@ const deserializeAws_restXmlS3ManifestOutputLocation = (output, context) => {
|
|
|
7427
7427
|
ManifestFormat: undefined,
|
|
7428
7428
|
};
|
|
7429
7429
|
if (output["ExpectedManifestBucketOwner"] !== undefined) {
|
|
7430
|
-
contents.ExpectedManifestBucketOwner = smithy_client_1.expectString(output["ExpectedManifestBucketOwner"]);
|
|
7430
|
+
contents.ExpectedManifestBucketOwner = (0, smithy_client_1.expectString)(output["ExpectedManifestBucketOwner"]);
|
|
7431
7431
|
}
|
|
7432
7432
|
if (output["Bucket"] !== undefined) {
|
|
7433
|
-
contents.Bucket = smithy_client_1.expectString(output["Bucket"]);
|
|
7433
|
+
contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
|
|
7434
7434
|
}
|
|
7435
7435
|
if (output["ManifestPrefix"] !== undefined) {
|
|
7436
|
-
contents.ManifestPrefix = smithy_client_1.expectString(output["ManifestPrefix"]);
|
|
7436
|
+
contents.ManifestPrefix = (0, smithy_client_1.expectString)(output["ManifestPrefix"]);
|
|
7437
7437
|
}
|
|
7438
7438
|
if (output["ManifestEncryption"] !== undefined) {
|
|
7439
7439
|
contents.ManifestEncryption = deserializeAws_restXmlGeneratedManifestEncryption(output["ManifestEncryption"], context);
|
|
7440
7440
|
}
|
|
7441
7441
|
if (output["ManifestFormat"] !== undefined) {
|
|
7442
|
-
contents.ManifestFormat = smithy_client_1.expectString(output["ManifestFormat"]);
|
|
7442
|
+
contents.ManifestFormat = (0, smithy_client_1.expectString)(output["ManifestFormat"]);
|
|
7443
7443
|
}
|
|
7444
7444
|
return contents;
|
|
7445
7445
|
};
|
|
@@ -7448,7 +7448,7 @@ const deserializeAws_restXmlS3ObjectLockLegalHold = (output, context) => {
|
|
|
7448
7448
|
Status: undefined,
|
|
7449
7449
|
};
|
|
7450
7450
|
if (output["Status"] !== undefined) {
|
|
7451
|
-
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
7451
|
+
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
7452
7452
|
}
|
|
7453
7453
|
return contents;
|
|
7454
7454
|
};
|
|
@@ -7467,40 +7467,40 @@ const deserializeAws_restXmlS3ObjectMetadata = (output, context) => {
|
|
|
7467
7467
|
SSEAlgorithm: undefined,
|
|
7468
7468
|
};
|
|
7469
7469
|
if (output["CacheControl"] !== undefined) {
|
|
7470
|
-
contents.CacheControl = smithy_client_1.expectString(output["CacheControl"]);
|
|
7470
|
+
contents.CacheControl = (0, smithy_client_1.expectString)(output["CacheControl"]);
|
|
7471
7471
|
}
|
|
7472
7472
|
if (output["ContentDisposition"] !== undefined) {
|
|
7473
|
-
contents.ContentDisposition = smithy_client_1.expectString(output["ContentDisposition"]);
|
|
7473
|
+
contents.ContentDisposition = (0, smithy_client_1.expectString)(output["ContentDisposition"]);
|
|
7474
7474
|
}
|
|
7475
7475
|
if (output["ContentEncoding"] !== undefined) {
|
|
7476
|
-
contents.ContentEncoding = smithy_client_1.expectString(output["ContentEncoding"]);
|
|
7476
|
+
contents.ContentEncoding = (0, smithy_client_1.expectString)(output["ContentEncoding"]);
|
|
7477
7477
|
}
|
|
7478
7478
|
if (output["ContentLanguage"] !== undefined) {
|
|
7479
|
-
contents.ContentLanguage = smithy_client_1.expectString(output["ContentLanguage"]);
|
|
7479
|
+
contents.ContentLanguage = (0, smithy_client_1.expectString)(output["ContentLanguage"]);
|
|
7480
7480
|
}
|
|
7481
7481
|
if (output.UserMetadata === "") {
|
|
7482
7482
|
contents.UserMetadata = {};
|
|
7483
7483
|
}
|
|
7484
7484
|
if (output["UserMetadata"] !== undefined && output["UserMetadata"]["entry"] !== undefined) {
|
|
7485
|
-
contents.UserMetadata = deserializeAws_restXmlS3UserMetadata(smithy_client_1.getArrayIfSingleItem(output["UserMetadata"]["entry"]), context);
|
|
7485
|
+
contents.UserMetadata = deserializeAws_restXmlS3UserMetadata((0, smithy_client_1.getArrayIfSingleItem)(output["UserMetadata"]["entry"]), context);
|
|
7486
7486
|
}
|
|
7487
7487
|
if (output["ContentLength"] !== undefined) {
|
|
7488
|
-
contents.ContentLength = smithy_client_1.strictParseLong(output["ContentLength"]);
|
|
7488
|
+
contents.ContentLength = (0, smithy_client_1.strictParseLong)(output["ContentLength"]);
|
|
7489
7489
|
}
|
|
7490
7490
|
if (output["ContentMD5"] !== undefined) {
|
|
7491
|
-
contents.ContentMD5 = smithy_client_1.expectString(output["ContentMD5"]);
|
|
7491
|
+
contents.ContentMD5 = (0, smithy_client_1.expectString)(output["ContentMD5"]);
|
|
7492
7492
|
}
|
|
7493
7493
|
if (output["ContentType"] !== undefined) {
|
|
7494
|
-
contents.ContentType = smithy_client_1.expectString(output["ContentType"]);
|
|
7494
|
+
contents.ContentType = (0, smithy_client_1.expectString)(output["ContentType"]);
|
|
7495
7495
|
}
|
|
7496
7496
|
if (output["HttpExpiresDate"] !== undefined) {
|
|
7497
|
-
contents.HttpExpiresDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["HttpExpiresDate"]));
|
|
7497
|
+
contents.HttpExpiresDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["HttpExpiresDate"]));
|
|
7498
7498
|
}
|
|
7499
7499
|
if (output["RequesterCharged"] !== undefined) {
|
|
7500
|
-
contents.RequesterCharged = smithy_client_1.parseBoolean(output["RequesterCharged"]);
|
|
7500
|
+
contents.RequesterCharged = (0, smithy_client_1.parseBoolean)(output["RequesterCharged"]);
|
|
7501
7501
|
}
|
|
7502
7502
|
if (output["SSEAlgorithm"] !== undefined) {
|
|
7503
|
-
contents.SSEAlgorithm = smithy_client_1.expectString(output["SSEAlgorithm"]);
|
|
7503
|
+
contents.SSEAlgorithm = (0, smithy_client_1.expectString)(output["SSEAlgorithm"]);
|
|
7504
7504
|
}
|
|
7505
7505
|
return contents;
|
|
7506
7506
|
};
|
|
@@ -7510,10 +7510,10 @@ const deserializeAws_restXmlS3ObjectOwner = (output, context) => {
|
|
|
7510
7510
|
DisplayName: undefined,
|
|
7511
7511
|
};
|
|
7512
7512
|
if (output["ID"] !== undefined) {
|
|
7513
|
-
contents.ID = smithy_client_1.expectString(output["ID"]);
|
|
7513
|
+
contents.ID = (0, smithy_client_1.expectString)(output["ID"]);
|
|
7514
7514
|
}
|
|
7515
7515
|
if (output["DisplayName"] !== undefined) {
|
|
7516
|
-
contents.DisplayName = smithy_client_1.expectString(output["DisplayName"]);
|
|
7516
|
+
contents.DisplayName = (0, smithy_client_1.expectString)(output["DisplayName"]);
|
|
7517
7517
|
}
|
|
7518
7518
|
return contents;
|
|
7519
7519
|
};
|
|
@@ -7527,10 +7527,10 @@ const deserializeAws_restXmlS3Retention = (output, context) => {
|
|
|
7527
7527
|
Mode: undefined,
|
|
7528
7528
|
};
|
|
7529
7529
|
if (output["RetainUntilDate"] !== undefined) {
|
|
7530
|
-
contents.RetainUntilDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["RetainUntilDate"]));
|
|
7530
|
+
contents.RetainUntilDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["RetainUntilDate"]));
|
|
7531
7531
|
}
|
|
7532
7532
|
if (output["Mode"] !== undefined) {
|
|
7533
|
-
contents.Mode = smithy_client_1.expectString(output["Mode"]);
|
|
7533
|
+
contents.Mode = (0, smithy_client_1.expectString)(output["Mode"]);
|
|
7534
7534
|
}
|
|
7535
7535
|
return contents;
|
|
7536
7536
|
};
|
|
@@ -7558,7 +7558,7 @@ const deserializeAws_restXmlS3SetObjectRetentionOperation = (output, context) =>
|
|
|
7558
7558
|
Retention: undefined,
|
|
7559
7559
|
};
|
|
7560
7560
|
if (output["BypassGovernanceRetention"] !== undefined) {
|
|
7561
|
-
contents.BypassGovernanceRetention = smithy_client_1.parseBoolean(output["BypassGovernanceRetention"]);
|
|
7561
|
+
contents.BypassGovernanceRetention = (0, smithy_client_1.parseBoolean)(output["BypassGovernanceRetention"]);
|
|
7562
7562
|
}
|
|
7563
7563
|
if (output["Retention"] !== undefined) {
|
|
7564
7564
|
contents.Retention = deserializeAws_restXmlS3Retention(output["Retention"], context);
|
|
@@ -7573,7 +7573,7 @@ const deserializeAws_restXmlS3SetObjectTaggingOperation = (output, context) => {
|
|
|
7573
7573
|
contents.TagSet = [];
|
|
7574
7574
|
}
|
|
7575
7575
|
if (output["TagSet"] !== undefined && output["TagSet"]["member"] !== undefined) {
|
|
7576
|
-
contents.TagSet = deserializeAws_restXmlS3TagSet(smithy_client_1.getArrayIfSingleItem(output["TagSet"]["member"]), context);
|
|
7576
|
+
contents.TagSet = deserializeAws_restXmlS3TagSet((0, smithy_client_1.getArrayIfSingleItem)(output["TagSet"]["member"]), context);
|
|
7577
7577
|
}
|
|
7578
7578
|
return contents;
|
|
7579
7579
|
};
|
|
@@ -7583,10 +7583,10 @@ const deserializeAws_restXmlS3Tag = (output, context) => {
|
|
|
7583
7583
|
Value: undefined,
|
|
7584
7584
|
};
|
|
7585
7585
|
if (output["Key"] !== undefined) {
|
|
7586
|
-
contents.Key = smithy_client_1.expectString(output["Key"]);
|
|
7586
|
+
contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
|
|
7587
7587
|
}
|
|
7588
7588
|
if (output["Value"] !== undefined) {
|
|
7589
|
-
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
7589
|
+
contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
|
|
7590
7590
|
}
|
|
7591
7591
|
return contents;
|
|
7592
7592
|
};
|
|
@@ -7607,7 +7607,7 @@ const deserializeAws_restXmlS3UserMetadata = (output, context) => {
|
|
|
7607
7607
|
}
|
|
7608
7608
|
return {
|
|
7609
7609
|
...acc,
|
|
7610
|
-
[pair["key"]]: smithy_client_1.expectString(pair["value"]),
|
|
7610
|
+
[pair["key"]]: (0, smithy_client_1.expectString)(pair["value"]),
|
|
7611
7611
|
};
|
|
7612
7612
|
}, {});
|
|
7613
7613
|
};
|
|
@@ -7618,13 +7618,13 @@ const deserializeAws_restXmlSelectionCriteria = (output, context) => {
|
|
|
7618
7618
|
MinStorageBytesPercentage: undefined,
|
|
7619
7619
|
};
|
|
7620
7620
|
if (output["Delimiter"] !== undefined) {
|
|
7621
|
-
contents.Delimiter = smithy_client_1.expectString(output["Delimiter"]);
|
|
7621
|
+
contents.Delimiter = (0, smithy_client_1.expectString)(output["Delimiter"]);
|
|
7622
7622
|
}
|
|
7623
7623
|
if (output["MaxDepth"] !== undefined) {
|
|
7624
|
-
contents.MaxDepth = smithy_client_1.strictParseInt32(output["MaxDepth"]);
|
|
7624
|
+
contents.MaxDepth = (0, smithy_client_1.strictParseInt32)(output["MaxDepth"]);
|
|
7625
7625
|
}
|
|
7626
7626
|
if (output["MinStorageBytesPercentage"] !== undefined) {
|
|
7627
|
-
contents.MinStorageBytesPercentage = smithy_client_1.strictParseFloat(output["MinStorageBytesPercentage"]);
|
|
7627
|
+
contents.MinStorageBytesPercentage = (0, smithy_client_1.strictParseFloat)(output["MinStorageBytesPercentage"]);
|
|
7628
7628
|
}
|
|
7629
7629
|
return contents;
|
|
7630
7630
|
};
|
|
@@ -7633,7 +7633,7 @@ const deserializeAws_restXmlSSEKMS = (output, context) => {
|
|
|
7633
7633
|
KeyId: undefined,
|
|
7634
7634
|
};
|
|
7635
7635
|
if (output["KeyId"] !== undefined) {
|
|
7636
|
-
contents.KeyId = smithy_client_1.expectString(output["KeyId"]);
|
|
7636
|
+
contents.KeyId = (0, smithy_client_1.expectString)(output["KeyId"]);
|
|
7637
7637
|
}
|
|
7638
7638
|
return contents;
|
|
7639
7639
|
};
|
|
@@ -7642,7 +7642,7 @@ const deserializeAws_restXmlSSEKMSEncryption = (output, context) => {
|
|
|
7642
7642
|
KeyId: undefined,
|
|
7643
7643
|
};
|
|
7644
7644
|
if (output["KeyId"] !== undefined) {
|
|
7645
|
-
contents.KeyId = smithy_client_1.expectString(output["KeyId"]);
|
|
7645
|
+
contents.KeyId = (0, smithy_client_1.expectString)(output["KeyId"]);
|
|
7646
7646
|
}
|
|
7647
7647
|
return contents;
|
|
7648
7648
|
};
|
|
@@ -7659,7 +7659,7 @@ const deserializeAws_restXmlStorageLensAwsOrg = (output, context) => {
|
|
|
7659
7659
|
Arn: undefined,
|
|
7660
7660
|
};
|
|
7661
7661
|
if (output["Arn"] !== undefined) {
|
|
7662
|
-
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
7662
|
+
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
7663
7663
|
}
|
|
7664
7664
|
return contents;
|
|
7665
7665
|
};
|
|
@@ -7675,7 +7675,7 @@ const deserializeAws_restXmlStorageLensConfiguration = (output, context) => {
|
|
|
7675
7675
|
StorageLensArn: undefined,
|
|
7676
7676
|
};
|
|
7677
7677
|
if (output["Id"] !== undefined) {
|
|
7678
|
-
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
7678
|
+
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
7679
7679
|
}
|
|
7680
7680
|
if (output["AccountLevel"] !== undefined) {
|
|
7681
7681
|
contents.AccountLevel = deserializeAws_restXmlAccountLevel(output["AccountLevel"], context);
|
|
@@ -7690,13 +7690,13 @@ const deserializeAws_restXmlStorageLensConfiguration = (output, context) => {
|
|
|
7690
7690
|
contents.DataExport = deserializeAws_restXmlStorageLensDataExport(output["DataExport"], context);
|
|
7691
7691
|
}
|
|
7692
7692
|
if (output["IsEnabled"] !== undefined) {
|
|
7693
|
-
contents.IsEnabled = smithy_client_1.parseBoolean(output["IsEnabled"]);
|
|
7693
|
+
contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
|
|
7694
7694
|
}
|
|
7695
7695
|
if (output["AwsOrg"] !== undefined) {
|
|
7696
7696
|
contents.AwsOrg = deserializeAws_restXmlStorageLensAwsOrg(output["AwsOrg"], context);
|
|
7697
7697
|
}
|
|
7698
7698
|
if (output["StorageLensArn"] !== undefined) {
|
|
7699
|
-
contents.StorageLensArn = smithy_client_1.expectString(output["StorageLensArn"]);
|
|
7699
|
+
contents.StorageLensArn = (0, smithy_client_1.expectString)(output["StorageLensArn"]);
|
|
7700
7700
|
}
|
|
7701
7701
|
return contents;
|
|
7702
7702
|
};
|
|
@@ -7742,10 +7742,10 @@ const deserializeAws_restXmlStorageLensTag = (output, context) => {
|
|
|
7742
7742
|
Value: undefined,
|
|
7743
7743
|
};
|
|
7744
7744
|
if (output["Key"] !== undefined) {
|
|
7745
|
-
contents.Key = smithy_client_1.expectString(output["Key"]);
|
|
7745
|
+
contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
|
|
7746
7746
|
}
|
|
7747
7747
|
if (output["Value"] !== undefined) {
|
|
7748
|
-
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
7748
|
+
contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
|
|
7749
7749
|
}
|
|
7750
7750
|
return contents;
|
|
7751
7751
|
};
|
|
@@ -7766,13 +7766,13 @@ const deserializeAws_restXmlTransition = (output, context) => {
|
|
|
7766
7766
|
StorageClass: undefined,
|
|
7767
7767
|
};
|
|
7768
7768
|
if (output["Date"] !== undefined) {
|
|
7769
|
-
contents.Date = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Date"]));
|
|
7769
|
+
contents.Date = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["Date"]));
|
|
7770
7770
|
}
|
|
7771
7771
|
if (output["Days"] !== undefined) {
|
|
7772
|
-
contents.Days = smithy_client_1.strictParseInt32(output["Days"]);
|
|
7772
|
+
contents.Days = (0, smithy_client_1.strictParseInt32)(output["Days"]);
|
|
7773
7773
|
}
|
|
7774
7774
|
if (output["StorageClass"] !== undefined) {
|
|
7775
|
-
contents.StorageClass = smithy_client_1.expectString(output["StorageClass"]);
|
|
7775
|
+
contents.StorageClass = (0, smithy_client_1.expectString)(output["StorageClass"]);
|
|
7776
7776
|
}
|
|
7777
7777
|
return contents;
|
|
7778
7778
|
};
|
|
@@ -7791,7 +7791,7 @@ const deserializeAws_restXmlVpcConfiguration = (output, context) => {
|
|
|
7791
7791
|
VpcId: undefined,
|
|
7792
7792
|
};
|
|
7793
7793
|
if (output["VpcId"] !== undefined) {
|
|
7794
|
-
contents.VpcId = smithy_client_1.expectString(output["VpcId"]);
|
|
7794
|
+
contents.VpcId = (0, smithy_client_1.expectString)(output["VpcId"]);
|
|
7795
7795
|
}
|
|
7796
7796
|
return contents;
|
|
7797
7797
|
};
|
|
@@ -7818,12 +7818,12 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
7818
7818
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
7819
7819
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
7820
7820
|
if (encoded.length) {
|
|
7821
|
-
const parsedObj = fast_xml_parser_1.parse(encoded, {
|
|
7821
|
+
const parsedObj = (0, fast_xml_parser_1.parse)(encoded, {
|
|
7822
7822
|
attributeNamePrefix: "",
|
|
7823
7823
|
ignoreAttributes: false,
|
|
7824
7824
|
parseNodeValue: false,
|
|
7825
7825
|
trimValues: false,
|
|
7826
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
|
|
7826
|
+
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : (0, entities_1.decodeHTML)(val)),
|
|
7827
7827
|
});
|
|
7828
7828
|
const textNodeName = "#text";
|
|
7829
7829
|
const key = Object.keys(parsedObj)[0];
|
|
@@ -7832,7 +7832,7 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
7832
7832
|
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
7833
7833
|
delete parsedObjToReturn[textNodeName];
|
|
7834
7834
|
}
|
|
7835
|
-
return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
|
|
7835
|
+
return (0, smithy_client_1.getValueFromTextNode)(parsedObjToReturn);
|
|
7836
7836
|
}
|
|
7837
7837
|
return {};
|
|
7838
7838
|
});
|