@aws-sdk/client-accessanalyzer 3.750.0 → 3.772.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +106 -132
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AccessAnalyzer: () => AccessAnalyzer,
|
|
25
25
|
AccessAnalyzerClient: () => AccessAnalyzerClient,
|
|
26
26
|
AccessAnalyzerServiceException: () => AccessAnalyzerServiceException,
|
|
@@ -118,7 +118,7 @@ __export(src_exports, {
|
|
|
118
118
|
paginateListPolicyGenerations: () => paginateListPolicyGenerations,
|
|
119
119
|
paginateValidatePolicy: () => paginateValidatePolicy
|
|
120
120
|
});
|
|
121
|
-
module.exports = __toCommonJS(
|
|
121
|
+
module.exports = __toCommonJS(index_exports);
|
|
122
122
|
|
|
123
123
|
// src/AccessAnalyzerClient.ts
|
|
124
124
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -245,9 +245,9 @@ var AccessAnalyzerClient = class extends import_smithy_client.Client {
|
|
|
245
245
|
this.middlewareStack.use(
|
|
246
246
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
247
247
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultAccessAnalyzerHttpAuthSchemeParametersProvider,
|
|
248
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
248
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
249
249
|
"aws.auth#sigv4": config.credentials
|
|
250
|
-
})
|
|
250
|
+
}), "identityProviderConfigProvider")
|
|
251
251
|
})
|
|
252
252
|
);
|
|
253
253
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -493,8 +493,7 @@ var ValidationException = class _ValidationException extends AccessAnalyzerServi
|
|
|
493
493
|
var AnalyzerConfiguration;
|
|
494
494
|
((AnalyzerConfiguration3) => {
|
|
495
495
|
AnalyzerConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
496
|
-
if (value.unusedAccess !== void 0)
|
|
497
|
-
return visitor.unusedAccess(value.unusedAccess);
|
|
496
|
+
if (value.unusedAccess !== void 0) return visitor.unusedAccess(value.unusedAccess);
|
|
498
497
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
499
498
|
}, "visit");
|
|
500
499
|
})(AnalyzerConfiguration || (AnalyzerConfiguration = {}));
|
|
@@ -590,36 +589,30 @@ var KmsGrantOperation = {
|
|
|
590
589
|
var RdsDbClusterSnapshotAttributeValue;
|
|
591
590
|
((RdsDbClusterSnapshotAttributeValue3) => {
|
|
592
591
|
RdsDbClusterSnapshotAttributeValue3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
593
|
-
if (value.accountIds !== void 0)
|
|
594
|
-
return visitor.accountIds(value.accountIds);
|
|
592
|
+
if (value.accountIds !== void 0) return visitor.accountIds(value.accountIds);
|
|
595
593
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
596
594
|
}, "visit");
|
|
597
595
|
})(RdsDbClusterSnapshotAttributeValue || (RdsDbClusterSnapshotAttributeValue = {}));
|
|
598
596
|
var RdsDbSnapshotAttributeValue;
|
|
599
597
|
((RdsDbSnapshotAttributeValue3) => {
|
|
600
598
|
RdsDbSnapshotAttributeValue3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
601
|
-
if (value.accountIds !== void 0)
|
|
602
|
-
return visitor.accountIds(value.accountIds);
|
|
599
|
+
if (value.accountIds !== void 0) return visitor.accountIds(value.accountIds);
|
|
603
600
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
604
601
|
}, "visit");
|
|
605
602
|
})(RdsDbSnapshotAttributeValue || (RdsDbSnapshotAttributeValue = {}));
|
|
606
603
|
var NetworkOriginConfiguration;
|
|
607
604
|
((NetworkOriginConfiguration3) => {
|
|
608
605
|
NetworkOriginConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
609
|
-
if (value.vpcConfiguration !== void 0)
|
|
610
|
-
|
|
611
|
-
if (value.internetConfiguration !== void 0)
|
|
612
|
-
return visitor.internetConfiguration(value.internetConfiguration);
|
|
606
|
+
if (value.vpcConfiguration !== void 0) return visitor.vpcConfiguration(value.vpcConfiguration);
|
|
607
|
+
if (value.internetConfiguration !== void 0) return visitor.internetConfiguration(value.internetConfiguration);
|
|
613
608
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
614
609
|
}, "visit");
|
|
615
610
|
})(NetworkOriginConfiguration || (NetworkOriginConfiguration = {}));
|
|
616
611
|
var AclGrantee;
|
|
617
612
|
((AclGrantee3) => {
|
|
618
613
|
AclGrantee3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
619
|
-
if (value.id !== void 0)
|
|
620
|
-
|
|
621
|
-
if (value.uri !== void 0)
|
|
622
|
-
return visitor.uri(value.uri);
|
|
614
|
+
if (value.id !== void 0) return visitor.id(value.id);
|
|
615
|
+
if (value.uri !== void 0) return visitor.uri(value.uri);
|
|
623
616
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
624
617
|
}, "visit");
|
|
625
618
|
})(AclGrantee || (AclGrantee = {}));
|
|
@@ -633,34 +626,21 @@ var AclPermission = {
|
|
|
633
626
|
var Configuration;
|
|
634
627
|
((Configuration3) => {
|
|
635
628
|
Configuration3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
636
|
-
if (value.ebsSnapshot !== void 0)
|
|
637
|
-
|
|
638
|
-
if (value.
|
|
639
|
-
|
|
640
|
-
if (value.
|
|
641
|
-
|
|
642
|
-
if (value.
|
|
643
|
-
|
|
644
|
-
if (value.
|
|
645
|
-
|
|
646
|
-
if (value.
|
|
647
|
-
return visitor.rdsDbClusterSnapshot(value.rdsDbClusterSnapshot);
|
|
648
|
-
if (value.rdsDbSnapshot !== void 0)
|
|
649
|
-
return visitor.rdsDbSnapshot(value.rdsDbSnapshot);
|
|
650
|
-
if (value.secretsManagerSecret !== void 0)
|
|
651
|
-
return visitor.secretsManagerSecret(value.secretsManagerSecret);
|
|
652
|
-
if (value.s3Bucket !== void 0)
|
|
653
|
-
return visitor.s3Bucket(value.s3Bucket);
|
|
654
|
-
if (value.snsTopic !== void 0)
|
|
655
|
-
return visitor.snsTopic(value.snsTopic);
|
|
656
|
-
if (value.sqsQueue !== void 0)
|
|
657
|
-
return visitor.sqsQueue(value.sqsQueue);
|
|
629
|
+
if (value.ebsSnapshot !== void 0) return visitor.ebsSnapshot(value.ebsSnapshot);
|
|
630
|
+
if (value.ecrRepository !== void 0) return visitor.ecrRepository(value.ecrRepository);
|
|
631
|
+
if (value.iamRole !== void 0) return visitor.iamRole(value.iamRole);
|
|
632
|
+
if (value.efsFileSystem !== void 0) return visitor.efsFileSystem(value.efsFileSystem);
|
|
633
|
+
if (value.kmsKey !== void 0) return visitor.kmsKey(value.kmsKey);
|
|
634
|
+
if (value.rdsDbClusterSnapshot !== void 0) return visitor.rdsDbClusterSnapshot(value.rdsDbClusterSnapshot);
|
|
635
|
+
if (value.rdsDbSnapshot !== void 0) return visitor.rdsDbSnapshot(value.rdsDbSnapshot);
|
|
636
|
+
if (value.secretsManagerSecret !== void 0) return visitor.secretsManagerSecret(value.secretsManagerSecret);
|
|
637
|
+
if (value.s3Bucket !== void 0) return visitor.s3Bucket(value.s3Bucket);
|
|
638
|
+
if (value.snsTopic !== void 0) return visitor.snsTopic(value.snsTopic);
|
|
639
|
+
if (value.sqsQueue !== void 0) return visitor.sqsQueue(value.sqsQueue);
|
|
658
640
|
if (value.s3ExpressDirectoryBucket !== void 0)
|
|
659
641
|
return visitor.s3ExpressDirectoryBucket(value.s3ExpressDirectoryBucket);
|
|
660
|
-
if (value.dynamodbStream !== void 0)
|
|
661
|
-
|
|
662
|
-
if (value.dynamodbTable !== void 0)
|
|
663
|
-
return visitor.dynamodbTable(value.dynamodbTable);
|
|
642
|
+
if (value.dynamodbStream !== void 0) return visitor.dynamodbStream(value.dynamodbStream);
|
|
643
|
+
if (value.dynamodbTable !== void 0) return visitor.dynamodbTable(value.dynamodbTable);
|
|
664
644
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
665
645
|
}, "visit");
|
|
666
646
|
})(Configuration || (Configuration = {}));
|
|
@@ -711,14 +691,12 @@ var FindingsStatistics;
|
|
|
711
691
|
var FindingDetails;
|
|
712
692
|
((FindingDetails3) => {
|
|
713
693
|
FindingDetails3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
714
|
-
if (value.externalAccessDetails !== void 0)
|
|
715
|
-
return visitor.externalAccessDetails(value.externalAccessDetails);
|
|
694
|
+
if (value.externalAccessDetails !== void 0) return visitor.externalAccessDetails(value.externalAccessDetails);
|
|
716
695
|
if (value.unusedPermissionDetails !== void 0)
|
|
717
696
|
return visitor.unusedPermissionDetails(value.unusedPermissionDetails);
|
|
718
697
|
if (value.unusedIamUserAccessKeyDetails !== void 0)
|
|
719
698
|
return visitor.unusedIamUserAccessKeyDetails(value.unusedIamUserAccessKeyDetails);
|
|
720
|
-
if (value.unusedIamRoleDetails !== void 0)
|
|
721
|
-
return visitor.unusedIamRoleDetails(value.unusedIamRoleDetails);
|
|
699
|
+
if (value.unusedIamRoleDetails !== void 0) return visitor.unusedIamRoleDetails(value.unusedIamRoleDetails);
|
|
722
700
|
if (value.unusedIamUserPasswordDetails !== void 0)
|
|
723
701
|
return visitor.unusedIamUserPasswordDetails(value.unusedIamUserPasswordDetails);
|
|
724
702
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
@@ -783,14 +761,10 @@ var ValidatePolicyFindingType = {
|
|
|
783
761
|
var PathElement;
|
|
784
762
|
((PathElement2) => {
|
|
785
763
|
PathElement2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
786
|
-
if (value.index !== void 0)
|
|
787
|
-
|
|
788
|
-
if (value.
|
|
789
|
-
|
|
790
|
-
if (value.substring !== void 0)
|
|
791
|
-
return visitor.substring(value.substring);
|
|
792
|
-
if (value.value !== void 0)
|
|
793
|
-
return visitor.value(value.value);
|
|
764
|
+
if (value.index !== void 0) return visitor.index(value.index);
|
|
765
|
+
if (value.key !== void 0) return visitor.key(value.key);
|
|
766
|
+
if (value.substring !== void 0) return visitor.substring(value.substring);
|
|
767
|
+
if (value.value !== void 0) return visitor.value(value.value);
|
|
794
768
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
795
769
|
}, "visit");
|
|
796
770
|
})(PathElement || (PathElement = {}));
|
|
@@ -844,7 +818,7 @@ var se_CheckAccessNotGrantedCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
844
818
|
let body;
|
|
845
819
|
body = JSON.stringify(
|
|
846
820
|
(0, import_smithy_client.take)(input, {
|
|
847
|
-
access: (_) => (0, import_smithy_client._json)(_),
|
|
821
|
+
access: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "access"),
|
|
848
822
|
policyDocument: [],
|
|
849
823
|
policyType: []
|
|
850
824
|
})
|
|
@@ -896,7 +870,7 @@ var se_CreateAccessPreviewCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
896
870
|
(0, import_smithy_client.take)(input, {
|
|
897
871
|
analyzerArn: [],
|
|
898
872
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
899
|
-
configurations: (_) => (0, import_smithy_client._json)(_)
|
|
873
|
+
configurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configurations")
|
|
900
874
|
})
|
|
901
875
|
);
|
|
902
876
|
b.m("PUT").h(headers).b(body);
|
|
@@ -912,10 +886,10 @@ var se_CreateAnalyzerCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
912
886
|
body = JSON.stringify(
|
|
913
887
|
(0, import_smithy_client.take)(input, {
|
|
914
888
|
analyzerName: [],
|
|
915
|
-
archiveRules: (_) => (0, import_smithy_client._json)(_),
|
|
889
|
+
archiveRules: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "archiveRules"),
|
|
916
890
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
917
|
-
configuration: (_) => (0, import_smithy_client._json)(_),
|
|
918
|
-
tags: (_) => (0, import_smithy_client._json)(_),
|
|
891
|
+
configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configuration"),
|
|
892
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
919
893
|
type: []
|
|
920
894
|
})
|
|
921
895
|
);
|
|
@@ -933,7 +907,7 @@ var se_CreateArchiveRuleCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
933
907
|
body = JSON.stringify(
|
|
934
908
|
(0, import_smithy_client.take)(input, {
|
|
935
909
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
936
|
-
filter: (_) => (0, import_smithy_client._json)(_),
|
|
910
|
+
filter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filter"),
|
|
937
911
|
ruleName: []
|
|
938
912
|
})
|
|
939
913
|
);
|
|
@@ -1099,7 +1073,7 @@ var se_ListAccessPreviewFindingsCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
1099
1073
|
body = JSON.stringify(
|
|
1100
1074
|
(0, import_smithy_client.take)(input, {
|
|
1101
1075
|
analyzerArn: [],
|
|
1102
|
-
filter: (_) => (0, import_smithy_client._json)(_),
|
|
1076
|
+
filter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filter"),
|
|
1103
1077
|
maxResults: [],
|
|
1104
1078
|
nextToken: []
|
|
1105
1079
|
})
|
|
@@ -1174,10 +1148,10 @@ var se_ListFindingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1174
1148
|
body = JSON.stringify(
|
|
1175
1149
|
(0, import_smithy_client.take)(input, {
|
|
1176
1150
|
analyzerArn: [],
|
|
1177
|
-
filter: (_) => (0, import_smithy_client._json)(_),
|
|
1151
|
+
filter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filter"),
|
|
1178
1152
|
maxResults: [],
|
|
1179
1153
|
nextToken: [],
|
|
1180
|
-
sort: (_) => (0, import_smithy_client._json)(_)
|
|
1154
|
+
sort: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sort")
|
|
1181
1155
|
})
|
|
1182
1156
|
);
|
|
1183
1157
|
b.m("POST").h(headers).b(body);
|
|
@@ -1193,10 +1167,10 @@ var se_ListFindingsV2Command = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1193
1167
|
body = JSON.stringify(
|
|
1194
1168
|
(0, import_smithy_client.take)(input, {
|
|
1195
1169
|
analyzerArn: [],
|
|
1196
|
-
filter: (_) => (0, import_smithy_client._json)(_),
|
|
1170
|
+
filter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filter"),
|
|
1197
1171
|
maxResults: [],
|
|
1198
1172
|
nextToken: [],
|
|
1199
|
-
sort: (_) => (0, import_smithy_client._json)(_)
|
|
1173
|
+
sort: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sort")
|
|
1200
1174
|
})
|
|
1201
1175
|
);
|
|
1202
1176
|
b.m("POST").h(headers).b(body);
|
|
@@ -1234,8 +1208,8 @@ var se_StartPolicyGenerationCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
1234
1208
|
body = JSON.stringify(
|
|
1235
1209
|
(0, import_smithy_client.take)(input, {
|
|
1236
1210
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1237
|
-
cloudTrailDetails: (_) => se_CloudTrailDetails(_, context),
|
|
1238
|
-
policyGenerationDetails: (_) => (0, import_smithy_client._json)(_)
|
|
1211
|
+
cloudTrailDetails: /* @__PURE__ */ __name((_) => se_CloudTrailDetails(_, context), "cloudTrailDetails"),
|
|
1212
|
+
policyGenerationDetails: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "policyGenerationDetails")
|
|
1239
1213
|
})
|
|
1240
1214
|
);
|
|
1241
1215
|
b.m("PUT").h(headers).b(body);
|
|
@@ -1268,7 +1242,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1268
1242
|
let body;
|
|
1269
1243
|
body = JSON.stringify(
|
|
1270
1244
|
(0, import_smithy_client.take)(input, {
|
|
1271
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
1245
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
1272
1246
|
})
|
|
1273
1247
|
);
|
|
1274
1248
|
b.m("POST").h(headers).b(body);
|
|
@@ -1296,7 +1270,7 @@ var se_UpdateAnalyzerCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1296
1270
|
let body;
|
|
1297
1271
|
body = JSON.stringify(
|
|
1298
1272
|
(0, import_smithy_client.take)(input, {
|
|
1299
|
-
configuration: (_) => (0, import_smithy_client._json)(_)
|
|
1273
|
+
configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configuration")
|
|
1300
1274
|
})
|
|
1301
1275
|
);
|
|
1302
1276
|
b.m("PUT").h(headers).b(body);
|
|
@@ -1314,7 +1288,7 @@ var se_UpdateArchiveRuleCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1314
1288
|
body = JSON.stringify(
|
|
1315
1289
|
(0, import_smithy_client.take)(input, {
|
|
1316
1290
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1317
|
-
filter: (_) => (0, import_smithy_client._json)(_)
|
|
1291
|
+
filter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filter")
|
|
1318
1292
|
})
|
|
1319
1293
|
);
|
|
1320
1294
|
b.m("PUT").h(headers).b(body);
|
|
@@ -1331,7 +1305,7 @@ var se_UpdateFindingsCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1331
1305
|
(0, import_smithy_client.take)(input, {
|
|
1332
1306
|
analyzerArn: [],
|
|
1333
1307
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1334
|
-
ids: (_) => (0, import_smithy_client._json)(_),
|
|
1308
|
+
ids: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ids"),
|
|
1335
1309
|
resourceArn: [],
|
|
1336
1310
|
status: []
|
|
1337
1311
|
})
|
|
@@ -1506,7 +1480,7 @@ var de_GetAccessPreviewCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1506
1480
|
});
|
|
1507
1481
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1508
1482
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1509
|
-
accessPreview: (_) => de_AccessPreview(_, context)
|
|
1483
|
+
accessPreview: /* @__PURE__ */ __name((_) => de_AccessPreview(_, context), "accessPreview")
|
|
1510
1484
|
});
|
|
1511
1485
|
Object.assign(contents, doc);
|
|
1512
1486
|
return contents;
|
|
@@ -1520,7 +1494,7 @@ var de_GetAnalyzedResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1520
1494
|
});
|
|
1521
1495
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1522
1496
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1523
|
-
resource: (_) => de_AnalyzedResource(_, context)
|
|
1497
|
+
resource: /* @__PURE__ */ __name((_) => de_AnalyzedResource(_, context), "resource")
|
|
1524
1498
|
});
|
|
1525
1499
|
Object.assign(contents, doc);
|
|
1526
1500
|
return contents;
|
|
@@ -1534,7 +1508,7 @@ var de_GetAnalyzerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1534
1508
|
});
|
|
1535
1509
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1536
1510
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1537
|
-
analyzer: (_) => de_AnalyzerSummary(_, context)
|
|
1511
|
+
analyzer: /* @__PURE__ */ __name((_) => de_AnalyzerSummary(_, context), "analyzer")
|
|
1538
1512
|
});
|
|
1539
1513
|
Object.assign(contents, doc);
|
|
1540
1514
|
return contents;
|
|
@@ -1548,7 +1522,7 @@ var de_GetArchiveRuleCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1548
1522
|
});
|
|
1549
1523
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1550
1524
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1551
|
-
archiveRule: (_) => de_ArchiveRuleSummary(_, context)
|
|
1525
|
+
archiveRule: /* @__PURE__ */ __name((_) => de_ArchiveRuleSummary(_, context), "archiveRule")
|
|
1552
1526
|
});
|
|
1553
1527
|
Object.assign(contents, doc);
|
|
1554
1528
|
return contents;
|
|
@@ -1562,7 +1536,7 @@ var de_GetFindingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1562
1536
|
});
|
|
1563
1537
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1564
1538
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1565
|
-
finding: (_) => de_Finding(_, context)
|
|
1539
|
+
finding: /* @__PURE__ */ __name((_) => de_Finding(_, context), "finding")
|
|
1566
1540
|
});
|
|
1567
1541
|
Object.assign(contents, doc);
|
|
1568
1542
|
return contents;
|
|
@@ -1576,13 +1550,13 @@ var de_GetFindingRecommendationCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1576
1550
|
});
|
|
1577
1551
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1578
1552
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1579
|
-
completedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1553
|
+
completedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "completedAt"),
|
|
1580
1554
|
error: import_smithy_client._json,
|
|
1581
1555
|
nextToken: import_smithy_client.expectString,
|
|
1582
1556
|
recommendationType: import_smithy_client.expectString,
|
|
1583
|
-
recommendedSteps: (_) => de_RecommendedStepList(_, context),
|
|
1557
|
+
recommendedSteps: /* @__PURE__ */ __name((_) => de_RecommendedStepList(_, context), "recommendedSteps"),
|
|
1584
1558
|
resourceArn: import_smithy_client.expectString,
|
|
1585
|
-
startedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1559
|
+
startedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startedAt"),
|
|
1586
1560
|
status: import_smithy_client.expectString
|
|
1587
1561
|
});
|
|
1588
1562
|
Object.assign(contents, doc);
|
|
@@ -1598,7 +1572,7 @@ var de_GetFindingsStatisticsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1598
1572
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1599
1573
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1600
1574
|
findingsStatistics: import_smithy_client._json,
|
|
1601
|
-
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
1575
|
+
lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedAt")
|
|
1602
1576
|
});
|
|
1603
1577
|
Object.assign(contents, doc);
|
|
1604
1578
|
return contents;
|
|
@@ -1612,10 +1586,10 @@ var de_GetFindingV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1612
1586
|
});
|
|
1613
1587
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1614
1588
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1615
|
-
analyzedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1616
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1589
|
+
analyzedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "analyzedAt"),
|
|
1590
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1617
1591
|
error: import_smithy_client.expectString,
|
|
1618
|
-
findingDetails: (_) => de_FindingDetailsList(_, context),
|
|
1592
|
+
findingDetails: /* @__PURE__ */ __name((_) => de_FindingDetailsList(_, context), "findingDetails"),
|
|
1619
1593
|
findingType: import_smithy_client.expectString,
|
|
1620
1594
|
id: import_smithy_client.expectString,
|
|
1621
1595
|
nextToken: import_smithy_client.expectString,
|
|
@@ -1623,7 +1597,7 @@ var de_GetFindingV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1623
1597
|
resourceOwnerAccount: import_smithy_client.expectString,
|
|
1624
1598
|
resourceType: import_smithy_client.expectString,
|
|
1625
1599
|
status: import_smithy_client.expectString,
|
|
1626
|
-
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
1600
|
+
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
|
|
1627
1601
|
});
|
|
1628
1602
|
Object.assign(contents, doc);
|
|
1629
1603
|
return contents;
|
|
@@ -1637,8 +1611,8 @@ var de_GetGeneratedPolicyCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1637
1611
|
});
|
|
1638
1612
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1639
1613
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1640
|
-
generatedPolicyResult: (_) => de_GeneratedPolicyResult(_, context),
|
|
1641
|
-
jobDetails: (_) => de_JobDetails(_, context)
|
|
1614
|
+
generatedPolicyResult: /* @__PURE__ */ __name((_) => de_GeneratedPolicyResult(_, context), "generatedPolicyResult"),
|
|
1615
|
+
jobDetails: /* @__PURE__ */ __name((_) => de_JobDetails(_, context), "jobDetails")
|
|
1642
1616
|
});
|
|
1643
1617
|
Object.assign(contents, doc);
|
|
1644
1618
|
return contents;
|
|
@@ -1652,7 +1626,7 @@ var de_ListAccessPreviewFindingsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1652
1626
|
});
|
|
1653
1627
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1654
1628
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1655
|
-
findings: (_) => de_AccessPreviewFindingsList(_, context),
|
|
1629
|
+
findings: /* @__PURE__ */ __name((_) => de_AccessPreviewFindingsList(_, context), "findings"),
|
|
1656
1630
|
nextToken: import_smithy_client.expectString
|
|
1657
1631
|
});
|
|
1658
1632
|
Object.assign(contents, doc);
|
|
@@ -1667,7 +1641,7 @@ var de_ListAccessPreviewsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1667
1641
|
});
|
|
1668
1642
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1669
1643
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1670
|
-
accessPreviews: (_) => de_AccessPreviewsList(_, context),
|
|
1644
|
+
accessPreviews: /* @__PURE__ */ __name((_) => de_AccessPreviewsList(_, context), "accessPreviews"),
|
|
1671
1645
|
nextToken: import_smithy_client.expectString
|
|
1672
1646
|
});
|
|
1673
1647
|
Object.assign(contents, doc);
|
|
@@ -1697,7 +1671,7 @@ var de_ListAnalyzersCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1697
1671
|
});
|
|
1698
1672
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1699
1673
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1700
|
-
analyzers: (_) => de_AnalyzersList(_, context),
|
|
1674
|
+
analyzers: /* @__PURE__ */ __name((_) => de_AnalyzersList(_, context), "analyzers"),
|
|
1701
1675
|
nextToken: import_smithy_client.expectString
|
|
1702
1676
|
});
|
|
1703
1677
|
Object.assign(contents, doc);
|
|
@@ -1712,7 +1686,7 @@ var de_ListArchiveRulesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1712
1686
|
});
|
|
1713
1687
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1714
1688
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1715
|
-
archiveRules: (_) => de_ArchiveRulesList(_, context),
|
|
1689
|
+
archiveRules: /* @__PURE__ */ __name((_) => de_ArchiveRulesList(_, context), "archiveRules"),
|
|
1716
1690
|
nextToken: import_smithy_client.expectString
|
|
1717
1691
|
});
|
|
1718
1692
|
Object.assign(contents, doc);
|
|
@@ -1727,7 +1701,7 @@ var de_ListFindingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1727
1701
|
});
|
|
1728
1702
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1729
1703
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1730
|
-
findings: (_) => de_FindingsList(_, context),
|
|
1704
|
+
findings: /* @__PURE__ */ __name((_) => de_FindingsList(_, context), "findings"),
|
|
1731
1705
|
nextToken: import_smithy_client.expectString
|
|
1732
1706
|
});
|
|
1733
1707
|
Object.assign(contents, doc);
|
|
@@ -1742,7 +1716,7 @@ var de_ListFindingsV2Command = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1742
1716
|
});
|
|
1743
1717
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1744
1718
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1745
|
-
findings: (_) => de_FindingsListV2(_, context),
|
|
1719
|
+
findings: /* @__PURE__ */ __name((_) => de_FindingsListV2(_, context), "findings"),
|
|
1746
1720
|
nextToken: import_smithy_client.expectString
|
|
1747
1721
|
});
|
|
1748
1722
|
Object.assign(contents, doc);
|
|
@@ -1758,7 +1732,7 @@ var de_ListPolicyGenerationsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1758
1732
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1759
1733
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1760
1734
|
nextToken: import_smithy_client.expectString,
|
|
1761
|
-
policyGenerations: (_) => de_PolicyGenerationList(_, context)
|
|
1735
|
+
policyGenerations: /* @__PURE__ */ __name((_) => de_PolicyGenerationList(_, context), "policyGenerations")
|
|
1762
1736
|
});
|
|
1763
1737
|
Object.assign(contents, doc);
|
|
1764
1738
|
return contents;
|
|
@@ -1830,7 +1804,7 @@ var de_UpdateAnalyzerCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1830
1804
|
});
|
|
1831
1805
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1832
1806
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1833
|
-
configuration: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_))
|
|
1807
|
+
configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "configuration")
|
|
1834
1808
|
});
|
|
1835
1809
|
Object.assign(contents, doc);
|
|
1836
1810
|
return contents;
|
|
@@ -2055,7 +2029,7 @@ var de_AccessPreview = /* @__PURE__ */ __name((output, context) => {
|
|
|
2055
2029
|
return (0, import_smithy_client.take)(output, {
|
|
2056
2030
|
analyzerArn: import_smithy_client.expectString,
|
|
2057
2031
|
configurations: import_smithy_client._json,
|
|
2058
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2032
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
2059
2033
|
id: import_smithy_client.expectString,
|
|
2060
2034
|
status: import_smithy_client.expectString,
|
|
2061
2035
|
statusReason: import_smithy_client._json
|
|
@@ -2066,7 +2040,7 @@ var de_AccessPreviewFinding = /* @__PURE__ */ __name((output, context) => {
|
|
|
2066
2040
|
action: import_smithy_client._json,
|
|
2067
2041
|
changeType: import_smithy_client.expectString,
|
|
2068
2042
|
condition: import_smithy_client._json,
|
|
2069
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2043
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
2070
2044
|
error: import_smithy_client.expectString,
|
|
2071
2045
|
existingFindingId: import_smithy_client.expectString,
|
|
2072
2046
|
existingFindingStatus: import_smithy_client.expectString,
|
|
@@ -2096,7 +2070,7 @@ var de_AccessPreviewsList = /* @__PURE__ */ __name((output, context) => {
|
|
|
2096
2070
|
var de_AccessPreviewSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2097
2071
|
return (0, import_smithy_client.take)(output, {
|
|
2098
2072
|
analyzerArn: import_smithy_client.expectString,
|
|
2099
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2073
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
2100
2074
|
id: import_smithy_client.expectString,
|
|
2101
2075
|
status: import_smithy_client.expectString,
|
|
2102
2076
|
statusReason: import_smithy_client._json
|
|
@@ -2105,8 +2079,8 @@ var de_AccessPreviewSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
2105
2079
|
var de_AnalyzedResource = /* @__PURE__ */ __name((output, context) => {
|
|
2106
2080
|
return (0, import_smithy_client.take)(output, {
|
|
2107
2081
|
actions: import_smithy_client._json,
|
|
2108
|
-
analyzedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2109
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2082
|
+
analyzedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "analyzedAt"),
|
|
2083
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
2110
2084
|
error: import_smithy_client.expectString,
|
|
2111
2085
|
isPublic: import_smithy_client.expectBoolean,
|
|
2112
2086
|
resourceArn: import_smithy_client.expectString,
|
|
@@ -2114,7 +2088,7 @@ var de_AnalyzedResource = /* @__PURE__ */ __name((output, context) => {
|
|
|
2114
2088
|
resourceType: import_smithy_client.expectString,
|
|
2115
2089
|
sharedVia: import_smithy_client._json,
|
|
2116
2090
|
status: import_smithy_client.expectString,
|
|
2117
|
-
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2091
|
+
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
|
|
2118
2092
|
});
|
|
2119
2093
|
}, "de_AnalyzedResource");
|
|
2120
2094
|
var de_AnalyzersList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2126,10 +2100,10 @@ var de_AnalyzersList = /* @__PURE__ */ __name((output, context) => {
|
|
|
2126
2100
|
var de_AnalyzerSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2127
2101
|
return (0, import_smithy_client.take)(output, {
|
|
2128
2102
|
arn: import_smithy_client.expectString,
|
|
2129
|
-
configuration: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
2130
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2103
|
+
configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "configuration"),
|
|
2104
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
2131
2105
|
lastResourceAnalyzed: import_smithy_client.expectString,
|
|
2132
|
-
lastResourceAnalyzedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2106
|
+
lastResourceAnalyzedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastResourceAnalyzedAt"),
|
|
2133
2107
|
name: import_smithy_client.expectString,
|
|
2134
2108
|
status: import_smithy_client.expectString,
|
|
2135
2109
|
statusReason: import_smithy_client._json,
|
|
@@ -2145,25 +2119,25 @@ var de_ArchiveRulesList = /* @__PURE__ */ __name((output, context) => {
|
|
|
2145
2119
|
}, "de_ArchiveRulesList");
|
|
2146
2120
|
var de_ArchiveRuleSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2147
2121
|
return (0, import_smithy_client.take)(output, {
|
|
2148
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2122
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
2149
2123
|
filter: import_smithy_client._json,
|
|
2150
2124
|
ruleName: import_smithy_client.expectString,
|
|
2151
|
-
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2125
|
+
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
|
|
2152
2126
|
});
|
|
2153
2127
|
}, "de_ArchiveRuleSummary");
|
|
2154
2128
|
var de_CloudTrailProperties = /* @__PURE__ */ __name((output, context) => {
|
|
2155
2129
|
return (0, import_smithy_client.take)(output, {
|
|
2156
|
-
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2157
|
-
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2130
|
+
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime"),
|
|
2131
|
+
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),
|
|
2158
2132
|
trailProperties: import_smithy_client._json
|
|
2159
2133
|
});
|
|
2160
2134
|
}, "de_CloudTrailProperties");
|
|
2161
2135
|
var de_Finding = /* @__PURE__ */ __name((output, context) => {
|
|
2162
2136
|
return (0, import_smithy_client.take)(output, {
|
|
2163
2137
|
action: import_smithy_client._json,
|
|
2164
|
-
analyzedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2138
|
+
analyzedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "analyzedAt"),
|
|
2165
2139
|
condition: import_smithy_client._json,
|
|
2166
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2140
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
2167
2141
|
error: import_smithy_client.expectString,
|
|
2168
2142
|
id: import_smithy_client.expectString,
|
|
2169
2143
|
isPublic: import_smithy_client.expectBoolean,
|
|
@@ -2174,7 +2148,7 @@ var de_Finding = /* @__PURE__ */ __name((output, context) => {
|
|
|
2174
2148
|
resourceType: import_smithy_client.expectString,
|
|
2175
2149
|
sources: import_smithy_client._json,
|
|
2176
2150
|
status: import_smithy_client.expectString,
|
|
2177
|
-
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2151
|
+
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
|
|
2178
2152
|
});
|
|
2179
2153
|
}, "de_Finding");
|
|
2180
2154
|
var de_FindingDetails = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2226,9 +2200,9 @@ var de_FindingsListV2 = /* @__PURE__ */ __name((output, context) => {
|
|
|
2226
2200
|
var de_FindingSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2227
2201
|
return (0, import_smithy_client.take)(output, {
|
|
2228
2202
|
action: import_smithy_client._json,
|
|
2229
|
-
analyzedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2203
|
+
analyzedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "analyzedAt"),
|
|
2230
2204
|
condition: import_smithy_client._json,
|
|
2231
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2205
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
2232
2206
|
error: import_smithy_client.expectString,
|
|
2233
2207
|
id: import_smithy_client.expectString,
|
|
2234
2208
|
isPublic: import_smithy_client.expectBoolean,
|
|
@@ -2239,13 +2213,13 @@ var de_FindingSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
2239
2213
|
resourceType: import_smithy_client.expectString,
|
|
2240
2214
|
sources: import_smithy_client._json,
|
|
2241
2215
|
status: import_smithy_client.expectString,
|
|
2242
|
-
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2216
|
+
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
|
|
2243
2217
|
});
|
|
2244
2218
|
}, "de_FindingSummary");
|
|
2245
2219
|
var de_FindingSummaryV2 = /* @__PURE__ */ __name((output, context) => {
|
|
2246
2220
|
return (0, import_smithy_client.take)(output, {
|
|
2247
|
-
analyzedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2248
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2221
|
+
analyzedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "analyzedAt"),
|
|
2222
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
2249
2223
|
error: import_smithy_client.expectString,
|
|
2250
2224
|
findingType: import_smithy_client.expectString,
|
|
2251
2225
|
id: import_smithy_client.expectString,
|
|
@@ -2253,12 +2227,12 @@ var de_FindingSummaryV2 = /* @__PURE__ */ __name((output, context) => {
|
|
|
2253
2227
|
resourceOwnerAccount: import_smithy_client.expectString,
|
|
2254
2228
|
resourceType: import_smithy_client.expectString,
|
|
2255
2229
|
status: import_smithy_client.expectString,
|
|
2256
|
-
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2230
|
+
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
|
|
2257
2231
|
});
|
|
2258
2232
|
}, "de_FindingSummaryV2");
|
|
2259
2233
|
var de_GeneratedPolicyProperties = /* @__PURE__ */ __name((output, context) => {
|
|
2260
2234
|
return (0, import_smithy_client.take)(output, {
|
|
2261
|
-
cloudTrailProperties: (_) => de_CloudTrailProperties(_, context),
|
|
2235
|
+
cloudTrailProperties: /* @__PURE__ */ __name((_) => de_CloudTrailProperties(_, context), "cloudTrailProperties"),
|
|
2262
2236
|
isComplete: import_smithy_client.expectBoolean,
|
|
2263
2237
|
principalArn: import_smithy_client.expectString
|
|
2264
2238
|
});
|
|
@@ -2266,24 +2240,24 @@ var de_GeneratedPolicyProperties = /* @__PURE__ */ __name((output, context) => {
|
|
|
2266
2240
|
var de_GeneratedPolicyResult = /* @__PURE__ */ __name((output, context) => {
|
|
2267
2241
|
return (0, import_smithy_client.take)(output, {
|
|
2268
2242
|
generatedPolicies: import_smithy_client._json,
|
|
2269
|
-
properties: (_) => de_GeneratedPolicyProperties(_, context)
|
|
2243
|
+
properties: /* @__PURE__ */ __name((_) => de_GeneratedPolicyProperties(_, context), "properties")
|
|
2270
2244
|
});
|
|
2271
2245
|
}, "de_GeneratedPolicyResult");
|
|
2272
2246
|
var de_JobDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2273
2247
|
return (0, import_smithy_client.take)(output, {
|
|
2274
|
-
completedOn: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2248
|
+
completedOn: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "completedOn"),
|
|
2275
2249
|
jobError: import_smithy_client._json,
|
|
2276
2250
|
jobId: import_smithy_client.expectString,
|
|
2277
|
-
startedOn: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2251
|
+
startedOn: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startedOn"),
|
|
2278
2252
|
status: import_smithy_client.expectString
|
|
2279
2253
|
});
|
|
2280
2254
|
}, "de_JobDetails");
|
|
2281
2255
|
var de_PolicyGeneration = /* @__PURE__ */ __name((output, context) => {
|
|
2282
2256
|
return (0, import_smithy_client.take)(output, {
|
|
2283
|
-
completedOn: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2257
|
+
completedOn: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "completedOn"),
|
|
2284
2258
|
jobId: import_smithy_client.expectString,
|
|
2285
2259
|
principalArn: import_smithy_client.expectString,
|
|
2286
|
-
startedOn: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2260
|
+
startedOn: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startedOn"),
|
|
2287
2261
|
status: import_smithy_client.expectString
|
|
2288
2262
|
});
|
|
2289
2263
|
}, "de_PolicyGeneration");
|
|
@@ -2313,7 +2287,7 @@ var de_RecommendedStepList = /* @__PURE__ */ __name((output, context) => {
|
|
|
2313
2287
|
var de_UnusedAction = /* @__PURE__ */ __name((output, context) => {
|
|
2314
2288
|
return (0, import_smithy_client.take)(output, {
|
|
2315
2289
|
action: import_smithy_client.expectString,
|
|
2316
|
-
lastAccessed: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2290
|
+
lastAccessed: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastAccessed")
|
|
2317
2291
|
});
|
|
2318
2292
|
}, "de_UnusedAction");
|
|
2319
2293
|
var de_UnusedActionList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2324,31 +2298,31 @@ var de_UnusedActionList = /* @__PURE__ */ __name((output, context) => {
|
|
|
2324
2298
|
}, "de_UnusedActionList");
|
|
2325
2299
|
var de_UnusedIamRoleDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2326
2300
|
return (0, import_smithy_client.take)(output, {
|
|
2327
|
-
lastAccessed: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2301
|
+
lastAccessed: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastAccessed")
|
|
2328
2302
|
});
|
|
2329
2303
|
}, "de_UnusedIamRoleDetails");
|
|
2330
2304
|
var de_UnusedIamUserAccessKeyDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2331
2305
|
return (0, import_smithy_client.take)(output, {
|
|
2332
2306
|
accessKeyId: import_smithy_client.expectString,
|
|
2333
|
-
lastAccessed: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2307
|
+
lastAccessed: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastAccessed")
|
|
2334
2308
|
});
|
|
2335
2309
|
}, "de_UnusedIamUserAccessKeyDetails");
|
|
2336
2310
|
var de_UnusedIamUserPasswordDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2337
2311
|
return (0, import_smithy_client.take)(output, {
|
|
2338
|
-
lastAccessed: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2312
|
+
lastAccessed: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastAccessed")
|
|
2339
2313
|
});
|
|
2340
2314
|
}, "de_UnusedIamUserPasswordDetails");
|
|
2341
2315
|
var de_UnusedPermissionDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2342
2316
|
return (0, import_smithy_client.take)(output, {
|
|
2343
|
-
actions: (_) => de_UnusedActionList(_, context),
|
|
2344
|
-
lastAccessed: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2317
|
+
actions: /* @__PURE__ */ __name((_) => de_UnusedActionList(_, context), "actions"),
|
|
2318
|
+
lastAccessed: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastAccessed"),
|
|
2345
2319
|
serviceNamespace: import_smithy_client.expectString
|
|
2346
2320
|
});
|
|
2347
2321
|
}, "de_UnusedPermissionDetails");
|
|
2348
2322
|
var de_UnusedPermissionsRecommendedStep = /* @__PURE__ */ __name((output, context) => {
|
|
2349
2323
|
return (0, import_smithy_client.take)(output, {
|
|
2350
2324
|
existingPolicyId: import_smithy_client.expectString,
|
|
2351
|
-
policyUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2325
|
+
policyUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "policyUpdatedAt"),
|
|
2352
2326
|
recommendedAction: import_smithy_client.expectString,
|
|
2353
2327
|
recommendedPolicy: import_smithy_client.expectString
|
|
2354
2328
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-accessanalyzer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Accessanalyzer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.772.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-accessanalyzer",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.758.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.758.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
41
|
-
"@smithy/middleware-retry": "^4.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.0.7",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.1",
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.3",
|
|
46
46
|
"@smithy/protocol-http": "^5.0.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.1.
|
|
47
|
+
"@smithy/smithy-client": "^4.1.6",
|
|
48
48
|
"@smithy/types": "^4.1.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.1",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.7",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.1",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.1",
|
|
57
57
|
"@smithy/util-retry": "^4.0.1",
|