@aws-sdk/client-macie2 3.319.0 → 3.325.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_restJson1.js +141 -125
- package/dist-es/protocols/Aws_restJson1.js +141 -125
- package/package.json +17 -17
|
@@ -6164,7 +6164,7 @@ const de_AccessControlList = (output, context) => {
|
|
|
6164
6164
|
};
|
|
6165
6165
|
const de_AccountLevelPermissions = (output, context) => {
|
|
6166
6166
|
return take(output, {
|
|
6167
|
-
blockPublicAccess: (_) =>
|
|
6167
|
+
blockPublicAccess: [, (_) => de_BlockPublicAccess(_, context), `blockPublicAccess`],
|
|
6168
6168
|
});
|
|
6169
6169
|
};
|
|
6170
6170
|
const de_AdminAccount = (output, context) => {
|
|
@@ -6176,7 +6176,7 @@ const de_AdminAccount = (output, context) => {
|
|
|
6176
6176
|
const de_AllowListCriteria = (output, context) => {
|
|
6177
6177
|
return take(output, {
|
|
6178
6178
|
regex: [, __expectString, `regex`],
|
|
6179
|
-
s3WordsList: (_) =>
|
|
6179
|
+
s3WordsList: [, (_) => de_S3WordsList(_, context), `s3WordsList`],
|
|
6180
6180
|
});
|
|
6181
6181
|
};
|
|
6182
6182
|
const de_AllowListStatus = (output, context) => {
|
|
@@ -6188,19 +6188,19 @@ const de_AllowListStatus = (output, context) => {
|
|
|
6188
6188
|
const de_AllowListSummary = (output, context) => {
|
|
6189
6189
|
return take(output, {
|
|
6190
6190
|
arn: [, __expectString, `arn`],
|
|
6191
|
-
createdAt: (_) =>
|
|
6191
|
+
createdAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
6192
6192
|
description: [, __expectString, `description`],
|
|
6193
6193
|
id: [, __expectString, `id`],
|
|
6194
6194
|
name: [, __expectString, `name`],
|
|
6195
|
-
updatedAt: (_) =>
|
|
6195
|
+
updatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `updatedAt`],
|
|
6196
6196
|
});
|
|
6197
6197
|
};
|
|
6198
6198
|
const de_ApiCallDetails = (output, context) => {
|
|
6199
6199
|
return take(output, {
|
|
6200
6200
|
api: [, __expectString, `api`],
|
|
6201
6201
|
apiServiceName: [, __expectString, `apiServiceName`],
|
|
6202
|
-
firstSeen: (_) =>
|
|
6203
|
-
lastSeen: (_) =>
|
|
6202
|
+
firstSeen: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `firstSeen`],
|
|
6203
|
+
lastSeen: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `lastSeen`],
|
|
6204
6204
|
});
|
|
6205
6205
|
};
|
|
6206
6206
|
const de_AssumedRole = (output, context) => {
|
|
@@ -6209,7 +6209,7 @@ const de_AssumedRole = (output, context) => {
|
|
|
6209
6209
|
accountId: [, __expectString, `accountId`],
|
|
6210
6210
|
arn: [, __expectString, `arn`],
|
|
6211
6211
|
principalId: [, __expectString, `principalId`],
|
|
6212
|
-
sessionContext: (_) =>
|
|
6212
|
+
sessionContext: [, (_) => de_SessionContext(_, context), `sessionContext`],
|
|
6213
6213
|
});
|
|
6214
6214
|
};
|
|
6215
6215
|
const de_AwsAccount = (output, context) => {
|
|
@@ -6226,7 +6226,7 @@ const de_AwsService = (output, context) => {
|
|
|
6226
6226
|
const de_BatchGetCustomDataIdentifierSummary = (output, context) => {
|
|
6227
6227
|
return take(output, {
|
|
6228
6228
|
arn: [, __expectString, `arn`],
|
|
6229
|
-
createdAt: (_) =>
|
|
6229
|
+
createdAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
6230
6230
|
deleted: [, __expectBoolean, `deleted`],
|
|
6231
6231
|
description: [, __expectString, `description`],
|
|
6232
6232
|
id: [, __expectString, `id`],
|
|
@@ -6274,9 +6274,9 @@ const de_BucketCountPolicyAllowsUnencryptedObjectUploads = (output, context) =>
|
|
|
6274
6274
|
};
|
|
6275
6275
|
const de_BucketLevelPermissions = (output, context) => {
|
|
6276
6276
|
return take(output, {
|
|
6277
|
-
accessControlList: (_) =>
|
|
6278
|
-
blockPublicAccess: (_) =>
|
|
6279
|
-
bucketPolicy: (_) =>
|
|
6277
|
+
accessControlList: [, (_) => de_AccessControlList(_, context), `accessControlList`],
|
|
6278
|
+
blockPublicAccess: [, (_) => de_BlockPublicAccess(_, context), `blockPublicAccess`],
|
|
6279
|
+
bucketPolicy: [, (_) => de_BucketPolicy(_, context), `bucketPolicy`],
|
|
6280
6280
|
});
|
|
6281
6281
|
};
|
|
6282
6282
|
const de_BucketMetadata = (output, context) => {
|
|
@@ -6284,39 +6284,47 @@ const de_BucketMetadata = (output, context) => {
|
|
|
6284
6284
|
accountId: [, __expectString, `accountId`],
|
|
6285
6285
|
allowsUnencryptedObjectUploads: [, __expectString, `allowsUnencryptedObjectUploads`],
|
|
6286
6286
|
bucketArn: [, __expectString, `bucketArn`],
|
|
6287
|
-
bucketCreatedAt: (_) =>
|
|
6287
|
+
bucketCreatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `bucketCreatedAt`],
|
|
6288
6288
|
bucketName: [, __expectString, `bucketName`],
|
|
6289
6289
|
classifiableObjectCount: [, __expectLong, `classifiableObjectCount`],
|
|
6290
6290
|
classifiableSizeInBytes: [, __expectLong, `classifiableSizeInBytes`],
|
|
6291
6291
|
errorCode: [, __expectString, `errorCode`],
|
|
6292
6292
|
errorMessage: [, __expectString, `errorMessage`],
|
|
6293
|
-
jobDetails: (_) =>
|
|
6294
|
-
lastAutomatedDiscoveryTime:
|
|
6293
|
+
jobDetails: [, (_) => de_JobDetails(_, context), `jobDetails`],
|
|
6294
|
+
lastAutomatedDiscoveryTime: [
|
|
6295
6295
|
,
|
|
6296
|
-
__expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
6296
|
+
(_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
6297
6297
|
`lastAutomatedDiscoveryTime`,
|
|
6298
6298
|
],
|
|
6299
|
-
lastUpdated: (_) =>
|
|
6299
|
+
lastUpdated: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `lastUpdated`],
|
|
6300
6300
|
objectCount: [, __expectLong, `objectCount`],
|
|
6301
|
-
objectCountByEncryptionType:
|
|
6302
|
-
|
|
6301
|
+
objectCountByEncryptionType: [
|
|
6302
|
+
,
|
|
6303
|
+
(_) => de_ObjectCountByEncryptionType(_, context),
|
|
6304
|
+
`objectCountByEncryptionType`,
|
|
6305
|
+
],
|
|
6306
|
+
publicAccess: [, (_) => de_BucketPublicAccess(_, context), `publicAccess`],
|
|
6303
6307
|
region: [, __expectString, `region`],
|
|
6304
|
-
replicationDetails: (_) =>
|
|
6308
|
+
replicationDetails: [, (_) => de_ReplicationDetails(_, context), `replicationDetails`],
|
|
6305
6309
|
sensitivityScore: [, __expectInt32, `sensitivityScore`],
|
|
6306
|
-
serverSideEncryption: (_) =>
|
|
6310
|
+
serverSideEncryption: [, (_) => de_BucketServerSideEncryption(_, context), `serverSideEncryption`],
|
|
6307
6311
|
sharedAccess: [, __expectString, `sharedAccess`],
|
|
6308
6312
|
sizeInBytes: [, __expectLong, `sizeInBytes`],
|
|
6309
6313
|
sizeInBytesCompressed: [, __expectLong, `sizeInBytesCompressed`],
|
|
6310
|
-
tags: (_) =>
|
|
6311
|
-
unclassifiableObjectCount: (_) =>
|
|
6312
|
-
unclassifiableObjectSizeInBytes:
|
|
6314
|
+
tags: [, (_) => de___listOfKeyValuePair(_, context), `tags`],
|
|
6315
|
+
unclassifiableObjectCount: [, (_) => de_ObjectLevelStatistics(_, context), `unclassifiableObjectCount`],
|
|
6316
|
+
unclassifiableObjectSizeInBytes: [
|
|
6317
|
+
,
|
|
6318
|
+
(_) => de_ObjectLevelStatistics(_, context),
|
|
6319
|
+
`unclassifiableObjectSizeInBytes`,
|
|
6320
|
+
],
|
|
6313
6321
|
versioning: [, __expectBoolean, `versioning`],
|
|
6314
6322
|
});
|
|
6315
6323
|
};
|
|
6316
6324
|
const de_BucketPermissionConfiguration = (output, context) => {
|
|
6317
6325
|
return take(output, {
|
|
6318
|
-
accountLevelPermissions: (_) =>
|
|
6319
|
-
bucketLevelPermissions: (_) =>
|
|
6326
|
+
accountLevelPermissions: [, (_) => de_AccountLevelPermissions(_, context), `accountLevelPermissions`],
|
|
6327
|
+
bucketLevelPermissions: [, (_) => de_BucketLevelPermissions(_, context), `bucketLevelPermissions`],
|
|
6320
6328
|
});
|
|
6321
6329
|
};
|
|
6322
6330
|
const de_BucketPolicy = (output, context) => {
|
|
@@ -6328,7 +6336,7 @@ const de_BucketPolicy = (output, context) => {
|
|
|
6328
6336
|
const de_BucketPublicAccess = (output, context) => {
|
|
6329
6337
|
return take(output, {
|
|
6330
6338
|
effectivePermission: [, __expectString, `effectivePermission`],
|
|
6331
|
-
permissionConfiguration: (_) =>
|
|
6339
|
+
permissionConfiguration: [, (_) => de_BucketPermissionConfiguration(_, context), `permissionConfiguration`],
|
|
6332
6340
|
});
|
|
6333
6341
|
};
|
|
6334
6342
|
const de_BucketServerSideEncryption = (output, context) => {
|
|
@@ -6339,10 +6347,10 @@ const de_BucketServerSideEncryption = (output, context) => {
|
|
|
6339
6347
|
};
|
|
6340
6348
|
const de_BucketStatisticsBySensitivity = (output, context) => {
|
|
6341
6349
|
return take(output, {
|
|
6342
|
-
classificationError: (_) =>
|
|
6343
|
-
notClassified: (_) =>
|
|
6344
|
-
notSensitive: (_) =>
|
|
6345
|
-
sensitive: (_) =>
|
|
6350
|
+
classificationError: [, (_) => de_SensitivityAggregations(_, context), `classificationError`],
|
|
6351
|
+
notClassified: [, (_) => de_SensitivityAggregations(_, context), `notClassified`],
|
|
6352
|
+
notSensitive: [, (_) => de_SensitivityAggregations(_, context), `notSensitive`],
|
|
6353
|
+
sensitive: [, (_) => de_SensitivityAggregations(_, context), `sensitive`],
|
|
6346
6354
|
});
|
|
6347
6355
|
};
|
|
6348
6356
|
const de_Cell = (output, context) => {
|
|
@@ -6367,22 +6375,22 @@ const de_ClassificationDetails = (output, context) => {
|
|
|
6367
6375
|
jobArn: [, __expectString, `jobArn`],
|
|
6368
6376
|
jobId: [, __expectString, `jobId`],
|
|
6369
6377
|
originType: [, __expectString, `originType`],
|
|
6370
|
-
result: (_) =>
|
|
6378
|
+
result: [, (_) => de_ClassificationResult(_, context), `result`],
|
|
6371
6379
|
});
|
|
6372
6380
|
};
|
|
6373
6381
|
const de_ClassificationExportConfiguration = (output, context) => {
|
|
6374
6382
|
return take(output, {
|
|
6375
|
-
s3Destination: (_) =>
|
|
6383
|
+
s3Destination: [, (_) => de_S3Destination(_, context), `s3Destination`],
|
|
6376
6384
|
});
|
|
6377
6385
|
};
|
|
6378
6386
|
const de_ClassificationResult = (output, context) => {
|
|
6379
6387
|
return take(output, {
|
|
6380
6388
|
additionalOccurrences: [, __expectBoolean, `additionalOccurrences`],
|
|
6381
|
-
customDataIdentifiers: (_) =>
|
|
6389
|
+
customDataIdentifiers: [, (_) => de_CustomDataIdentifiers(_, context), `customDataIdentifiers`],
|
|
6382
6390
|
mimeType: [, __expectString, `mimeType`],
|
|
6383
|
-
sensitiveData: (_) =>
|
|
6391
|
+
sensitiveData: [, (_) => de_SensitiveData(_, context), `sensitiveData`],
|
|
6384
6392
|
sizeClassified: [, __expectLong, `sizeClassified`],
|
|
6385
|
-
status: (_) =>
|
|
6393
|
+
status: [, (_) => de_ClassificationResultStatus(_, context), `status`],
|
|
6386
6394
|
});
|
|
6387
6395
|
};
|
|
6388
6396
|
const de_ClassificationResultStatus = (output, context) => {
|
|
@@ -6399,13 +6407,13 @@ const de_ClassificationScopeSummary = (output, context) => {
|
|
|
6399
6407
|
};
|
|
6400
6408
|
const de_CriteriaBlockForJob = (output, context) => {
|
|
6401
6409
|
return take(output, {
|
|
6402
|
-
and: (_) =>
|
|
6410
|
+
and: [, (_) => de___listOfCriteriaForJob(_, context), `and`],
|
|
6403
6411
|
});
|
|
6404
6412
|
};
|
|
6405
6413
|
const de_CriteriaForJob = (output, context) => {
|
|
6406
6414
|
return take(output, {
|
|
6407
|
-
simpleCriterion: (_) =>
|
|
6408
|
-
tagCriterion: (_) =>
|
|
6415
|
+
simpleCriterion: [, (_) => de_SimpleCriterionForJob(_, context), `simpleCriterion`],
|
|
6416
|
+
tagCriterion: [, (_) => de_TagCriterionForJob(_, context), `tagCriterion`],
|
|
6409
6417
|
});
|
|
6410
6418
|
};
|
|
6411
6419
|
const de_Criterion = (output, context) => {
|
|
@@ -6430,14 +6438,14 @@ const de_CriterionAdditionalProperties = (output, context) => {
|
|
|
6430
6438
|
};
|
|
6431
6439
|
const de_CustomDataIdentifiers = (output, context) => {
|
|
6432
6440
|
return take(output, {
|
|
6433
|
-
detections: (_) =>
|
|
6441
|
+
detections: [, (_) => de_CustomDetections(_, context), `detections`],
|
|
6434
6442
|
totalCount: [, __expectLong, `totalCount`],
|
|
6435
6443
|
});
|
|
6436
6444
|
};
|
|
6437
6445
|
const de_CustomDataIdentifierSummary = (output, context) => {
|
|
6438
6446
|
return take(output, {
|
|
6439
6447
|
arn: [, __expectString, `arn`],
|
|
6440
|
-
createdAt: (_) =>
|
|
6448
|
+
createdAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
6441
6449
|
description: [, __expectString, `description`],
|
|
6442
6450
|
id: [, __expectString, `id`],
|
|
6443
6451
|
name: [, __expectString, `name`],
|
|
@@ -6448,7 +6456,7 @@ const de_CustomDetection = (output, context) => {
|
|
|
6448
6456
|
arn: [, __expectString, `arn`],
|
|
6449
6457
|
count: [, __expectLong, `count`],
|
|
6450
6458
|
name: [, __expectString, `name`],
|
|
6451
|
-
occurrences: (_) =>
|
|
6459
|
+
occurrences: [, (_) => de_Occurrences(_, context), `occurrences`],
|
|
6452
6460
|
});
|
|
6453
6461
|
};
|
|
6454
6462
|
const de_CustomDetections = (output, context) => {
|
|
@@ -6462,7 +6470,7 @@ const de_CustomDetections = (output, context) => {
|
|
|
6462
6470
|
const de_DefaultDetection = (output, context) => {
|
|
6463
6471
|
return take(output, {
|
|
6464
6472
|
count: [, __expectLong, `count`],
|
|
6465
|
-
occurrences: (_) =>
|
|
6473
|
+
occurrences: [, (_) => de_Occurrences(_, context), `occurrences`],
|
|
6466
6474
|
type: [, __expectString, `type`],
|
|
6467
6475
|
});
|
|
6468
6476
|
};
|
|
@@ -6500,7 +6508,7 @@ const de_FederatedUser = (output, context) => {
|
|
|
6500
6508
|
accountId: [, __expectString, `accountId`],
|
|
6501
6509
|
arn: [, __expectString, `arn`],
|
|
6502
6510
|
principalId: [, __expectString, `principalId`],
|
|
6503
|
-
sessionContext: (_) =>
|
|
6511
|
+
sessionContext: [, (_) => de_SessionContext(_, context), `sessionContext`],
|
|
6504
6512
|
});
|
|
6505
6513
|
};
|
|
6506
6514
|
const de_Finding = (output, context) => {
|
|
@@ -6508,39 +6516,39 @@ const de_Finding = (output, context) => {
|
|
|
6508
6516
|
accountId: [, __expectString, `accountId`],
|
|
6509
6517
|
archived: [, __expectBoolean, `archived`],
|
|
6510
6518
|
category: [, __expectString, `category`],
|
|
6511
|
-
classificationDetails: (_) =>
|
|
6519
|
+
classificationDetails: [, (_) => de_ClassificationDetails(_, context), `classificationDetails`],
|
|
6512
6520
|
count: [, __expectLong, `count`],
|
|
6513
|
-
createdAt: (_) =>
|
|
6521
|
+
createdAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
6514
6522
|
description: [, __expectString, `description`],
|
|
6515
6523
|
id: [, __expectString, `id`],
|
|
6516
6524
|
partition: [, __expectString, `partition`],
|
|
6517
|
-
policyDetails: (_) =>
|
|
6525
|
+
policyDetails: [, (_) => de_PolicyDetails(_, context), `policyDetails`],
|
|
6518
6526
|
region: [, __expectString, `region`],
|
|
6519
|
-
resourcesAffected: (_) =>
|
|
6527
|
+
resourcesAffected: [, (_) => de_ResourcesAffected(_, context), `resourcesAffected`],
|
|
6520
6528
|
sample: [, __expectBoolean, `sample`],
|
|
6521
6529
|
schemaVersion: [, __expectString, `schemaVersion`],
|
|
6522
|
-
severity: (_) =>
|
|
6530
|
+
severity: [, (_) => de_Severity(_, context), `severity`],
|
|
6523
6531
|
title: [, __expectString, `title`],
|
|
6524
6532
|
type: [, __expectString, `type`],
|
|
6525
|
-
updatedAt: (_) =>
|
|
6533
|
+
updatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `updatedAt`],
|
|
6526
6534
|
});
|
|
6527
6535
|
};
|
|
6528
6536
|
const de_FindingAction = (output, context) => {
|
|
6529
6537
|
return take(output, {
|
|
6530
6538
|
actionType: [, __expectString, `actionType`],
|
|
6531
|
-
apiCallDetails: (_) =>
|
|
6539
|
+
apiCallDetails: [, (_) => de_ApiCallDetails(_, context), `apiCallDetails`],
|
|
6532
6540
|
});
|
|
6533
6541
|
};
|
|
6534
6542
|
const de_FindingActor = (output, context) => {
|
|
6535
6543
|
return take(output, {
|
|
6536
|
-
domainDetails: (_) =>
|
|
6537
|
-
ipAddressDetails: (_) =>
|
|
6538
|
-
userIdentity: (_) =>
|
|
6544
|
+
domainDetails: [, (_) => de_DomainDetails(_, context), `domainDetails`],
|
|
6545
|
+
ipAddressDetails: [, (_) => de_IpAddressDetails(_, context), `ipAddressDetails`],
|
|
6546
|
+
userIdentity: [, (_) => de_UserIdentity(_, context), `userIdentity`],
|
|
6539
6547
|
});
|
|
6540
6548
|
};
|
|
6541
6549
|
const de_FindingCriteria = (output, context) => {
|
|
6542
6550
|
return take(output, {
|
|
6543
|
-
criterion: (_) =>
|
|
6551
|
+
criterion: [, (_) => de_Criterion(_, context), `criterion`],
|
|
6544
6552
|
});
|
|
6545
6553
|
};
|
|
6546
6554
|
const de_FindingsFilterListItem = (output, context) => {
|
|
@@ -6570,17 +6578,17 @@ const de_Invitation = (output, context) => {
|
|
|
6570
6578
|
return take(output, {
|
|
6571
6579
|
accountId: [, __expectString, `accountId`],
|
|
6572
6580
|
invitationId: [, __expectString, `invitationId`],
|
|
6573
|
-
invitedAt: (_) =>
|
|
6581
|
+
invitedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `invitedAt`],
|
|
6574
6582
|
relationshipStatus: [, __expectString, `relationshipStatus`],
|
|
6575
6583
|
});
|
|
6576
6584
|
};
|
|
6577
6585
|
const de_IpAddressDetails = (output, context) => {
|
|
6578
6586
|
return take(output, {
|
|
6579
6587
|
ipAddressV4: [, __expectString, `ipAddressV4`],
|
|
6580
|
-
ipCity: (_) =>
|
|
6581
|
-
ipCountry: (_) =>
|
|
6582
|
-
ipGeoLocation: (_) =>
|
|
6583
|
-
ipOwner: (_) =>
|
|
6588
|
+
ipCity: [, (_) => de_IpCity(_, context), `ipCity`],
|
|
6589
|
+
ipCountry: [, (_) => de_IpCountry(_, context), `ipCountry`],
|
|
6590
|
+
ipGeoLocation: [, (_) => de_IpGeoLocation(_, context), `ipGeoLocation`],
|
|
6591
|
+
ipOwner: [, (_) => de_IpOwner(_, context), `ipOwner`],
|
|
6584
6592
|
});
|
|
6585
6593
|
};
|
|
6586
6594
|
const de_IpCity = (output, context) => {
|
|
@@ -6613,38 +6621,38 @@ const de_JobDetails = (output, context) => {
|
|
|
6613
6621
|
isDefinedInJob: [, __expectString, `isDefinedInJob`],
|
|
6614
6622
|
isMonitoredByJob: [, __expectString, `isMonitoredByJob`],
|
|
6615
6623
|
lastJobId: [, __expectString, `lastJobId`],
|
|
6616
|
-
lastJobRunTime: (_) =>
|
|
6624
|
+
lastJobRunTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `lastJobRunTime`],
|
|
6617
6625
|
});
|
|
6618
6626
|
};
|
|
6619
6627
|
const de_JobScheduleFrequency = (output, context) => {
|
|
6620
6628
|
return take(output, {
|
|
6621
6629
|
dailySchedule: [, _json, `dailySchedule`],
|
|
6622
|
-
monthlySchedule: (_) =>
|
|
6623
|
-
weeklySchedule: (_) =>
|
|
6630
|
+
monthlySchedule: [, (_) => de_MonthlySchedule(_, context), `monthlySchedule`],
|
|
6631
|
+
weeklySchedule: [, (_) => de_WeeklySchedule(_, context), `weeklySchedule`],
|
|
6624
6632
|
});
|
|
6625
6633
|
};
|
|
6626
6634
|
const de_JobScopeTerm = (output, context) => {
|
|
6627
6635
|
return take(output, {
|
|
6628
|
-
simpleScopeTerm: (_) =>
|
|
6629
|
-
tagScopeTerm: (_) =>
|
|
6636
|
+
simpleScopeTerm: [, (_) => de_SimpleScopeTerm(_, context), `simpleScopeTerm`],
|
|
6637
|
+
tagScopeTerm: [, (_) => de_TagScopeTerm(_, context), `tagScopeTerm`],
|
|
6630
6638
|
});
|
|
6631
6639
|
};
|
|
6632
6640
|
const de_JobScopingBlock = (output, context) => {
|
|
6633
6641
|
return take(output, {
|
|
6634
|
-
and: (_) =>
|
|
6642
|
+
and: [, (_) => de___listOfJobScopeTerm(_, context), `and`],
|
|
6635
6643
|
});
|
|
6636
6644
|
};
|
|
6637
6645
|
const de_JobSummary = (output, context) => {
|
|
6638
6646
|
return take(output, {
|
|
6639
|
-
bucketCriteria: (_) =>
|
|
6640
|
-
bucketDefinitions: (_) =>
|
|
6641
|
-
createdAt: (_) =>
|
|
6647
|
+
bucketCriteria: [, (_) => de_S3BucketCriteriaForJob(_, context), `bucketCriteria`],
|
|
6648
|
+
bucketDefinitions: [, (_) => de___listOfS3BucketDefinitionForJob(_, context), `bucketDefinitions`],
|
|
6649
|
+
createdAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
6642
6650
|
jobId: [, __expectString, `jobId`],
|
|
6643
6651
|
jobStatus: [, __expectString, `jobStatus`],
|
|
6644
6652
|
jobType: [, __expectString, `jobType`],
|
|
6645
|
-
lastRunErrorStatus: (_) =>
|
|
6653
|
+
lastRunErrorStatus: [, (_) => de_LastRunErrorStatus(_, context), `lastRunErrorStatus`],
|
|
6646
6654
|
name: [, __expectString, `name`],
|
|
6647
|
-
userPausedDetails: (_) =>
|
|
6655
|
+
userPausedDetails: [, (_) => de_UserPausedDetails(_, context), `userPausedDetails`],
|
|
6648
6656
|
});
|
|
6649
6657
|
};
|
|
6650
6658
|
const de_KeyValuePair = (output, context) => {
|
|
@@ -6680,24 +6688,32 @@ const de_MatchingBucket = (output, context) => {
|
|
|
6680
6688
|
classifiableSizeInBytes: [, __expectLong, `classifiableSizeInBytes`],
|
|
6681
6689
|
errorCode: [, __expectString, `errorCode`],
|
|
6682
6690
|
errorMessage: [, __expectString, `errorMessage`],
|
|
6683
|
-
jobDetails: (_) =>
|
|
6684
|
-
lastAutomatedDiscoveryTime:
|
|
6691
|
+
jobDetails: [, (_) => de_JobDetails(_, context), `jobDetails`],
|
|
6692
|
+
lastAutomatedDiscoveryTime: [
|
|
6685
6693
|
,
|
|
6686
|
-
__expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
6694
|
+
(_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
6687
6695
|
`lastAutomatedDiscoveryTime`,
|
|
6688
6696
|
],
|
|
6689
6697
|
objectCount: [, __expectLong, `objectCount`],
|
|
6690
|
-
objectCountByEncryptionType:
|
|
6698
|
+
objectCountByEncryptionType: [
|
|
6699
|
+
,
|
|
6700
|
+
(_) => de_ObjectCountByEncryptionType(_, context),
|
|
6701
|
+
`objectCountByEncryptionType`,
|
|
6702
|
+
],
|
|
6691
6703
|
sensitivityScore: [, __expectInt32, `sensitivityScore`],
|
|
6692
6704
|
sizeInBytes: [, __expectLong, `sizeInBytes`],
|
|
6693
6705
|
sizeInBytesCompressed: [, __expectLong, `sizeInBytesCompressed`],
|
|
6694
|
-
unclassifiableObjectCount: (_) =>
|
|
6695
|
-
unclassifiableObjectSizeInBytes:
|
|
6706
|
+
unclassifiableObjectCount: [, (_) => de_ObjectLevelStatistics(_, context), `unclassifiableObjectCount`],
|
|
6707
|
+
unclassifiableObjectSizeInBytes: [
|
|
6708
|
+
,
|
|
6709
|
+
(_) => de_ObjectLevelStatistics(_, context),
|
|
6710
|
+
`unclassifiableObjectSizeInBytes`,
|
|
6711
|
+
],
|
|
6696
6712
|
});
|
|
6697
6713
|
};
|
|
6698
6714
|
const de_MatchingResource = (output, context) => {
|
|
6699
6715
|
return take(output, {
|
|
6700
|
-
matchingBucket: (_) =>
|
|
6716
|
+
matchingBucket: [, (_) => de_MatchingBucket(_, context), `matchingBucket`],
|
|
6701
6717
|
});
|
|
6702
6718
|
};
|
|
6703
6719
|
const de_Member = (output, context) => {
|
|
@@ -6706,11 +6722,11 @@ const de_Member = (output, context) => {
|
|
|
6706
6722
|
administratorAccountId: [, __expectString, `administratorAccountId`],
|
|
6707
6723
|
arn: [, __expectString, `arn`],
|
|
6708
6724
|
email: [, __expectString, `email`],
|
|
6709
|
-
invitedAt: (_) =>
|
|
6725
|
+
invitedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `invitedAt`],
|
|
6710
6726
|
masterAccountId: [, __expectString, `masterAccountId`],
|
|
6711
6727
|
relationshipStatus: [, __expectString, `relationshipStatus`],
|
|
6712
6728
|
tags: [, _json, `tags`],
|
|
6713
|
-
updatedAt: (_) =>
|
|
6729
|
+
updatedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `updatedAt`],
|
|
6714
6730
|
});
|
|
6715
6731
|
};
|
|
6716
6732
|
const de_MonthlySchedule = (output, context) => {
|
|
@@ -6736,17 +6752,17 @@ const de_ObjectLevelStatistics = (output, context) => {
|
|
|
6736
6752
|
};
|
|
6737
6753
|
const de_Occurrences = (output, context) => {
|
|
6738
6754
|
return take(output, {
|
|
6739
|
-
cells: (_) =>
|
|
6740
|
-
lineRanges: (_) =>
|
|
6741
|
-
offsetRanges: (_) =>
|
|
6742
|
-
pages: (_) =>
|
|
6743
|
-
records: (_) =>
|
|
6755
|
+
cells: [, (_) => de_Cells(_, context), `cells`],
|
|
6756
|
+
lineRanges: [, (_) => de_Ranges(_, context), `lineRanges`],
|
|
6757
|
+
offsetRanges: [, (_) => de_Ranges(_, context), `offsetRanges`],
|
|
6758
|
+
pages: [, (_) => de_Pages(_, context), `pages`],
|
|
6759
|
+
records: [, (_) => de_Records(_, context), `records`],
|
|
6744
6760
|
});
|
|
6745
6761
|
};
|
|
6746
6762
|
const de_Page = (output, context) => {
|
|
6747
6763
|
return take(output, {
|
|
6748
|
-
lineRange: (_) =>
|
|
6749
|
-
offsetRange: (_) =>
|
|
6764
|
+
lineRange: [, (_) => de_Range(_, context), `lineRange`],
|
|
6765
|
+
offsetRange: [, (_) => de_Range(_, context), `offsetRange`],
|
|
6750
6766
|
pageNumber: [, __expectLong, `pageNumber`],
|
|
6751
6767
|
});
|
|
6752
6768
|
};
|
|
@@ -6760,8 +6776,8 @@ const de_Pages = (output, context) => {
|
|
|
6760
6776
|
};
|
|
6761
6777
|
const de_PolicyDetails = (output, context) => {
|
|
6762
6778
|
return take(output, {
|
|
6763
|
-
action: (_) =>
|
|
6764
|
-
actor: (_) =>
|
|
6779
|
+
action: [, (_) => de_FindingAction(_, context), `action`],
|
|
6780
|
+
actor: [, (_) => de_FindingActor(_, context), `actor`],
|
|
6765
6781
|
});
|
|
6766
6782
|
};
|
|
6767
6783
|
const de_Range = (output, context) => {
|
|
@@ -6809,8 +6825,8 @@ const de_ResourceProfileArtifact = (output, context) => {
|
|
|
6809
6825
|
};
|
|
6810
6826
|
const de_ResourcesAffected = (output, context) => {
|
|
6811
6827
|
return take(output, {
|
|
6812
|
-
s3Bucket: (_) =>
|
|
6813
|
-
s3Object: (_) =>
|
|
6828
|
+
s3Bucket: [, (_) => de_S3Bucket(_, context), `s3Bucket`],
|
|
6829
|
+
s3Object: [, (_) => de_S3Object(_, context), `s3Object`],
|
|
6814
6830
|
});
|
|
6815
6831
|
};
|
|
6816
6832
|
const de_ResourceStatistics = (output, context) => {
|
|
@@ -6836,18 +6852,18 @@ const de_S3Bucket = (output, context) => {
|
|
|
6836
6852
|
return take(output, {
|
|
6837
6853
|
allowsUnencryptedObjectUploads: [, __expectString, `allowsUnencryptedObjectUploads`],
|
|
6838
6854
|
arn: [, __expectString, `arn`],
|
|
6839
|
-
createdAt: (_) =>
|
|
6840
|
-
defaultServerSideEncryption: (_) =>
|
|
6855
|
+
createdAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `createdAt`],
|
|
6856
|
+
defaultServerSideEncryption: [, (_) => de_ServerSideEncryption(_, context), `defaultServerSideEncryption`],
|
|
6841
6857
|
name: [, __expectString, `name`],
|
|
6842
|
-
owner: (_) =>
|
|
6843
|
-
publicAccess: (_) =>
|
|
6844
|
-
tags: (_) =>
|
|
6858
|
+
owner: [, (_) => de_S3BucketOwner(_, context), `owner`],
|
|
6859
|
+
publicAccess: [, (_) => de_BucketPublicAccess(_, context), `publicAccess`],
|
|
6860
|
+
tags: [, (_) => de_KeyValuePairList(_, context), `tags`],
|
|
6845
6861
|
});
|
|
6846
6862
|
};
|
|
6847
6863
|
const de_S3BucketCriteriaForJob = (output, context) => {
|
|
6848
6864
|
return take(output, {
|
|
6849
|
-
excludes: (_) =>
|
|
6850
|
-
includes: (_) =>
|
|
6865
|
+
excludes: [, (_) => de_CriteriaBlockForJob(_, context), `excludes`],
|
|
6866
|
+
includes: [, (_) => de_CriteriaBlockForJob(_, context), `includes`],
|
|
6851
6867
|
});
|
|
6852
6868
|
};
|
|
6853
6869
|
const de_S3BucketDefinitionForJob = (output, context) => {
|
|
@@ -6864,7 +6880,7 @@ const de_S3BucketOwner = (output, context) => {
|
|
|
6864
6880
|
};
|
|
6865
6881
|
const de_S3ClassificationScope = (output, context) => {
|
|
6866
6882
|
return take(output, {
|
|
6867
|
-
excludes: (_) =>
|
|
6883
|
+
excludes: [, (_) => de_S3ClassificationScopeExclusion(_, context), `excludes`],
|
|
6868
6884
|
});
|
|
6869
6885
|
};
|
|
6870
6886
|
const de_S3ClassificationScopeExclusion = (output, context) => {
|
|
@@ -6881,9 +6897,9 @@ const de_S3Destination = (output, context) => {
|
|
|
6881
6897
|
};
|
|
6882
6898
|
const de_S3JobDefinition = (output, context) => {
|
|
6883
6899
|
return take(output, {
|
|
6884
|
-
bucketCriteria: (_) =>
|
|
6885
|
-
bucketDefinitions: (_) =>
|
|
6886
|
-
scoping: (_) =>
|
|
6900
|
+
bucketCriteria: [, (_) => de_S3BucketCriteriaForJob(_, context), `bucketCriteria`],
|
|
6901
|
+
bucketDefinitions: [, (_) => de___listOfS3BucketDefinitionForJob(_, context), `bucketDefinitions`],
|
|
6902
|
+
scoping: [, (_) => de_Scoping(_, context), `scoping`],
|
|
6887
6903
|
});
|
|
6888
6904
|
};
|
|
6889
6905
|
const de_S3Object = (output, context) => {
|
|
@@ -6892,13 +6908,13 @@ const de_S3Object = (output, context) => {
|
|
|
6892
6908
|
eTag: [, __expectString, `eTag`],
|
|
6893
6909
|
extension: [, __expectString, `extension`],
|
|
6894
6910
|
key: [, __expectString, `key`],
|
|
6895
|
-
lastModified: (_) =>
|
|
6911
|
+
lastModified: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `lastModified`],
|
|
6896
6912
|
path: [, __expectString, `path`],
|
|
6897
6913
|
publicAccess: [, __expectBoolean, `publicAccess`],
|
|
6898
|
-
serverSideEncryption: (_) =>
|
|
6914
|
+
serverSideEncryption: [, (_) => de_ServerSideEncryption(_, context), `serverSideEncryption`],
|
|
6899
6915
|
size: [, __expectLong, `size`],
|
|
6900
6916
|
storageClass: [, __expectString, `storageClass`],
|
|
6901
|
-
tags: (_) =>
|
|
6917
|
+
tags: [, (_) => de_KeyValuePairList(_, context), `tags`],
|
|
6902
6918
|
versionId: [, __expectString, `versionId`],
|
|
6903
6919
|
});
|
|
6904
6920
|
};
|
|
@@ -6910,8 +6926,8 @@ const de_S3WordsList = (output, context) => {
|
|
|
6910
6926
|
};
|
|
6911
6927
|
const de_Scoping = (output, context) => {
|
|
6912
6928
|
return take(output, {
|
|
6913
|
-
excludes: (_) =>
|
|
6914
|
-
includes: (_) =>
|
|
6929
|
+
excludes: [, (_) => de_JobScopingBlock(_, context), `excludes`],
|
|
6930
|
+
includes: [, (_) => de_JobScopingBlock(_, context), `includes`],
|
|
6915
6931
|
});
|
|
6916
6932
|
};
|
|
6917
6933
|
const de_SecurityHubConfiguration = (output, context) => {
|
|
@@ -6931,7 +6947,7 @@ const de_SensitiveData = (output, context) => {
|
|
|
6931
6947
|
const de_SensitiveDataItem = (output, context) => {
|
|
6932
6948
|
return take(output, {
|
|
6933
6949
|
category: [, __expectString, `category`],
|
|
6934
|
-
detections: (_) =>
|
|
6950
|
+
detections: [, (_) => de_DefaultDetections(_, context), `detections`],
|
|
6935
6951
|
totalCount: [, __expectLong, `totalCount`],
|
|
6936
6952
|
});
|
|
6937
6953
|
};
|
|
@@ -6985,13 +7001,13 @@ const de_ServiceLimit = (output, context) => {
|
|
|
6985
7001
|
};
|
|
6986
7002
|
const de_SessionContext = (output, context) => {
|
|
6987
7003
|
return take(output, {
|
|
6988
|
-
attributes: (_) =>
|
|
6989
|
-
sessionIssuer: (_) =>
|
|
7004
|
+
attributes: [, (_) => de_SessionContextAttributes(_, context), `attributes`],
|
|
7005
|
+
sessionIssuer: [, (_) => de_SessionIssuer(_, context), `sessionIssuer`],
|
|
6990
7006
|
});
|
|
6991
7007
|
};
|
|
6992
7008
|
const de_SessionContextAttributes = (output, context) => {
|
|
6993
7009
|
return take(output, {
|
|
6994
|
-
creationDate: (_) =>
|
|
7010
|
+
creationDate: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationDate`],
|
|
6995
7011
|
mfaAuthenticated: [, __expectBoolean, `mfaAuthenticated`],
|
|
6996
7012
|
});
|
|
6997
7013
|
};
|
|
@@ -7047,7 +7063,7 @@ const de_Statistics = (output, context) => {
|
|
|
7047
7063
|
const de_TagCriterionForJob = (output, context) => {
|
|
7048
7064
|
return take(output, {
|
|
7049
7065
|
comparator: [, __expectString, `comparator`],
|
|
7050
|
-
tagValues: (_) =>
|
|
7066
|
+
tagValues: [, (_) => de___listOfTagCriterionPairForJob(_, context), `tagValues`],
|
|
7051
7067
|
});
|
|
7052
7068
|
};
|
|
7053
7069
|
const de_TagCriterionPairForJob = (output, context) => {
|
|
@@ -7060,7 +7076,7 @@ const de_TagScopeTerm = (output, context) => {
|
|
|
7060
7076
|
return take(output, {
|
|
7061
7077
|
comparator: [, __expectString, `comparator`],
|
|
7062
7078
|
key: [, __expectString, `key`],
|
|
7063
|
-
tagValues: (_) =>
|
|
7079
|
+
tagValues: [, (_) => de___listOfTagValuePair(_, context), `tagValues`],
|
|
7064
7080
|
target: [, __expectString, `target`],
|
|
7065
7081
|
});
|
|
7066
7082
|
};
|
|
@@ -7081,20 +7097,20 @@ const de_UsageByAccount = (output, context) => {
|
|
|
7081
7097
|
return take(output, {
|
|
7082
7098
|
currency: [, __expectString, `currency`],
|
|
7083
7099
|
estimatedCost: [, __expectString, `estimatedCost`],
|
|
7084
|
-
serviceLimit: (_) =>
|
|
7100
|
+
serviceLimit: [, (_) => de_ServiceLimit(_, context), `serviceLimit`],
|
|
7085
7101
|
type: [, __expectString, `type`],
|
|
7086
7102
|
});
|
|
7087
7103
|
};
|
|
7088
7104
|
const de_UsageRecord = (output, context) => {
|
|
7089
7105
|
return take(output, {
|
|
7090
7106
|
accountId: [, __expectString, `accountId`],
|
|
7091
|
-
automatedDiscoveryFreeTrialStartDate:
|
|
7107
|
+
automatedDiscoveryFreeTrialStartDate: [
|
|
7092
7108
|
,
|
|
7093
|
-
__expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
7109
|
+
(_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
7094
7110
|
`automatedDiscoveryFreeTrialStartDate`,
|
|
7095
7111
|
],
|
|
7096
|
-
freeTrialStartDate: (_) =>
|
|
7097
|
-
usage: (_) =>
|
|
7112
|
+
freeTrialStartDate: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `freeTrialStartDate`],
|
|
7113
|
+
usage: [, (_) => de___listOfUsageByAccount(_, context), `usage`],
|
|
7098
7114
|
});
|
|
7099
7115
|
};
|
|
7100
7116
|
const de_UsageTotal = (output, context) => {
|
|
@@ -7106,12 +7122,12 @@ const de_UsageTotal = (output, context) => {
|
|
|
7106
7122
|
};
|
|
7107
7123
|
const de_UserIdentity = (output, context) => {
|
|
7108
7124
|
return take(output, {
|
|
7109
|
-
assumedRole: (_) =>
|
|
7110
|
-
awsAccount: (_) =>
|
|
7111
|
-
awsService: (_) =>
|
|
7112
|
-
federatedUser: (_) =>
|
|
7113
|
-
iamUser: (_) =>
|
|
7114
|
-
root: (_) =>
|
|
7125
|
+
assumedRole: [, (_) => de_AssumedRole(_, context), `assumedRole`],
|
|
7126
|
+
awsAccount: [, (_) => de_AwsAccount(_, context), `awsAccount`],
|
|
7127
|
+
awsService: [, (_) => de_AwsService(_, context), `awsService`],
|
|
7128
|
+
federatedUser: [, (_) => de_FederatedUser(_, context), `federatedUser`],
|
|
7129
|
+
iamUser: [, (_) => de_IamUser(_, context), `iamUser`],
|
|
7130
|
+
root: [, (_) => de_UserIdentityRoot(_, context), `root`],
|
|
7115
7131
|
type: [, __expectString, `type`],
|
|
7116
7132
|
});
|
|
7117
7133
|
};
|
|
@@ -7124,9 +7140,9 @@ const de_UserIdentityRoot = (output, context) => {
|
|
|
7124
7140
|
};
|
|
7125
7141
|
const de_UserPausedDetails = (output, context) => {
|
|
7126
7142
|
return take(output, {
|
|
7127
|
-
jobExpiresAt: (_) =>
|
|
7143
|
+
jobExpiresAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `jobExpiresAt`],
|
|
7128
7144
|
jobImminentExpirationHealthEventArn: [, __expectString, `jobImminentExpirationHealthEventArn`],
|
|
7129
|
-
jobPausedAt: (_) =>
|
|
7145
|
+
jobPausedAt: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `jobPausedAt`],
|
|
7130
7146
|
});
|
|
7131
7147
|
};
|
|
7132
7148
|
const de_WeeklySchedule = (output, context) => {
|