@aws-sdk/client-securityhub 3.28.0 → 3.32.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 +35 -0
- package/dist/cjs/models/models_0.js +209 -209
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/models/models_1.js +207 -4
- package/dist/cjs/models/models_1.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +1022 -219
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +159 -159
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/models/models_1.js +159 -0
- package/dist/es/models/models_1.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_restJson1.js +1061 -326
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/types/models/models_0.d.ts +882 -763
- package/dist/types/models/models_1.d.ts +653 -16
- package/dist/types/ts3.4/models/models_0.d.ts +882 -763
- package/dist/types/ts3.4/models/models_1.d.ts +653 -16
- package/models/models_0.ts +991 -852
- package/models/models_1.ts +817 -24
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +1418 -276
|
@@ -130,6 +130,7 @@ import {
|
|
|
130
130
|
ActionRemoteIpDetails,
|
|
131
131
|
ActionRemotePortDetails,
|
|
132
132
|
ActionTarget,
|
|
133
|
+
Adjustment,
|
|
133
134
|
AdminAccount,
|
|
134
135
|
AvailabilityZone,
|
|
135
136
|
AwsApiCallAction,
|
|
@@ -144,6 +145,10 @@ import {
|
|
|
144
145
|
AwsApiGatewayV2RouteSettings,
|
|
145
146
|
AwsApiGatewayV2StageDetails,
|
|
146
147
|
AwsAutoScalingAutoScalingGroupDetails,
|
|
148
|
+
AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails,
|
|
149
|
+
AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails,
|
|
150
|
+
AwsAutoScalingLaunchConfigurationDetails,
|
|
151
|
+
AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails,
|
|
147
152
|
AwsCertificateManagerCertificateDetails,
|
|
148
153
|
AwsCertificateManagerCertificateDomainValidationOption,
|
|
149
154
|
AwsCertificateManagerCertificateExtendedKeyUsage,
|
|
@@ -205,6 +210,12 @@ import {
|
|
|
205
210
|
AwsEc2VolumeAttachment,
|
|
206
211
|
AwsEc2VolumeDetails,
|
|
207
212
|
AwsEc2VpcDetails,
|
|
213
|
+
AwsEc2VpnConnectionDetails,
|
|
214
|
+
AwsEc2VpnConnectionOptionsDetails,
|
|
215
|
+
AwsEc2VpnConnectionOptionsTunnelOptionsDetails,
|
|
216
|
+
AwsEc2VpnConnectionRoutesDetails,
|
|
217
|
+
AwsEc2VpnConnectionVgwTelemetryDetails,
|
|
218
|
+
AwsEcrContainerImageDetails,
|
|
208
219
|
AwsEcsClusterClusterSettingsDetails,
|
|
209
220
|
AwsEcsClusterConfigurationDetails,
|
|
210
221
|
AwsEcsClusterConfigurationExecuteCommandConfigurationDetails,
|
|
@@ -357,23 +368,27 @@ import {
|
|
|
357
368
|
AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails,
|
|
358
369
|
AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails,
|
|
359
370
|
AwsS3BucketDetails,
|
|
371
|
+
AwsS3BucketLoggingConfiguration,
|
|
372
|
+
AwsS3BucketNotificationConfiguration,
|
|
373
|
+
AwsS3BucketNotificationConfigurationDetail,
|
|
374
|
+
AwsS3BucketNotificationConfigurationFilter,
|
|
375
|
+
AwsS3BucketNotificationConfigurationS3KeyFilter,
|
|
376
|
+
AwsS3BucketNotificationConfigurationS3KeyFilterRule,
|
|
360
377
|
AwsS3BucketServerSideEncryptionByDefault,
|
|
361
378
|
AwsS3BucketServerSideEncryptionConfiguration,
|
|
362
379
|
AwsS3BucketServerSideEncryptionRule,
|
|
380
|
+
AwsS3BucketWebsiteConfiguration,
|
|
381
|
+
AwsS3BucketWebsiteConfigurationRedirectTo,
|
|
382
|
+
AwsS3BucketWebsiteConfigurationRoutingRule,
|
|
383
|
+
AwsS3BucketWebsiteConfigurationRoutingRuleCondition,
|
|
384
|
+
AwsS3BucketWebsiteConfigurationRoutingRuleRedirect,
|
|
363
385
|
AwsS3ObjectDetails,
|
|
364
386
|
AwsSecretsManagerSecretDetails,
|
|
365
387
|
AwsSecretsManagerSecretRotationRules,
|
|
366
|
-
AwsSnsTopicSubscription,
|
|
367
|
-
Cell,
|
|
368
388
|
CidrBlockAssociation,
|
|
369
389
|
City,
|
|
370
|
-
ClassificationResult,
|
|
371
|
-
ClassificationStatus,
|
|
372
390
|
Compliance,
|
|
373
391
|
Country,
|
|
374
|
-
CustomDataIdentifiersDetections,
|
|
375
|
-
CustomDataIdentifiersResult,
|
|
376
|
-
DataClassificationDetails,
|
|
377
392
|
DnsRequestAction,
|
|
378
393
|
FindingProviderFields,
|
|
379
394
|
FindingProviderSeverity,
|
|
@@ -387,35 +402,21 @@ import {
|
|
|
387
402
|
LimitExceededException,
|
|
388
403
|
LoadBalancerState,
|
|
389
404
|
Malware,
|
|
390
|
-
Network,
|
|
391
405
|
NetworkConnectionAction,
|
|
392
|
-
NetworkHeader,
|
|
393
|
-
NetworkPathComponent,
|
|
394
|
-
NetworkPathComponentDetails,
|
|
395
|
-
Note,
|
|
396
|
-
Occurrences,
|
|
397
|
-
Page,
|
|
398
|
-
PatchSummary,
|
|
399
406
|
PortProbeAction,
|
|
400
407
|
PortProbeDetail,
|
|
401
408
|
PortRange,
|
|
402
409
|
PortRangeFromTo,
|
|
403
|
-
ProcessDetails,
|
|
404
|
-
Range,
|
|
405
|
-
Recommendation,
|
|
406
410
|
RelatedFinding,
|
|
407
|
-
Remediation,
|
|
408
411
|
ResourceNotFoundException,
|
|
409
|
-
SensitiveDataDetections,
|
|
410
|
-
SensitiveDataResult,
|
|
411
412
|
StatusReason,
|
|
412
|
-
_Record,
|
|
413
413
|
} from "../models/models_0";
|
|
414
414
|
import {
|
|
415
415
|
AwsSecurityFinding,
|
|
416
416
|
AwsSecurityFindingFilters,
|
|
417
417
|
AwsSecurityFindingIdentifier,
|
|
418
418
|
AwsSnsTopicDetails,
|
|
419
|
+
AwsSnsTopicSubscription,
|
|
419
420
|
AwsSqsQueueDetails,
|
|
420
421
|
AwsSsmComplianceSummary,
|
|
421
422
|
AwsSsmPatch,
|
|
@@ -423,8 +424,14 @@ import {
|
|
|
423
424
|
AwsWafWebAclDetails,
|
|
424
425
|
AwsWafWebAclRule,
|
|
425
426
|
BatchUpdateFindingsUnprocessedFinding,
|
|
427
|
+
Cell,
|
|
428
|
+
ClassificationResult,
|
|
429
|
+
ClassificationStatus,
|
|
426
430
|
ContainerDetails,
|
|
431
|
+
CustomDataIdentifiersDetections,
|
|
432
|
+
CustomDataIdentifiersResult,
|
|
427
433
|
Cvss,
|
|
434
|
+
DataClassificationDetails,
|
|
428
435
|
DateFilter,
|
|
429
436
|
DateRange,
|
|
430
437
|
ImportFindingsError,
|
|
@@ -437,13 +444,27 @@ import {
|
|
|
437
444
|
KeywordFilter,
|
|
438
445
|
MapFilter,
|
|
439
446
|
Member,
|
|
447
|
+
Network,
|
|
448
|
+
NetworkHeader,
|
|
449
|
+
NetworkPathComponent,
|
|
450
|
+
NetworkPathComponentDetails,
|
|
451
|
+
Note,
|
|
440
452
|
NoteUpdate,
|
|
441
453
|
NumberFilter,
|
|
454
|
+
Occurrences,
|
|
455
|
+
Page,
|
|
456
|
+
PatchSummary,
|
|
457
|
+
ProcessDetails,
|
|
442
458
|
Product,
|
|
459
|
+
Range,
|
|
460
|
+
Recommendation,
|
|
461
|
+
Remediation,
|
|
443
462
|
Resource,
|
|
444
463
|
ResourceConflictException,
|
|
445
464
|
ResourceDetails,
|
|
446
465
|
Result,
|
|
466
|
+
SensitiveDataDetections,
|
|
467
|
+
SensitiveDataResult,
|
|
447
468
|
Severity,
|
|
448
469
|
SeverityUpdate,
|
|
449
470
|
SoftwarePackage,
|
|
@@ -461,14 +482,19 @@ import {
|
|
|
461
482
|
WafOverrideAction,
|
|
462
483
|
Workflow,
|
|
463
484
|
WorkflowUpdate,
|
|
485
|
+
_Record,
|
|
464
486
|
} from "../models/models_1";
|
|
465
487
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
466
488
|
import {
|
|
467
489
|
expectBoolean as __expectBoolean,
|
|
468
|
-
|
|
490
|
+
expectInt32 as __expectInt32,
|
|
491
|
+
expectLong as __expectLong,
|
|
492
|
+
expectNonNull as __expectNonNull,
|
|
493
|
+
expectObject as __expectObject,
|
|
469
494
|
expectString as __expectString,
|
|
470
495
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
471
|
-
|
|
496
|
+
limitedParseDouble as __limitedParseDouble,
|
|
497
|
+
parseRfc3339DateTime as __parseRfc3339DateTime,
|
|
472
498
|
serializeFloat as __serializeFloat,
|
|
473
499
|
} from "@aws-sdk/smithy-client";
|
|
474
500
|
import {
|
|
@@ -2094,7 +2120,7 @@ export const deserializeAws_restJson1BatchDisableStandardsCommand = async (
|
|
|
2094
2120
|
$metadata: deserializeMetadata(output),
|
|
2095
2121
|
StandardsSubscriptions: undefined,
|
|
2096
2122
|
};
|
|
2097
|
-
const data: any = await parseBody(output.body, context);
|
|
2123
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2098
2124
|
if (data.StandardsSubscriptions !== undefined && data.StandardsSubscriptions !== null) {
|
|
2099
2125
|
contents.StandardsSubscriptions = deserializeAws_restJson1StandardsSubscriptions(
|
|
2100
2126
|
data.StandardsSubscriptions,
|
|
@@ -2176,7 +2202,7 @@ export const deserializeAws_restJson1BatchEnableStandardsCommand = async (
|
|
|
2176
2202
|
$metadata: deserializeMetadata(output),
|
|
2177
2203
|
StandardsSubscriptions: undefined,
|
|
2178
2204
|
};
|
|
2179
|
-
const data: any = await parseBody(output.body, context);
|
|
2205
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2180
2206
|
if (data.StandardsSubscriptions !== undefined && data.StandardsSubscriptions !== null) {
|
|
2181
2207
|
contents.StandardsSubscriptions = deserializeAws_restJson1StandardsSubscriptions(
|
|
2182
2208
|
data.StandardsSubscriptions,
|
|
@@ -2260,15 +2286,15 @@ export const deserializeAws_restJson1BatchImportFindingsCommand = async (
|
|
|
2260
2286
|
FailedFindings: undefined,
|
|
2261
2287
|
SuccessCount: undefined,
|
|
2262
2288
|
};
|
|
2263
|
-
const data: any = await parseBody(output.body, context);
|
|
2289
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2264
2290
|
if (data.FailedCount !== undefined && data.FailedCount !== null) {
|
|
2265
|
-
contents.FailedCount =
|
|
2291
|
+
contents.FailedCount = __expectInt32(data.FailedCount);
|
|
2266
2292
|
}
|
|
2267
2293
|
if (data.FailedFindings !== undefined && data.FailedFindings !== null) {
|
|
2268
2294
|
contents.FailedFindings = deserializeAws_restJson1ImportFindingsErrorList(data.FailedFindings, context);
|
|
2269
2295
|
}
|
|
2270
2296
|
if (data.SuccessCount !== undefined && data.SuccessCount !== null) {
|
|
2271
|
-
contents.SuccessCount =
|
|
2297
|
+
contents.SuccessCount = __expectInt32(data.SuccessCount);
|
|
2272
2298
|
}
|
|
2273
2299
|
return Promise.resolve(contents);
|
|
2274
2300
|
};
|
|
@@ -2346,7 +2372,7 @@ export const deserializeAws_restJson1BatchUpdateFindingsCommand = async (
|
|
|
2346
2372
|
ProcessedFindings: undefined,
|
|
2347
2373
|
UnprocessedFindings: undefined,
|
|
2348
2374
|
};
|
|
2349
|
-
const data: any = await parseBody(output.body, context);
|
|
2375
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2350
2376
|
if (data.ProcessedFindings !== undefined && data.ProcessedFindings !== null) {
|
|
2351
2377
|
contents.ProcessedFindings = deserializeAws_restJson1AwsSecurityFindingIdentifierList(
|
|
2352
2378
|
data.ProcessedFindings,
|
|
@@ -2434,7 +2460,7 @@ export const deserializeAws_restJson1CreateActionTargetCommand = async (
|
|
|
2434
2460
|
$metadata: deserializeMetadata(output),
|
|
2435
2461
|
ActionTargetArn: undefined,
|
|
2436
2462
|
};
|
|
2437
|
-
const data: any = await parseBody(output.body, context);
|
|
2463
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2438
2464
|
if (data.ActionTargetArn !== undefined && data.ActionTargetArn !== null) {
|
|
2439
2465
|
contents.ActionTargetArn = __expectString(data.ActionTargetArn);
|
|
2440
2466
|
}
|
|
@@ -2521,7 +2547,7 @@ export const deserializeAws_restJson1CreateInsightCommand = async (
|
|
|
2521
2547
|
$metadata: deserializeMetadata(output),
|
|
2522
2548
|
InsightArn: undefined,
|
|
2523
2549
|
};
|
|
2524
|
-
const data: any = await parseBody(output.body, context);
|
|
2550
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2525
2551
|
if (data.InsightArn !== undefined && data.InsightArn !== null) {
|
|
2526
2552
|
contents.InsightArn = __expectString(data.InsightArn);
|
|
2527
2553
|
}
|
|
@@ -2608,7 +2634,7 @@ export const deserializeAws_restJson1CreateMembersCommand = async (
|
|
|
2608
2634
|
$metadata: deserializeMetadata(output),
|
|
2609
2635
|
UnprocessedAccounts: undefined,
|
|
2610
2636
|
};
|
|
2611
|
-
const data: any = await parseBody(output.body, context);
|
|
2637
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2612
2638
|
if (data.UnprocessedAccounts !== undefined && data.UnprocessedAccounts !== null) {
|
|
2613
2639
|
contents.UnprocessedAccounts = deserializeAws_restJson1ResultList(data.UnprocessedAccounts, context);
|
|
2614
2640
|
}
|
|
@@ -2695,7 +2721,7 @@ export const deserializeAws_restJson1DeclineInvitationsCommand = async (
|
|
|
2695
2721
|
$metadata: deserializeMetadata(output),
|
|
2696
2722
|
UnprocessedAccounts: undefined,
|
|
2697
2723
|
};
|
|
2698
|
-
const data: any = await parseBody(output.body, context);
|
|
2724
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2699
2725
|
if (data.UnprocessedAccounts !== undefined && data.UnprocessedAccounts !== null) {
|
|
2700
2726
|
contents.UnprocessedAccounts = deserializeAws_restJson1ResultList(data.UnprocessedAccounts, context);
|
|
2701
2727
|
}
|
|
@@ -2774,7 +2800,7 @@ export const deserializeAws_restJson1DeleteActionTargetCommand = async (
|
|
|
2774
2800
|
$metadata: deserializeMetadata(output),
|
|
2775
2801
|
ActionTargetArn: undefined,
|
|
2776
2802
|
};
|
|
2777
|
-
const data: any = await parseBody(output.body, context);
|
|
2803
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2778
2804
|
if (data.ActionTargetArn !== undefined && data.ActionTargetArn !== null) {
|
|
2779
2805
|
contents.ActionTargetArn = __expectString(data.ActionTargetArn);
|
|
2780
2806
|
}
|
|
@@ -2853,7 +2879,7 @@ export const deserializeAws_restJson1DeleteInsightCommand = async (
|
|
|
2853
2879
|
$metadata: deserializeMetadata(output),
|
|
2854
2880
|
InsightArn: undefined,
|
|
2855
2881
|
};
|
|
2856
|
-
const data: any = await parseBody(output.body, context);
|
|
2882
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2857
2883
|
if (data.InsightArn !== undefined && data.InsightArn !== null) {
|
|
2858
2884
|
contents.InsightArn = __expectString(data.InsightArn);
|
|
2859
2885
|
}
|
|
@@ -2940,7 +2966,7 @@ export const deserializeAws_restJson1DeleteInvitationsCommand = async (
|
|
|
2940
2966
|
$metadata: deserializeMetadata(output),
|
|
2941
2967
|
UnprocessedAccounts: undefined,
|
|
2942
2968
|
};
|
|
2943
|
-
const data: any = await parseBody(output.body, context);
|
|
2969
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2944
2970
|
if (data.UnprocessedAccounts !== undefined && data.UnprocessedAccounts !== null) {
|
|
2945
2971
|
contents.UnprocessedAccounts = deserializeAws_restJson1ResultList(data.UnprocessedAccounts, context);
|
|
2946
2972
|
}
|
|
@@ -3027,7 +3053,7 @@ export const deserializeAws_restJson1DeleteMembersCommand = async (
|
|
|
3027
3053
|
$metadata: deserializeMetadata(output),
|
|
3028
3054
|
UnprocessedAccounts: undefined,
|
|
3029
3055
|
};
|
|
3030
|
-
const data: any = await parseBody(output.body, context);
|
|
3056
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3031
3057
|
if (data.UnprocessedAccounts !== undefined && data.UnprocessedAccounts !== null) {
|
|
3032
3058
|
contents.UnprocessedAccounts = deserializeAws_restJson1ResultList(data.UnprocessedAccounts, context);
|
|
3033
3059
|
}
|
|
@@ -3115,7 +3141,7 @@ export const deserializeAws_restJson1DescribeActionTargetsCommand = async (
|
|
|
3115
3141
|
ActionTargets: undefined,
|
|
3116
3142
|
NextToken: undefined,
|
|
3117
3143
|
};
|
|
3118
|
-
const data: any = await parseBody(output.body, context);
|
|
3144
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3119
3145
|
if (data.ActionTargets !== undefined && data.ActionTargets !== null) {
|
|
3120
3146
|
contents.ActionTargets = deserializeAws_restJson1ActionTargetList(data.ActionTargets, context);
|
|
3121
3147
|
}
|
|
@@ -3199,7 +3225,7 @@ export const deserializeAws_restJson1DescribeHubCommand = async (
|
|
|
3199
3225
|
HubArn: undefined,
|
|
3200
3226
|
SubscribedAt: undefined,
|
|
3201
3227
|
};
|
|
3202
|
-
const data: any = await parseBody(output.body, context);
|
|
3228
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3203
3229
|
if (data.AutoEnableControls !== undefined && data.AutoEnableControls !== null) {
|
|
3204
3230
|
contents.AutoEnableControls = __expectBoolean(data.AutoEnableControls);
|
|
3205
3231
|
}
|
|
@@ -3293,7 +3319,7 @@ export const deserializeAws_restJson1DescribeOrganizationConfigurationCommand =
|
|
|
3293
3319
|
AutoEnable: undefined,
|
|
3294
3320
|
MemberAccountLimitReached: undefined,
|
|
3295
3321
|
};
|
|
3296
|
-
const data: any = await parseBody(output.body, context);
|
|
3322
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3297
3323
|
if (data.AutoEnable !== undefined && data.AutoEnable !== null) {
|
|
3298
3324
|
contents.AutoEnable = __expectBoolean(data.AutoEnable);
|
|
3299
3325
|
}
|
|
@@ -3376,7 +3402,7 @@ export const deserializeAws_restJson1DescribeProductsCommand = async (
|
|
|
3376
3402
|
NextToken: undefined,
|
|
3377
3403
|
Products: undefined,
|
|
3378
3404
|
};
|
|
3379
|
-
const data: any = await parseBody(output.body, context);
|
|
3405
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3380
3406
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
3381
3407
|
contents.NextToken = __expectString(data.NextToken);
|
|
3382
3408
|
}
|
|
@@ -3459,7 +3485,7 @@ export const deserializeAws_restJson1DescribeStandardsCommand = async (
|
|
|
3459
3485
|
NextToken: undefined,
|
|
3460
3486
|
Standards: undefined,
|
|
3461
3487
|
};
|
|
3462
|
-
const data: any = await parseBody(output.body, context);
|
|
3488
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3463
3489
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
3464
3490
|
contents.NextToken = __expectString(data.NextToken);
|
|
3465
3491
|
}
|
|
@@ -3534,7 +3560,7 @@ export const deserializeAws_restJson1DescribeStandardsControlsCommand = async (
|
|
|
3534
3560
|
Controls: undefined,
|
|
3535
3561
|
NextToken: undefined,
|
|
3536
3562
|
};
|
|
3537
|
-
const data: any = await parseBody(output.body, context);
|
|
3563
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3538
3564
|
if (data.Controls !== undefined && data.Controls !== null) {
|
|
3539
3565
|
contents.Controls = deserializeAws_restJson1StandardsControls(data.Controls, context);
|
|
3540
3566
|
}
|
|
@@ -4098,7 +4124,7 @@ export const deserializeAws_restJson1EnableImportFindingsForProductCommand = asy
|
|
|
4098
4124
|
$metadata: deserializeMetadata(output),
|
|
4099
4125
|
ProductSubscriptionArn: undefined,
|
|
4100
4126
|
};
|
|
4101
|
-
const data: any = await parseBody(output.body, context);
|
|
4127
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4102
4128
|
if (data.ProductSubscriptionArn !== undefined && data.ProductSubscriptionArn !== null) {
|
|
4103
4129
|
contents.ProductSubscriptionArn = __expectString(data.ProductSubscriptionArn);
|
|
4104
4130
|
}
|
|
@@ -4343,7 +4369,7 @@ export const deserializeAws_restJson1GetAdministratorAccountCommand = async (
|
|
|
4343
4369
|
$metadata: deserializeMetadata(output),
|
|
4344
4370
|
Administrator: undefined,
|
|
4345
4371
|
};
|
|
4346
|
-
const data: any = await parseBody(output.body, context);
|
|
4372
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4347
4373
|
if (data.Administrator !== undefined && data.Administrator !== null) {
|
|
4348
4374
|
contents.Administrator = deserializeAws_restJson1Invitation(data.Administrator, context);
|
|
4349
4375
|
}
|
|
@@ -4431,7 +4457,7 @@ export const deserializeAws_restJson1GetEnabledStandardsCommand = async (
|
|
|
4431
4457
|
NextToken: undefined,
|
|
4432
4458
|
StandardsSubscriptions: undefined,
|
|
4433
4459
|
};
|
|
4434
|
-
const data: any = await parseBody(output.body, context);
|
|
4460
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4435
4461
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
4436
4462
|
contents.NextToken = __expectString(data.NextToken);
|
|
4437
4463
|
}
|
|
@@ -4517,7 +4543,7 @@ export const deserializeAws_restJson1GetFindingsCommand = async (
|
|
|
4517
4543
|
Findings: undefined,
|
|
4518
4544
|
NextToken: undefined,
|
|
4519
4545
|
};
|
|
4520
|
-
const data: any = await parseBody(output.body, context);
|
|
4546
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4521
4547
|
if (data.Findings !== undefined && data.Findings !== null) {
|
|
4522
4548
|
contents.Findings = deserializeAws_restJson1AwsSecurityFindingList(data.Findings, context);
|
|
4523
4549
|
}
|
|
@@ -4599,7 +4625,7 @@ export const deserializeAws_restJson1GetInsightResultsCommand = async (
|
|
|
4599
4625
|
$metadata: deserializeMetadata(output),
|
|
4600
4626
|
InsightResults: undefined,
|
|
4601
4627
|
};
|
|
4602
|
-
const data: any = await parseBody(output.body, context);
|
|
4628
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4603
4629
|
if (data.InsightResults !== undefined && data.InsightResults !== null) {
|
|
4604
4630
|
contents.InsightResults = deserializeAws_restJson1InsightResults(data.InsightResults, context);
|
|
4605
4631
|
}
|
|
@@ -4687,7 +4713,7 @@ export const deserializeAws_restJson1GetInsightsCommand = async (
|
|
|
4687
4713
|
Insights: undefined,
|
|
4688
4714
|
NextToken: undefined,
|
|
4689
4715
|
};
|
|
4690
|
-
const data: any = await parseBody(output.body, context);
|
|
4716
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4691
4717
|
if (data.Insights !== undefined && data.Insights !== null) {
|
|
4692
4718
|
contents.Insights = deserializeAws_restJson1InsightList(data.Insights, context);
|
|
4693
4719
|
}
|
|
@@ -4777,9 +4803,9 @@ export const deserializeAws_restJson1GetInvitationsCountCommand = async (
|
|
|
4777
4803
|
$metadata: deserializeMetadata(output),
|
|
4778
4804
|
InvitationsCount: undefined,
|
|
4779
4805
|
};
|
|
4780
|
-
const data: any = await parseBody(output.body, context);
|
|
4806
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4781
4807
|
if (data.InvitationsCount !== undefined && data.InvitationsCount !== null) {
|
|
4782
|
-
contents.InvitationsCount =
|
|
4808
|
+
contents.InvitationsCount = __expectInt32(data.InvitationsCount);
|
|
4783
4809
|
}
|
|
4784
4810
|
return Promise.resolve(contents);
|
|
4785
4811
|
};
|
|
@@ -4856,7 +4882,7 @@ export const deserializeAws_restJson1GetMasterAccountCommand = async (
|
|
|
4856
4882
|
$metadata: deserializeMetadata(output),
|
|
4857
4883
|
Master: undefined,
|
|
4858
4884
|
};
|
|
4859
|
-
const data: any = await parseBody(output.body, context);
|
|
4885
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4860
4886
|
if (data.Master !== undefined && data.Master !== null) {
|
|
4861
4887
|
contents.Master = deserializeAws_restJson1Invitation(data.Master, context);
|
|
4862
4888
|
}
|
|
@@ -4944,7 +4970,7 @@ export const deserializeAws_restJson1GetMembersCommand = async (
|
|
|
4944
4970
|
Members: undefined,
|
|
4945
4971
|
UnprocessedAccounts: undefined,
|
|
4946
4972
|
};
|
|
4947
|
-
const data: any = await parseBody(output.body, context);
|
|
4973
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4948
4974
|
if (data.Members !== undefined && data.Members !== null) {
|
|
4949
4975
|
contents.Members = deserializeAws_restJson1MemberList(data.Members, context);
|
|
4950
4976
|
}
|
|
@@ -5034,7 +5060,7 @@ export const deserializeAws_restJson1InviteMembersCommand = async (
|
|
|
5034
5060
|
$metadata: deserializeMetadata(output),
|
|
5035
5061
|
UnprocessedAccounts: undefined,
|
|
5036
5062
|
};
|
|
5037
|
-
const data: any = await parseBody(output.body, context);
|
|
5063
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5038
5064
|
if (data.UnprocessedAccounts !== undefined && data.UnprocessedAccounts !== null) {
|
|
5039
5065
|
contents.UnprocessedAccounts = deserializeAws_restJson1ResultList(data.UnprocessedAccounts, context);
|
|
5040
5066
|
}
|
|
@@ -5122,7 +5148,7 @@ export const deserializeAws_restJson1ListEnabledProductsForImportCommand = async
|
|
|
5122
5148
|
NextToken: undefined,
|
|
5123
5149
|
ProductSubscriptions: undefined,
|
|
5124
5150
|
};
|
|
5125
|
-
const data: any = await parseBody(output.body, context);
|
|
5151
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5126
5152
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5127
5153
|
contents.NextToken = __expectString(data.NextToken);
|
|
5128
5154
|
}
|
|
@@ -5200,7 +5226,7 @@ export const deserializeAws_restJson1ListInvitationsCommand = async (
|
|
|
5200
5226
|
Invitations: undefined,
|
|
5201
5227
|
NextToken: undefined,
|
|
5202
5228
|
};
|
|
5203
|
-
const data: any = await parseBody(output.body, context);
|
|
5229
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5204
5230
|
if (data.Invitations !== undefined && data.Invitations !== null) {
|
|
5205
5231
|
contents.Invitations = deserializeAws_restJson1InvitationList(data.Invitations, context);
|
|
5206
5232
|
}
|
|
@@ -5283,7 +5309,7 @@ export const deserializeAws_restJson1ListMembersCommand = async (
|
|
|
5283
5309
|
Members: undefined,
|
|
5284
5310
|
NextToken: undefined,
|
|
5285
5311
|
};
|
|
5286
|
-
const data: any = await parseBody(output.body, context);
|
|
5312
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5287
5313
|
if (data.Members !== undefined && data.Members !== null) {
|
|
5288
5314
|
contents.Members = deserializeAws_restJson1MemberList(data.Members, context);
|
|
5289
5315
|
}
|
|
@@ -5366,7 +5392,7 @@ export const deserializeAws_restJson1ListOrganizationAdminAccountsCommand = asyn
|
|
|
5366
5392
|
AdminAccounts: undefined,
|
|
5367
5393
|
NextToken: undefined,
|
|
5368
5394
|
};
|
|
5369
|
-
const data: any = await parseBody(output.body, context);
|
|
5395
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5370
5396
|
if (data.AdminAccounts !== undefined && data.AdminAccounts !== null) {
|
|
5371
5397
|
contents.AdminAccounts = deserializeAws_restJson1AdminAccounts(data.AdminAccounts, context);
|
|
5372
5398
|
}
|
|
@@ -5448,7 +5474,7 @@ export const deserializeAws_restJson1ListTagsForResourceCommand = async (
|
|
|
5448
5474
|
$metadata: deserializeMetadata(output),
|
|
5449
5475
|
Tags: undefined,
|
|
5450
5476
|
};
|
|
5451
|
-
const data: any = await parseBody(output.body, context);
|
|
5477
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5452
5478
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
5453
5479
|
contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
|
|
5454
5480
|
}
|
|
@@ -6352,6 +6378,24 @@ const serializeAws_restJson1ActionRemotePortDetails = (
|
|
|
6352
6378
|
};
|
|
6353
6379
|
};
|
|
6354
6380
|
|
|
6381
|
+
const serializeAws_restJson1Adjustment = (input: Adjustment, context: __SerdeContext): any => {
|
|
6382
|
+
return {
|
|
6383
|
+
...(input.Metric !== undefined && input.Metric !== null && { Metric: input.Metric }),
|
|
6384
|
+
...(input.Reason !== undefined && input.Reason !== null && { Reason: input.Reason }),
|
|
6385
|
+
};
|
|
6386
|
+
};
|
|
6387
|
+
|
|
6388
|
+
const serializeAws_restJson1AdjustmentList = (input: Adjustment[], context: __SerdeContext): any => {
|
|
6389
|
+
return input
|
|
6390
|
+
.filter((e: any) => e != null)
|
|
6391
|
+
.map((entry) => {
|
|
6392
|
+
if (entry === null) {
|
|
6393
|
+
return null as any;
|
|
6394
|
+
}
|
|
6395
|
+
return serializeAws_restJson1Adjustment(entry, context);
|
|
6396
|
+
});
|
|
6397
|
+
};
|
|
6398
|
+
|
|
6355
6399
|
const serializeAws_restJson1ArnList = (input: string[], context: __SerdeContext): any => {
|
|
6356
6400
|
return input
|
|
6357
6401
|
.filter((e: any) => e != null)
|
|
@@ -6660,6 +6704,111 @@ const serializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails = (
|
|
|
6660
6704
|
};
|
|
6661
6705
|
};
|
|
6662
6706
|
|
|
6707
|
+
const serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails = (
|
|
6708
|
+
input: AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails,
|
|
6709
|
+
context: __SerdeContext
|
|
6710
|
+
): any => {
|
|
6711
|
+
return {
|
|
6712
|
+
...(input.DeviceName !== undefined && input.DeviceName !== null && { DeviceName: input.DeviceName }),
|
|
6713
|
+
...(input.Ebs !== undefined &&
|
|
6714
|
+
input.Ebs !== null && {
|
|
6715
|
+
Ebs: serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails(input.Ebs, context),
|
|
6716
|
+
}),
|
|
6717
|
+
...(input.NoDevice !== undefined && input.NoDevice !== null && { NoDevice: input.NoDevice }),
|
|
6718
|
+
...(input.VirtualName !== undefined && input.VirtualName !== null && { VirtualName: input.VirtualName }),
|
|
6719
|
+
};
|
|
6720
|
+
};
|
|
6721
|
+
|
|
6722
|
+
const serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails = (
|
|
6723
|
+
input: AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails,
|
|
6724
|
+
context: __SerdeContext
|
|
6725
|
+
): any => {
|
|
6726
|
+
return {
|
|
6727
|
+
...(input.DeleteOnTermination !== undefined &&
|
|
6728
|
+
input.DeleteOnTermination !== null && { DeleteOnTermination: input.DeleteOnTermination }),
|
|
6729
|
+
...(input.Encrypted !== undefined && input.Encrypted !== null && { Encrypted: input.Encrypted }),
|
|
6730
|
+
...(input.Iops !== undefined && input.Iops !== null && { Iops: input.Iops }),
|
|
6731
|
+
...(input.SnapshotId !== undefined && input.SnapshotId !== null && { SnapshotId: input.SnapshotId }),
|
|
6732
|
+
...(input.VolumeSize !== undefined && input.VolumeSize !== null && { VolumeSize: input.VolumeSize }),
|
|
6733
|
+
...(input.VolumeType !== undefined && input.VolumeType !== null && { VolumeType: input.VolumeType }),
|
|
6734
|
+
};
|
|
6735
|
+
};
|
|
6736
|
+
|
|
6737
|
+
const serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsList = (
|
|
6738
|
+
input: AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails[],
|
|
6739
|
+
context: __SerdeContext
|
|
6740
|
+
): any => {
|
|
6741
|
+
return input
|
|
6742
|
+
.filter((e: any) => e != null)
|
|
6743
|
+
.map((entry) => {
|
|
6744
|
+
if (entry === null) {
|
|
6745
|
+
return null as any;
|
|
6746
|
+
}
|
|
6747
|
+
return serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails(entry, context);
|
|
6748
|
+
});
|
|
6749
|
+
};
|
|
6750
|
+
|
|
6751
|
+
const serializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails = (
|
|
6752
|
+
input: AwsAutoScalingLaunchConfigurationDetails,
|
|
6753
|
+
context: __SerdeContext
|
|
6754
|
+
): any => {
|
|
6755
|
+
return {
|
|
6756
|
+
...(input.AssociatePublicIpAddress !== undefined &&
|
|
6757
|
+
input.AssociatePublicIpAddress !== null && { AssociatePublicIpAddress: input.AssociatePublicIpAddress }),
|
|
6758
|
+
...(input.BlockDeviceMappings !== undefined &&
|
|
6759
|
+
input.BlockDeviceMappings !== null && {
|
|
6760
|
+
BlockDeviceMappings: serializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsList(
|
|
6761
|
+
input.BlockDeviceMappings,
|
|
6762
|
+
context
|
|
6763
|
+
),
|
|
6764
|
+
}),
|
|
6765
|
+
...(input.ClassicLinkVpcId !== undefined &&
|
|
6766
|
+
input.ClassicLinkVpcId !== null && { ClassicLinkVpcId: input.ClassicLinkVpcId }),
|
|
6767
|
+
...(input.ClassicLinkVpcSecurityGroups !== undefined &&
|
|
6768
|
+
input.ClassicLinkVpcSecurityGroups !== null && {
|
|
6769
|
+
ClassicLinkVpcSecurityGroups: serializeAws_restJson1NonEmptyStringList(
|
|
6770
|
+
input.ClassicLinkVpcSecurityGroups,
|
|
6771
|
+
context
|
|
6772
|
+
),
|
|
6773
|
+
}),
|
|
6774
|
+
...(input.CreatedTime !== undefined && input.CreatedTime !== null && { CreatedTime: input.CreatedTime }),
|
|
6775
|
+
...(input.EbsOptimized !== undefined && input.EbsOptimized !== null && { EbsOptimized: input.EbsOptimized }),
|
|
6776
|
+
...(input.IamInstanceProfile !== undefined &&
|
|
6777
|
+
input.IamInstanceProfile !== null && { IamInstanceProfile: input.IamInstanceProfile }),
|
|
6778
|
+
...(input.ImageId !== undefined && input.ImageId !== null && { ImageId: input.ImageId }),
|
|
6779
|
+
...(input.InstanceMonitoring !== undefined &&
|
|
6780
|
+
input.InstanceMonitoring !== null && {
|
|
6781
|
+
InstanceMonitoring: serializeAws_restJson1AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails(
|
|
6782
|
+
input.InstanceMonitoring,
|
|
6783
|
+
context
|
|
6784
|
+
),
|
|
6785
|
+
}),
|
|
6786
|
+
...(input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType }),
|
|
6787
|
+
...(input.KernelId !== undefined && input.KernelId !== null && { KernelId: input.KernelId }),
|
|
6788
|
+
...(input.KeyName !== undefined && input.KeyName !== null && { KeyName: input.KeyName }),
|
|
6789
|
+
...(input.LaunchConfigurationName !== undefined &&
|
|
6790
|
+
input.LaunchConfigurationName !== null && { LaunchConfigurationName: input.LaunchConfigurationName }),
|
|
6791
|
+
...(input.PlacementTenancy !== undefined &&
|
|
6792
|
+
input.PlacementTenancy !== null && { PlacementTenancy: input.PlacementTenancy }),
|
|
6793
|
+
...(input.RamdiskId !== undefined && input.RamdiskId !== null && { RamdiskId: input.RamdiskId }),
|
|
6794
|
+
...(input.SecurityGroups !== undefined &&
|
|
6795
|
+
input.SecurityGroups !== null && {
|
|
6796
|
+
SecurityGroups: serializeAws_restJson1NonEmptyStringList(input.SecurityGroups, context),
|
|
6797
|
+
}),
|
|
6798
|
+
...(input.SpotPrice !== undefined && input.SpotPrice !== null && { SpotPrice: input.SpotPrice }),
|
|
6799
|
+
...(input.UserData !== undefined && input.UserData !== null && { UserData: input.UserData }),
|
|
6800
|
+
};
|
|
6801
|
+
};
|
|
6802
|
+
|
|
6803
|
+
const serializeAws_restJson1AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails = (
|
|
6804
|
+
input: AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails,
|
|
6805
|
+
context: __SerdeContext
|
|
6806
|
+
): any => {
|
|
6807
|
+
return {
|
|
6808
|
+
...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }),
|
|
6809
|
+
};
|
|
6810
|
+
};
|
|
6811
|
+
|
|
6663
6812
|
const serializeAws_restJson1AwsCertificateManagerCertificateDetails = (
|
|
6664
6813
|
input: AwsCertificateManagerCertificateDetails,
|
|
6665
6814
|
context: __SerdeContext
|
|
@@ -8105,6 +8254,193 @@ const serializeAws_restJson1AwsEc2VpcDetails = (input: AwsEc2VpcDetails, context
|
|
|
8105
8254
|
};
|
|
8106
8255
|
};
|
|
8107
8256
|
|
|
8257
|
+
const serializeAws_restJson1AwsEc2VpnConnectionDetails = (
|
|
8258
|
+
input: AwsEc2VpnConnectionDetails,
|
|
8259
|
+
context: __SerdeContext
|
|
8260
|
+
): any => {
|
|
8261
|
+
return {
|
|
8262
|
+
...(input.Category !== undefined && input.Category !== null && { Category: input.Category }),
|
|
8263
|
+
...(input.CustomerGatewayConfiguration !== undefined &&
|
|
8264
|
+
input.CustomerGatewayConfiguration !== null && {
|
|
8265
|
+
CustomerGatewayConfiguration: input.CustomerGatewayConfiguration,
|
|
8266
|
+
}),
|
|
8267
|
+
...(input.CustomerGatewayId !== undefined &&
|
|
8268
|
+
input.CustomerGatewayId !== null && { CustomerGatewayId: input.CustomerGatewayId }),
|
|
8269
|
+
...(input.Options !== undefined &&
|
|
8270
|
+
input.Options !== null && {
|
|
8271
|
+
Options: serializeAws_restJson1AwsEc2VpnConnectionOptionsDetails(input.Options, context),
|
|
8272
|
+
}),
|
|
8273
|
+
...(input.Routes !== undefined &&
|
|
8274
|
+
input.Routes !== null && { Routes: serializeAws_restJson1AwsEc2VpnConnectionRoutesList(input.Routes, context) }),
|
|
8275
|
+
...(input.State !== undefined && input.State !== null && { State: input.State }),
|
|
8276
|
+
...(input.TransitGatewayId !== undefined &&
|
|
8277
|
+
input.TransitGatewayId !== null && { TransitGatewayId: input.TransitGatewayId }),
|
|
8278
|
+
...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
|
|
8279
|
+
...(input.VgwTelemetry !== undefined &&
|
|
8280
|
+
input.VgwTelemetry !== null && {
|
|
8281
|
+
VgwTelemetry: serializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryList(input.VgwTelemetry, context),
|
|
8282
|
+
}),
|
|
8283
|
+
...(input.VpnConnectionId !== undefined &&
|
|
8284
|
+
input.VpnConnectionId !== null && { VpnConnectionId: input.VpnConnectionId }),
|
|
8285
|
+
...(input.VpnGatewayId !== undefined && input.VpnGatewayId !== null && { VpnGatewayId: input.VpnGatewayId }),
|
|
8286
|
+
};
|
|
8287
|
+
};
|
|
8288
|
+
|
|
8289
|
+
const serializeAws_restJson1AwsEc2VpnConnectionOptionsDetails = (
|
|
8290
|
+
input: AwsEc2VpnConnectionOptionsDetails,
|
|
8291
|
+
context: __SerdeContext
|
|
8292
|
+
): any => {
|
|
8293
|
+
return {
|
|
8294
|
+
...(input.StaticRoutesOnly !== undefined &&
|
|
8295
|
+
input.StaticRoutesOnly !== null && { StaticRoutesOnly: input.StaticRoutesOnly }),
|
|
8296
|
+
...(input.TunnelOptions !== undefined &&
|
|
8297
|
+
input.TunnelOptions !== null && {
|
|
8298
|
+
TunnelOptions: serializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsList(input.TunnelOptions, context),
|
|
8299
|
+
}),
|
|
8300
|
+
};
|
|
8301
|
+
};
|
|
8302
|
+
|
|
8303
|
+
const serializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsDetails = (
|
|
8304
|
+
input: AwsEc2VpnConnectionOptionsTunnelOptionsDetails,
|
|
8305
|
+
context: __SerdeContext
|
|
8306
|
+
): any => {
|
|
8307
|
+
return {
|
|
8308
|
+
...(input.DpdTimeoutSeconds !== undefined &&
|
|
8309
|
+
input.DpdTimeoutSeconds !== null && { DpdTimeoutSeconds: input.DpdTimeoutSeconds }),
|
|
8310
|
+
...(input.IkeVersions !== undefined &&
|
|
8311
|
+
input.IkeVersions !== null && {
|
|
8312
|
+
IkeVersions: serializeAws_restJson1NonEmptyStringList(input.IkeVersions, context),
|
|
8313
|
+
}),
|
|
8314
|
+
...(input.OutsideIpAddress !== undefined &&
|
|
8315
|
+
input.OutsideIpAddress !== null && { OutsideIpAddress: input.OutsideIpAddress }),
|
|
8316
|
+
...(input.Phase1DhGroupNumbers !== undefined &&
|
|
8317
|
+
input.Phase1DhGroupNumbers !== null && {
|
|
8318
|
+
Phase1DhGroupNumbers: serializeAws_restJson1IntegerList(input.Phase1DhGroupNumbers, context),
|
|
8319
|
+
}),
|
|
8320
|
+
...(input.Phase1EncryptionAlgorithms !== undefined &&
|
|
8321
|
+
input.Phase1EncryptionAlgorithms !== null && {
|
|
8322
|
+
Phase1EncryptionAlgorithms: serializeAws_restJson1NonEmptyStringList(input.Phase1EncryptionAlgorithms, context),
|
|
8323
|
+
}),
|
|
8324
|
+
...(input.Phase1IntegrityAlgorithms !== undefined &&
|
|
8325
|
+
input.Phase1IntegrityAlgorithms !== null && {
|
|
8326
|
+
Phase1IntegrityAlgorithms: serializeAws_restJson1NonEmptyStringList(input.Phase1IntegrityAlgorithms, context),
|
|
8327
|
+
}),
|
|
8328
|
+
...(input.Phase1LifetimeSeconds !== undefined &&
|
|
8329
|
+
input.Phase1LifetimeSeconds !== null && { Phase1LifetimeSeconds: input.Phase1LifetimeSeconds }),
|
|
8330
|
+
...(input.Phase2DhGroupNumbers !== undefined &&
|
|
8331
|
+
input.Phase2DhGroupNumbers !== null && {
|
|
8332
|
+
Phase2DhGroupNumbers: serializeAws_restJson1IntegerList(input.Phase2DhGroupNumbers, context),
|
|
8333
|
+
}),
|
|
8334
|
+
...(input.Phase2EncryptionAlgorithms !== undefined &&
|
|
8335
|
+
input.Phase2EncryptionAlgorithms !== null && {
|
|
8336
|
+
Phase2EncryptionAlgorithms: serializeAws_restJson1NonEmptyStringList(input.Phase2EncryptionAlgorithms, context),
|
|
8337
|
+
}),
|
|
8338
|
+
...(input.Phase2IntegrityAlgorithms !== undefined &&
|
|
8339
|
+
input.Phase2IntegrityAlgorithms !== null && {
|
|
8340
|
+
Phase2IntegrityAlgorithms: serializeAws_restJson1NonEmptyStringList(input.Phase2IntegrityAlgorithms, context),
|
|
8341
|
+
}),
|
|
8342
|
+
...(input.Phase2LifetimeSeconds !== undefined &&
|
|
8343
|
+
input.Phase2LifetimeSeconds !== null && { Phase2LifetimeSeconds: input.Phase2LifetimeSeconds }),
|
|
8344
|
+
...(input.PreSharedKey !== undefined && input.PreSharedKey !== null && { PreSharedKey: input.PreSharedKey }),
|
|
8345
|
+
...(input.RekeyFuzzPercentage !== undefined &&
|
|
8346
|
+
input.RekeyFuzzPercentage !== null && { RekeyFuzzPercentage: input.RekeyFuzzPercentage }),
|
|
8347
|
+
...(input.RekeyMarginTimeSeconds !== undefined &&
|
|
8348
|
+
input.RekeyMarginTimeSeconds !== null && { RekeyMarginTimeSeconds: input.RekeyMarginTimeSeconds }),
|
|
8349
|
+
...(input.ReplayWindowSize !== undefined &&
|
|
8350
|
+
input.ReplayWindowSize !== null && { ReplayWindowSize: input.ReplayWindowSize }),
|
|
8351
|
+
...(input.TunnelInsideCidr !== undefined &&
|
|
8352
|
+
input.TunnelInsideCidr !== null && { TunnelInsideCidr: input.TunnelInsideCidr }),
|
|
8353
|
+
};
|
|
8354
|
+
};
|
|
8355
|
+
|
|
8356
|
+
const serializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsList = (
|
|
8357
|
+
input: AwsEc2VpnConnectionOptionsTunnelOptionsDetails[],
|
|
8358
|
+
context: __SerdeContext
|
|
8359
|
+
): any => {
|
|
8360
|
+
return input
|
|
8361
|
+
.filter((e: any) => e != null)
|
|
8362
|
+
.map((entry) => {
|
|
8363
|
+
if (entry === null) {
|
|
8364
|
+
return null as any;
|
|
8365
|
+
}
|
|
8366
|
+
return serializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsDetails(entry, context);
|
|
8367
|
+
});
|
|
8368
|
+
};
|
|
8369
|
+
|
|
8370
|
+
const serializeAws_restJson1AwsEc2VpnConnectionRoutesDetails = (
|
|
8371
|
+
input: AwsEc2VpnConnectionRoutesDetails,
|
|
8372
|
+
context: __SerdeContext
|
|
8373
|
+
): any => {
|
|
8374
|
+
return {
|
|
8375
|
+
...(input.DestinationCidrBlock !== undefined &&
|
|
8376
|
+
input.DestinationCidrBlock !== null && { DestinationCidrBlock: input.DestinationCidrBlock }),
|
|
8377
|
+
...(input.State !== undefined && input.State !== null && { State: input.State }),
|
|
8378
|
+
};
|
|
8379
|
+
};
|
|
8380
|
+
|
|
8381
|
+
const serializeAws_restJson1AwsEc2VpnConnectionRoutesList = (
|
|
8382
|
+
input: AwsEc2VpnConnectionRoutesDetails[],
|
|
8383
|
+
context: __SerdeContext
|
|
8384
|
+
): any => {
|
|
8385
|
+
return input
|
|
8386
|
+
.filter((e: any) => e != null)
|
|
8387
|
+
.map((entry) => {
|
|
8388
|
+
if (entry === null) {
|
|
8389
|
+
return null as any;
|
|
8390
|
+
}
|
|
8391
|
+
return serializeAws_restJson1AwsEc2VpnConnectionRoutesDetails(entry, context);
|
|
8392
|
+
});
|
|
8393
|
+
};
|
|
8394
|
+
|
|
8395
|
+
const serializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryDetails = (
|
|
8396
|
+
input: AwsEc2VpnConnectionVgwTelemetryDetails,
|
|
8397
|
+
context: __SerdeContext
|
|
8398
|
+
): any => {
|
|
8399
|
+
return {
|
|
8400
|
+
...(input.AcceptedRouteCount !== undefined &&
|
|
8401
|
+
input.AcceptedRouteCount !== null && { AcceptedRouteCount: input.AcceptedRouteCount }),
|
|
8402
|
+
...(input.CertificateArn !== undefined &&
|
|
8403
|
+
input.CertificateArn !== null && { CertificateArn: input.CertificateArn }),
|
|
8404
|
+
...(input.LastStatusChange !== undefined &&
|
|
8405
|
+
input.LastStatusChange !== null && { LastStatusChange: input.LastStatusChange }),
|
|
8406
|
+
...(input.OutsideIpAddress !== undefined &&
|
|
8407
|
+
input.OutsideIpAddress !== null && { OutsideIpAddress: input.OutsideIpAddress }),
|
|
8408
|
+
...(input.Status !== undefined && input.Status !== null && { Status: input.Status }),
|
|
8409
|
+
...(input.StatusMessage !== undefined && input.StatusMessage !== null && { StatusMessage: input.StatusMessage }),
|
|
8410
|
+
};
|
|
8411
|
+
};
|
|
8412
|
+
|
|
8413
|
+
const serializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryList = (
|
|
8414
|
+
input: AwsEc2VpnConnectionVgwTelemetryDetails[],
|
|
8415
|
+
context: __SerdeContext
|
|
8416
|
+
): any => {
|
|
8417
|
+
return input
|
|
8418
|
+
.filter((e: any) => e != null)
|
|
8419
|
+
.map((entry) => {
|
|
8420
|
+
if (entry === null) {
|
|
8421
|
+
return null as any;
|
|
8422
|
+
}
|
|
8423
|
+
return serializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryDetails(entry, context);
|
|
8424
|
+
});
|
|
8425
|
+
};
|
|
8426
|
+
|
|
8427
|
+
const serializeAws_restJson1AwsEcrContainerImageDetails = (
|
|
8428
|
+
input: AwsEcrContainerImageDetails,
|
|
8429
|
+
context: __SerdeContext
|
|
8430
|
+
): any => {
|
|
8431
|
+
return {
|
|
8432
|
+
...(input.Architecture !== undefined && input.Architecture !== null && { Architecture: input.Architecture }),
|
|
8433
|
+
...(input.ImageDigest !== undefined && input.ImageDigest !== null && { ImageDigest: input.ImageDigest }),
|
|
8434
|
+
...(input.ImagePublishedAt !== undefined &&
|
|
8435
|
+
input.ImagePublishedAt !== null && { ImagePublishedAt: input.ImagePublishedAt }),
|
|
8436
|
+
...(input.ImageTags !== undefined &&
|
|
8437
|
+
input.ImageTags !== null && { ImageTags: serializeAws_restJson1NonEmptyStringList(input.ImageTags, context) }),
|
|
8438
|
+
...(input.RegistryId !== undefined && input.RegistryId !== null && { RegistryId: input.RegistryId }),
|
|
8439
|
+
...(input.RepositoryName !== undefined &&
|
|
8440
|
+
input.RepositoryName !== null && { RepositoryName: input.RepositoryName }),
|
|
8441
|
+
};
|
|
8442
|
+
};
|
|
8443
|
+
|
|
8108
8444
|
const serializeAws_restJson1AwsEcsClusterClusterSettingsDetails = (
|
|
8109
8445
|
input: AwsEcsClusterClusterSettingsDetails,
|
|
8110
8446
|
context: __SerdeContext
|
|
@@ -10366,6 +10702,8 @@ const serializeAws_restJson1AwsKmsKeyDetails = (input: AwsKmsKeyDetails, context
|
|
|
10366
10702
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
10367
10703
|
...(input.KeyId !== undefined && input.KeyId !== null && { KeyId: input.KeyId }),
|
|
10368
10704
|
...(input.KeyManager !== undefined && input.KeyManager !== null && { KeyManager: input.KeyManager }),
|
|
10705
|
+
...(input.KeyRotationStatus !== undefined &&
|
|
10706
|
+
input.KeyRotationStatus !== null && { KeyRotationStatus: input.KeyRotationStatus }),
|
|
10369
10707
|
...(input.KeyState !== undefined && input.KeyState !== null && { KeyState: input.KeyState }),
|
|
10370
10708
|
...(input.Origin !== undefined && input.Origin !== null && { Origin: input.Origin }),
|
|
10371
10709
|
};
|
|
@@ -11941,6 +12279,8 @@ const serializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesTransiti
|
|
|
11941
12279
|
|
|
11942
12280
|
const serializeAws_restJson1AwsS3BucketDetails = (input: AwsS3BucketDetails, context: __SerdeContext): any => {
|
|
11943
12281
|
return {
|
|
12282
|
+
...(input.AccessControlList !== undefined &&
|
|
12283
|
+
input.AccessControlList !== null && { AccessControlList: input.AccessControlList }),
|
|
11944
12284
|
...(input.BucketLifecycleConfiguration !== undefined &&
|
|
11945
12285
|
input.BucketLifecycleConfiguration !== null && {
|
|
11946
12286
|
BucketLifecycleConfiguration: serializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationDetails(
|
|
@@ -11948,6 +12288,27 @@ const serializeAws_restJson1AwsS3BucketDetails = (input: AwsS3BucketDetails, con
|
|
|
11948
12288
|
context
|
|
11949
12289
|
),
|
|
11950
12290
|
}),
|
|
12291
|
+
...(input.BucketLoggingConfiguration !== undefined &&
|
|
12292
|
+
input.BucketLoggingConfiguration !== null && {
|
|
12293
|
+
BucketLoggingConfiguration: serializeAws_restJson1AwsS3BucketLoggingConfiguration(
|
|
12294
|
+
input.BucketLoggingConfiguration,
|
|
12295
|
+
context
|
|
12296
|
+
),
|
|
12297
|
+
}),
|
|
12298
|
+
...(input.BucketNotificationConfiguration !== undefined &&
|
|
12299
|
+
input.BucketNotificationConfiguration !== null && {
|
|
12300
|
+
BucketNotificationConfiguration: serializeAws_restJson1AwsS3BucketNotificationConfiguration(
|
|
12301
|
+
input.BucketNotificationConfiguration,
|
|
12302
|
+
context
|
|
12303
|
+
),
|
|
12304
|
+
}),
|
|
12305
|
+
...(input.BucketWebsiteConfiguration !== undefined &&
|
|
12306
|
+
input.BucketWebsiteConfiguration !== null && {
|
|
12307
|
+
BucketWebsiteConfiguration: serializeAws_restJson1AwsS3BucketWebsiteConfiguration(
|
|
12308
|
+
input.BucketWebsiteConfiguration,
|
|
12309
|
+
context
|
|
12310
|
+
),
|
|
12311
|
+
}),
|
|
11951
12312
|
...(input.CreatedAt !== undefined && input.CreatedAt !== null && { CreatedAt: input.CreatedAt }),
|
|
11952
12313
|
...(input.OwnerId !== undefined && input.OwnerId !== null && { OwnerId: input.OwnerId }),
|
|
11953
12314
|
...(input.OwnerName !== undefined && input.OwnerName !== null && { OwnerName: input.OwnerName }),
|
|
@@ -11968,46 +12329,52 @@ const serializeAws_restJson1AwsS3BucketDetails = (input: AwsS3BucketDetails, con
|
|
|
11968
12329
|
};
|
|
11969
12330
|
};
|
|
11970
12331
|
|
|
11971
|
-
const
|
|
11972
|
-
input:
|
|
12332
|
+
const serializeAws_restJson1AwsS3BucketLoggingConfiguration = (
|
|
12333
|
+
input: AwsS3BucketLoggingConfiguration,
|
|
11973
12334
|
context: __SerdeContext
|
|
11974
12335
|
): any => {
|
|
11975
12336
|
return {
|
|
11976
|
-
...(input.
|
|
11977
|
-
input.
|
|
11978
|
-
...(input.
|
|
12337
|
+
...(input.DestinationBucketName !== undefined &&
|
|
12338
|
+
input.DestinationBucketName !== null && { DestinationBucketName: input.DestinationBucketName }),
|
|
12339
|
+
...(input.LogFilePrefix !== undefined && input.LogFilePrefix !== null && { LogFilePrefix: input.LogFilePrefix }),
|
|
11979
12340
|
};
|
|
11980
12341
|
};
|
|
11981
12342
|
|
|
11982
|
-
const
|
|
11983
|
-
input:
|
|
12343
|
+
const serializeAws_restJson1AwsS3BucketNotificationConfiguration = (
|
|
12344
|
+
input: AwsS3BucketNotificationConfiguration,
|
|
11984
12345
|
context: __SerdeContext
|
|
11985
12346
|
): any => {
|
|
11986
12347
|
return {
|
|
11987
|
-
...(input.
|
|
11988
|
-
input.
|
|
11989
|
-
|
|
12348
|
+
...(input.Configurations !== undefined &&
|
|
12349
|
+
input.Configurations !== null && {
|
|
12350
|
+
Configurations: serializeAws_restJson1AwsS3BucketNotificationConfigurationDetails(
|
|
12351
|
+
input.Configurations,
|
|
12352
|
+
context
|
|
12353
|
+
),
|
|
11990
12354
|
}),
|
|
11991
12355
|
};
|
|
11992
12356
|
};
|
|
11993
12357
|
|
|
11994
|
-
const
|
|
11995
|
-
input:
|
|
12358
|
+
const serializeAws_restJson1AwsS3BucketNotificationConfigurationDetail = (
|
|
12359
|
+
input: AwsS3BucketNotificationConfigurationDetail,
|
|
11996
12360
|
context: __SerdeContext
|
|
11997
12361
|
): any => {
|
|
11998
12362
|
return {
|
|
11999
|
-
...(input.
|
|
12000
|
-
|
|
12001
|
-
|
|
12002
|
-
|
|
12003
|
-
|
|
12004
|
-
|
|
12363
|
+
...(input.Destination !== undefined && input.Destination !== null && { Destination: input.Destination }),
|
|
12364
|
+
...(input.Events !== undefined &&
|
|
12365
|
+
input.Events !== null && {
|
|
12366
|
+
Events: serializeAws_restJson1AwsS3BucketNotificationConfigurationEvents(input.Events, context),
|
|
12367
|
+
}),
|
|
12368
|
+
...(input.Filter !== undefined &&
|
|
12369
|
+
input.Filter !== null && {
|
|
12370
|
+
Filter: serializeAws_restJson1AwsS3BucketNotificationConfigurationFilter(input.Filter, context),
|
|
12005
12371
|
}),
|
|
12372
|
+
...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
|
|
12006
12373
|
};
|
|
12007
12374
|
};
|
|
12008
12375
|
|
|
12009
|
-
const
|
|
12010
|
-
input:
|
|
12376
|
+
const serializeAws_restJson1AwsS3BucketNotificationConfigurationDetails = (
|
|
12377
|
+
input: AwsS3BucketNotificationConfigurationDetail[],
|
|
12011
12378
|
context: __SerdeContext
|
|
12012
12379
|
): any => {
|
|
12013
12380
|
return input
|
|
@@ -12016,22 +12383,229 @@ const serializeAws_restJson1AwsS3BucketServerSideEncryptionRules = (
|
|
|
12016
12383
|
if (entry === null) {
|
|
12017
12384
|
return null as any;
|
|
12018
12385
|
}
|
|
12019
|
-
return
|
|
12386
|
+
return serializeAws_restJson1AwsS3BucketNotificationConfigurationDetail(entry, context);
|
|
12020
12387
|
});
|
|
12021
12388
|
};
|
|
12022
12389
|
|
|
12023
|
-
const
|
|
12024
|
-
|
|
12025
|
-
|
|
12026
|
-
|
|
12027
|
-
|
|
12028
|
-
|
|
12029
|
-
|
|
12030
|
-
|
|
12031
|
-
|
|
12032
|
-
|
|
12033
|
-
|
|
12034
|
-
|
|
12390
|
+
const serializeAws_restJson1AwsS3BucketNotificationConfigurationEvents = (
|
|
12391
|
+
input: string[],
|
|
12392
|
+
context: __SerdeContext
|
|
12393
|
+
): any => {
|
|
12394
|
+
return input
|
|
12395
|
+
.filter((e: any) => e != null)
|
|
12396
|
+
.map((entry) => {
|
|
12397
|
+
if (entry === null) {
|
|
12398
|
+
return null as any;
|
|
12399
|
+
}
|
|
12400
|
+
return entry;
|
|
12401
|
+
});
|
|
12402
|
+
};
|
|
12403
|
+
|
|
12404
|
+
const serializeAws_restJson1AwsS3BucketNotificationConfigurationFilter = (
|
|
12405
|
+
input: AwsS3BucketNotificationConfigurationFilter,
|
|
12406
|
+
context: __SerdeContext
|
|
12407
|
+
): any => {
|
|
12408
|
+
return {
|
|
12409
|
+
...(input.S3KeyFilter !== undefined &&
|
|
12410
|
+
input.S3KeyFilter !== null && {
|
|
12411
|
+
S3KeyFilter: serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilter(input.S3KeyFilter, context),
|
|
12412
|
+
}),
|
|
12413
|
+
};
|
|
12414
|
+
};
|
|
12415
|
+
|
|
12416
|
+
const serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilter = (
|
|
12417
|
+
input: AwsS3BucketNotificationConfigurationS3KeyFilter,
|
|
12418
|
+
context: __SerdeContext
|
|
12419
|
+
): any => {
|
|
12420
|
+
return {
|
|
12421
|
+
...(input.FilterRules !== undefined &&
|
|
12422
|
+
input.FilterRules !== null && {
|
|
12423
|
+
FilterRules: serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRules(
|
|
12424
|
+
input.FilterRules,
|
|
12425
|
+
context
|
|
12426
|
+
),
|
|
12427
|
+
}),
|
|
12428
|
+
};
|
|
12429
|
+
};
|
|
12430
|
+
|
|
12431
|
+
const serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRule = (
|
|
12432
|
+
input: AwsS3BucketNotificationConfigurationS3KeyFilterRule,
|
|
12433
|
+
context: __SerdeContext
|
|
12434
|
+
): any => {
|
|
12435
|
+
return {
|
|
12436
|
+
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
12437
|
+
...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
|
|
12438
|
+
};
|
|
12439
|
+
};
|
|
12440
|
+
|
|
12441
|
+
const serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRules = (
|
|
12442
|
+
input: AwsS3BucketNotificationConfigurationS3KeyFilterRule[],
|
|
12443
|
+
context: __SerdeContext
|
|
12444
|
+
): any => {
|
|
12445
|
+
return input
|
|
12446
|
+
.filter((e: any) => e != null)
|
|
12447
|
+
.map((entry) => {
|
|
12448
|
+
if (entry === null) {
|
|
12449
|
+
return null as any;
|
|
12450
|
+
}
|
|
12451
|
+
return serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRule(entry, context);
|
|
12452
|
+
});
|
|
12453
|
+
};
|
|
12454
|
+
|
|
12455
|
+
const serializeAws_restJson1AwsS3BucketServerSideEncryptionByDefault = (
|
|
12456
|
+
input: AwsS3BucketServerSideEncryptionByDefault,
|
|
12457
|
+
context: __SerdeContext
|
|
12458
|
+
): any => {
|
|
12459
|
+
return {
|
|
12460
|
+
...(input.KMSMasterKeyID !== undefined &&
|
|
12461
|
+
input.KMSMasterKeyID !== null && { KMSMasterKeyID: input.KMSMasterKeyID }),
|
|
12462
|
+
...(input.SSEAlgorithm !== undefined && input.SSEAlgorithm !== null && { SSEAlgorithm: input.SSEAlgorithm }),
|
|
12463
|
+
};
|
|
12464
|
+
};
|
|
12465
|
+
|
|
12466
|
+
const serializeAws_restJson1AwsS3BucketServerSideEncryptionConfiguration = (
|
|
12467
|
+
input: AwsS3BucketServerSideEncryptionConfiguration,
|
|
12468
|
+
context: __SerdeContext
|
|
12469
|
+
): any => {
|
|
12470
|
+
return {
|
|
12471
|
+
...(input.Rules !== undefined &&
|
|
12472
|
+
input.Rules !== null && {
|
|
12473
|
+
Rules: serializeAws_restJson1AwsS3BucketServerSideEncryptionRules(input.Rules, context),
|
|
12474
|
+
}),
|
|
12475
|
+
};
|
|
12476
|
+
};
|
|
12477
|
+
|
|
12478
|
+
const serializeAws_restJson1AwsS3BucketServerSideEncryptionRule = (
|
|
12479
|
+
input: AwsS3BucketServerSideEncryptionRule,
|
|
12480
|
+
context: __SerdeContext
|
|
12481
|
+
): any => {
|
|
12482
|
+
return {
|
|
12483
|
+
...(input.ApplyServerSideEncryptionByDefault !== undefined &&
|
|
12484
|
+
input.ApplyServerSideEncryptionByDefault !== null && {
|
|
12485
|
+
ApplyServerSideEncryptionByDefault: serializeAws_restJson1AwsS3BucketServerSideEncryptionByDefault(
|
|
12486
|
+
input.ApplyServerSideEncryptionByDefault,
|
|
12487
|
+
context
|
|
12488
|
+
),
|
|
12489
|
+
}),
|
|
12490
|
+
};
|
|
12491
|
+
};
|
|
12492
|
+
|
|
12493
|
+
const serializeAws_restJson1AwsS3BucketServerSideEncryptionRules = (
|
|
12494
|
+
input: AwsS3BucketServerSideEncryptionRule[],
|
|
12495
|
+
context: __SerdeContext
|
|
12496
|
+
): any => {
|
|
12497
|
+
return input
|
|
12498
|
+
.filter((e: any) => e != null)
|
|
12499
|
+
.map((entry) => {
|
|
12500
|
+
if (entry === null) {
|
|
12501
|
+
return null as any;
|
|
12502
|
+
}
|
|
12503
|
+
return serializeAws_restJson1AwsS3BucketServerSideEncryptionRule(entry, context);
|
|
12504
|
+
});
|
|
12505
|
+
};
|
|
12506
|
+
|
|
12507
|
+
const serializeAws_restJson1AwsS3BucketWebsiteConfiguration = (
|
|
12508
|
+
input: AwsS3BucketWebsiteConfiguration,
|
|
12509
|
+
context: __SerdeContext
|
|
12510
|
+
): any => {
|
|
12511
|
+
return {
|
|
12512
|
+
...(input.ErrorDocument !== undefined && input.ErrorDocument !== null && { ErrorDocument: input.ErrorDocument }),
|
|
12513
|
+
...(input.IndexDocumentSuffix !== undefined &&
|
|
12514
|
+
input.IndexDocumentSuffix !== null && { IndexDocumentSuffix: input.IndexDocumentSuffix }),
|
|
12515
|
+
...(input.RedirectAllRequestsTo !== undefined &&
|
|
12516
|
+
input.RedirectAllRequestsTo !== null && {
|
|
12517
|
+
RedirectAllRequestsTo: serializeAws_restJson1AwsS3BucketWebsiteConfigurationRedirectTo(
|
|
12518
|
+
input.RedirectAllRequestsTo,
|
|
12519
|
+
context
|
|
12520
|
+
),
|
|
12521
|
+
}),
|
|
12522
|
+
...(input.RoutingRules !== undefined &&
|
|
12523
|
+
input.RoutingRules !== null && {
|
|
12524
|
+
RoutingRules: serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRules(input.RoutingRules, context),
|
|
12525
|
+
}),
|
|
12526
|
+
};
|
|
12527
|
+
};
|
|
12528
|
+
|
|
12529
|
+
const serializeAws_restJson1AwsS3BucketWebsiteConfigurationRedirectTo = (
|
|
12530
|
+
input: AwsS3BucketWebsiteConfigurationRedirectTo,
|
|
12531
|
+
context: __SerdeContext
|
|
12532
|
+
): any => {
|
|
12533
|
+
return {
|
|
12534
|
+
...(input.Hostname !== undefined && input.Hostname !== null && { Hostname: input.Hostname }),
|
|
12535
|
+
...(input.Protocol !== undefined && input.Protocol !== null && { Protocol: input.Protocol }),
|
|
12536
|
+
};
|
|
12537
|
+
};
|
|
12538
|
+
|
|
12539
|
+
const serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRule = (
|
|
12540
|
+
input: AwsS3BucketWebsiteConfigurationRoutingRule,
|
|
12541
|
+
context: __SerdeContext
|
|
12542
|
+
): any => {
|
|
12543
|
+
return {
|
|
12544
|
+
...(input.Condition !== undefined &&
|
|
12545
|
+
input.Condition !== null && {
|
|
12546
|
+
Condition: serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleCondition(input.Condition, context),
|
|
12547
|
+
}),
|
|
12548
|
+
...(input.Redirect !== undefined &&
|
|
12549
|
+
input.Redirect !== null && {
|
|
12550
|
+
Redirect: serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleRedirect(input.Redirect, context),
|
|
12551
|
+
}),
|
|
12552
|
+
};
|
|
12553
|
+
};
|
|
12554
|
+
|
|
12555
|
+
const serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleCondition = (
|
|
12556
|
+
input: AwsS3BucketWebsiteConfigurationRoutingRuleCondition,
|
|
12557
|
+
context: __SerdeContext
|
|
12558
|
+
): any => {
|
|
12559
|
+
return {
|
|
12560
|
+
...(input.HttpErrorCodeReturnedEquals !== undefined &&
|
|
12561
|
+
input.HttpErrorCodeReturnedEquals !== null && { HttpErrorCodeReturnedEquals: input.HttpErrorCodeReturnedEquals }),
|
|
12562
|
+
...(input.KeyPrefixEquals !== undefined &&
|
|
12563
|
+
input.KeyPrefixEquals !== null && { KeyPrefixEquals: input.KeyPrefixEquals }),
|
|
12564
|
+
};
|
|
12565
|
+
};
|
|
12566
|
+
|
|
12567
|
+
const serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleRedirect = (
|
|
12568
|
+
input: AwsS3BucketWebsiteConfigurationRoutingRuleRedirect,
|
|
12569
|
+
context: __SerdeContext
|
|
12570
|
+
): any => {
|
|
12571
|
+
return {
|
|
12572
|
+
...(input.Hostname !== undefined && input.Hostname !== null && { Hostname: input.Hostname }),
|
|
12573
|
+
...(input.HttpRedirectCode !== undefined &&
|
|
12574
|
+
input.HttpRedirectCode !== null && { HttpRedirectCode: input.HttpRedirectCode }),
|
|
12575
|
+
...(input.Protocol !== undefined && input.Protocol !== null && { Protocol: input.Protocol }),
|
|
12576
|
+
...(input.ReplaceKeyPrefixWith !== undefined &&
|
|
12577
|
+
input.ReplaceKeyPrefixWith !== null && { ReplaceKeyPrefixWith: input.ReplaceKeyPrefixWith }),
|
|
12578
|
+
...(input.ReplaceKeyWith !== undefined &&
|
|
12579
|
+
input.ReplaceKeyWith !== null && { ReplaceKeyWith: input.ReplaceKeyWith }),
|
|
12580
|
+
};
|
|
12581
|
+
};
|
|
12582
|
+
|
|
12583
|
+
const serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRules = (
|
|
12584
|
+
input: AwsS3BucketWebsiteConfigurationRoutingRule[],
|
|
12585
|
+
context: __SerdeContext
|
|
12586
|
+
): any => {
|
|
12587
|
+
return input
|
|
12588
|
+
.filter((e: any) => e != null)
|
|
12589
|
+
.map((entry) => {
|
|
12590
|
+
if (entry === null) {
|
|
12591
|
+
return null as any;
|
|
12592
|
+
}
|
|
12593
|
+
return serializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRule(entry, context);
|
|
12594
|
+
});
|
|
12595
|
+
};
|
|
12596
|
+
|
|
12597
|
+
const serializeAws_restJson1AwsS3ObjectDetails = (input: AwsS3ObjectDetails, context: __SerdeContext): any => {
|
|
12598
|
+
return {
|
|
12599
|
+
...(input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType }),
|
|
12600
|
+
...(input.ETag !== undefined && input.ETag !== null && { ETag: input.ETag }),
|
|
12601
|
+
...(input.LastModified !== undefined && input.LastModified !== null && { LastModified: input.LastModified }),
|
|
12602
|
+
...(input.SSEKMSKeyId !== undefined && input.SSEKMSKeyId !== null && { SSEKMSKeyId: input.SSEKMSKeyId }),
|
|
12603
|
+
...(input.ServerSideEncryption !== undefined &&
|
|
12604
|
+
input.ServerSideEncryption !== null && { ServerSideEncryption: input.ServerSideEncryption }),
|
|
12605
|
+
...(input.VersionId !== undefined && input.VersionId !== null && { VersionId: input.VersionId }),
|
|
12606
|
+
};
|
|
12607
|
+
};
|
|
12608
|
+
|
|
12035
12609
|
const serializeAws_restJson1AwsSecretsManagerSecretDetails = (
|
|
12036
12610
|
input: AwsSecretsManagerSecretDetails,
|
|
12037
12611
|
context: __SerdeContext
|
|
@@ -12902,8 +13476,11 @@ const serializeAws_restJson1CustomDataIdentifiersResult = (
|
|
|
12902
13476
|
|
|
12903
13477
|
const serializeAws_restJson1Cvss = (input: Cvss, context: __SerdeContext): any => {
|
|
12904
13478
|
return {
|
|
13479
|
+
...(input.Adjustments !== undefined &&
|
|
13480
|
+
input.Adjustments !== null && { Adjustments: serializeAws_restJson1AdjustmentList(input.Adjustments, context) }),
|
|
12905
13481
|
...(input.BaseScore !== undefined && input.BaseScore !== null && { BaseScore: __serializeFloat(input.BaseScore) }),
|
|
12906
13482
|
...(input.BaseVector !== undefined && input.BaseVector !== null && { BaseVector: input.BaseVector }),
|
|
13483
|
+
...(input.Source !== undefined && input.Source !== null && { Source: input.Source }),
|
|
12907
13484
|
...(input.Version !== undefined && input.Version !== null && { Version: input.Version }),
|
|
12908
13485
|
};
|
|
12909
13486
|
};
|
|
@@ -13017,6 +13594,17 @@ const serializeAws_restJson1IcmpTypeCode = (input: IcmpTypeCode, context: __Serd
|
|
|
13017
13594
|
};
|
|
13018
13595
|
};
|
|
13019
13596
|
|
|
13597
|
+
const serializeAws_restJson1IntegerList = (input: number[], context: __SerdeContext): any => {
|
|
13598
|
+
return input
|
|
13599
|
+
.filter((e: any) => e != null)
|
|
13600
|
+
.map((entry) => {
|
|
13601
|
+
if (entry === null) {
|
|
13602
|
+
return null as any;
|
|
13603
|
+
}
|
|
13604
|
+
return entry;
|
|
13605
|
+
});
|
|
13606
|
+
};
|
|
13607
|
+
|
|
13020
13608
|
const serializeAws_restJson1IpFilter = (input: IpFilter, context: __SerdeContext): any => {
|
|
13021
13609
|
return {
|
|
13022
13610
|
...(input.Cidr !== undefined && input.Cidr !== null && { Cidr: input.Cidr }),
|
|
@@ -13526,6 +14114,13 @@ const serializeAws_restJson1ResourceDetails = (input: ResourceDetails, context:
|
|
|
13526
14114
|
context
|
|
13527
14115
|
),
|
|
13528
14116
|
}),
|
|
14117
|
+
...(input.AwsAutoScalingLaunchConfiguration !== undefined &&
|
|
14118
|
+
input.AwsAutoScalingLaunchConfiguration !== null && {
|
|
14119
|
+
AwsAutoScalingLaunchConfiguration: serializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails(
|
|
14120
|
+
input.AwsAutoScalingLaunchConfiguration,
|
|
14121
|
+
context
|
|
14122
|
+
),
|
|
14123
|
+
}),
|
|
13529
14124
|
...(input.AwsCertificateManagerCertificate !== undefined &&
|
|
13530
14125
|
input.AwsCertificateManagerCertificate !== null && {
|
|
13531
14126
|
AwsCertificateManagerCertificate: serializeAws_restJson1AwsCertificateManagerCertificateDetails(
|
|
@@ -13583,6 +14178,14 @@ const serializeAws_restJson1ResourceDetails = (input: ResourceDetails, context:
|
|
|
13583
14178
|
}),
|
|
13584
14179
|
...(input.AwsEc2Vpc !== undefined &&
|
|
13585
14180
|
input.AwsEc2Vpc !== null && { AwsEc2Vpc: serializeAws_restJson1AwsEc2VpcDetails(input.AwsEc2Vpc, context) }),
|
|
14181
|
+
...(input.AwsEc2VpnConnection !== undefined &&
|
|
14182
|
+
input.AwsEc2VpnConnection !== null && {
|
|
14183
|
+
AwsEc2VpnConnection: serializeAws_restJson1AwsEc2VpnConnectionDetails(input.AwsEc2VpnConnection, context),
|
|
14184
|
+
}),
|
|
14185
|
+
...(input.AwsEcrContainerImage !== undefined &&
|
|
14186
|
+
input.AwsEcrContainerImage !== null && {
|
|
14187
|
+
AwsEcrContainerImage: serializeAws_restJson1AwsEcrContainerImageDetails(input.AwsEcrContainerImage, context),
|
|
14188
|
+
}),
|
|
13586
14189
|
...(input.AwsEcsCluster !== undefined &&
|
|
13587
14190
|
input.AwsEcsCluster !== null && {
|
|
13588
14191
|
AwsEcsCluster: serializeAws_restJson1AwsEcsClusterDetails(input.AwsEcsCluster, context),
|
|
@@ -13809,7 +14412,10 @@ const serializeAws_restJson1SoftwarePackage = (input: SoftwarePackage, context:
|
|
|
13809
14412
|
return {
|
|
13810
14413
|
...(input.Architecture !== undefined && input.Architecture !== null && { Architecture: input.Architecture }),
|
|
13811
14414
|
...(input.Epoch !== undefined && input.Epoch !== null && { Epoch: input.Epoch }),
|
|
14415
|
+
...(input.FilePath !== undefined && input.FilePath !== null && { FilePath: input.FilePath }),
|
|
13812
14416
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
14417
|
+
...(input.PackageManager !== undefined &&
|
|
14418
|
+
input.PackageManager !== null && { PackageManager: input.PackageManager }),
|
|
13813
14419
|
...(input.Release !== undefined && input.Release !== null && { Release: input.Release }),
|
|
13814
14420
|
...(input.Version !== undefined && input.Version !== null && { Version: input.Version }),
|
|
13815
14421
|
};
|
|
@@ -14113,7 +14719,7 @@ const deserializeAws_restJson1ActionLocalPortDetails = (
|
|
|
14113
14719
|
context: __SerdeContext
|
|
14114
14720
|
): ActionLocalPortDetails => {
|
|
14115
14721
|
return {
|
|
14116
|
-
Port:
|
|
14722
|
+
Port: __expectInt32(output.Port),
|
|
14117
14723
|
PortName: __expectString(output.PortName),
|
|
14118
14724
|
} as any;
|
|
14119
14725
|
};
|
|
@@ -14145,7 +14751,7 @@ const deserializeAws_restJson1ActionRemotePortDetails = (
|
|
|
14145
14751
|
context: __SerdeContext
|
|
14146
14752
|
): ActionRemotePortDetails => {
|
|
14147
14753
|
return {
|
|
14148
|
-
Port:
|
|
14754
|
+
Port: __expectInt32(output.Port),
|
|
14149
14755
|
PortName: __expectString(output.PortName),
|
|
14150
14756
|
} as any;
|
|
14151
14757
|
};
|
|
@@ -14169,6 +14775,24 @@ const deserializeAws_restJson1ActionTargetList = (output: any, context: __SerdeC
|
|
|
14169
14775
|
});
|
|
14170
14776
|
};
|
|
14171
14777
|
|
|
14778
|
+
const deserializeAws_restJson1Adjustment = (output: any, context: __SerdeContext): Adjustment => {
|
|
14779
|
+
return {
|
|
14780
|
+
Metric: __expectString(output.Metric),
|
|
14781
|
+
Reason: __expectString(output.Reason),
|
|
14782
|
+
} as any;
|
|
14783
|
+
};
|
|
14784
|
+
|
|
14785
|
+
const deserializeAws_restJson1AdjustmentList = (output: any, context: __SerdeContext): Adjustment[] => {
|
|
14786
|
+
return (output || [])
|
|
14787
|
+
.filter((e: any) => e != null)
|
|
14788
|
+
.map((entry: any) => {
|
|
14789
|
+
if (entry === null) {
|
|
14790
|
+
return null as any;
|
|
14791
|
+
}
|
|
14792
|
+
return deserializeAws_restJson1Adjustment(entry, context);
|
|
14793
|
+
});
|
|
14794
|
+
};
|
|
14795
|
+
|
|
14172
14796
|
const deserializeAws_restJson1AdminAccount = (output: any, context: __SerdeContext): AdminAccount => {
|
|
14173
14797
|
return {
|
|
14174
14798
|
AccountId: __expectString(output.AccountId),
|
|
@@ -14252,7 +14876,7 @@ const deserializeAws_restJson1AwsApiGatewayCanarySettings = (
|
|
|
14252
14876
|
): AwsApiGatewayCanarySettings => {
|
|
14253
14877
|
return {
|
|
14254
14878
|
DeploymentId: __expectString(output.DeploymentId),
|
|
14255
|
-
PercentTraffic:
|
|
14879
|
+
PercentTraffic: __limitedParseDouble(output.PercentTraffic),
|
|
14256
14880
|
StageVariableOverrides:
|
|
14257
14881
|
output.StageVariableOverrides !== undefined && output.StageVariableOverrides !== null
|
|
14258
14882
|
? deserializeAws_restJson1FieldMap(output.StageVariableOverrides, context)
|
|
@@ -14279,7 +14903,7 @@ const deserializeAws_restJson1AwsApiGatewayMethodSettings = (
|
|
|
14279
14903
|
): AwsApiGatewayMethodSettings => {
|
|
14280
14904
|
return {
|
|
14281
14905
|
CacheDataEncrypted: __expectBoolean(output.CacheDataEncrypted),
|
|
14282
|
-
CacheTtlInSeconds:
|
|
14906
|
+
CacheTtlInSeconds: __expectInt32(output.CacheTtlInSeconds),
|
|
14283
14907
|
CachingEnabled: __expectBoolean(output.CachingEnabled),
|
|
14284
14908
|
DataTraceEnabled: __expectBoolean(output.DataTraceEnabled),
|
|
14285
14909
|
HttpMethod: __expectString(output.HttpMethod),
|
|
@@ -14287,8 +14911,8 @@ const deserializeAws_restJson1AwsApiGatewayMethodSettings = (
|
|
|
14287
14911
|
MetricsEnabled: __expectBoolean(output.MetricsEnabled),
|
|
14288
14912
|
RequireAuthorizationForCacheControl: __expectBoolean(output.RequireAuthorizationForCacheControl),
|
|
14289
14913
|
ResourcePath: __expectString(output.ResourcePath),
|
|
14290
|
-
ThrottlingBurstLimit:
|
|
14291
|
-
ThrottlingRateLimit:
|
|
14914
|
+
ThrottlingBurstLimit: __expectInt32(output.ThrottlingBurstLimit),
|
|
14915
|
+
ThrottlingRateLimit: __limitedParseDouble(output.ThrottlingRateLimit),
|
|
14292
14916
|
UnauthorizedCacheControlHeaderStrategy: __expectString(output.UnauthorizedCacheControlHeaderStrategy),
|
|
14293
14917
|
} as any;
|
|
14294
14918
|
};
|
|
@@ -14324,7 +14948,7 @@ const deserializeAws_restJson1AwsApiGatewayRestApiDetails = (
|
|
|
14324
14948
|
? deserializeAws_restJson1AwsApiGatewayEndpointConfiguration(output.EndpointConfiguration, context)
|
|
14325
14949
|
: undefined,
|
|
14326
14950
|
Id: __expectString(output.Id),
|
|
14327
|
-
MinimumCompressionSize:
|
|
14951
|
+
MinimumCompressionSize: __expectInt32(output.MinimumCompressionSize),
|
|
14328
14952
|
Name: __expectString(output.Name),
|
|
14329
14953
|
Version: __expectString(output.Version),
|
|
14330
14954
|
} as any;
|
|
@@ -14395,8 +15019,8 @@ const deserializeAws_restJson1AwsApiGatewayV2RouteSettings = (
|
|
|
14395
15019
|
DataTraceEnabled: __expectBoolean(output.DataTraceEnabled),
|
|
14396
15020
|
DetailedMetricsEnabled: __expectBoolean(output.DetailedMetricsEnabled),
|
|
14397
15021
|
LoggingLevel: __expectString(output.LoggingLevel),
|
|
14398
|
-
ThrottlingBurstLimit:
|
|
14399
|
-
ThrottlingRateLimit:
|
|
15022
|
+
ThrottlingBurstLimit: __expectInt32(output.ThrottlingBurstLimit),
|
|
15023
|
+
ThrottlingRateLimit: __limitedParseDouble(output.ThrottlingRateLimit),
|
|
14400
15024
|
} as any;
|
|
14401
15025
|
};
|
|
14402
15026
|
|
|
@@ -14439,7 +15063,7 @@ const deserializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails = (
|
|
|
14439
15063
|
): AwsAutoScalingAutoScalingGroupDetails => {
|
|
14440
15064
|
return {
|
|
14441
15065
|
CreatedTime: __expectString(output.CreatedTime),
|
|
14442
|
-
HealthCheckGracePeriod:
|
|
15066
|
+
HealthCheckGracePeriod: __expectInt32(output.HealthCheckGracePeriod),
|
|
14443
15067
|
HealthCheckType: __expectString(output.HealthCheckType),
|
|
14444
15068
|
LaunchConfigurationName: __expectString(output.LaunchConfigurationName),
|
|
14445
15069
|
LoadBalancerNames:
|
|
@@ -14449,6 +15073,102 @@ const deserializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails = (
|
|
|
14449
15073
|
} as any;
|
|
14450
15074
|
};
|
|
14451
15075
|
|
|
15076
|
+
const deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails = (
|
|
15077
|
+
output: any,
|
|
15078
|
+
context: __SerdeContext
|
|
15079
|
+
): AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails => {
|
|
15080
|
+
return {
|
|
15081
|
+
DeviceName: __expectString(output.DeviceName),
|
|
15082
|
+
Ebs:
|
|
15083
|
+
output.Ebs !== undefined && output.Ebs !== null
|
|
15084
|
+
? deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails(output.Ebs, context)
|
|
15085
|
+
: undefined,
|
|
15086
|
+
NoDevice: __expectBoolean(output.NoDevice),
|
|
15087
|
+
VirtualName: __expectString(output.VirtualName),
|
|
15088
|
+
} as any;
|
|
15089
|
+
};
|
|
15090
|
+
|
|
15091
|
+
const deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails = (
|
|
15092
|
+
output: any,
|
|
15093
|
+
context: __SerdeContext
|
|
15094
|
+
): AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails => {
|
|
15095
|
+
return {
|
|
15096
|
+
DeleteOnTermination: __expectBoolean(output.DeleteOnTermination),
|
|
15097
|
+
Encrypted: __expectBoolean(output.Encrypted),
|
|
15098
|
+
Iops: __expectInt32(output.Iops),
|
|
15099
|
+
SnapshotId: __expectString(output.SnapshotId),
|
|
15100
|
+
VolumeSize: __expectInt32(output.VolumeSize),
|
|
15101
|
+
VolumeType: __expectString(output.VolumeType),
|
|
15102
|
+
} as any;
|
|
15103
|
+
};
|
|
15104
|
+
|
|
15105
|
+
const deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsList = (
|
|
15106
|
+
output: any,
|
|
15107
|
+
context: __SerdeContext
|
|
15108
|
+
): AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails[] => {
|
|
15109
|
+
return (output || [])
|
|
15110
|
+
.filter((e: any) => e != null)
|
|
15111
|
+
.map((entry: any) => {
|
|
15112
|
+
if (entry === null) {
|
|
15113
|
+
return null as any;
|
|
15114
|
+
}
|
|
15115
|
+
return deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails(entry, context);
|
|
15116
|
+
});
|
|
15117
|
+
};
|
|
15118
|
+
|
|
15119
|
+
const deserializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails = (
|
|
15120
|
+
output: any,
|
|
15121
|
+
context: __SerdeContext
|
|
15122
|
+
): AwsAutoScalingLaunchConfigurationDetails => {
|
|
15123
|
+
return {
|
|
15124
|
+
AssociatePublicIpAddress: __expectBoolean(output.AssociatePublicIpAddress),
|
|
15125
|
+
BlockDeviceMappings:
|
|
15126
|
+
output.BlockDeviceMappings !== undefined && output.BlockDeviceMappings !== null
|
|
15127
|
+
? deserializeAws_restJson1AwsAutoScalingLaunchConfigurationBlockDeviceMappingsList(
|
|
15128
|
+
output.BlockDeviceMappings,
|
|
15129
|
+
context
|
|
15130
|
+
)
|
|
15131
|
+
: undefined,
|
|
15132
|
+
ClassicLinkVpcId: __expectString(output.ClassicLinkVpcId),
|
|
15133
|
+
ClassicLinkVpcSecurityGroups:
|
|
15134
|
+
output.ClassicLinkVpcSecurityGroups !== undefined && output.ClassicLinkVpcSecurityGroups !== null
|
|
15135
|
+
? deserializeAws_restJson1NonEmptyStringList(output.ClassicLinkVpcSecurityGroups, context)
|
|
15136
|
+
: undefined,
|
|
15137
|
+
CreatedTime: __expectString(output.CreatedTime),
|
|
15138
|
+
EbsOptimized: __expectBoolean(output.EbsOptimized),
|
|
15139
|
+
IamInstanceProfile: __expectString(output.IamInstanceProfile),
|
|
15140
|
+
ImageId: __expectString(output.ImageId),
|
|
15141
|
+
InstanceMonitoring:
|
|
15142
|
+
output.InstanceMonitoring !== undefined && output.InstanceMonitoring !== null
|
|
15143
|
+
? deserializeAws_restJson1AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails(
|
|
15144
|
+
output.InstanceMonitoring,
|
|
15145
|
+
context
|
|
15146
|
+
)
|
|
15147
|
+
: undefined,
|
|
15148
|
+
InstanceType: __expectString(output.InstanceType),
|
|
15149
|
+
KernelId: __expectString(output.KernelId),
|
|
15150
|
+
KeyName: __expectString(output.KeyName),
|
|
15151
|
+
LaunchConfigurationName: __expectString(output.LaunchConfigurationName),
|
|
15152
|
+
PlacementTenancy: __expectString(output.PlacementTenancy),
|
|
15153
|
+
RamdiskId: __expectString(output.RamdiskId),
|
|
15154
|
+
SecurityGroups:
|
|
15155
|
+
output.SecurityGroups !== undefined && output.SecurityGroups !== null
|
|
15156
|
+
? deserializeAws_restJson1NonEmptyStringList(output.SecurityGroups, context)
|
|
15157
|
+
: undefined,
|
|
15158
|
+
SpotPrice: __expectString(output.SpotPrice),
|
|
15159
|
+
UserData: __expectString(output.UserData),
|
|
15160
|
+
} as any;
|
|
15161
|
+
};
|
|
15162
|
+
|
|
15163
|
+
const deserializeAws_restJson1AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails = (
|
|
15164
|
+
output: any,
|
|
15165
|
+
context: __SerdeContext
|
|
15166
|
+
): AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails => {
|
|
15167
|
+
return {
|
|
15168
|
+
Enabled: __expectBoolean(output.Enabled),
|
|
15169
|
+
} as any;
|
|
15170
|
+
};
|
|
15171
|
+
|
|
14452
15172
|
const deserializeAws_restJson1AwsCertificateManagerCertificateDetails = (
|
|
14453
15173
|
output: any,
|
|
14454
15174
|
context: __SerdeContext
|
|
@@ -14746,7 +15466,7 @@ const deserializeAws_restJson1AwsCloudFrontDistributionOriginGroupFailoverStatus
|
|
|
14746
15466
|
output.Items !== undefined && output.Items !== null
|
|
14747
15467
|
? deserializeAws_restJson1AwsCloudFrontDistributionOriginGroupFailoverStatusCodesItemList(output.Items, context)
|
|
14748
15468
|
: undefined,
|
|
14749
|
-
Quantity:
|
|
15469
|
+
Quantity: __expectInt32(output.Quantity),
|
|
14750
15470
|
} as any;
|
|
14751
15471
|
};
|
|
14752
15472
|
|
|
@@ -14760,7 +15480,7 @@ const deserializeAws_restJson1AwsCloudFrontDistributionOriginGroupFailoverStatus
|
|
|
14760
15480
|
if (entry === null) {
|
|
14761
15481
|
return null as any;
|
|
14762
15482
|
}
|
|
14763
|
-
return
|
|
15483
|
+
return __expectInt32(entry) as any;
|
|
14764
15484
|
});
|
|
14765
15485
|
};
|
|
14766
15486
|
|
|
@@ -14916,7 +15636,7 @@ const deserializeAws_restJson1AwsCodeBuildProjectSource = (
|
|
|
14916
15636
|
context: __SerdeContext
|
|
14917
15637
|
): AwsCodeBuildProjectSource => {
|
|
14918
15638
|
return {
|
|
14919
|
-
GitCloneDepth:
|
|
15639
|
+
GitCloneDepth: __expectInt32(output.GitCloneDepth),
|
|
14920
15640
|
InsecureSsl: __expectBoolean(output.InsecureSsl),
|
|
14921
15641
|
Location: __expectString(output.Location),
|
|
14922
15642
|
Type: __expectString(output.Type),
|
|
@@ -14959,7 +15679,7 @@ const deserializeAws_restJson1AwsCorsConfiguration = (output: any, context: __Se
|
|
|
14959
15679
|
output.ExposeHeaders !== undefined && output.ExposeHeaders !== null
|
|
14960
15680
|
? deserializeAws_restJson1NonEmptyStringList(output.ExposeHeaders, context)
|
|
14961
15681
|
: undefined,
|
|
14962
|
-
MaxAge:
|
|
15682
|
+
MaxAge: __expectInt32(output.MaxAge),
|
|
14963
15683
|
} as any;
|
|
14964
15684
|
};
|
|
14965
15685
|
|
|
@@ -15016,7 +15736,7 @@ const deserializeAws_restJson1AwsDynamoDbTableDetails = (
|
|
|
15016
15736
|
? deserializeAws_restJson1AwsDynamoDbTableGlobalSecondaryIndexList(output.GlobalSecondaryIndexes, context)
|
|
15017
15737
|
: undefined,
|
|
15018
15738
|
GlobalTableVersion: __expectString(output.GlobalTableVersion),
|
|
15019
|
-
ItemCount:
|
|
15739
|
+
ItemCount: __expectInt32(output.ItemCount),
|
|
15020
15740
|
KeySchema:
|
|
15021
15741
|
output.KeySchema !== undefined && output.KeySchema !== null
|
|
15022
15742
|
? deserializeAws_restJson1AwsDynamoDbTableKeySchemaList(output.KeySchema, context)
|
|
@@ -15049,7 +15769,7 @@ const deserializeAws_restJson1AwsDynamoDbTableDetails = (
|
|
|
15049
15769
|
: undefined,
|
|
15050
15770
|
TableId: __expectString(output.TableId),
|
|
15051
15771
|
TableName: __expectString(output.TableName),
|
|
15052
|
-
TableSizeBytes:
|
|
15772
|
+
TableSizeBytes: __expectLong(output.TableSizeBytes),
|
|
15053
15773
|
TableStatus: __expectString(output.TableStatus),
|
|
15054
15774
|
} as any;
|
|
15055
15775
|
};
|
|
@@ -15062,9 +15782,9 @@ const deserializeAws_restJson1AwsDynamoDbTableGlobalSecondaryIndex = (
|
|
|
15062
15782
|
Backfilling: __expectBoolean(output.Backfilling),
|
|
15063
15783
|
IndexArn: __expectString(output.IndexArn),
|
|
15064
15784
|
IndexName: __expectString(output.IndexName),
|
|
15065
|
-
IndexSizeBytes:
|
|
15785
|
+
IndexSizeBytes: __expectLong(output.IndexSizeBytes),
|
|
15066
15786
|
IndexStatus: __expectString(output.IndexStatus),
|
|
15067
|
-
ItemCount:
|
|
15787
|
+
ItemCount: __expectInt32(output.ItemCount),
|
|
15068
15788
|
KeySchema:
|
|
15069
15789
|
output.KeySchema !== undefined && output.KeySchema !== null
|
|
15070
15790
|
? deserializeAws_restJson1AwsDynamoDbTableKeySchemaList(output.KeySchema, context)
|
|
@@ -15170,9 +15890,9 @@ const deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughput = (
|
|
|
15170
15890
|
return {
|
|
15171
15891
|
LastDecreaseDateTime: __expectString(output.LastDecreaseDateTime),
|
|
15172
15892
|
LastIncreaseDateTime: __expectString(output.LastIncreaseDateTime),
|
|
15173
|
-
NumberOfDecreasesToday:
|
|
15174
|
-
ReadCapacityUnits:
|
|
15175
|
-
WriteCapacityUnits:
|
|
15893
|
+
NumberOfDecreasesToday: __expectInt32(output.NumberOfDecreasesToday),
|
|
15894
|
+
ReadCapacityUnits: __expectInt32(output.ReadCapacityUnits),
|
|
15895
|
+
WriteCapacityUnits: __expectInt32(output.WriteCapacityUnits),
|
|
15176
15896
|
} as any;
|
|
15177
15897
|
};
|
|
15178
15898
|
|
|
@@ -15181,7 +15901,7 @@ const deserializeAws_restJson1AwsDynamoDbTableProvisionedThroughputOverride = (
|
|
|
15181
15901
|
context: __SerdeContext
|
|
15182
15902
|
): AwsDynamoDbTableProvisionedThroughputOverride => {
|
|
15183
15903
|
return {
|
|
15184
|
-
ReadCapacityUnits:
|
|
15904
|
+
ReadCapacityUnits: __expectInt32(output.ReadCapacityUnits),
|
|
15185
15905
|
} as any;
|
|
15186
15906
|
};
|
|
15187
15907
|
|
|
@@ -15411,7 +16131,7 @@ const deserializeAws_restJson1AwsEc2NetworkAclEntry = (output: any, context: __S
|
|
|
15411
16131
|
: undefined,
|
|
15412
16132
|
Protocol: __expectString(output.Protocol),
|
|
15413
16133
|
RuleAction: __expectString(output.RuleAction),
|
|
15414
|
-
RuleNumber:
|
|
16134
|
+
RuleNumber: __expectInt32(output.RuleNumber),
|
|
15415
16135
|
} as any;
|
|
15416
16136
|
};
|
|
15417
16137
|
|
|
@@ -15437,7 +16157,7 @@ const deserializeAws_restJson1AwsEc2NetworkInterfaceAttachment = (
|
|
|
15437
16157
|
AttachTime: __expectString(output.AttachTime),
|
|
15438
16158
|
AttachmentId: __expectString(output.AttachmentId),
|
|
15439
16159
|
DeleteOnTermination: __expectBoolean(output.DeleteOnTermination),
|
|
15440
|
-
DeviceIndex:
|
|
16160
|
+
DeviceIndex: __expectInt32(output.DeviceIndex),
|
|
15441
16161
|
InstanceId: __expectString(output.InstanceId),
|
|
15442
16162
|
InstanceOwnerId: __expectString(output.InstanceOwnerId),
|
|
15443
16163
|
Status: __expectString(output.Status),
|
|
@@ -15568,7 +16288,7 @@ const deserializeAws_restJson1AwsEc2SecurityGroupIpPermission = (
|
|
|
15568
16288
|
context: __SerdeContext
|
|
15569
16289
|
): AwsEc2SecurityGroupIpPermission => {
|
|
15570
16290
|
return {
|
|
15571
|
-
FromPort:
|
|
16291
|
+
FromPort: __expectInt32(output.FromPort),
|
|
15572
16292
|
IpProtocol: __expectString(output.IpProtocol),
|
|
15573
16293
|
IpRanges:
|
|
15574
16294
|
output.IpRanges !== undefined && output.IpRanges !== null
|
|
@@ -15582,7 +16302,7 @@ const deserializeAws_restJson1AwsEc2SecurityGroupIpPermission = (
|
|
|
15582
16302
|
output.PrefixListIds !== undefined && output.PrefixListIds !== null
|
|
15583
16303
|
? deserializeAws_restJson1AwsEc2SecurityGroupPrefixListIdList(output.PrefixListIds, context)
|
|
15584
16304
|
: undefined,
|
|
15585
|
-
ToPort:
|
|
16305
|
+
ToPort: __expectInt32(output.ToPort),
|
|
15586
16306
|
UserIdGroupPairs:
|
|
15587
16307
|
output.UserIdGroupPairs !== undefined && output.UserIdGroupPairs !== null
|
|
15588
16308
|
? deserializeAws_restJson1AwsEc2SecurityGroupUserIdGroupPairList(output.UserIdGroupPairs, context)
|
|
@@ -15706,7 +16426,7 @@ const deserializeAws_restJson1AwsEc2SubnetDetails = (output: any, context: __Ser
|
|
|
15706
16426
|
AssignIpv6AddressOnCreation: __expectBoolean(output.AssignIpv6AddressOnCreation),
|
|
15707
16427
|
AvailabilityZone: __expectString(output.AvailabilityZone),
|
|
15708
16428
|
AvailabilityZoneId: __expectString(output.AvailabilityZoneId),
|
|
15709
|
-
AvailableIpAddressCount:
|
|
16429
|
+
AvailableIpAddressCount: __expectInt32(output.AvailableIpAddressCount),
|
|
15710
16430
|
CidrBlock: __expectString(output.CidrBlock),
|
|
15711
16431
|
DefaultForAz: __expectBoolean(output.DefaultForAz),
|
|
15712
16432
|
Ipv6CidrBlockAssociationSet:
|
|
@@ -15757,7 +16477,7 @@ const deserializeAws_restJson1AwsEc2VolumeDetails = (output: any, context: __Ser
|
|
|
15757
16477
|
CreateTime: __expectString(output.CreateTime),
|
|
15758
16478
|
Encrypted: __expectBoolean(output.Encrypted),
|
|
15759
16479
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
15760
|
-
Size:
|
|
16480
|
+
Size: __expectInt32(output.Size),
|
|
15761
16481
|
SnapshotId: __expectString(output.SnapshotId),
|
|
15762
16482
|
Status: __expectString(output.Status),
|
|
15763
16483
|
} as any;
|
|
@@ -15778,6 +16498,175 @@ const deserializeAws_restJson1AwsEc2VpcDetails = (output: any, context: __SerdeC
|
|
|
15778
16498
|
} as any;
|
|
15779
16499
|
};
|
|
15780
16500
|
|
|
16501
|
+
const deserializeAws_restJson1AwsEc2VpnConnectionDetails = (
|
|
16502
|
+
output: any,
|
|
16503
|
+
context: __SerdeContext
|
|
16504
|
+
): AwsEc2VpnConnectionDetails => {
|
|
16505
|
+
return {
|
|
16506
|
+
Category: __expectString(output.Category),
|
|
16507
|
+
CustomerGatewayConfiguration: __expectString(output.CustomerGatewayConfiguration),
|
|
16508
|
+
CustomerGatewayId: __expectString(output.CustomerGatewayId),
|
|
16509
|
+
Options:
|
|
16510
|
+
output.Options !== undefined && output.Options !== null
|
|
16511
|
+
? deserializeAws_restJson1AwsEc2VpnConnectionOptionsDetails(output.Options, context)
|
|
16512
|
+
: undefined,
|
|
16513
|
+
Routes:
|
|
16514
|
+
output.Routes !== undefined && output.Routes !== null
|
|
16515
|
+
? deserializeAws_restJson1AwsEc2VpnConnectionRoutesList(output.Routes, context)
|
|
16516
|
+
: undefined,
|
|
16517
|
+
State: __expectString(output.State),
|
|
16518
|
+
TransitGatewayId: __expectString(output.TransitGatewayId),
|
|
16519
|
+
Type: __expectString(output.Type),
|
|
16520
|
+
VgwTelemetry:
|
|
16521
|
+
output.VgwTelemetry !== undefined && output.VgwTelemetry !== null
|
|
16522
|
+
? deserializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryList(output.VgwTelemetry, context)
|
|
16523
|
+
: undefined,
|
|
16524
|
+
VpnConnectionId: __expectString(output.VpnConnectionId),
|
|
16525
|
+
VpnGatewayId: __expectString(output.VpnGatewayId),
|
|
16526
|
+
} as any;
|
|
16527
|
+
};
|
|
16528
|
+
|
|
16529
|
+
const deserializeAws_restJson1AwsEc2VpnConnectionOptionsDetails = (
|
|
16530
|
+
output: any,
|
|
16531
|
+
context: __SerdeContext
|
|
16532
|
+
): AwsEc2VpnConnectionOptionsDetails => {
|
|
16533
|
+
return {
|
|
16534
|
+
StaticRoutesOnly: __expectBoolean(output.StaticRoutesOnly),
|
|
16535
|
+
TunnelOptions:
|
|
16536
|
+
output.TunnelOptions !== undefined && output.TunnelOptions !== null
|
|
16537
|
+
? deserializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsList(output.TunnelOptions, context)
|
|
16538
|
+
: undefined,
|
|
16539
|
+
} as any;
|
|
16540
|
+
};
|
|
16541
|
+
|
|
16542
|
+
const deserializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsDetails = (
|
|
16543
|
+
output: any,
|
|
16544
|
+
context: __SerdeContext
|
|
16545
|
+
): AwsEc2VpnConnectionOptionsTunnelOptionsDetails => {
|
|
16546
|
+
return {
|
|
16547
|
+
DpdTimeoutSeconds: __expectInt32(output.DpdTimeoutSeconds),
|
|
16548
|
+
IkeVersions:
|
|
16549
|
+
output.IkeVersions !== undefined && output.IkeVersions !== null
|
|
16550
|
+
? deserializeAws_restJson1NonEmptyStringList(output.IkeVersions, context)
|
|
16551
|
+
: undefined,
|
|
16552
|
+
OutsideIpAddress: __expectString(output.OutsideIpAddress),
|
|
16553
|
+
Phase1DhGroupNumbers:
|
|
16554
|
+
output.Phase1DhGroupNumbers !== undefined && output.Phase1DhGroupNumbers !== null
|
|
16555
|
+
? deserializeAws_restJson1IntegerList(output.Phase1DhGroupNumbers, context)
|
|
16556
|
+
: undefined,
|
|
16557
|
+
Phase1EncryptionAlgorithms:
|
|
16558
|
+
output.Phase1EncryptionAlgorithms !== undefined && output.Phase1EncryptionAlgorithms !== null
|
|
16559
|
+
? deserializeAws_restJson1NonEmptyStringList(output.Phase1EncryptionAlgorithms, context)
|
|
16560
|
+
: undefined,
|
|
16561
|
+
Phase1IntegrityAlgorithms:
|
|
16562
|
+
output.Phase1IntegrityAlgorithms !== undefined && output.Phase1IntegrityAlgorithms !== null
|
|
16563
|
+
? deserializeAws_restJson1NonEmptyStringList(output.Phase1IntegrityAlgorithms, context)
|
|
16564
|
+
: undefined,
|
|
16565
|
+
Phase1LifetimeSeconds: __expectInt32(output.Phase1LifetimeSeconds),
|
|
16566
|
+
Phase2DhGroupNumbers:
|
|
16567
|
+
output.Phase2DhGroupNumbers !== undefined && output.Phase2DhGroupNumbers !== null
|
|
16568
|
+
? deserializeAws_restJson1IntegerList(output.Phase2DhGroupNumbers, context)
|
|
16569
|
+
: undefined,
|
|
16570
|
+
Phase2EncryptionAlgorithms:
|
|
16571
|
+
output.Phase2EncryptionAlgorithms !== undefined && output.Phase2EncryptionAlgorithms !== null
|
|
16572
|
+
? deserializeAws_restJson1NonEmptyStringList(output.Phase2EncryptionAlgorithms, context)
|
|
16573
|
+
: undefined,
|
|
16574
|
+
Phase2IntegrityAlgorithms:
|
|
16575
|
+
output.Phase2IntegrityAlgorithms !== undefined && output.Phase2IntegrityAlgorithms !== null
|
|
16576
|
+
? deserializeAws_restJson1NonEmptyStringList(output.Phase2IntegrityAlgorithms, context)
|
|
16577
|
+
: undefined,
|
|
16578
|
+
Phase2LifetimeSeconds: __expectInt32(output.Phase2LifetimeSeconds),
|
|
16579
|
+
PreSharedKey: __expectString(output.PreSharedKey),
|
|
16580
|
+
RekeyFuzzPercentage: __expectInt32(output.RekeyFuzzPercentage),
|
|
16581
|
+
RekeyMarginTimeSeconds: __expectInt32(output.RekeyMarginTimeSeconds),
|
|
16582
|
+
ReplayWindowSize: __expectInt32(output.ReplayWindowSize),
|
|
16583
|
+
TunnelInsideCidr: __expectString(output.TunnelInsideCidr),
|
|
16584
|
+
} as any;
|
|
16585
|
+
};
|
|
16586
|
+
|
|
16587
|
+
const deserializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsList = (
|
|
16588
|
+
output: any,
|
|
16589
|
+
context: __SerdeContext
|
|
16590
|
+
): AwsEc2VpnConnectionOptionsTunnelOptionsDetails[] => {
|
|
16591
|
+
return (output || [])
|
|
16592
|
+
.filter((e: any) => e != null)
|
|
16593
|
+
.map((entry: any) => {
|
|
16594
|
+
if (entry === null) {
|
|
16595
|
+
return null as any;
|
|
16596
|
+
}
|
|
16597
|
+
return deserializeAws_restJson1AwsEc2VpnConnectionOptionsTunnelOptionsDetails(entry, context);
|
|
16598
|
+
});
|
|
16599
|
+
};
|
|
16600
|
+
|
|
16601
|
+
const deserializeAws_restJson1AwsEc2VpnConnectionRoutesDetails = (
|
|
16602
|
+
output: any,
|
|
16603
|
+
context: __SerdeContext
|
|
16604
|
+
): AwsEc2VpnConnectionRoutesDetails => {
|
|
16605
|
+
return {
|
|
16606
|
+
DestinationCidrBlock: __expectString(output.DestinationCidrBlock),
|
|
16607
|
+
State: __expectString(output.State),
|
|
16608
|
+
} as any;
|
|
16609
|
+
};
|
|
16610
|
+
|
|
16611
|
+
const deserializeAws_restJson1AwsEc2VpnConnectionRoutesList = (
|
|
16612
|
+
output: any,
|
|
16613
|
+
context: __SerdeContext
|
|
16614
|
+
): AwsEc2VpnConnectionRoutesDetails[] => {
|
|
16615
|
+
return (output || [])
|
|
16616
|
+
.filter((e: any) => e != null)
|
|
16617
|
+
.map((entry: any) => {
|
|
16618
|
+
if (entry === null) {
|
|
16619
|
+
return null as any;
|
|
16620
|
+
}
|
|
16621
|
+
return deserializeAws_restJson1AwsEc2VpnConnectionRoutesDetails(entry, context);
|
|
16622
|
+
});
|
|
16623
|
+
};
|
|
16624
|
+
|
|
16625
|
+
const deserializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryDetails = (
|
|
16626
|
+
output: any,
|
|
16627
|
+
context: __SerdeContext
|
|
16628
|
+
): AwsEc2VpnConnectionVgwTelemetryDetails => {
|
|
16629
|
+
return {
|
|
16630
|
+
AcceptedRouteCount: __expectInt32(output.AcceptedRouteCount),
|
|
16631
|
+
CertificateArn: __expectString(output.CertificateArn),
|
|
16632
|
+
LastStatusChange: __expectString(output.LastStatusChange),
|
|
16633
|
+
OutsideIpAddress: __expectString(output.OutsideIpAddress),
|
|
16634
|
+
Status: __expectString(output.Status),
|
|
16635
|
+
StatusMessage: __expectString(output.StatusMessage),
|
|
16636
|
+
} as any;
|
|
16637
|
+
};
|
|
16638
|
+
|
|
16639
|
+
const deserializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryList = (
|
|
16640
|
+
output: any,
|
|
16641
|
+
context: __SerdeContext
|
|
16642
|
+
): AwsEc2VpnConnectionVgwTelemetryDetails[] => {
|
|
16643
|
+
return (output || [])
|
|
16644
|
+
.filter((e: any) => e != null)
|
|
16645
|
+
.map((entry: any) => {
|
|
16646
|
+
if (entry === null) {
|
|
16647
|
+
return null as any;
|
|
16648
|
+
}
|
|
16649
|
+
return deserializeAws_restJson1AwsEc2VpnConnectionVgwTelemetryDetails(entry, context);
|
|
16650
|
+
});
|
|
16651
|
+
};
|
|
16652
|
+
|
|
16653
|
+
const deserializeAws_restJson1AwsEcrContainerImageDetails = (
|
|
16654
|
+
output: any,
|
|
16655
|
+
context: __SerdeContext
|
|
16656
|
+
): AwsEcrContainerImageDetails => {
|
|
16657
|
+
return {
|
|
16658
|
+
Architecture: __expectString(output.Architecture),
|
|
16659
|
+
ImageDigest: __expectString(output.ImageDigest),
|
|
16660
|
+
ImagePublishedAt: __expectString(output.ImagePublishedAt),
|
|
16661
|
+
ImageTags:
|
|
16662
|
+
output.ImageTags !== undefined && output.ImageTags !== null
|
|
16663
|
+
? deserializeAws_restJson1NonEmptyStringList(output.ImageTags, context)
|
|
16664
|
+
: undefined,
|
|
16665
|
+
RegistryId: __expectString(output.RegistryId),
|
|
16666
|
+
RepositoryName: __expectString(output.RepositoryName),
|
|
16667
|
+
} as any;
|
|
16668
|
+
};
|
|
16669
|
+
|
|
15781
16670
|
const deserializeAws_restJson1AwsEcsClusterClusterSettingsDetails = (
|
|
15782
16671
|
output: any,
|
|
15783
16672
|
context: __SerdeContext
|
|
@@ -15852,9 +16741,9 @@ const deserializeAws_restJson1AwsEcsClusterDefaultCapacityProviderStrategyDetail
|
|
|
15852
16741
|
context: __SerdeContext
|
|
15853
16742
|
): AwsEcsClusterDefaultCapacityProviderStrategyDetails => {
|
|
15854
16743
|
return {
|
|
15855
|
-
Base:
|
|
16744
|
+
Base: __expectInt32(output.Base),
|
|
15856
16745
|
CapacityProvider: __expectString(output.CapacityProvider),
|
|
15857
|
-
Weight:
|
|
16746
|
+
Weight: __expectInt32(output.Weight),
|
|
15858
16747
|
} as any;
|
|
15859
16748
|
};
|
|
15860
16749
|
|
|
@@ -15901,9 +16790,9 @@ const deserializeAws_restJson1AwsEcsServiceCapacityProviderStrategyDetails = (
|
|
|
15901
16790
|
context: __SerdeContext
|
|
15902
16791
|
): AwsEcsServiceCapacityProviderStrategyDetails => {
|
|
15903
16792
|
return {
|
|
15904
|
-
Base:
|
|
16793
|
+
Base: __expectInt32(output.Base),
|
|
15905
16794
|
CapacityProvider: __expectString(output.CapacityProvider),
|
|
15906
|
-
Weight:
|
|
16795
|
+
Weight: __expectInt32(output.Weight),
|
|
15907
16796
|
} as any;
|
|
15908
16797
|
};
|
|
15909
16798
|
|
|
@@ -15943,8 +16832,8 @@ const deserializeAws_restJson1AwsEcsServiceDeploymentConfigurationDetails = (
|
|
|
15943
16832
|
context
|
|
15944
16833
|
)
|
|
15945
16834
|
: undefined,
|
|
15946
|
-
MaximumPercent:
|
|
15947
|
-
MinimumHealthyPercent:
|
|
16835
|
+
MaximumPercent: __expectInt32(output.MaximumPercent),
|
|
16836
|
+
MinimumHealthyPercent: __expectInt32(output.MinimumHealthyPercent),
|
|
15948
16837
|
} as any;
|
|
15949
16838
|
};
|
|
15950
16839
|
|
|
@@ -15972,10 +16861,10 @@ const deserializeAws_restJson1AwsEcsServiceDetails = (output: any, context: __Se
|
|
|
15972
16861
|
output.DeploymentController !== undefined && output.DeploymentController !== null
|
|
15973
16862
|
? deserializeAws_restJson1AwsEcsServiceDeploymentControllerDetails(output.DeploymentController, context)
|
|
15974
16863
|
: undefined,
|
|
15975
|
-
DesiredCount:
|
|
16864
|
+
DesiredCount: __expectInt32(output.DesiredCount),
|
|
15976
16865
|
EnableEcsManagedTags: __expectBoolean(output.EnableEcsManagedTags),
|
|
15977
16866
|
EnableExecuteCommand: __expectBoolean(output.EnableExecuteCommand),
|
|
15978
|
-
HealthCheckGracePeriodSeconds:
|
|
16867
|
+
HealthCheckGracePeriodSeconds: __expectInt32(output.HealthCheckGracePeriodSeconds),
|
|
15979
16868
|
LaunchType: __expectString(output.LaunchType),
|
|
15980
16869
|
LoadBalancers:
|
|
15981
16870
|
output.LoadBalancers !== undefined && output.LoadBalancers !== null
|
|
@@ -16014,7 +16903,7 @@ const deserializeAws_restJson1AwsEcsServiceLoadBalancersDetails = (
|
|
|
16014
16903
|
): AwsEcsServiceLoadBalancersDetails => {
|
|
16015
16904
|
return {
|
|
16016
16905
|
ContainerName: __expectString(output.ContainerName),
|
|
16017
|
-
ContainerPort:
|
|
16906
|
+
ContainerPort: __expectInt32(output.ContainerPort),
|
|
16018
16907
|
LoadBalancerName: __expectString(output.LoadBalancerName),
|
|
16019
16908
|
TargetGroupArn: __expectString(output.TargetGroupArn),
|
|
16020
16909
|
} as any;
|
|
@@ -16120,8 +17009,8 @@ const deserializeAws_restJson1AwsEcsServiceServiceRegistriesDetails = (
|
|
|
16120
17009
|
): AwsEcsServiceServiceRegistriesDetails => {
|
|
16121
17010
|
return {
|
|
16122
17011
|
ContainerName: __expectString(output.ContainerName),
|
|
16123
|
-
ContainerPort:
|
|
16124
|
-
Port:
|
|
17012
|
+
ContainerPort: __expectInt32(output.ContainerPort),
|
|
17013
|
+
Port: __expectInt32(output.Port),
|
|
16125
17014
|
RegistryArn: __expectString(output.RegistryArn),
|
|
16126
17015
|
} as any;
|
|
16127
17016
|
};
|
|
@@ -16173,7 +17062,7 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsDetails =
|
|
|
16173
17062
|
output.Command !== undefined && output.Command !== null
|
|
16174
17063
|
? deserializeAws_restJson1NonEmptyStringList(output.Command, context)
|
|
16175
17064
|
: undefined,
|
|
16176
|
-
Cpu:
|
|
17065
|
+
Cpu: __expectInt32(output.Cpu),
|
|
16177
17066
|
DependsOn:
|
|
16178
17067
|
output.DependsOn !== undefined && output.DependsOn !== null
|
|
16179
17068
|
? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsDependsOnList(output.DependsOn, context)
|
|
@@ -16250,8 +17139,8 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsDetails =
|
|
|
16250
17139
|
context
|
|
16251
17140
|
)
|
|
16252
17141
|
: undefined,
|
|
16253
|
-
Memory:
|
|
16254
|
-
MemoryReservation:
|
|
17142
|
+
Memory: __expectInt32(output.Memory),
|
|
17143
|
+
MemoryReservation: __expectInt32(output.MemoryReservation),
|
|
16255
17144
|
MountPoints:
|
|
16256
17145
|
output.MountPoints !== undefined && output.MountPoints !== null
|
|
16257
17146
|
? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsMountPointsList(output.MountPoints, context)
|
|
@@ -16282,8 +17171,8 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsDetails =
|
|
|
16282
17171
|
output.Secrets !== undefined && output.Secrets !== null
|
|
16283
17172
|
? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsSecretsList(output.Secrets, context)
|
|
16284
17173
|
: undefined,
|
|
16285
|
-
StartTimeout:
|
|
16286
|
-
StopTimeout:
|
|
17174
|
+
StartTimeout: __expectInt32(output.StartTimeout),
|
|
17175
|
+
StopTimeout: __expectInt32(output.StopTimeout),
|
|
16287
17176
|
SystemControls:
|
|
16288
17177
|
output.SystemControls !== undefined && output.SystemControls !== null
|
|
16289
17178
|
? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsSystemControlsList(
|
|
@@ -16398,10 +17287,10 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsHealthChec
|
|
|
16398
17287
|
output.Command !== undefined && output.Command !== null
|
|
16399
17288
|
? deserializeAws_restJson1NonEmptyStringList(output.Command, context)
|
|
16400
17289
|
: undefined,
|
|
16401
|
-
Interval:
|
|
16402
|
-
Retries:
|
|
16403
|
-
StartPeriod:
|
|
16404
|
-
Timeout:
|
|
17290
|
+
Interval: __expectInt32(output.Interval),
|
|
17291
|
+
Retries: __expectInt32(output.Retries),
|
|
17292
|
+
StartPeriod: __expectInt32(output.StartPeriod),
|
|
17293
|
+
Timeout: __expectInt32(output.Timeout),
|
|
16405
17294
|
} as any;
|
|
16406
17295
|
};
|
|
16407
17296
|
|
|
@@ -16441,9 +17330,9 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLinuxParam
|
|
|
16441
17330
|
)
|
|
16442
17331
|
: undefined,
|
|
16443
17332
|
InitProcessEnabled: __expectBoolean(output.InitProcessEnabled),
|
|
16444
|
-
MaxSwap:
|
|
16445
|
-
SharedMemorySize:
|
|
16446
|
-
Swappiness:
|
|
17333
|
+
MaxSwap: __expectInt32(output.MaxSwap),
|
|
17334
|
+
SharedMemorySize: __expectInt32(output.SharedMemorySize),
|
|
17335
|
+
Swappiness: __expectInt32(output.Swappiness),
|
|
16447
17336
|
Tmpfs:
|
|
16448
17337
|
output.Tmpfs !== undefined && output.Tmpfs !== null
|
|
16449
17338
|
? deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsList(
|
|
@@ -16495,7 +17384,7 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsLinuxParam
|
|
|
16495
17384
|
output.MountOptions !== undefined && output.MountOptions !== null
|
|
16496
17385
|
? deserializeAws_restJson1NonEmptyStringList(output.MountOptions, context)
|
|
16497
17386
|
: undefined,
|
|
16498
|
-
Size:
|
|
17387
|
+
Size: __expectInt32(output.Size),
|
|
16499
17388
|
} as any;
|
|
16500
17389
|
};
|
|
16501
17390
|
|
|
@@ -16607,8 +17496,8 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsPortMappin
|
|
|
16607
17496
|
context: __SerdeContext
|
|
16608
17497
|
): AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails => {
|
|
16609
17498
|
return {
|
|
16610
|
-
ContainerPort:
|
|
16611
|
-
HostPort:
|
|
17499
|
+
ContainerPort: __expectInt32(output.ContainerPort),
|
|
17500
|
+
HostPort: __expectInt32(output.HostPort),
|
|
16612
17501
|
Protocol: __expectString(output.Protocol),
|
|
16613
17502
|
} as any;
|
|
16614
17503
|
};
|
|
@@ -16716,9 +17605,9 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionContainerDefinitionsUlimitsDet
|
|
|
16716
17605
|
context: __SerdeContext
|
|
16717
17606
|
): AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails => {
|
|
16718
17607
|
return {
|
|
16719
|
-
HardLimit:
|
|
17608
|
+
HardLimit: __expectInt32(output.HardLimit),
|
|
16720
17609
|
Name: __expectString(output.Name),
|
|
16721
|
-
SoftLimit:
|
|
17610
|
+
SoftLimit: __expectInt32(output.SoftLimit),
|
|
16722
17611
|
} as any;
|
|
16723
17612
|
};
|
|
16724
17613
|
|
|
@@ -16963,7 +17852,7 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationD
|
|
|
16963
17852
|
FilesystemId: __expectString(output.FilesystemId),
|
|
16964
17853
|
RootDirectory: __expectString(output.RootDirectory),
|
|
16965
17854
|
TransitEncryption: __expectString(output.TransitEncryption),
|
|
16966
|
-
TransitEncryptionPort:
|
|
17855
|
+
TransitEncryptionPort: __expectInt32(output.TransitEncryptionPort),
|
|
16967
17856
|
} as any;
|
|
16968
17857
|
};
|
|
16969
17858
|
|
|
@@ -17150,10 +18039,10 @@ const deserializeAws_restJson1AwsElasticsearchDomainElasticsearchClusterConfigDe
|
|
|
17150
18039
|
context: __SerdeContext
|
|
17151
18040
|
): AwsElasticsearchDomainElasticsearchClusterConfigDetails => {
|
|
17152
18041
|
return {
|
|
17153
|
-
DedicatedMasterCount:
|
|
18042
|
+
DedicatedMasterCount: __expectInt32(output.DedicatedMasterCount),
|
|
17154
18043
|
DedicatedMasterEnabled: __expectBoolean(output.DedicatedMasterEnabled),
|
|
17155
18044
|
DedicatedMasterType: __expectString(output.DedicatedMasterType),
|
|
17156
|
-
InstanceCount:
|
|
18045
|
+
InstanceCount: __expectInt32(output.InstanceCount),
|
|
17157
18046
|
InstanceType: __expectString(output.InstanceType),
|
|
17158
18047
|
ZoneAwarenessConfig:
|
|
17159
18048
|
output.ZoneAwarenessConfig !== undefined && output.ZoneAwarenessConfig !== null
|
|
@@ -17171,7 +18060,7 @@ const deserializeAws_restJson1AwsElasticsearchDomainElasticsearchClusterConfigZo
|
|
|
17171
18060
|
context: __SerdeContext
|
|
17172
18061
|
): AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails => {
|
|
17173
18062
|
return {
|
|
17174
|
-
AvailabilityZoneCount:
|
|
18063
|
+
AvailabilityZoneCount: __expectInt32(output.AvailabilityZoneCount),
|
|
17175
18064
|
} as any;
|
|
17176
18065
|
};
|
|
17177
18066
|
|
|
@@ -17303,7 +18192,7 @@ const deserializeAws_restJson1AwsElbLbCookieStickinessPolicy = (
|
|
|
17303
18192
|
context: __SerdeContext
|
|
17304
18193
|
): AwsElbLbCookieStickinessPolicy => {
|
|
17305
18194
|
return {
|
|
17306
|
-
CookieExpirationPeriod:
|
|
18195
|
+
CookieExpirationPeriod: __expectLong(output.CookieExpirationPeriod),
|
|
17307
18196
|
PolicyName: __expectString(output.PolicyName),
|
|
17308
18197
|
} as any;
|
|
17309
18198
|
};
|
|
@@ -17313,7 +18202,7 @@ const deserializeAws_restJson1AwsElbLoadBalancerAccessLog = (
|
|
|
17313
18202
|
context: __SerdeContext
|
|
17314
18203
|
): AwsElbLoadBalancerAccessLog => {
|
|
17315
18204
|
return {
|
|
17316
|
-
EmitInterval:
|
|
18205
|
+
EmitInterval: __expectInt32(output.EmitInterval),
|
|
17317
18206
|
Enabled: __expectBoolean(output.Enabled),
|
|
17318
18207
|
S3BucketName: __expectString(output.S3BucketName),
|
|
17319
18208
|
S3BucketPrefix: __expectString(output.S3BucketPrefix),
|
|
@@ -17349,7 +18238,7 @@ const deserializeAws_restJson1AwsElbLoadBalancerBackendServerDescription = (
|
|
|
17349
18238
|
context: __SerdeContext
|
|
17350
18239
|
): AwsElbLoadBalancerBackendServerDescription => {
|
|
17351
18240
|
return {
|
|
17352
|
-
InstancePort:
|
|
18241
|
+
InstancePort: __expectInt32(output.InstancePort),
|
|
17353
18242
|
PolicyNames:
|
|
17354
18243
|
output.PolicyNames !== undefined && output.PolicyNames !== null
|
|
17355
18244
|
? deserializeAws_restJson1StringList(output.PolicyNames, context)
|
|
@@ -17377,7 +18266,7 @@ const deserializeAws_restJson1AwsElbLoadBalancerConnectionDraining = (
|
|
|
17377
18266
|
): AwsElbLoadBalancerConnectionDraining => {
|
|
17378
18267
|
return {
|
|
17379
18268
|
Enabled: __expectBoolean(output.Enabled),
|
|
17380
|
-
Timeout:
|
|
18269
|
+
Timeout: __expectInt32(output.Timeout),
|
|
17381
18270
|
} as any;
|
|
17382
18271
|
};
|
|
17383
18272
|
|
|
@@ -17386,7 +18275,7 @@ const deserializeAws_restJson1AwsElbLoadBalancerConnectionSettings = (
|
|
|
17386
18275
|
context: __SerdeContext
|
|
17387
18276
|
): AwsElbLoadBalancerConnectionSettings => {
|
|
17388
18277
|
return {
|
|
17389
|
-
IdleTimeout:
|
|
18278
|
+
IdleTimeout: __expectInt32(output.IdleTimeout),
|
|
17390
18279
|
} as any;
|
|
17391
18280
|
};
|
|
17392
18281
|
|
|
@@ -17459,11 +18348,11 @@ const deserializeAws_restJson1AwsElbLoadBalancerHealthCheck = (
|
|
|
17459
18348
|
context: __SerdeContext
|
|
17460
18349
|
): AwsElbLoadBalancerHealthCheck => {
|
|
17461
18350
|
return {
|
|
17462
|
-
HealthyThreshold:
|
|
17463
|
-
Interval:
|
|
18351
|
+
HealthyThreshold: __expectInt32(output.HealthyThreshold),
|
|
18352
|
+
Interval: __expectInt32(output.Interval),
|
|
17464
18353
|
Target: __expectString(output.Target),
|
|
17465
|
-
Timeout:
|
|
17466
|
-
UnhealthyThreshold:
|
|
18354
|
+
Timeout: __expectInt32(output.Timeout),
|
|
18355
|
+
UnhealthyThreshold: __expectInt32(output.UnhealthyThreshold),
|
|
17467
18356
|
} as any;
|
|
17468
18357
|
};
|
|
17469
18358
|
|
|
@@ -17495,9 +18384,9 @@ const deserializeAws_restJson1AwsElbLoadBalancerListener = (
|
|
|
17495
18384
|
context: __SerdeContext
|
|
17496
18385
|
): AwsElbLoadBalancerListener => {
|
|
17497
18386
|
return {
|
|
17498
|
-
InstancePort:
|
|
18387
|
+
InstancePort: __expectInt32(output.InstancePort),
|
|
17499
18388
|
InstanceProtocol: __expectString(output.InstanceProtocol),
|
|
17500
|
-
LoadBalancerPort:
|
|
18389
|
+
LoadBalancerPort: __expectInt32(output.LoadBalancerPort),
|
|
17501
18390
|
Protocol: __expectString(output.Protocol),
|
|
17502
18391
|
SslCertificateId: __expectString(output.SslCertificateId),
|
|
17503
18392
|
} as any;
|
|
@@ -17775,13 +18664,13 @@ const deserializeAws_restJson1AwsIamPermissionsBoundary = (
|
|
|
17775
18664
|
|
|
17776
18665
|
const deserializeAws_restJson1AwsIamPolicyDetails = (output: any, context: __SerdeContext): AwsIamPolicyDetails => {
|
|
17777
18666
|
return {
|
|
17778
|
-
AttachmentCount:
|
|
18667
|
+
AttachmentCount: __expectInt32(output.AttachmentCount),
|
|
17779
18668
|
CreateDate: __expectString(output.CreateDate),
|
|
17780
18669
|
DefaultVersionId: __expectString(output.DefaultVersionId),
|
|
17781
18670
|
Description: __expectString(output.Description),
|
|
17782
18671
|
IsAttachable: __expectBoolean(output.IsAttachable),
|
|
17783
18672
|
Path: __expectString(output.Path),
|
|
17784
|
-
PermissionsBoundaryUsageCount:
|
|
18673
|
+
PermissionsBoundaryUsageCount: __expectInt32(output.PermissionsBoundaryUsageCount),
|
|
17785
18674
|
PolicyId: __expectString(output.PolicyId),
|
|
17786
18675
|
PolicyName: __expectString(output.PolicyName),
|
|
17787
18676
|
PolicyVersionList:
|
|
@@ -17826,7 +18715,7 @@ const deserializeAws_restJson1AwsIamRoleDetails = (output: any, context: __Serde
|
|
|
17826
18715
|
output.InstanceProfileList !== undefined && output.InstanceProfileList !== null
|
|
17827
18716
|
? deserializeAws_restJson1AwsIamInstanceProfileList(output.InstanceProfileList, context)
|
|
17828
18717
|
: undefined,
|
|
17829
|
-
MaxSessionDuration:
|
|
18718
|
+
MaxSessionDuration: __expectInt32(output.MaxSessionDuration),
|
|
17830
18719
|
Path: __expectString(output.Path),
|
|
17831
18720
|
PermissionsBoundary:
|
|
17832
18721
|
output.PermissionsBoundary !== undefined && output.PermissionsBoundary !== null
|
|
@@ -17903,10 +18792,11 @@ const deserializeAws_restJson1AwsIamUserPolicyList = (output: any, context: __Se
|
|
|
17903
18792
|
const deserializeAws_restJson1AwsKmsKeyDetails = (output: any, context: __SerdeContext): AwsKmsKeyDetails => {
|
|
17904
18793
|
return {
|
|
17905
18794
|
AWSAccountId: __expectString(output.AWSAccountId),
|
|
17906
|
-
CreationDate:
|
|
18795
|
+
CreationDate: __limitedParseDouble(output.CreationDate),
|
|
17907
18796
|
Description: __expectString(output.Description),
|
|
17908
18797
|
KeyId: __expectString(output.KeyId),
|
|
17909
18798
|
KeyManager: __expectString(output.KeyManager),
|
|
18799
|
+
KeyRotationStatus: __expectBoolean(output.KeyRotationStatus),
|
|
17910
18800
|
KeyState: __expectString(output.KeyState),
|
|
17911
18801
|
Origin: __expectString(output.Origin),
|
|
17912
18802
|
} as any;
|
|
@@ -17957,11 +18847,11 @@ const deserializeAws_restJson1AwsLambdaFunctionDetails = (
|
|
|
17957
18847
|
? deserializeAws_restJson1AwsLambdaFunctionLayerList(output.Layers, context)
|
|
17958
18848
|
: undefined,
|
|
17959
18849
|
MasterArn: __expectString(output.MasterArn),
|
|
17960
|
-
MemorySize:
|
|
18850
|
+
MemorySize: __expectInt32(output.MemorySize),
|
|
17961
18851
|
RevisionId: __expectString(output.RevisionId),
|
|
17962
18852
|
Role: __expectString(output.Role),
|
|
17963
18853
|
Runtime: __expectString(output.Runtime),
|
|
17964
|
-
Timeout:
|
|
18854
|
+
Timeout: __expectInt32(output.Timeout),
|
|
17965
18855
|
TracingConfig:
|
|
17966
18856
|
output.TracingConfig !== undefined && output.TracingConfig !== null
|
|
17967
18857
|
? deserializeAws_restJson1AwsLambdaFunctionTracingConfig(output.TracingConfig, context)
|
|
@@ -18006,7 +18896,7 @@ const deserializeAws_restJson1AwsLambdaFunctionLayer = (
|
|
|
18006
18896
|
): AwsLambdaFunctionLayer => {
|
|
18007
18897
|
return {
|
|
18008
18898
|
Arn: __expectString(output.Arn),
|
|
18009
|
-
CodeSize:
|
|
18899
|
+
CodeSize: __expectInt32(output.CodeSize),
|
|
18010
18900
|
} as any;
|
|
18011
18901
|
};
|
|
18012
18902
|
|
|
@@ -18060,7 +18950,7 @@ const deserializeAws_restJson1AwsLambdaLayerVersionDetails = (
|
|
|
18060
18950
|
? deserializeAws_restJson1NonEmptyStringList(output.CompatibleRuntimes, context)
|
|
18061
18951
|
: undefined,
|
|
18062
18952
|
CreatedDate: __expectString(output.CreatedDate),
|
|
18063
|
-
Version:
|
|
18953
|
+
Version: __expectLong(output.Version),
|
|
18064
18954
|
} as any;
|
|
18065
18955
|
};
|
|
18066
18956
|
|
|
@@ -18094,7 +18984,7 @@ const deserializeAws_restJson1AwsRdsDbClusterDetails = (
|
|
|
18094
18984
|
): AwsRdsDbClusterDetails => {
|
|
18095
18985
|
return {
|
|
18096
18986
|
ActivityStreamStatus: __expectString(output.ActivityStreamStatus),
|
|
18097
|
-
AllocatedStorage:
|
|
18987
|
+
AllocatedStorage: __expectInt32(output.AllocatedStorage),
|
|
18098
18988
|
AssociatedRoles:
|
|
18099
18989
|
output.AssociatedRoles !== undefined && output.AssociatedRoles !== null
|
|
18100
18990
|
? deserializeAws_restJson1AwsRdsDbClusterAssociatedRoles(output.AssociatedRoles, context)
|
|
@@ -18103,7 +18993,7 @@ const deserializeAws_restJson1AwsRdsDbClusterDetails = (
|
|
|
18103
18993
|
output.AvailabilityZones !== undefined && output.AvailabilityZones !== null
|
|
18104
18994
|
? deserializeAws_restJson1StringList(output.AvailabilityZones, context)
|
|
18105
18995
|
: undefined,
|
|
18106
|
-
BackupRetentionPeriod:
|
|
18996
|
+
BackupRetentionPeriod: __expectInt32(output.BackupRetentionPeriod),
|
|
18107
18997
|
ClusterCreateTime: __expectString(output.ClusterCreateTime),
|
|
18108
18998
|
CopyTagsToSnapshot: __expectBoolean(output.CopyTagsToSnapshot),
|
|
18109
18999
|
CrossAccountClone: __expectBoolean(output.CrossAccountClone),
|
|
@@ -18143,7 +19033,7 @@ const deserializeAws_restJson1AwsRdsDbClusterDetails = (
|
|
|
18143
19033
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
18144
19034
|
MasterUsername: __expectString(output.MasterUsername),
|
|
18145
19035
|
MultiAz: __expectBoolean(output.MultiAz),
|
|
18146
|
-
Port:
|
|
19036
|
+
Port: __expectInt32(output.Port),
|
|
18147
19037
|
PreferredBackupWindow: __expectString(output.PreferredBackupWindow),
|
|
18148
19038
|
PreferredMaintenanceWindow: __expectString(output.PreferredMaintenanceWindow),
|
|
18149
19039
|
ReadReplicaIdentifiers:
|
|
@@ -18165,7 +19055,7 @@ const deserializeAws_restJson1AwsRdsDbClusterMember = (output: any, context: __S
|
|
|
18165
19055
|
DbClusterParameterGroupStatus: __expectString(output.DbClusterParameterGroupStatus),
|
|
18166
19056
|
DbInstanceIdentifier: __expectString(output.DbInstanceIdentifier),
|
|
18167
19057
|
IsClusterWriter: __expectBoolean(output.IsClusterWriter),
|
|
18168
|
-
PromotionTier:
|
|
19058
|
+
PromotionTier: __expectInt32(output.PromotionTier),
|
|
18169
19059
|
} as any;
|
|
18170
19060
|
};
|
|
18171
19061
|
|
|
@@ -18212,7 +19102,7 @@ const deserializeAws_restJson1AwsRdsDbClusterSnapshotDetails = (
|
|
|
18212
19102
|
context: __SerdeContext
|
|
18213
19103
|
): AwsRdsDbClusterSnapshotDetails => {
|
|
18214
19104
|
return {
|
|
18215
|
-
AllocatedStorage:
|
|
19105
|
+
AllocatedStorage: __expectInt32(output.AllocatedStorage),
|
|
18216
19106
|
AvailabilityZones:
|
|
18217
19107
|
output.AvailabilityZones !== undefined && output.AvailabilityZones !== null
|
|
18218
19108
|
? deserializeAws_restJson1StringList(output.AvailabilityZones, context)
|
|
@@ -18226,8 +19116,8 @@ const deserializeAws_restJson1AwsRdsDbClusterSnapshotDetails = (
|
|
|
18226
19116
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
18227
19117
|
LicenseModel: __expectString(output.LicenseModel),
|
|
18228
19118
|
MasterUsername: __expectString(output.MasterUsername),
|
|
18229
|
-
PercentProgress:
|
|
18230
|
-
Port:
|
|
19119
|
+
PercentProgress: __expectInt32(output.PercentProgress),
|
|
19120
|
+
Port: __expectInt32(output.Port),
|
|
18231
19121
|
SnapshotCreateTime: __expectString(output.SnapshotCreateTime),
|
|
18232
19122
|
SnapshotType: __expectString(output.SnapshotType),
|
|
18233
19123
|
Status: __expectString(output.Status),
|
|
@@ -18292,14 +19182,14 @@ const deserializeAws_restJson1AwsRdsDbInstanceDetails = (
|
|
|
18292
19182
|
context: __SerdeContext
|
|
18293
19183
|
): AwsRdsDbInstanceDetails => {
|
|
18294
19184
|
return {
|
|
18295
|
-
AllocatedStorage:
|
|
19185
|
+
AllocatedStorage: __expectInt32(output.AllocatedStorage),
|
|
18296
19186
|
AssociatedRoles:
|
|
18297
19187
|
output.AssociatedRoles !== undefined && output.AssociatedRoles !== null
|
|
18298
19188
|
? deserializeAws_restJson1AwsRdsDbInstanceAssociatedRoles(output.AssociatedRoles, context)
|
|
18299
19189
|
: undefined,
|
|
18300
19190
|
AutoMinorVersionUpgrade: __expectBoolean(output.AutoMinorVersionUpgrade),
|
|
18301
19191
|
AvailabilityZone: __expectString(output.AvailabilityZone),
|
|
18302
|
-
BackupRetentionPeriod:
|
|
19192
|
+
BackupRetentionPeriod: __expectInt32(output.BackupRetentionPeriod),
|
|
18303
19193
|
CACertificateIdentifier: __expectString(output.CACertificateIdentifier),
|
|
18304
19194
|
CharacterSetName: __expectString(output.CharacterSetName),
|
|
18305
19195
|
CopyTagsToSnapshot: __expectBoolean(output.CopyTagsToSnapshot),
|
|
@@ -18307,7 +19197,7 @@ const deserializeAws_restJson1AwsRdsDbInstanceDetails = (
|
|
|
18307
19197
|
DBInstanceClass: __expectString(output.DBInstanceClass),
|
|
18308
19198
|
DBInstanceIdentifier: __expectString(output.DBInstanceIdentifier),
|
|
18309
19199
|
DBName: __expectString(output.DBName),
|
|
18310
|
-
DbInstancePort:
|
|
19200
|
+
DbInstancePort: __expectInt32(output.DbInstancePort),
|
|
18311
19201
|
DbInstanceStatus: __expectString(output.DbInstanceStatus),
|
|
18312
19202
|
DbParameterGroups:
|
|
18313
19203
|
output.DbParameterGroups !== undefined && output.DbParameterGroups !== null
|
|
@@ -18340,7 +19230,7 @@ const deserializeAws_restJson1AwsRdsDbInstanceDetails = (
|
|
|
18340
19230
|
EnhancedMonitoringResourceArn: __expectString(output.EnhancedMonitoringResourceArn),
|
|
18341
19231
|
IAMDatabaseAuthenticationEnabled: __expectBoolean(output.IAMDatabaseAuthenticationEnabled),
|
|
18342
19232
|
InstanceCreateTime: __expectString(output.InstanceCreateTime),
|
|
18343
|
-
Iops:
|
|
19233
|
+
Iops: __expectInt32(output.Iops),
|
|
18344
19234
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
18345
19235
|
LatestRestorableTime: __expectString(output.LatestRestorableTime),
|
|
18346
19236
|
LicenseModel: __expectString(output.LicenseModel),
|
|
@@ -18349,8 +19239,8 @@ const deserializeAws_restJson1AwsRdsDbInstanceDetails = (
|
|
|
18349
19239
|
? deserializeAws_restJson1AwsRdsDbInstanceEndpoint(output.ListenerEndpoint, context)
|
|
18350
19240
|
: undefined,
|
|
18351
19241
|
MasterUsername: __expectString(output.MasterUsername),
|
|
18352
|
-
MaxAllocatedStorage:
|
|
18353
|
-
MonitoringInterval:
|
|
19242
|
+
MaxAllocatedStorage: __expectInt32(output.MaxAllocatedStorage),
|
|
19243
|
+
MonitoringInterval: __expectInt32(output.MonitoringInterval),
|
|
18354
19244
|
MonitoringRoleArn: __expectString(output.MonitoringRoleArn),
|
|
18355
19245
|
MultiAz: __expectBoolean(output.MultiAz),
|
|
18356
19246
|
OptionGroupMemberships:
|
|
@@ -18363,14 +19253,14 @@ const deserializeAws_restJson1AwsRdsDbInstanceDetails = (
|
|
|
18363
19253
|
: undefined,
|
|
18364
19254
|
PerformanceInsightsEnabled: __expectBoolean(output.PerformanceInsightsEnabled),
|
|
18365
19255
|
PerformanceInsightsKmsKeyId: __expectString(output.PerformanceInsightsKmsKeyId),
|
|
18366
|
-
PerformanceInsightsRetentionPeriod:
|
|
19256
|
+
PerformanceInsightsRetentionPeriod: __expectInt32(output.PerformanceInsightsRetentionPeriod),
|
|
18367
19257
|
PreferredBackupWindow: __expectString(output.PreferredBackupWindow),
|
|
18368
19258
|
PreferredMaintenanceWindow: __expectString(output.PreferredMaintenanceWindow),
|
|
18369
19259
|
ProcessorFeatures:
|
|
18370
19260
|
output.ProcessorFeatures !== undefined && output.ProcessorFeatures !== null
|
|
18371
19261
|
? deserializeAws_restJson1AwsRdsDbProcessorFeatures(output.ProcessorFeatures, context)
|
|
18372
19262
|
: undefined,
|
|
18373
|
-
PromotionTier:
|
|
19263
|
+
PromotionTier: __expectInt32(output.PromotionTier),
|
|
18374
19264
|
PubliclyAccessible: __expectBoolean(output.PubliclyAccessible),
|
|
18375
19265
|
ReadReplicaDBClusterIdentifiers:
|
|
18376
19266
|
output.ReadReplicaDBClusterIdentifiers !== undefined && output.ReadReplicaDBClusterIdentifiers !== null
|
|
@@ -18404,7 +19294,7 @@ const deserializeAws_restJson1AwsRdsDbInstanceEndpoint = (
|
|
|
18404
19294
|
return {
|
|
18405
19295
|
Address: __expectString(output.Address),
|
|
18406
19296
|
HostedZoneId: __expectString(output.HostedZoneId),
|
|
18407
|
-
Port:
|
|
19297
|
+
Port: __expectInt32(output.Port),
|
|
18408
19298
|
} as any;
|
|
18409
19299
|
};
|
|
18410
19300
|
|
|
@@ -18485,14 +19375,14 @@ const deserializeAws_restJson1AwsRdsDbPendingModifiedValues = (
|
|
|
18485
19375
|
context: __SerdeContext
|
|
18486
19376
|
): AwsRdsDbPendingModifiedValues => {
|
|
18487
19377
|
return {
|
|
18488
|
-
AllocatedStorage:
|
|
18489
|
-
BackupRetentionPeriod:
|
|
19378
|
+
AllocatedStorage: __expectInt32(output.AllocatedStorage),
|
|
19379
|
+
BackupRetentionPeriod: __expectInt32(output.BackupRetentionPeriod),
|
|
18490
19380
|
CaCertificateIdentifier: __expectString(output.CaCertificateIdentifier),
|
|
18491
19381
|
DbInstanceClass: __expectString(output.DbInstanceClass),
|
|
18492
19382
|
DbInstanceIdentifier: __expectString(output.DbInstanceIdentifier),
|
|
18493
19383
|
DbSubnetGroupName: __expectString(output.DbSubnetGroupName),
|
|
18494
19384
|
EngineVersion: __expectString(output.EngineVersion),
|
|
18495
|
-
Iops:
|
|
19385
|
+
Iops: __expectInt32(output.Iops),
|
|
18496
19386
|
LicenseModel: __expectString(output.LicenseModel),
|
|
18497
19387
|
MasterUserPassword: __expectString(output.MasterUserPassword),
|
|
18498
19388
|
MultiAZ: __expectBoolean(output.MultiAZ),
|
|
@@ -18500,7 +19390,7 @@ const deserializeAws_restJson1AwsRdsDbPendingModifiedValues = (
|
|
|
18500
19390
|
output.PendingCloudWatchLogsExports !== undefined && output.PendingCloudWatchLogsExports !== null
|
|
18501
19391
|
? deserializeAws_restJson1AwsRdsPendingCloudWatchLogsExports(output.PendingCloudWatchLogsExports, context)
|
|
18502
19392
|
: undefined,
|
|
18503
|
-
Port:
|
|
19393
|
+
Port: __expectInt32(output.Port),
|
|
18504
19394
|
ProcessorFeatures:
|
|
18505
19395
|
output.ProcessorFeatures !== undefined && output.ProcessorFeatures !== null
|
|
18506
19396
|
? deserializeAws_restJson1AwsRdsDbProcessorFeatures(output.ProcessorFeatures, context)
|
|
@@ -18538,7 +19428,7 @@ const deserializeAws_restJson1AwsRdsDbSnapshotDetails = (
|
|
|
18538
19428
|
context: __SerdeContext
|
|
18539
19429
|
): AwsRdsDbSnapshotDetails => {
|
|
18540
19430
|
return {
|
|
18541
|
-
AllocatedStorage:
|
|
19431
|
+
AllocatedStorage: __expectInt32(output.AllocatedStorage),
|
|
18542
19432
|
AvailabilityZone: __expectString(output.AvailabilityZone),
|
|
18543
19433
|
DbInstanceIdentifier: __expectString(output.DbInstanceIdentifier),
|
|
18544
19434
|
DbSnapshotIdentifier: __expectString(output.DbSnapshotIdentifier),
|
|
@@ -18548,13 +19438,13 @@ const deserializeAws_restJson1AwsRdsDbSnapshotDetails = (
|
|
|
18548
19438
|
EngineVersion: __expectString(output.EngineVersion),
|
|
18549
19439
|
IamDatabaseAuthenticationEnabled: __expectBoolean(output.IamDatabaseAuthenticationEnabled),
|
|
18550
19440
|
InstanceCreateTime: __expectString(output.InstanceCreateTime),
|
|
18551
|
-
Iops:
|
|
19441
|
+
Iops: __expectInt32(output.Iops),
|
|
18552
19442
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
18553
19443
|
LicenseModel: __expectString(output.LicenseModel),
|
|
18554
19444
|
MasterUsername: __expectString(output.MasterUsername),
|
|
18555
19445
|
OptionGroupName: __expectString(output.OptionGroupName),
|
|
18556
|
-
PercentProgress:
|
|
18557
|
-
Port:
|
|
19446
|
+
PercentProgress: __expectInt32(output.PercentProgress),
|
|
19447
|
+
Port: __expectInt32(output.Port),
|
|
18558
19448
|
ProcessorFeatures:
|
|
18559
19449
|
output.ProcessorFeatures !== undefined && output.ProcessorFeatures !== null
|
|
18560
19450
|
? deserializeAws_restJson1AwsRdsDbProcessorFeatures(output.ProcessorFeatures, context)
|
|
@@ -18793,8 +19683,8 @@ const deserializeAws_restJson1AwsRedshiftClusterClusterSnapshotCopyStatus = (
|
|
|
18793
19683
|
): AwsRedshiftClusterClusterSnapshotCopyStatus => {
|
|
18794
19684
|
return {
|
|
18795
19685
|
DestinationRegion: __expectString(output.DestinationRegion),
|
|
18796
|
-
ManualSnapshotRetentionPeriod:
|
|
18797
|
-
RetentionPeriod:
|
|
19686
|
+
ManualSnapshotRetentionPeriod: __expectInt32(output.ManualSnapshotRetentionPeriod),
|
|
19687
|
+
RetentionPeriod: __expectInt32(output.RetentionPeriod),
|
|
18798
19688
|
SnapshotCopyGrantName: __expectString(output.SnapshotCopyGrantName),
|
|
18799
19689
|
} as any;
|
|
18800
19690
|
};
|
|
@@ -18830,7 +19720,7 @@ const deserializeAws_restJson1AwsRedshiftClusterDetails = (
|
|
|
18830
19720
|
): AwsRedshiftClusterDetails => {
|
|
18831
19721
|
return {
|
|
18832
19722
|
AllowVersionUpgrade: __expectBoolean(output.AllowVersionUpgrade),
|
|
18833
|
-
AutomatedSnapshotRetentionPeriod:
|
|
19723
|
+
AutomatedSnapshotRetentionPeriod: __expectInt32(output.AutomatedSnapshotRetentionPeriod),
|
|
18834
19724
|
AvailabilityZone: __expectString(output.AvailabilityZone),
|
|
18835
19725
|
ClusterAvailabilityStatus: __expectString(output.ClusterAvailabilityStatus),
|
|
18836
19726
|
ClusterCreateTime: __expectString(output.ClusterCreateTime),
|
|
@@ -18887,11 +19777,11 @@ const deserializeAws_restJson1AwsRedshiftClusterDetails = (
|
|
|
18887
19777
|
: undefined,
|
|
18888
19778
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
18889
19779
|
MaintenanceTrackName: __expectString(output.MaintenanceTrackName),
|
|
18890
|
-
ManualSnapshotRetentionPeriod:
|
|
19780
|
+
ManualSnapshotRetentionPeriod: __expectInt32(output.ManualSnapshotRetentionPeriod),
|
|
18891
19781
|
MasterUsername: __expectString(output.MasterUsername),
|
|
18892
19782
|
NextMaintenanceWindowStartTime: __expectString(output.NextMaintenanceWindowStartTime),
|
|
18893
19783
|
NodeType: __expectString(output.NodeType),
|
|
18894
|
-
NumberOfNodes:
|
|
19784
|
+
NumberOfNodes: __expectInt32(output.NumberOfNodes),
|
|
18895
19785
|
PendingActions:
|
|
18896
19786
|
output.PendingActions !== undefined && output.PendingActions !== null
|
|
18897
19787
|
? deserializeAws_restJson1StringList(output.PendingActions, context)
|
|
@@ -18936,7 +19826,7 @@ const deserializeAws_restJson1AwsRedshiftClusterEndpoint = (
|
|
|
18936
19826
|
): AwsRedshiftClusterEndpoint => {
|
|
18937
19827
|
return {
|
|
18938
19828
|
Address: __expectString(output.Address),
|
|
18939
|
-
Port:
|
|
19829
|
+
Port: __expectInt32(output.Port),
|
|
18940
19830
|
} as any;
|
|
18941
19831
|
};
|
|
18942
19832
|
|
|
@@ -18980,7 +19870,7 @@ const deserializeAws_restJson1AwsRedshiftClusterPendingModifiedValues = (
|
|
|
18980
19870
|
context: __SerdeContext
|
|
18981
19871
|
): AwsRedshiftClusterPendingModifiedValues => {
|
|
18982
19872
|
return {
|
|
18983
|
-
AutomatedSnapshotRetentionPeriod:
|
|
19873
|
+
AutomatedSnapshotRetentionPeriod: __expectInt32(output.AutomatedSnapshotRetentionPeriod),
|
|
18984
19874
|
ClusterIdentifier: __expectString(output.ClusterIdentifier),
|
|
18985
19875
|
ClusterType: __expectString(output.ClusterType),
|
|
18986
19876
|
ClusterVersion: __expectString(output.ClusterVersion),
|
|
@@ -18989,7 +19879,7 @@ const deserializeAws_restJson1AwsRedshiftClusterPendingModifiedValues = (
|
|
|
18989
19879
|
MaintenanceTrackName: __expectString(output.MaintenanceTrackName),
|
|
18990
19880
|
MasterUserPassword: __expectString(output.MasterUserPassword),
|
|
18991
19881
|
NodeType: __expectString(output.NodeType),
|
|
18992
|
-
NumberOfNodes:
|
|
19882
|
+
NumberOfNodes: __expectInt32(output.NumberOfNodes),
|
|
18993
19883
|
PubliclyAccessible: __expectBoolean(output.PubliclyAccessible),
|
|
18994
19884
|
} as any;
|
|
18995
19885
|
};
|
|
@@ -19009,11 +19899,11 @@ const deserializeAws_restJson1AwsRedshiftClusterRestoreStatus = (
|
|
|
19009
19899
|
context: __SerdeContext
|
|
19010
19900
|
): AwsRedshiftClusterRestoreStatus => {
|
|
19011
19901
|
return {
|
|
19012
|
-
CurrentRestoreRateInMegaBytesPerSecond:
|
|
19013
|
-
ElapsedTimeInSeconds:
|
|
19014
|
-
EstimatedTimeToCompletionInSeconds:
|
|
19015
|
-
ProgressInMegaBytes:
|
|
19016
|
-
SnapshotSizeInMegaBytes:
|
|
19902
|
+
CurrentRestoreRateInMegaBytesPerSecond: __limitedParseDouble(output.CurrentRestoreRateInMegaBytesPerSecond),
|
|
19903
|
+
ElapsedTimeInSeconds: __expectLong(output.ElapsedTimeInSeconds),
|
|
19904
|
+
EstimatedTimeToCompletionInSeconds: __expectLong(output.EstimatedTimeToCompletionInSeconds),
|
|
19905
|
+
ProgressInMegaBytes: __expectLong(output.ProgressInMegaBytes),
|
|
19906
|
+
SnapshotSizeInMegaBytes: __expectLong(output.SnapshotSizeInMegaBytes),
|
|
19017
19907
|
Status: __expectString(output.Status),
|
|
19018
19908
|
} as any;
|
|
19019
19909
|
};
|
|
@@ -19071,7 +19961,7 @@ const deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesAbortI
|
|
|
19071
19961
|
context: __SerdeContext
|
|
19072
19962
|
): AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails => {
|
|
19073
19963
|
return {
|
|
19074
|
-
DaysAfterInitiation:
|
|
19964
|
+
DaysAfterInitiation: __expectInt32(output.DaysAfterInitiation),
|
|
19075
19965
|
} as any;
|
|
19076
19966
|
};
|
|
19077
19967
|
|
|
@@ -19088,14 +19978,14 @@ const deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesDetail
|
|
|
19088
19978
|
)
|
|
19089
19979
|
: undefined,
|
|
19090
19980
|
ExpirationDate: __expectString(output.ExpirationDate),
|
|
19091
|
-
ExpirationInDays:
|
|
19981
|
+
ExpirationInDays: __expectInt32(output.ExpirationInDays),
|
|
19092
19982
|
ExpiredObjectDeleteMarker: __expectBoolean(output.ExpiredObjectDeleteMarker),
|
|
19093
19983
|
Filter:
|
|
19094
19984
|
output.Filter !== undefined && output.Filter !== null
|
|
19095
19985
|
? deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails(output.Filter, context)
|
|
19096
19986
|
: undefined,
|
|
19097
19987
|
ID: __expectString(output.ID),
|
|
19098
|
-
NoncurrentVersionExpirationInDays:
|
|
19988
|
+
NoncurrentVersionExpirationInDays: __expectInt32(output.NoncurrentVersionExpirationInDays),
|
|
19099
19989
|
NoncurrentVersionTransitions:
|
|
19100
19990
|
output.NoncurrentVersionTransitions !== undefined && output.NoncurrentVersionTransitions !== null
|
|
19101
19991
|
? deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsList(
|
|
@@ -19227,7 +20117,7 @@ const deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesNoncur
|
|
|
19227
20117
|
context: __SerdeContext
|
|
19228
20118
|
): AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails => {
|
|
19229
20119
|
return {
|
|
19230
|
-
Days:
|
|
20120
|
+
Days: __expectInt32(output.Days),
|
|
19231
20121
|
StorageClass: __expectString(output.StorageClass),
|
|
19232
20122
|
} as any;
|
|
19233
20123
|
};
|
|
@@ -19255,7 +20145,7 @@ const deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesTransi
|
|
|
19255
20145
|
): AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails => {
|
|
19256
20146
|
return {
|
|
19257
20147
|
Date: __expectString(output.Date),
|
|
19258
|
-
Days:
|
|
20148
|
+
Days: __expectInt32(output.Days),
|
|
19259
20149
|
StorageClass: __expectString(output.StorageClass),
|
|
19260
20150
|
} as any;
|
|
19261
20151
|
};
|
|
@@ -19276,6 +20166,7 @@ const deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationRulesTransi
|
|
|
19276
20166
|
|
|
19277
20167
|
const deserializeAws_restJson1AwsS3BucketDetails = (output: any, context: __SerdeContext): AwsS3BucketDetails => {
|
|
19278
20168
|
return {
|
|
20169
|
+
AccessControlList: __expectString(output.AccessControlList),
|
|
19279
20170
|
BucketLifecycleConfiguration:
|
|
19280
20171
|
output.BucketLifecycleConfiguration !== undefined && output.BucketLifecycleConfiguration !== null
|
|
19281
20172
|
? deserializeAws_restJson1AwsS3BucketBucketLifecycleConfigurationDetails(
|
|
@@ -19283,6 +20174,18 @@ const deserializeAws_restJson1AwsS3BucketDetails = (output: any, context: __Serd
|
|
|
19283
20174
|
context
|
|
19284
20175
|
)
|
|
19285
20176
|
: undefined,
|
|
20177
|
+
BucketLoggingConfiguration:
|
|
20178
|
+
output.BucketLoggingConfiguration !== undefined && output.BucketLoggingConfiguration !== null
|
|
20179
|
+
? deserializeAws_restJson1AwsS3BucketLoggingConfiguration(output.BucketLoggingConfiguration, context)
|
|
20180
|
+
: undefined,
|
|
20181
|
+
BucketNotificationConfiguration:
|
|
20182
|
+
output.BucketNotificationConfiguration !== undefined && output.BucketNotificationConfiguration !== null
|
|
20183
|
+
? deserializeAws_restJson1AwsS3BucketNotificationConfiguration(output.BucketNotificationConfiguration, context)
|
|
20184
|
+
: undefined,
|
|
20185
|
+
BucketWebsiteConfiguration:
|
|
20186
|
+
output.BucketWebsiteConfiguration !== undefined && output.BucketWebsiteConfiguration !== null
|
|
20187
|
+
? deserializeAws_restJson1AwsS3BucketWebsiteConfiguration(output.BucketWebsiteConfiguration, context)
|
|
20188
|
+
: undefined,
|
|
19286
20189
|
CreatedAt: __expectString(output.CreatedAt),
|
|
19287
20190
|
OwnerId: __expectString(output.OwnerId),
|
|
19288
20191
|
OwnerName: __expectString(output.OwnerName),
|
|
@@ -19300,6 +20203,122 @@ const deserializeAws_restJson1AwsS3BucketDetails = (output: any, context: __Serd
|
|
|
19300
20203
|
} as any;
|
|
19301
20204
|
};
|
|
19302
20205
|
|
|
20206
|
+
const deserializeAws_restJson1AwsS3BucketLoggingConfiguration = (
|
|
20207
|
+
output: any,
|
|
20208
|
+
context: __SerdeContext
|
|
20209
|
+
): AwsS3BucketLoggingConfiguration => {
|
|
20210
|
+
return {
|
|
20211
|
+
DestinationBucketName: __expectString(output.DestinationBucketName),
|
|
20212
|
+
LogFilePrefix: __expectString(output.LogFilePrefix),
|
|
20213
|
+
} as any;
|
|
20214
|
+
};
|
|
20215
|
+
|
|
20216
|
+
const deserializeAws_restJson1AwsS3BucketNotificationConfiguration = (
|
|
20217
|
+
output: any,
|
|
20218
|
+
context: __SerdeContext
|
|
20219
|
+
): AwsS3BucketNotificationConfiguration => {
|
|
20220
|
+
return {
|
|
20221
|
+
Configurations:
|
|
20222
|
+
output.Configurations !== undefined && output.Configurations !== null
|
|
20223
|
+
? deserializeAws_restJson1AwsS3BucketNotificationConfigurationDetails(output.Configurations, context)
|
|
20224
|
+
: undefined,
|
|
20225
|
+
} as any;
|
|
20226
|
+
};
|
|
20227
|
+
|
|
20228
|
+
const deserializeAws_restJson1AwsS3BucketNotificationConfigurationDetail = (
|
|
20229
|
+
output: any,
|
|
20230
|
+
context: __SerdeContext
|
|
20231
|
+
): AwsS3BucketNotificationConfigurationDetail => {
|
|
20232
|
+
return {
|
|
20233
|
+
Destination: __expectString(output.Destination),
|
|
20234
|
+
Events:
|
|
20235
|
+
output.Events !== undefined && output.Events !== null
|
|
20236
|
+
? deserializeAws_restJson1AwsS3BucketNotificationConfigurationEvents(output.Events, context)
|
|
20237
|
+
: undefined,
|
|
20238
|
+
Filter:
|
|
20239
|
+
output.Filter !== undefined && output.Filter !== null
|
|
20240
|
+
? deserializeAws_restJson1AwsS3BucketNotificationConfigurationFilter(output.Filter, context)
|
|
20241
|
+
: undefined,
|
|
20242
|
+
Type: __expectString(output.Type),
|
|
20243
|
+
} as any;
|
|
20244
|
+
};
|
|
20245
|
+
|
|
20246
|
+
const deserializeAws_restJson1AwsS3BucketNotificationConfigurationDetails = (
|
|
20247
|
+
output: any,
|
|
20248
|
+
context: __SerdeContext
|
|
20249
|
+
): AwsS3BucketNotificationConfigurationDetail[] => {
|
|
20250
|
+
return (output || [])
|
|
20251
|
+
.filter((e: any) => e != null)
|
|
20252
|
+
.map((entry: any) => {
|
|
20253
|
+
if (entry === null) {
|
|
20254
|
+
return null as any;
|
|
20255
|
+
}
|
|
20256
|
+
return deserializeAws_restJson1AwsS3BucketNotificationConfigurationDetail(entry, context);
|
|
20257
|
+
});
|
|
20258
|
+
};
|
|
20259
|
+
|
|
20260
|
+
const deserializeAws_restJson1AwsS3BucketNotificationConfigurationEvents = (
|
|
20261
|
+
output: any,
|
|
20262
|
+
context: __SerdeContext
|
|
20263
|
+
): string[] => {
|
|
20264
|
+
return (output || [])
|
|
20265
|
+
.filter((e: any) => e != null)
|
|
20266
|
+
.map((entry: any) => {
|
|
20267
|
+
if (entry === null) {
|
|
20268
|
+
return null as any;
|
|
20269
|
+
}
|
|
20270
|
+
return __expectString(entry) as any;
|
|
20271
|
+
});
|
|
20272
|
+
};
|
|
20273
|
+
|
|
20274
|
+
const deserializeAws_restJson1AwsS3BucketNotificationConfigurationFilter = (
|
|
20275
|
+
output: any,
|
|
20276
|
+
context: __SerdeContext
|
|
20277
|
+
): AwsS3BucketNotificationConfigurationFilter => {
|
|
20278
|
+
return {
|
|
20279
|
+
S3KeyFilter:
|
|
20280
|
+
output.S3KeyFilter !== undefined && output.S3KeyFilter !== null
|
|
20281
|
+
? deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilter(output.S3KeyFilter, context)
|
|
20282
|
+
: undefined,
|
|
20283
|
+
} as any;
|
|
20284
|
+
};
|
|
20285
|
+
|
|
20286
|
+
const deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilter = (
|
|
20287
|
+
output: any,
|
|
20288
|
+
context: __SerdeContext
|
|
20289
|
+
): AwsS3BucketNotificationConfigurationS3KeyFilter => {
|
|
20290
|
+
return {
|
|
20291
|
+
FilterRules:
|
|
20292
|
+
output.FilterRules !== undefined && output.FilterRules !== null
|
|
20293
|
+
? deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRules(output.FilterRules, context)
|
|
20294
|
+
: undefined,
|
|
20295
|
+
} as any;
|
|
20296
|
+
};
|
|
20297
|
+
|
|
20298
|
+
const deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRule = (
|
|
20299
|
+
output: any,
|
|
20300
|
+
context: __SerdeContext
|
|
20301
|
+
): AwsS3BucketNotificationConfigurationS3KeyFilterRule => {
|
|
20302
|
+
return {
|
|
20303
|
+
Name: __expectString(output.Name),
|
|
20304
|
+
Value: __expectString(output.Value),
|
|
20305
|
+
} as any;
|
|
20306
|
+
};
|
|
20307
|
+
|
|
20308
|
+
const deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRules = (
|
|
20309
|
+
output: any,
|
|
20310
|
+
context: __SerdeContext
|
|
20311
|
+
): AwsS3BucketNotificationConfigurationS3KeyFilterRule[] => {
|
|
20312
|
+
return (output || [])
|
|
20313
|
+
.filter((e: any) => e != null)
|
|
20314
|
+
.map((entry: any) => {
|
|
20315
|
+
if (entry === null) {
|
|
20316
|
+
return null as any;
|
|
20317
|
+
}
|
|
20318
|
+
return deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRule(entry, context);
|
|
20319
|
+
});
|
|
20320
|
+
};
|
|
20321
|
+
|
|
19303
20322
|
const deserializeAws_restJson1AwsS3BucketServerSideEncryptionByDefault = (
|
|
19304
20323
|
output: any,
|
|
19305
20324
|
context: __SerdeContext
|
|
@@ -19351,6 +20370,87 @@ const deserializeAws_restJson1AwsS3BucketServerSideEncryptionRules = (
|
|
|
19351
20370
|
});
|
|
19352
20371
|
};
|
|
19353
20372
|
|
|
20373
|
+
const deserializeAws_restJson1AwsS3BucketWebsiteConfiguration = (
|
|
20374
|
+
output: any,
|
|
20375
|
+
context: __SerdeContext
|
|
20376
|
+
): AwsS3BucketWebsiteConfiguration => {
|
|
20377
|
+
return {
|
|
20378
|
+
ErrorDocument: __expectString(output.ErrorDocument),
|
|
20379
|
+
IndexDocumentSuffix: __expectString(output.IndexDocumentSuffix),
|
|
20380
|
+
RedirectAllRequestsTo:
|
|
20381
|
+
output.RedirectAllRequestsTo !== undefined && output.RedirectAllRequestsTo !== null
|
|
20382
|
+
? deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRedirectTo(output.RedirectAllRequestsTo, context)
|
|
20383
|
+
: undefined,
|
|
20384
|
+
RoutingRules:
|
|
20385
|
+
output.RoutingRules !== undefined && output.RoutingRules !== null
|
|
20386
|
+
? deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRules(output.RoutingRules, context)
|
|
20387
|
+
: undefined,
|
|
20388
|
+
} as any;
|
|
20389
|
+
};
|
|
20390
|
+
|
|
20391
|
+
const deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRedirectTo = (
|
|
20392
|
+
output: any,
|
|
20393
|
+
context: __SerdeContext
|
|
20394
|
+
): AwsS3BucketWebsiteConfigurationRedirectTo => {
|
|
20395
|
+
return {
|
|
20396
|
+
Hostname: __expectString(output.Hostname),
|
|
20397
|
+
Protocol: __expectString(output.Protocol),
|
|
20398
|
+
} as any;
|
|
20399
|
+
};
|
|
20400
|
+
|
|
20401
|
+
const deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRule = (
|
|
20402
|
+
output: any,
|
|
20403
|
+
context: __SerdeContext
|
|
20404
|
+
): AwsS3BucketWebsiteConfigurationRoutingRule => {
|
|
20405
|
+
return {
|
|
20406
|
+
Condition:
|
|
20407
|
+
output.Condition !== undefined && output.Condition !== null
|
|
20408
|
+
? deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleCondition(output.Condition, context)
|
|
20409
|
+
: undefined,
|
|
20410
|
+
Redirect:
|
|
20411
|
+
output.Redirect !== undefined && output.Redirect !== null
|
|
20412
|
+
? deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleRedirect(output.Redirect, context)
|
|
20413
|
+
: undefined,
|
|
20414
|
+
} as any;
|
|
20415
|
+
};
|
|
20416
|
+
|
|
20417
|
+
const deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleCondition = (
|
|
20418
|
+
output: any,
|
|
20419
|
+
context: __SerdeContext
|
|
20420
|
+
): AwsS3BucketWebsiteConfigurationRoutingRuleCondition => {
|
|
20421
|
+
return {
|
|
20422
|
+
HttpErrorCodeReturnedEquals: __expectString(output.HttpErrorCodeReturnedEquals),
|
|
20423
|
+
KeyPrefixEquals: __expectString(output.KeyPrefixEquals),
|
|
20424
|
+
} as any;
|
|
20425
|
+
};
|
|
20426
|
+
|
|
20427
|
+
const deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRuleRedirect = (
|
|
20428
|
+
output: any,
|
|
20429
|
+
context: __SerdeContext
|
|
20430
|
+
): AwsS3BucketWebsiteConfigurationRoutingRuleRedirect => {
|
|
20431
|
+
return {
|
|
20432
|
+
Hostname: __expectString(output.Hostname),
|
|
20433
|
+
HttpRedirectCode: __expectString(output.HttpRedirectCode),
|
|
20434
|
+
Protocol: __expectString(output.Protocol),
|
|
20435
|
+
ReplaceKeyPrefixWith: __expectString(output.ReplaceKeyPrefixWith),
|
|
20436
|
+
ReplaceKeyWith: __expectString(output.ReplaceKeyWith),
|
|
20437
|
+
} as any;
|
|
20438
|
+
};
|
|
20439
|
+
|
|
20440
|
+
const deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRules = (
|
|
20441
|
+
output: any,
|
|
20442
|
+
context: __SerdeContext
|
|
20443
|
+
): AwsS3BucketWebsiteConfigurationRoutingRule[] => {
|
|
20444
|
+
return (output || [])
|
|
20445
|
+
.filter((e: any) => e != null)
|
|
20446
|
+
.map((entry: any) => {
|
|
20447
|
+
if (entry === null) {
|
|
20448
|
+
return null as any;
|
|
20449
|
+
}
|
|
20450
|
+
return deserializeAws_restJson1AwsS3BucketWebsiteConfigurationRoutingRule(entry, context);
|
|
20451
|
+
});
|
|
20452
|
+
};
|
|
20453
|
+
|
|
19354
20454
|
const deserializeAws_restJson1AwsS3ObjectDetails = (output: any, context: __SerdeContext): AwsS3ObjectDetails => {
|
|
19355
20455
|
return {
|
|
19356
20456
|
ContentType: __expectString(output.ContentType),
|
|
@@ -19386,7 +20486,7 @@ const deserializeAws_restJson1AwsSecretsManagerSecretRotationRules = (
|
|
|
19386
20486
|
context: __SerdeContext
|
|
19387
20487
|
): AwsSecretsManagerSecretRotationRules => {
|
|
19388
20488
|
return {
|
|
19389
|
-
AutomaticallyAfterDays:
|
|
20489
|
+
AutomaticallyAfterDays: __expectInt32(output.AutomaticallyAfterDays),
|
|
19390
20490
|
} as any;
|
|
19391
20491
|
};
|
|
19392
20492
|
|
|
@@ -19402,9 +20502,9 @@ const deserializeAws_restJson1AwsSecurityFinding = (output: any, context: __Serd
|
|
|
19402
20502
|
output.Compliance !== undefined && output.Compliance !== null
|
|
19403
20503
|
? deserializeAws_restJson1Compliance(output.Compliance, context)
|
|
19404
20504
|
: undefined,
|
|
19405
|
-
Confidence:
|
|
20505
|
+
Confidence: __expectInt32(output.Confidence),
|
|
19406
20506
|
CreatedAt: __expectString(output.CreatedAt),
|
|
19407
|
-
Criticality:
|
|
20507
|
+
Criticality: __expectInt32(output.Criticality),
|
|
19408
20508
|
Description: __expectString(output.Description),
|
|
19409
20509
|
FindingProviderFields:
|
|
19410
20510
|
output.FindingProviderFields !== undefined && output.FindingProviderFields !== null
|
|
@@ -19953,7 +21053,7 @@ const deserializeAws_restJson1AwsSnsTopicSubscriptionList = (
|
|
|
19953
21053
|
const deserializeAws_restJson1AwsSqsQueueDetails = (output: any, context: __SerdeContext): AwsSqsQueueDetails => {
|
|
19954
21054
|
return {
|
|
19955
21055
|
DeadLetterTargetArn: __expectString(output.DeadLetterTargetArn),
|
|
19956
|
-
KmsDataKeyReusePeriodSeconds:
|
|
21056
|
+
KmsDataKeyReusePeriodSeconds: __expectInt32(output.KmsDataKeyReusePeriodSeconds),
|
|
19957
21057
|
KmsMasterKeyId: __expectString(output.KmsMasterKeyId),
|
|
19958
21058
|
QueueName: __expectString(output.QueueName),
|
|
19959
21059
|
} as any;
|
|
@@ -19965,19 +21065,19 @@ const deserializeAws_restJson1AwsSsmComplianceSummary = (
|
|
|
19965
21065
|
): AwsSsmComplianceSummary => {
|
|
19966
21066
|
return {
|
|
19967
21067
|
ComplianceType: __expectString(output.ComplianceType),
|
|
19968
|
-
CompliantCriticalCount:
|
|
19969
|
-
CompliantHighCount:
|
|
19970
|
-
CompliantInformationalCount:
|
|
19971
|
-
CompliantLowCount:
|
|
19972
|
-
CompliantMediumCount:
|
|
19973
|
-
CompliantUnspecifiedCount:
|
|
21068
|
+
CompliantCriticalCount: __expectInt32(output.CompliantCriticalCount),
|
|
21069
|
+
CompliantHighCount: __expectInt32(output.CompliantHighCount),
|
|
21070
|
+
CompliantInformationalCount: __expectInt32(output.CompliantInformationalCount),
|
|
21071
|
+
CompliantLowCount: __expectInt32(output.CompliantLowCount),
|
|
21072
|
+
CompliantMediumCount: __expectInt32(output.CompliantMediumCount),
|
|
21073
|
+
CompliantUnspecifiedCount: __expectInt32(output.CompliantUnspecifiedCount),
|
|
19974
21074
|
ExecutionType: __expectString(output.ExecutionType),
|
|
19975
|
-
NonCompliantCriticalCount:
|
|
19976
|
-
NonCompliantHighCount:
|
|
19977
|
-
NonCompliantInformationalCount:
|
|
19978
|
-
NonCompliantLowCount:
|
|
19979
|
-
NonCompliantMediumCount:
|
|
19980
|
-
NonCompliantUnspecifiedCount:
|
|
21075
|
+
NonCompliantCriticalCount: __expectInt32(output.NonCompliantCriticalCount),
|
|
21076
|
+
NonCompliantHighCount: __expectInt32(output.NonCompliantHighCount),
|
|
21077
|
+
NonCompliantInformationalCount: __expectInt32(output.NonCompliantInformationalCount),
|
|
21078
|
+
NonCompliantLowCount: __expectInt32(output.NonCompliantLowCount),
|
|
21079
|
+
NonCompliantMediumCount: __expectInt32(output.NonCompliantMediumCount),
|
|
21080
|
+
NonCompliantUnspecifiedCount: __expectInt32(output.NonCompliantUnspecifiedCount),
|
|
19981
21081
|
OverallSeverity: __expectString(output.OverallSeverity),
|
|
19982
21082
|
PatchBaselineId: __expectString(output.PatchBaselineId),
|
|
19983
21083
|
PatchGroup: __expectString(output.PatchGroup),
|
|
@@ -20032,7 +21132,7 @@ const deserializeAws_restJson1AwsWafWebAclRule = (output: any, context: __SerdeC
|
|
|
20032
21132
|
output.OverrideAction !== undefined && output.OverrideAction !== null
|
|
20033
21133
|
? deserializeAws_restJson1WafOverrideAction(output.OverrideAction, context)
|
|
20034
21134
|
: undefined,
|
|
20035
|
-
Priority:
|
|
21135
|
+
Priority: __expectInt32(output.Priority),
|
|
20036
21136
|
RuleId: __expectString(output.RuleId),
|
|
20037
21137
|
Type: __expectString(output.Type),
|
|
20038
21138
|
} as any;
|
|
@@ -20091,9 +21191,9 @@ const deserializeAws_restJson1CategoryList = (output: any, context: __SerdeConte
|
|
|
20091
21191
|
const deserializeAws_restJson1Cell = (output: any, context: __SerdeContext): Cell => {
|
|
20092
21192
|
return {
|
|
20093
21193
|
CellReference: __expectString(output.CellReference),
|
|
20094
|
-
Column:
|
|
21194
|
+
Column: __expectLong(output.Column),
|
|
20095
21195
|
ColumnName: __expectString(output.ColumnName),
|
|
20096
|
-
Row:
|
|
21196
|
+
Row: __expectLong(output.Row),
|
|
20097
21197
|
} as any;
|
|
20098
21198
|
};
|
|
20099
21199
|
|
|
@@ -20148,7 +21248,7 @@ const deserializeAws_restJson1ClassificationResult = (output: any, context: __Se
|
|
|
20148
21248
|
output.SensitiveData !== undefined && output.SensitiveData !== null
|
|
20149
21249
|
? deserializeAws_restJson1SensitiveDataResultList(output.SensitiveData, context)
|
|
20150
21250
|
: undefined,
|
|
20151
|
-
SizeClassified:
|
|
21251
|
+
SizeClassified: __expectLong(output.SizeClassified),
|
|
20152
21252
|
Status:
|
|
20153
21253
|
output.Status !== undefined && output.Status !== null
|
|
20154
21254
|
? deserializeAws_restJson1ClassificationStatus(output.Status, context)
|
|
@@ -20199,7 +21299,7 @@ const deserializeAws_restJson1CustomDataIdentifiersDetections = (
|
|
|
20199
21299
|
): CustomDataIdentifiersDetections => {
|
|
20200
21300
|
return {
|
|
20201
21301
|
Arn: __expectString(output.Arn),
|
|
20202
|
-
Count:
|
|
21302
|
+
Count: __expectLong(output.Count),
|
|
20203
21303
|
Name: __expectString(output.Name),
|
|
20204
21304
|
Occurrences:
|
|
20205
21305
|
output.Occurrences !== undefined && output.Occurrences !== null
|
|
@@ -20231,14 +21331,19 @@ const deserializeAws_restJson1CustomDataIdentifiersResult = (
|
|
|
20231
21331
|
output.Detections !== undefined && output.Detections !== null
|
|
20232
21332
|
? deserializeAws_restJson1CustomDataIdentifiersDetectionsList(output.Detections, context)
|
|
20233
21333
|
: undefined,
|
|
20234
|
-
TotalCount:
|
|
21334
|
+
TotalCount: __expectLong(output.TotalCount),
|
|
20235
21335
|
} as any;
|
|
20236
21336
|
};
|
|
20237
21337
|
|
|
20238
21338
|
const deserializeAws_restJson1Cvss = (output: any, context: __SerdeContext): Cvss => {
|
|
20239
21339
|
return {
|
|
20240
|
-
|
|
21340
|
+
Adjustments:
|
|
21341
|
+
output.Adjustments !== undefined && output.Adjustments !== null
|
|
21342
|
+
? deserializeAws_restJson1AdjustmentList(output.Adjustments, context)
|
|
21343
|
+
: undefined,
|
|
21344
|
+
BaseScore: __limitedParseDouble(output.BaseScore),
|
|
20241
21345
|
BaseVector: __expectString(output.BaseVector),
|
|
21346
|
+
Source: __expectString(output.Source),
|
|
20242
21347
|
Version: __expectString(output.Version),
|
|
20243
21348
|
} as any;
|
|
20244
21349
|
};
|
|
@@ -20292,7 +21397,7 @@ const deserializeAws_restJson1DateFilterList = (output: any, context: __SerdeCon
|
|
|
20292
21397
|
const deserializeAws_restJson1DateRange = (output: any, context: __SerdeContext): DateRange => {
|
|
20293
21398
|
return {
|
|
20294
21399
|
Unit: __expectString(output.Unit),
|
|
20295
|
-
Value:
|
|
21400
|
+
Value: __expectInt32(output.Value),
|
|
20296
21401
|
} as any;
|
|
20297
21402
|
};
|
|
20298
21403
|
|
|
@@ -20318,8 +21423,8 @@ const deserializeAws_restJson1FieldMap = (output: any, context: __SerdeContext):
|
|
|
20318
21423
|
|
|
20319
21424
|
const deserializeAws_restJson1FindingProviderFields = (output: any, context: __SerdeContext): FindingProviderFields => {
|
|
20320
21425
|
return {
|
|
20321
|
-
Confidence:
|
|
20322
|
-
Criticality:
|
|
21426
|
+
Confidence: __expectInt32(output.Confidence),
|
|
21427
|
+
Criticality: __expectInt32(output.Criticality),
|
|
20323
21428
|
RelatedFindings:
|
|
20324
21429
|
output.RelatedFindings !== undefined && output.RelatedFindings !== null
|
|
20325
21430
|
? deserializeAws_restJson1RelatedFindingList(output.RelatedFindings, context)
|
|
@@ -20347,15 +21452,15 @@ const deserializeAws_restJson1FindingProviderSeverity = (
|
|
|
20347
21452
|
|
|
20348
21453
|
const deserializeAws_restJson1GeoLocation = (output: any, context: __SerdeContext): GeoLocation => {
|
|
20349
21454
|
return {
|
|
20350
|
-
Lat:
|
|
20351
|
-
Lon:
|
|
21455
|
+
Lat: __limitedParseDouble(output.Lat),
|
|
21456
|
+
Lon: __limitedParseDouble(output.Lon),
|
|
20352
21457
|
} as any;
|
|
20353
21458
|
};
|
|
20354
21459
|
|
|
20355
21460
|
const deserializeAws_restJson1IcmpTypeCode = (output: any, context: __SerdeContext): IcmpTypeCode => {
|
|
20356
21461
|
return {
|
|
20357
|
-
Code:
|
|
20358
|
-
Type:
|
|
21462
|
+
Code: __expectInt32(output.Code),
|
|
21463
|
+
Type: __expectInt32(output.Type),
|
|
20359
21464
|
} as any;
|
|
20360
21465
|
};
|
|
20361
21466
|
|
|
@@ -20417,7 +21522,7 @@ const deserializeAws_restJson1InsightResults = (output: any, context: __SerdeCon
|
|
|
20417
21522
|
|
|
20418
21523
|
const deserializeAws_restJson1InsightResultValue = (output: any, context: __SerdeContext): InsightResultValue => {
|
|
20419
21524
|
return {
|
|
20420
|
-
Count:
|
|
21525
|
+
Count: __expectInt32(output.Count),
|
|
20421
21526
|
GroupByAttributeValue: __expectString(output.GroupByAttributeValue),
|
|
20422
21527
|
} as any;
|
|
20423
21528
|
};
|
|
@@ -20433,6 +21538,17 @@ const deserializeAws_restJson1InsightResultValueList = (output: any, context: __
|
|
|
20433
21538
|
});
|
|
20434
21539
|
};
|
|
20435
21540
|
|
|
21541
|
+
const deserializeAws_restJson1IntegerList = (output: any, context: __SerdeContext): number[] => {
|
|
21542
|
+
return (output || [])
|
|
21543
|
+
.filter((e: any) => e != null)
|
|
21544
|
+
.map((entry: any) => {
|
|
21545
|
+
if (entry === null) {
|
|
21546
|
+
return null as any;
|
|
21547
|
+
}
|
|
21548
|
+
return __expectInt32(entry) as any;
|
|
21549
|
+
});
|
|
21550
|
+
};
|
|
21551
|
+
|
|
20436
21552
|
const deserializeAws_restJson1IntegrationTypeList = (
|
|
20437
21553
|
output: any,
|
|
20438
21554
|
context: __SerdeContext
|
|
@@ -20451,7 +21567,10 @@ const deserializeAws_restJson1Invitation = (output: any, context: __SerdeContext
|
|
|
20451
21567
|
return {
|
|
20452
21568
|
AccountId: __expectString(output.AccountId),
|
|
20453
21569
|
InvitationId: __expectString(output.InvitationId),
|
|
20454
|
-
InvitedAt:
|
|
21570
|
+
InvitedAt:
|
|
21571
|
+
output.InvitedAt !== undefined && output.InvitedAt !== null
|
|
21572
|
+
? __expectNonNull(__parseRfc3339DateTime(output.InvitedAt))
|
|
21573
|
+
: undefined,
|
|
20455
21574
|
MemberStatus: __expectString(output.MemberStatus),
|
|
20456
21575
|
} as any;
|
|
20457
21576
|
};
|
|
@@ -20486,7 +21605,7 @@ const deserializeAws_restJson1IpFilterList = (output: any, context: __SerdeConte
|
|
|
20486
21605
|
|
|
20487
21606
|
const deserializeAws_restJson1IpOrganizationDetails = (output: any, context: __SerdeContext): IpOrganizationDetails => {
|
|
20488
21607
|
return {
|
|
20489
|
-
Asn:
|
|
21608
|
+
Asn: __expectInt32(output.Asn),
|
|
20490
21609
|
AsnOrg: __expectString(output.AsnOrg),
|
|
20491
21610
|
Isp: __expectString(output.Isp),
|
|
20492
21611
|
Org: __expectString(output.Org),
|
|
@@ -20586,10 +21705,16 @@ const deserializeAws_restJson1Member = (output: any, context: __SerdeContext): M
|
|
|
20586
21705
|
AccountId: __expectString(output.AccountId),
|
|
20587
21706
|
AdministratorId: __expectString(output.AdministratorId),
|
|
20588
21707
|
Email: __expectString(output.Email),
|
|
20589
|
-
InvitedAt:
|
|
21708
|
+
InvitedAt:
|
|
21709
|
+
output.InvitedAt !== undefined && output.InvitedAt !== null
|
|
21710
|
+
? __expectNonNull(__parseRfc3339DateTime(output.InvitedAt))
|
|
21711
|
+
: undefined,
|
|
20590
21712
|
MasterId: __expectString(output.MasterId),
|
|
20591
21713
|
MemberStatus: __expectString(output.MemberStatus),
|
|
20592
|
-
UpdatedAt:
|
|
21714
|
+
UpdatedAt:
|
|
21715
|
+
output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
21716
|
+
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedAt))
|
|
21717
|
+
: undefined,
|
|
20593
21718
|
} as any;
|
|
20594
21719
|
};
|
|
20595
21720
|
|
|
@@ -20609,7 +21734,7 @@ const deserializeAws_restJson1Network = (output: any, context: __SerdeContext):
|
|
|
20609
21734
|
DestinationDomain: __expectString(output.DestinationDomain),
|
|
20610
21735
|
DestinationIpV4: __expectString(output.DestinationIpV4),
|
|
20611
21736
|
DestinationIpV6: __expectString(output.DestinationIpV6),
|
|
20612
|
-
DestinationPort:
|
|
21737
|
+
DestinationPort: __expectInt32(output.DestinationPort),
|
|
20613
21738
|
Direction: __expectString(output.Direction),
|
|
20614
21739
|
OpenPortRange:
|
|
20615
21740
|
output.OpenPortRange !== undefined && output.OpenPortRange !== null
|
|
@@ -20620,7 +21745,7 @@ const deserializeAws_restJson1Network = (output: any, context: __SerdeContext):
|
|
|
20620
21745
|
SourceIpV4: __expectString(output.SourceIpV4),
|
|
20621
21746
|
SourceIpV6: __expectString(output.SourceIpV6),
|
|
20622
21747
|
SourceMac: __expectString(output.SourceMac),
|
|
20623
|
-
SourcePort:
|
|
21748
|
+
SourcePort: __expectInt32(output.SourcePort),
|
|
20624
21749
|
} as any;
|
|
20625
21750
|
};
|
|
20626
21751
|
|
|
@@ -20724,9 +21849,9 @@ const deserializeAws_restJson1Note = (output: any, context: __SerdeContext): Not
|
|
|
20724
21849
|
|
|
20725
21850
|
const deserializeAws_restJson1NumberFilter = (output: any, context: __SerdeContext): NumberFilter => {
|
|
20726
21851
|
return {
|
|
20727
|
-
Eq:
|
|
20728
|
-
Gte:
|
|
20729
|
-
Lte:
|
|
21852
|
+
Eq: __limitedParseDouble(output.Eq),
|
|
21853
|
+
Gte: __limitedParseDouble(output.Gte),
|
|
21854
|
+
Lte: __limitedParseDouble(output.Lte),
|
|
20730
21855
|
} as any;
|
|
20731
21856
|
};
|
|
20732
21857
|
|
|
@@ -20776,7 +21901,7 @@ const deserializeAws_restJson1Page = (output: any, context: __SerdeContext): Pag
|
|
|
20776
21901
|
output.OffsetRange !== undefined && output.OffsetRange !== null
|
|
20777
21902
|
? deserializeAws_restJson1Range(output.OffsetRange, context)
|
|
20778
21903
|
: undefined,
|
|
20779
|
-
PageNumber:
|
|
21904
|
+
PageNumber: __expectLong(output.PageNumber),
|
|
20780
21905
|
} as any;
|
|
20781
21906
|
};
|
|
20782
21907
|
|
|
@@ -20793,13 +21918,13 @@ const deserializeAws_restJson1Pages = (output: any, context: __SerdeContext): Pa
|
|
|
20793
21918
|
|
|
20794
21919
|
const deserializeAws_restJson1PatchSummary = (output: any, context: __SerdeContext): PatchSummary => {
|
|
20795
21920
|
return {
|
|
20796
|
-
FailedCount:
|
|
21921
|
+
FailedCount: __expectInt32(output.FailedCount),
|
|
20797
21922
|
Id: __expectString(output.Id),
|
|
20798
|
-
InstalledCount:
|
|
20799
|
-
InstalledOtherCount:
|
|
20800
|
-
InstalledPendingReboot:
|
|
20801
|
-
InstalledRejectedCount:
|
|
20802
|
-
MissingCount:
|
|
21923
|
+
InstalledCount: __expectInt32(output.InstalledCount),
|
|
21924
|
+
InstalledOtherCount: __expectInt32(output.InstalledOtherCount),
|
|
21925
|
+
InstalledPendingReboot: __expectInt32(output.InstalledPendingReboot),
|
|
21926
|
+
InstalledRejectedCount: __expectInt32(output.InstalledRejectedCount),
|
|
21927
|
+
MissingCount: __expectInt32(output.MissingCount),
|
|
20803
21928
|
Operation: __expectString(output.Operation),
|
|
20804
21929
|
OperationEndTime: __expectString(output.OperationEndTime),
|
|
20805
21930
|
OperationStartTime: __expectString(output.OperationStartTime),
|
|
@@ -20847,15 +21972,15 @@ const deserializeAws_restJson1PortProbeDetailList = (output: any, context: __Ser
|
|
|
20847
21972
|
|
|
20848
21973
|
const deserializeAws_restJson1PortRange = (output: any, context: __SerdeContext): PortRange => {
|
|
20849
21974
|
return {
|
|
20850
|
-
Begin:
|
|
20851
|
-
End:
|
|
21975
|
+
Begin: __expectInt32(output.Begin),
|
|
21976
|
+
End: __expectInt32(output.End),
|
|
20852
21977
|
} as any;
|
|
20853
21978
|
};
|
|
20854
21979
|
|
|
20855
21980
|
const deserializeAws_restJson1PortRangeFromTo = (output: any, context: __SerdeContext): PortRangeFromTo => {
|
|
20856
21981
|
return {
|
|
20857
|
-
From:
|
|
20858
|
-
To:
|
|
21982
|
+
From: __expectInt32(output.From),
|
|
21983
|
+
To: __expectInt32(output.To),
|
|
20859
21984
|
} as any;
|
|
20860
21985
|
};
|
|
20861
21986
|
|
|
@@ -20874,9 +21999,9 @@ const deserializeAws_restJson1ProcessDetails = (output: any, context: __SerdeCon
|
|
|
20874
21999
|
return {
|
|
20875
22000
|
LaunchedAt: __expectString(output.LaunchedAt),
|
|
20876
22001
|
Name: __expectString(output.Name),
|
|
20877
|
-
ParentPid:
|
|
22002
|
+
ParentPid: __expectInt32(output.ParentPid),
|
|
20878
22003
|
Path: __expectString(output.Path),
|
|
20879
|
-
Pid:
|
|
22004
|
+
Pid: __expectInt32(output.Pid),
|
|
20880
22005
|
TerminatedAt: __expectString(output.TerminatedAt),
|
|
20881
22006
|
} as any;
|
|
20882
22007
|
};
|
|
@@ -20925,9 +22050,9 @@ const deserializeAws_restJson1ProductSubscriptionArnList = (output: any, context
|
|
|
20925
22050
|
|
|
20926
22051
|
const deserializeAws_restJson1Range = (output: any, context: __SerdeContext): Range => {
|
|
20927
22052
|
return {
|
|
20928
|
-
End:
|
|
20929
|
-
Start:
|
|
20930
|
-
StartColumn:
|
|
22053
|
+
End: __expectLong(output.End),
|
|
22054
|
+
Start: __expectLong(output.Start),
|
|
22055
|
+
StartColumn: __expectLong(output.StartColumn),
|
|
20931
22056
|
} as any;
|
|
20932
22057
|
};
|
|
20933
22058
|
|
|
@@ -20952,7 +22077,7 @@ const deserializeAws_restJson1Recommendation = (output: any, context: __SerdeCon
|
|
|
20952
22077
|
const deserializeAws_restJson1_Record = (output: any, context: __SerdeContext): _Record => {
|
|
20953
22078
|
return {
|
|
20954
22079
|
JsonPath: __expectString(output.JsonPath),
|
|
20955
|
-
RecordIndex:
|
|
22080
|
+
RecordIndex: __expectLong(output.RecordIndex),
|
|
20956
22081
|
} as any;
|
|
20957
22082
|
};
|
|
20958
22083
|
|
|
@@ -21049,6 +22174,13 @@ const deserializeAws_restJson1ResourceDetails = (output: any, context: __SerdeCo
|
|
|
21049
22174
|
output.AwsAutoScalingAutoScalingGroup !== undefined && output.AwsAutoScalingAutoScalingGroup !== null
|
|
21050
22175
|
? deserializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails(output.AwsAutoScalingAutoScalingGroup, context)
|
|
21051
22176
|
: undefined,
|
|
22177
|
+
AwsAutoScalingLaunchConfiguration:
|
|
22178
|
+
output.AwsAutoScalingLaunchConfiguration !== undefined && output.AwsAutoScalingLaunchConfiguration !== null
|
|
22179
|
+
? deserializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails(
|
|
22180
|
+
output.AwsAutoScalingLaunchConfiguration,
|
|
22181
|
+
context
|
|
22182
|
+
)
|
|
22183
|
+
: undefined,
|
|
21052
22184
|
AwsCertificateManagerCertificate:
|
|
21053
22185
|
output.AwsCertificateManagerCertificate !== undefined && output.AwsCertificateManagerCertificate !== null
|
|
21054
22186
|
? deserializeAws_restJson1AwsCertificateManagerCertificateDetails(
|
|
@@ -21104,6 +22236,14 @@ const deserializeAws_restJson1ResourceDetails = (output: any, context: __SerdeCo
|
|
|
21104
22236
|
output.AwsEc2Vpc !== undefined && output.AwsEc2Vpc !== null
|
|
21105
22237
|
? deserializeAws_restJson1AwsEc2VpcDetails(output.AwsEc2Vpc, context)
|
|
21106
22238
|
: undefined,
|
|
22239
|
+
AwsEc2VpnConnection:
|
|
22240
|
+
output.AwsEc2VpnConnection !== undefined && output.AwsEc2VpnConnection !== null
|
|
22241
|
+
? deserializeAws_restJson1AwsEc2VpnConnectionDetails(output.AwsEc2VpnConnection, context)
|
|
22242
|
+
: undefined,
|
|
22243
|
+
AwsEcrContainerImage:
|
|
22244
|
+
output.AwsEcrContainerImage !== undefined && output.AwsEcrContainerImage !== null
|
|
22245
|
+
? deserializeAws_restJson1AwsEcrContainerImageDetails(output.AwsEcrContainerImage, context)
|
|
22246
|
+
: undefined,
|
|
21107
22247
|
AwsEcsCluster:
|
|
21108
22248
|
output.AwsEcsCluster !== undefined && output.AwsEcsCluster !== null
|
|
21109
22249
|
? deserializeAws_restJson1AwsEcsClusterDetails(output.AwsEcsCluster, context)
|
|
@@ -21276,7 +22416,7 @@ const deserializeAws_restJson1SensitiveDataDetections = (
|
|
|
21276
22416
|
context: __SerdeContext
|
|
21277
22417
|
): SensitiveDataDetections => {
|
|
21278
22418
|
return {
|
|
21279
|
-
Count:
|
|
22419
|
+
Count: __expectLong(output.Count),
|
|
21280
22420
|
Occurrences:
|
|
21281
22421
|
output.Occurrences !== undefined && output.Occurrences !== null
|
|
21282
22422
|
? deserializeAws_restJson1Occurrences(output.Occurrences, context)
|
|
@@ -21306,7 +22446,7 @@ const deserializeAws_restJson1SensitiveDataResult = (output: any, context: __Ser
|
|
|
21306
22446
|
output.Detections !== undefined && output.Detections !== null
|
|
21307
22447
|
? deserializeAws_restJson1SensitiveDataDetectionsList(output.Detections, context)
|
|
21308
22448
|
: undefined,
|
|
21309
|
-
TotalCount:
|
|
22449
|
+
TotalCount: __expectLong(output.TotalCount),
|
|
21310
22450
|
} as any;
|
|
21311
22451
|
};
|
|
21312
22452
|
|
|
@@ -21327,9 +22467,9 @@ const deserializeAws_restJson1SensitiveDataResultList = (
|
|
|
21327
22467
|
const deserializeAws_restJson1Severity = (output: any, context: __SerdeContext): Severity => {
|
|
21328
22468
|
return {
|
|
21329
22469
|
Label: __expectString(output.Label),
|
|
21330
|
-
Normalized:
|
|
22470
|
+
Normalized: __expectInt32(output.Normalized),
|
|
21331
22471
|
Original: __expectString(output.Original),
|
|
21332
|
-
Product:
|
|
22472
|
+
Product: __limitedParseDouble(output.Product),
|
|
21333
22473
|
} as any;
|
|
21334
22474
|
};
|
|
21335
22475
|
|
|
@@ -21337,7 +22477,9 @@ const deserializeAws_restJson1SoftwarePackage = (output: any, context: __SerdeCo
|
|
|
21337
22477
|
return {
|
|
21338
22478
|
Architecture: __expectString(output.Architecture),
|
|
21339
22479
|
Epoch: __expectString(output.Epoch),
|
|
22480
|
+
FilePath: __expectString(output.FilePath),
|
|
21340
22481
|
Name: __expectString(output.Name),
|
|
22482
|
+
PackageManager: __expectString(output.PackageManager),
|
|
21341
22483
|
Release: __expectString(output.Release),
|
|
21342
22484
|
Version: __expectString(output.Version),
|
|
21343
22485
|
} as any;
|
|
@@ -21380,7 +22522,7 @@ const deserializeAws_restJson1StandardsControl = (output: any, context: __SerdeC
|
|
|
21380
22522
|
ControlStatus: __expectString(output.ControlStatus),
|
|
21381
22523
|
ControlStatusUpdatedAt:
|
|
21382
22524
|
output.ControlStatusUpdatedAt !== undefined && output.ControlStatusUpdatedAt !== null
|
|
21383
|
-
?
|
|
22525
|
+
? __expectNonNull(__parseRfc3339DateTime(output.ControlStatusUpdatedAt))
|
|
21384
22526
|
: undefined,
|
|
21385
22527
|
Description: __expectString(output.Description),
|
|
21386
22528
|
DisabledReason: __expectString(output.DisabledReason),
|