@aws-sdk/client-accessanalyzer 3.1048.0 → 3.1049.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/README.md +14 -0
- package/dist-cjs/index.js +28 -0
- package/dist-cjs/schemas/schemas_0.js +34 -7
- package/dist-es/AccessAnalyzer.js +4 -0
- package/dist-es/commands/CreateServiceLinkedAnalyzerCommand.js +16 -0
- package/dist-es/commands/DeleteServiceLinkedAnalyzerCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +29 -2
- package/dist-types/AccessAnalyzer.d.ts +14 -0
- package/dist-types/AccessAnalyzerClient.d.ts +4 -2
- package/dist-types/commands/CreateServiceLinkedAnalyzerCommand.d.ts +150 -0
- package/dist-types/commands/DeleteServiceLinkedAnalyzerCommand.d.ts +93 -0
- package/dist-types/commands/GetAnalyzerCommand.d.ts +1 -0
- package/dist-types/commands/ListAnalyzersCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +58 -0
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/AccessAnalyzer.d.ts +34 -0
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateServiceLinkedAnalyzerCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteServiceLinkedAnalyzerCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -237,6 +237,13 @@ CreateArchiveRule
|
|
|
237
237
|
</details>
|
|
238
238
|
<details>
|
|
239
239
|
<summary>
|
|
240
|
+
CreateServiceLinkedAnalyzer
|
|
241
|
+
</summary>
|
|
242
|
+
|
|
243
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/CreateServiceLinkedAnalyzerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/CreateServiceLinkedAnalyzerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/CreateServiceLinkedAnalyzerCommandOutput/)
|
|
244
|
+
</details>
|
|
245
|
+
<details>
|
|
246
|
+
<summary>
|
|
240
247
|
DeleteAnalyzer
|
|
241
248
|
</summary>
|
|
242
249
|
|
|
@@ -251,6 +258,13 @@ DeleteArchiveRule
|
|
|
251
258
|
</details>
|
|
252
259
|
<details>
|
|
253
260
|
<summary>
|
|
261
|
+
DeleteServiceLinkedAnalyzer
|
|
262
|
+
</summary>
|
|
263
|
+
|
|
264
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/accessanalyzer/command/DeleteServiceLinkedAnalyzerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/DeleteServiceLinkedAnalyzerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-accessanalyzer/Interface/DeleteServiceLinkedAnalyzerCommandOutput/)
|
|
265
|
+
</details>
|
|
266
|
+
<details>
|
|
267
|
+
<summary>
|
|
254
268
|
GenerateFindingRecommendation
|
|
255
269
|
</summary>
|
|
256
270
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -204,6 +204,18 @@ class CreateArchiveRuleCommand extends client.Command
|
|
|
204
204
|
.build() {
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
+
class CreateServiceLinkedAnalyzerCommand extends client.Command
|
|
208
|
+
.classBuilder()
|
|
209
|
+
.ep(commonParams)
|
|
210
|
+
.m(function (Command, cs, config, o) {
|
|
211
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
212
|
+
})
|
|
213
|
+
.s("AccessAnalyzer", "CreateServiceLinkedAnalyzer", {})
|
|
214
|
+
.n("AccessAnalyzerClient", "CreateServiceLinkedAnalyzerCommand")
|
|
215
|
+
.sc(schemas_0.CreateServiceLinkedAnalyzer$)
|
|
216
|
+
.build() {
|
|
217
|
+
}
|
|
218
|
+
|
|
207
219
|
class DeleteAnalyzerCommand extends client.Command
|
|
208
220
|
.classBuilder()
|
|
209
221
|
.ep(commonParams)
|
|
@@ -228,6 +240,18 @@ class DeleteArchiveRuleCommand extends client.Command
|
|
|
228
240
|
.build() {
|
|
229
241
|
}
|
|
230
242
|
|
|
243
|
+
class DeleteServiceLinkedAnalyzerCommand extends client.Command
|
|
244
|
+
.classBuilder()
|
|
245
|
+
.ep(commonParams)
|
|
246
|
+
.m(function (Command, cs, config, o) {
|
|
247
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
248
|
+
})
|
|
249
|
+
.s("AccessAnalyzer", "DeleteServiceLinkedAnalyzer", {})
|
|
250
|
+
.n("AccessAnalyzerClient", "DeleteServiceLinkedAnalyzerCommand")
|
|
251
|
+
.sc(schemas_0.DeleteServiceLinkedAnalyzer$)
|
|
252
|
+
.build() {
|
|
253
|
+
}
|
|
254
|
+
|
|
231
255
|
class GenerateFindingRecommendationCommand extends client.Command
|
|
232
256
|
.classBuilder()
|
|
233
257
|
.ep(commonParams)
|
|
@@ -583,8 +607,10 @@ const commands = {
|
|
|
583
607
|
CreateAccessPreviewCommand,
|
|
584
608
|
CreateAnalyzerCommand,
|
|
585
609
|
CreateArchiveRuleCommand,
|
|
610
|
+
CreateServiceLinkedAnalyzerCommand,
|
|
586
611
|
DeleteAnalyzerCommand,
|
|
587
612
|
DeleteArchiveRuleCommand,
|
|
613
|
+
DeleteServiceLinkedAnalyzerCommand,
|
|
588
614
|
GenerateFindingRecommendationCommand,
|
|
589
615
|
GetAccessPreviewCommand,
|
|
590
616
|
GetAnalyzedResourceCommand,
|
|
@@ -883,8 +909,10 @@ exports.CheckNoPublicAccessResult = CheckNoPublicAccessResult;
|
|
|
883
909
|
exports.CreateAccessPreviewCommand = CreateAccessPreviewCommand;
|
|
884
910
|
exports.CreateAnalyzerCommand = CreateAnalyzerCommand;
|
|
885
911
|
exports.CreateArchiveRuleCommand = CreateArchiveRuleCommand;
|
|
912
|
+
exports.CreateServiceLinkedAnalyzerCommand = CreateServiceLinkedAnalyzerCommand;
|
|
886
913
|
exports.DeleteAnalyzerCommand = DeleteAnalyzerCommand;
|
|
887
914
|
exports.DeleteArchiveRuleCommand = DeleteArchiveRuleCommand;
|
|
915
|
+
exports.DeleteServiceLinkedAnalyzerCommand = DeleteServiceLinkedAnalyzerCommand;
|
|
888
916
|
exports.FindingChangeType = FindingChangeType;
|
|
889
917
|
exports.FindingSourceType = FindingSourceType;
|
|
890
918
|
exports.FindingStatus = FindingStatus;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.ValidatePolicy$ = exports.UpdateFindings$ = exports.UpdateArchiveRule$ = exports.UpdateAnalyzer$ = void 0;
|
|
3
|
+
exports.ExternalAccessDetails$ = exports.EfsFileSystemConfiguration$ = exports.EcrRepositoryConfiguration$ = exports.EbsSnapshotConfiguration$ = exports.DynamodbTableConfiguration$ = exports.DynamodbStreamConfiguration$ = exports.DeleteServiceLinkedAnalyzerRequest$ = exports.DeleteArchiveRuleRequest$ = exports.DeleteAnalyzerRequest$ = exports.Criterion$ = exports.CreateServiceLinkedAnalyzerResponse$ = exports.CreateServiceLinkedAnalyzerRequest$ = exports.CreateArchiveRuleRequest$ = exports.CreateAnalyzerResponse$ = exports.CreateAnalyzerRequest$ = exports.CreateAccessPreviewResponse$ = exports.CreateAccessPreviewRequest$ = exports.CloudTrailProperties$ = exports.CloudTrailDetails$ = exports.CheckNoPublicAccessResponse$ = exports.CheckNoPublicAccessRequest$ = exports.CheckNoNewAccessResponse$ = exports.CheckNoNewAccessRequest$ = exports.CheckAccessNotGrantedResponse$ = exports.CheckAccessNotGrantedRequest$ = exports.CancelPolicyGenerationResponse$ = exports.CancelPolicyGenerationRequest$ = exports.ArchiveRuleSummary$ = exports.ApplyArchiveRuleRequest$ = exports.AnalyzerSummary$ = exports.AnalyzedResourceSummary$ = exports.AnalyzedResource$ = exports.AnalysisRuleCriteria$ = exports.AnalysisRule$ = exports.AccessPreviewSummary$ = exports.AccessPreviewStatusReason$ = exports.AccessPreviewFinding$ = exports.AccessPreview$ = exports.Access$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.UnprocessableEntityException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InvalidParameterException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.AccessAnalyzerServiceException$ = void 0;
|
|
4
|
+
exports.ListAnalyzersRequest$ = exports.ListAnalyzedResourcesResponse$ = exports.ListAnalyzedResourcesRequest$ = exports.ListAccessPreviewsResponse$ = exports.ListAccessPreviewsRequest$ = exports.ListAccessPreviewFindingsResponse$ = exports.ListAccessPreviewFindingsRequest$ = exports.KmsKeyConfiguration$ = exports.KmsGrantConstraints$ = exports.KmsGrantConfiguration$ = exports.JobError$ = exports.JobDetails$ = exports.InternetConfiguration$ = exports.InternalAccessResourceTypeDetails$ = exports.InternalAccessFindingsStatistics$ = exports.InternalAccessDetails$ = exports.InternalAccessConfiguration$ = exports.InternalAccessAnalysisRuleCriteria$ = exports.InternalAccessAnalysisRule$ = exports.InlineArchiveRule$ = exports.IamRoleConfiguration$ = exports.GetGeneratedPolicyResponse$ = exports.GetGeneratedPolicyRequest$ = exports.GetFindingV2Response$ = exports.GetFindingV2Request$ = exports.GetFindingsStatisticsResponse$ = exports.GetFindingsStatisticsRequest$ = exports.GetFindingResponse$ = exports.GetFindingRequest$ = exports.GetFindingRecommendationResponse$ = exports.GetFindingRecommendationRequest$ = exports.GetArchiveRuleResponse$ = exports.GetArchiveRuleRequest$ = exports.GetAnalyzerResponse$ = exports.GetAnalyzerRequest$ = exports.GetAnalyzedResourceResponse$ = exports.GetAnalyzedResourceRequest$ = exports.GetAccessPreviewResponse$ = exports.GetAccessPreviewRequest$ = exports.GenerateFindingRecommendationRequest$ = exports.GeneratedPolicyResult$ = exports.GeneratedPolicyProperties$ = exports.GeneratedPolicy$ = exports.FindingSummaryV2$ = exports.FindingSummary$ = exports.FindingSourceDetail$ = exports.FindingSource$ = exports.FindingAggregationAccountDetails$ = exports.Finding$ = exports.ExternalAccessFindingsStatistics$ = void 0;
|
|
5
|
+
exports.UnusedPermissionDetails$ = exports.UnusedIamUserPasswordDetails$ = exports.UnusedIamUserAccessKeyDetails$ = exports.UnusedIamRoleDetails$ = exports.UnusedAction$ = exports.UnusedAccessTypeStatistics$ = exports.UnusedAccessFindingsStatistics$ = exports.UnusedAccessConfiguration$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TrailProperties$ = exports.Trail$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.Substring$ = exports.StatusReason$ = exports.StartResourceScanRequest$ = exports.StartPolicyGenerationResponse$ = exports.StartPolicyGenerationRequest$ = exports.SqsQueueConfiguration$ = exports.Span$ = exports.SortCriteria$ = exports.SnsTopicConfiguration$ = exports.SecretsManagerSecretConfiguration$ = exports.S3PublicAccessBlockConfiguration$ = exports.S3ExpressDirectoryBucketConfiguration$ = exports.S3ExpressDirectoryAccessPointConfiguration$ = exports.S3BucketConfiguration$ = exports.S3BucketAclGrantConfiguration$ = exports.S3AccessPointConfiguration$ = exports.ResourceTypeDetails$ = exports.RecommendationError$ = exports.ReasonSummary$ = exports.RdsDbSnapshotConfiguration$ = exports.RdsDbClusterSnapshotConfiguration$ = exports.Position$ = exports.PolicyGenerationDetails$ = exports.PolicyGeneration$ = exports.Location$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListPolicyGenerationsResponse$ = exports.ListPolicyGenerationsRequest$ = exports.ListFindingsV2Response$ = exports.ListFindingsV2Request$ = exports.ListFindingsResponse$ = exports.ListFindingsRequest$ = exports.ListArchiveRulesResponse$ = exports.ListArchiveRulesRequest$ = exports.ListAnalyzersResponse$ = void 0;
|
|
6
|
+
exports.ListPolicyGenerations$ = exports.ListFindingsV2$ = exports.ListFindings$ = exports.ListArchiveRules$ = exports.ListAnalyzers$ = exports.ListAnalyzedResources$ = exports.ListAccessPreviews$ = exports.ListAccessPreviewFindings$ = exports.GetGeneratedPolicy$ = exports.GetFindingV2$ = exports.GetFindingsStatistics$ = exports.GetFindingRecommendation$ = exports.GetFinding$ = exports.GetArchiveRule$ = exports.GetAnalyzer$ = exports.GetAnalyzedResource$ = exports.GetAccessPreview$ = exports.GenerateFindingRecommendation$ = exports.DeleteServiceLinkedAnalyzer$ = exports.DeleteArchiveRule$ = exports.DeleteAnalyzer$ = exports.CreateServiceLinkedAnalyzer$ = exports.CreateArchiveRule$ = exports.CreateAnalyzer$ = exports.CreateAccessPreview$ = exports.CheckNoPublicAccess$ = exports.CheckNoNewAccess$ = exports.CheckAccessNotGranted$ = exports.CancelPolicyGeneration$ = exports.ApplyArchiveRule$ = exports.RecommendedStep$ = exports.RdsDbSnapshotAttributeValue$ = exports.RdsDbClusterSnapshotAttributeValue$ = exports.PathElement$ = exports.NetworkOriginConfiguration$ = exports.FindingsStatistics$ = exports.FindingDetails$ = exports.Configuration$ = exports.AnalyzerConfiguration$ = exports.AclGrantee$ = exports.VpcConfiguration$ = exports.ValidationExceptionField$ = exports.ValidatePolicyResponse$ = exports.ValidatePolicyRequest$ = exports.ValidatePolicyFinding$ = exports.UpdateFindingsRequest$ = exports.UpdateArchiveRuleRequest$ = exports.UpdateAnalyzerResponse$ = exports.UpdateAnalyzerRequest$ = exports.UnusedPermissionsRecommendedStep$ = void 0;
|
|
7
|
+
exports.ValidatePolicy$ = exports.UpdateFindings$ = exports.UpdateArchiveRule$ = exports.UpdateAnalyzer$ = exports.UntagResource$ = exports.TagResource$ = exports.StartResourceScan$ = exports.StartPolicyGeneration$ = exports.ListTagsForResource$ = void 0;
|
|
8
8
|
const _A = "Access";
|
|
9
9
|
const _AA = "AccountAggregations";
|
|
10
10
|
const _AAR = "ApplyArchiveRule";
|
|
@@ -53,6 +53,9 @@ const _CNPARh = "CheckNoPublicAccessResponse";
|
|
|
53
53
|
const _CPG = "CancelPolicyGeneration";
|
|
54
54
|
const _CPGR = "CancelPolicyGenerationRequest";
|
|
55
55
|
const _CPGRa = "CancelPolicyGenerationResponse";
|
|
56
|
+
const _CSLA = "CreateServiceLinkedAnalyzer";
|
|
57
|
+
const _CSLAR = "CreateServiceLinkedAnalyzerRequest";
|
|
58
|
+
const _CSLARr = "CreateServiceLinkedAnalyzerResponse";
|
|
56
59
|
const _CTD = "CloudTrailDetails";
|
|
57
60
|
const _CTP = "CloudTrailProperties";
|
|
58
61
|
const _Co = "Configuration";
|
|
@@ -61,6 +64,8 @@ const _DAR = "DeleteAnalyzerRequest";
|
|
|
61
64
|
const _DARR = "DeleteArchiveRuleRequest";
|
|
62
65
|
const _DARe = "DeleteArchiveRule";
|
|
63
66
|
const _DSC = "DynamodbStreamConfiguration";
|
|
67
|
+
const _DSLA = "DeleteServiceLinkedAnalyzer";
|
|
68
|
+
const _DSLAR = "DeleteServiceLinkedAnalyzerRequest";
|
|
64
69
|
const _DTC = "DynamodbTableConfiguration";
|
|
65
70
|
const _EAD = "ExternalAccessDetails";
|
|
66
71
|
const _EAFS = "ExternalAccessFindingsStatistics";
|
|
@@ -368,6 +373,7 @@ const _le = "length";
|
|
|
368
373
|
const _lo = "locations";
|
|
369
374
|
const _loc = "locale";
|
|
370
375
|
const _m = "message";
|
|
376
|
+
const _mB = "managedBy";
|
|
371
377
|
const _mR = "maxResults";
|
|
372
378
|
const _n = "name";
|
|
373
379
|
const _nO = "networkOrigin";
|
|
@@ -590,8 +596,8 @@ exports.AnalyzedResourceSummary$ = [3, n0, _ARS,
|
|
|
590
596
|
];
|
|
591
597
|
exports.AnalyzerSummary$ = [3, n0, _AS,
|
|
592
598
|
0,
|
|
593
|
-
[_ar, _n, _t, _cA, _st, _lRA, _lRAA, _ta, _sR, _conf],
|
|
594
|
-
[0, 0, 0, 5, 0, 0, 5, 128 | 0, () => exports.StatusReason$, () => exports.AnalyzerConfiguration
|
|
599
|
+
[_ar, _n, _t, _cA, _st, _lRA, _lRAA, _ta, _sR, _conf, _mB],
|
|
600
|
+
[0, 0, 0, 5, 0, 0, 5, 128 | 0, () => exports.StatusReason$, () => exports.AnalyzerConfiguration$, 0], 5
|
|
595
601
|
];
|
|
596
602
|
exports.ApplyArchiveRuleRequest$ = [3, n0, _AARR,
|
|
597
603
|
0,
|
|
@@ -678,6 +684,16 @@ exports.CreateArchiveRuleRequest$ = [3, n0, _CARR,
|
|
|
678
684
|
[_aN, _rN, _f, _cTl],
|
|
679
685
|
[[0, 1], 0, () => FilterCriteriaMap, [0, 4]], 3
|
|
680
686
|
];
|
|
687
|
+
exports.CreateServiceLinkedAnalyzerRequest$ = [3, n0, _CSLAR,
|
|
688
|
+
0,
|
|
689
|
+
[_t, _aRr, _cTl, _conf],
|
|
690
|
+
[0, () => InlineArchiveRulesList, [0, 4], () => exports.AnalyzerConfiguration$], 1
|
|
691
|
+
];
|
|
692
|
+
exports.CreateServiceLinkedAnalyzerResponse$ = [3, n0, _CSLARr,
|
|
693
|
+
0,
|
|
694
|
+
[_ar],
|
|
695
|
+
[0]
|
|
696
|
+
];
|
|
681
697
|
exports.Criterion$ = [3, n0, _C,
|
|
682
698
|
0,
|
|
683
699
|
[_eq, _ne, _cont, _exi],
|
|
@@ -693,6 +709,11 @@ exports.DeleteArchiveRuleRequest$ = [3, n0, _DARR,
|
|
|
693
709
|
[_aN, _rN, _cTl],
|
|
694
710
|
[[0, 1], [0, 1], [0, { [_hQ]: _cTl, [_iT]: 1 }]], 2
|
|
695
711
|
];
|
|
712
|
+
exports.DeleteServiceLinkedAnalyzerRequest$ = [3, n0, _DSLAR,
|
|
713
|
+
0,
|
|
714
|
+
[_aN, _cTl],
|
|
715
|
+
[[0, 1], [0, { [_hQ]: _cTl, [_iT]: 1 }]], 1
|
|
716
|
+
];
|
|
696
717
|
exports.DynamodbStreamConfiguration$ = [3, n0, _DSC,
|
|
697
718
|
0,
|
|
698
719
|
[_sP],
|
|
@@ -1484,12 +1505,18 @@ exports.CreateAnalyzer$ = [9, n0, _CA,
|
|
|
1484
1505
|
exports.CreateArchiveRule$ = [9, n0, _CARre,
|
|
1485
1506
|
{ [_h]: ["PUT", "/analyzer/{analyzerName}/archive-rule", 200] }, () => exports.CreateArchiveRuleRequest$, () => __Unit
|
|
1486
1507
|
];
|
|
1508
|
+
exports.CreateServiceLinkedAnalyzer$ = [9, n0, _CSLA,
|
|
1509
|
+
{ [_h]: ["PUT", "/service-linked-analyzer", 200] }, () => exports.CreateServiceLinkedAnalyzerRequest$, () => exports.CreateServiceLinkedAnalyzerResponse$
|
|
1510
|
+
];
|
|
1487
1511
|
exports.DeleteAnalyzer$ = [9, n0, _DA,
|
|
1488
1512
|
{ [_h]: ["DELETE", "/analyzer/{analyzerName}", 200] }, () => exports.DeleteAnalyzerRequest$, () => __Unit
|
|
1489
1513
|
];
|
|
1490
1514
|
exports.DeleteArchiveRule$ = [9, n0, _DARe,
|
|
1491
1515
|
{ [_h]: ["DELETE", "/analyzer/{analyzerName}/archive-rule/{ruleName}", 200] }, () => exports.DeleteArchiveRuleRequest$, () => __Unit
|
|
1492
1516
|
];
|
|
1517
|
+
exports.DeleteServiceLinkedAnalyzer$ = [9, n0, _DSLA,
|
|
1518
|
+
{ [_h]: ["DELETE", "/service-linked-analyzer/{analyzerName}", 200] }, () => exports.DeleteServiceLinkedAnalyzerRequest$, () => __Unit
|
|
1519
|
+
];
|
|
1493
1520
|
exports.GenerateFindingRecommendation$ = [9, n0, _GFRen,
|
|
1494
1521
|
{ [_h]: ["POST", "/recommendation/{id}", 200] }, () => exports.GenerateFindingRecommendationRequest$, () => __Unit
|
|
1495
1522
|
];
|
|
@@ -8,8 +8,10 @@ import { CheckNoPublicAccessCommand, } from "./commands/CheckNoPublicAccessComma
|
|
|
8
8
|
import { CreateAccessPreviewCommand, } from "./commands/CreateAccessPreviewCommand";
|
|
9
9
|
import { CreateAnalyzerCommand, } from "./commands/CreateAnalyzerCommand";
|
|
10
10
|
import { CreateArchiveRuleCommand, } from "./commands/CreateArchiveRuleCommand";
|
|
11
|
+
import { CreateServiceLinkedAnalyzerCommand, } from "./commands/CreateServiceLinkedAnalyzerCommand";
|
|
11
12
|
import { DeleteAnalyzerCommand, } from "./commands/DeleteAnalyzerCommand";
|
|
12
13
|
import { DeleteArchiveRuleCommand, } from "./commands/DeleteArchiveRuleCommand";
|
|
14
|
+
import { DeleteServiceLinkedAnalyzerCommand, } from "./commands/DeleteServiceLinkedAnalyzerCommand";
|
|
13
15
|
import { GenerateFindingRecommendationCommand, } from "./commands/GenerateFindingRecommendationCommand";
|
|
14
16
|
import { GetAccessPreviewCommand, } from "./commands/GetAccessPreviewCommand";
|
|
15
17
|
import { GetAnalyzedResourceCommand, } from "./commands/GetAnalyzedResourceCommand";
|
|
@@ -57,8 +59,10 @@ const commands = {
|
|
|
57
59
|
CreateAccessPreviewCommand,
|
|
58
60
|
CreateAnalyzerCommand,
|
|
59
61
|
CreateArchiveRuleCommand,
|
|
62
|
+
CreateServiceLinkedAnalyzerCommand,
|
|
60
63
|
DeleteAnalyzerCommand,
|
|
61
64
|
DeleteArchiveRuleCommand,
|
|
65
|
+
DeleteServiceLinkedAnalyzerCommand,
|
|
62
66
|
GenerateFindingRecommendationCommand,
|
|
63
67
|
GetAccessPreviewCommand,
|
|
64
68
|
GetAnalyzedResourceCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreateServiceLinkedAnalyzer$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateServiceLinkedAnalyzerCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AccessAnalyzer", "CreateServiceLinkedAnalyzer", {})
|
|
13
|
+
.n("AccessAnalyzerClient", "CreateServiceLinkedAnalyzerCommand")
|
|
14
|
+
.sc(CreateServiceLinkedAnalyzer$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteServiceLinkedAnalyzer$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteServiceLinkedAnalyzerCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AccessAnalyzer", "DeleteServiceLinkedAnalyzer", {})
|
|
13
|
+
.n("AccessAnalyzerClient", "DeleteServiceLinkedAnalyzerCommand")
|
|
14
|
+
.sc(DeleteServiceLinkedAnalyzer$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -6,8 +6,10 @@ export * from "./CheckNoPublicAccessCommand";
|
|
|
6
6
|
export * from "./CreateAccessPreviewCommand";
|
|
7
7
|
export * from "./CreateAnalyzerCommand";
|
|
8
8
|
export * from "./CreateArchiveRuleCommand";
|
|
9
|
+
export * from "./CreateServiceLinkedAnalyzerCommand";
|
|
9
10
|
export * from "./DeleteAnalyzerCommand";
|
|
10
11
|
export * from "./DeleteArchiveRuleCommand";
|
|
12
|
+
export * from "./DeleteServiceLinkedAnalyzerCommand";
|
|
11
13
|
export * from "./GenerateFindingRecommendationCommand";
|
|
12
14
|
export * from "./GetAccessPreviewCommand";
|
|
13
15
|
export * from "./GetAnalyzedResourceCommand";
|
|
@@ -46,6 +46,9 @@ const _CNPARh = "CheckNoPublicAccessResponse";
|
|
|
46
46
|
const _CPG = "CancelPolicyGeneration";
|
|
47
47
|
const _CPGR = "CancelPolicyGenerationRequest";
|
|
48
48
|
const _CPGRa = "CancelPolicyGenerationResponse";
|
|
49
|
+
const _CSLA = "CreateServiceLinkedAnalyzer";
|
|
50
|
+
const _CSLAR = "CreateServiceLinkedAnalyzerRequest";
|
|
51
|
+
const _CSLARr = "CreateServiceLinkedAnalyzerResponse";
|
|
49
52
|
const _CTD = "CloudTrailDetails";
|
|
50
53
|
const _CTP = "CloudTrailProperties";
|
|
51
54
|
const _Co = "Configuration";
|
|
@@ -54,6 +57,8 @@ const _DAR = "DeleteAnalyzerRequest";
|
|
|
54
57
|
const _DARR = "DeleteArchiveRuleRequest";
|
|
55
58
|
const _DARe = "DeleteArchiveRule";
|
|
56
59
|
const _DSC = "DynamodbStreamConfiguration";
|
|
60
|
+
const _DSLA = "DeleteServiceLinkedAnalyzer";
|
|
61
|
+
const _DSLAR = "DeleteServiceLinkedAnalyzerRequest";
|
|
57
62
|
const _DTC = "DynamodbTableConfiguration";
|
|
58
63
|
const _EAD = "ExternalAccessDetails";
|
|
59
64
|
const _EAFS = "ExternalAccessFindingsStatistics";
|
|
@@ -361,6 +366,7 @@ const _le = "length";
|
|
|
361
366
|
const _lo = "locations";
|
|
362
367
|
const _loc = "locale";
|
|
363
368
|
const _m = "message";
|
|
369
|
+
const _mB = "managedBy";
|
|
364
370
|
const _mR = "maxResults";
|
|
365
371
|
const _n = "name";
|
|
366
372
|
const _nO = "networkOrigin";
|
|
@@ -583,8 +589,8 @@ export var AnalyzedResourceSummary$ = [3, n0, _ARS,
|
|
|
583
589
|
];
|
|
584
590
|
export var AnalyzerSummary$ = [3, n0, _AS,
|
|
585
591
|
0,
|
|
586
|
-
[_ar, _n, _t, _cA, _st, _lRA, _lRAA, _ta, _sR, _conf],
|
|
587
|
-
[0, 0, 0, 5, 0, 0, 5, 128 | 0, () => StatusReason$, () => AnalyzerConfiguration
|
|
592
|
+
[_ar, _n, _t, _cA, _st, _lRA, _lRAA, _ta, _sR, _conf, _mB],
|
|
593
|
+
[0, 0, 0, 5, 0, 0, 5, 128 | 0, () => StatusReason$, () => AnalyzerConfiguration$, 0], 5
|
|
588
594
|
];
|
|
589
595
|
export var ApplyArchiveRuleRequest$ = [3, n0, _AARR,
|
|
590
596
|
0,
|
|
@@ -671,6 +677,16 @@ export var CreateArchiveRuleRequest$ = [3, n0, _CARR,
|
|
|
671
677
|
[_aN, _rN, _f, _cTl],
|
|
672
678
|
[[0, 1], 0, () => FilterCriteriaMap, [0, 4]], 3
|
|
673
679
|
];
|
|
680
|
+
export var CreateServiceLinkedAnalyzerRequest$ = [3, n0, _CSLAR,
|
|
681
|
+
0,
|
|
682
|
+
[_t, _aRr, _cTl, _conf],
|
|
683
|
+
[0, () => InlineArchiveRulesList, [0, 4], () => AnalyzerConfiguration$], 1
|
|
684
|
+
];
|
|
685
|
+
export var CreateServiceLinkedAnalyzerResponse$ = [3, n0, _CSLARr,
|
|
686
|
+
0,
|
|
687
|
+
[_ar],
|
|
688
|
+
[0]
|
|
689
|
+
];
|
|
674
690
|
export var Criterion$ = [3, n0, _C,
|
|
675
691
|
0,
|
|
676
692
|
[_eq, _ne, _cont, _exi],
|
|
@@ -686,6 +702,11 @@ export var DeleteArchiveRuleRequest$ = [3, n0, _DARR,
|
|
|
686
702
|
[_aN, _rN, _cTl],
|
|
687
703
|
[[0, 1], [0, 1], [0, { [_hQ]: _cTl, [_iT]: 1 }]], 2
|
|
688
704
|
];
|
|
705
|
+
export var DeleteServiceLinkedAnalyzerRequest$ = [3, n0, _DSLAR,
|
|
706
|
+
0,
|
|
707
|
+
[_aN, _cTl],
|
|
708
|
+
[[0, 1], [0, { [_hQ]: _cTl, [_iT]: 1 }]], 1
|
|
709
|
+
];
|
|
689
710
|
export var DynamodbStreamConfiguration$ = [3, n0, _DSC,
|
|
690
711
|
0,
|
|
691
712
|
[_sP],
|
|
@@ -1477,12 +1498,18 @@ export var CreateAnalyzer$ = [9, n0, _CA,
|
|
|
1477
1498
|
export var CreateArchiveRule$ = [9, n0, _CARre,
|
|
1478
1499
|
{ [_h]: ["PUT", "/analyzer/{analyzerName}/archive-rule", 200] }, () => CreateArchiveRuleRequest$, () => __Unit
|
|
1479
1500
|
];
|
|
1501
|
+
export var CreateServiceLinkedAnalyzer$ = [9, n0, _CSLA,
|
|
1502
|
+
{ [_h]: ["PUT", "/service-linked-analyzer", 200] }, () => CreateServiceLinkedAnalyzerRequest$, () => CreateServiceLinkedAnalyzerResponse$
|
|
1503
|
+
];
|
|
1480
1504
|
export var DeleteAnalyzer$ = [9, n0, _DA,
|
|
1481
1505
|
{ [_h]: ["DELETE", "/analyzer/{analyzerName}", 200] }, () => DeleteAnalyzerRequest$, () => __Unit
|
|
1482
1506
|
];
|
|
1483
1507
|
export var DeleteArchiveRule$ = [9, n0, _DARe,
|
|
1484
1508
|
{ [_h]: ["DELETE", "/analyzer/{analyzerName}/archive-rule/{ruleName}", 200] }, () => DeleteArchiveRuleRequest$, () => __Unit
|
|
1485
1509
|
];
|
|
1510
|
+
export var DeleteServiceLinkedAnalyzer$ = [9, n0, _DSLA,
|
|
1511
|
+
{ [_h]: ["DELETE", "/service-linked-analyzer/{analyzerName}", 200] }, () => DeleteServiceLinkedAnalyzerRequest$, () => __Unit
|
|
1512
|
+
];
|
|
1486
1513
|
export var GenerateFindingRecommendation$ = [9, n0, _GFRen,
|
|
1487
1514
|
{ [_h]: ["POST", "/recommendation/{id}", 200] }, () => GenerateFindingRecommendationRequest$, () => __Unit
|
|
1488
1515
|
];
|
|
@@ -8,8 +8,10 @@ import { type CheckNoPublicAccessCommandInput, type CheckNoPublicAccessCommandOu
|
|
|
8
8
|
import { type CreateAccessPreviewCommandInput, type CreateAccessPreviewCommandOutput } from "./commands/CreateAccessPreviewCommand";
|
|
9
9
|
import { type CreateAnalyzerCommandInput, type CreateAnalyzerCommandOutput } from "./commands/CreateAnalyzerCommand";
|
|
10
10
|
import { type CreateArchiveRuleCommandInput, type CreateArchiveRuleCommandOutput } from "./commands/CreateArchiveRuleCommand";
|
|
11
|
+
import { type CreateServiceLinkedAnalyzerCommandInput, type CreateServiceLinkedAnalyzerCommandOutput } from "./commands/CreateServiceLinkedAnalyzerCommand";
|
|
11
12
|
import { type DeleteAnalyzerCommandInput, type DeleteAnalyzerCommandOutput } from "./commands/DeleteAnalyzerCommand";
|
|
12
13
|
import { type DeleteArchiveRuleCommandInput, type DeleteArchiveRuleCommandOutput } from "./commands/DeleteArchiveRuleCommand";
|
|
14
|
+
import { type DeleteServiceLinkedAnalyzerCommandInput, type DeleteServiceLinkedAnalyzerCommandOutput } from "./commands/DeleteServiceLinkedAnalyzerCommand";
|
|
13
15
|
import { type GenerateFindingRecommendationCommandInput, type GenerateFindingRecommendationCommandOutput } from "./commands/GenerateFindingRecommendationCommand";
|
|
14
16
|
import { type GetAccessPreviewCommandInput, type GetAccessPreviewCommandOutput } from "./commands/GetAccessPreviewCommand";
|
|
15
17
|
import { type GetAnalyzedResourceCommandInput, type GetAnalyzedResourceCommandOutput } from "./commands/GetAnalyzedResourceCommand";
|
|
@@ -86,6 +88,12 @@ export interface AccessAnalyzer {
|
|
|
86
88
|
createArchiveRule(args: CreateArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateArchiveRuleCommandOutput>;
|
|
87
89
|
createArchiveRule(args: CreateArchiveRuleCommandInput, cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void): void;
|
|
88
90
|
createArchiveRule(args: CreateArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void): void;
|
|
91
|
+
/**
|
|
92
|
+
* @see {@link CreateServiceLinkedAnalyzerCommand}
|
|
93
|
+
*/
|
|
94
|
+
createServiceLinkedAnalyzer(args: CreateServiceLinkedAnalyzerCommandInput, options?: __HttpHandlerOptions): Promise<CreateServiceLinkedAnalyzerCommandOutput>;
|
|
95
|
+
createServiceLinkedAnalyzer(args: CreateServiceLinkedAnalyzerCommandInput, cb: (err: any, data?: CreateServiceLinkedAnalyzerCommandOutput) => void): void;
|
|
96
|
+
createServiceLinkedAnalyzer(args: CreateServiceLinkedAnalyzerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateServiceLinkedAnalyzerCommandOutput) => void): void;
|
|
89
97
|
/**
|
|
90
98
|
* @see {@link DeleteAnalyzerCommand}
|
|
91
99
|
*/
|
|
@@ -98,6 +106,12 @@ export interface AccessAnalyzer {
|
|
|
98
106
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteArchiveRuleCommandOutput>;
|
|
99
107
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, cb: (err: any, data?: DeleteArchiveRuleCommandOutput) => void): void;
|
|
100
108
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteArchiveRuleCommandOutput) => void): void;
|
|
109
|
+
/**
|
|
110
|
+
* @see {@link DeleteServiceLinkedAnalyzerCommand}
|
|
111
|
+
*/
|
|
112
|
+
deleteServiceLinkedAnalyzer(args: DeleteServiceLinkedAnalyzerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServiceLinkedAnalyzerCommandOutput>;
|
|
113
|
+
deleteServiceLinkedAnalyzer(args: DeleteServiceLinkedAnalyzerCommandInput, cb: (err: any, data?: DeleteServiceLinkedAnalyzerCommandOutput) => void): void;
|
|
114
|
+
deleteServiceLinkedAnalyzer(args: DeleteServiceLinkedAnalyzerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteServiceLinkedAnalyzerCommandOutput) => void): void;
|
|
101
115
|
/**
|
|
102
116
|
* @see {@link GenerateFindingRecommendationCommand}
|
|
103
117
|
*/
|
|
@@ -14,8 +14,10 @@ import type { CheckNoPublicAccessCommandInput, CheckNoPublicAccessCommandOutput
|
|
|
14
14
|
import type { CreateAccessPreviewCommandInput, CreateAccessPreviewCommandOutput } from "./commands/CreateAccessPreviewCommand";
|
|
15
15
|
import type { CreateAnalyzerCommandInput, CreateAnalyzerCommandOutput } from "./commands/CreateAnalyzerCommand";
|
|
16
16
|
import type { CreateArchiveRuleCommandInput, CreateArchiveRuleCommandOutput } from "./commands/CreateArchiveRuleCommand";
|
|
17
|
+
import type { CreateServiceLinkedAnalyzerCommandInput, CreateServiceLinkedAnalyzerCommandOutput } from "./commands/CreateServiceLinkedAnalyzerCommand";
|
|
17
18
|
import type { DeleteAnalyzerCommandInput, DeleteAnalyzerCommandOutput } from "./commands/DeleteAnalyzerCommand";
|
|
18
19
|
import type { DeleteArchiveRuleCommandInput, DeleteArchiveRuleCommandOutput } from "./commands/DeleteArchiveRuleCommand";
|
|
20
|
+
import type { DeleteServiceLinkedAnalyzerCommandInput, DeleteServiceLinkedAnalyzerCommandOutput } from "./commands/DeleteServiceLinkedAnalyzerCommand";
|
|
19
21
|
import type { GenerateFindingRecommendationCommandInput, GenerateFindingRecommendationCommandOutput } from "./commands/GenerateFindingRecommendationCommand";
|
|
20
22
|
import type { GetAccessPreviewCommandInput, GetAccessPreviewCommandOutput } from "./commands/GetAccessPreviewCommand";
|
|
21
23
|
import type { GetAnalyzedResourceCommandInput, GetAnalyzedResourceCommandOutput } from "./commands/GetAnalyzedResourceCommand";
|
|
@@ -49,11 +51,11 @@ export { __Client };
|
|
|
49
51
|
/**
|
|
50
52
|
* @public
|
|
51
53
|
*/
|
|
52
|
-
export type ServiceInputTypes = ApplyArchiveRuleCommandInput | CancelPolicyGenerationCommandInput | CheckAccessNotGrantedCommandInput | CheckNoNewAccessCommandInput | CheckNoPublicAccessCommandInput | CreateAccessPreviewCommandInput | CreateAnalyzerCommandInput | CreateArchiveRuleCommandInput | DeleteAnalyzerCommandInput | DeleteArchiveRuleCommandInput | GenerateFindingRecommendationCommandInput | GetAccessPreviewCommandInput | GetAnalyzedResourceCommandInput | GetAnalyzerCommandInput | GetArchiveRuleCommandInput | GetFindingCommandInput | GetFindingRecommendationCommandInput | GetFindingV2CommandInput | GetFindingsStatisticsCommandInput | GetGeneratedPolicyCommandInput | ListAccessPreviewFindingsCommandInput | ListAccessPreviewsCommandInput | ListAnalyzedResourcesCommandInput | ListAnalyzersCommandInput | ListArchiveRulesCommandInput | ListFindingsCommandInput | ListFindingsV2CommandInput | ListPolicyGenerationsCommandInput | ListTagsForResourceCommandInput | StartPolicyGenerationCommandInput | StartResourceScanCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnalyzerCommandInput | UpdateArchiveRuleCommandInput | UpdateFindingsCommandInput | ValidatePolicyCommandInput;
|
|
54
|
+
export type ServiceInputTypes = ApplyArchiveRuleCommandInput | CancelPolicyGenerationCommandInput | CheckAccessNotGrantedCommandInput | CheckNoNewAccessCommandInput | CheckNoPublicAccessCommandInput | CreateAccessPreviewCommandInput | CreateAnalyzerCommandInput | CreateArchiveRuleCommandInput | CreateServiceLinkedAnalyzerCommandInput | DeleteAnalyzerCommandInput | DeleteArchiveRuleCommandInput | DeleteServiceLinkedAnalyzerCommandInput | GenerateFindingRecommendationCommandInput | GetAccessPreviewCommandInput | GetAnalyzedResourceCommandInput | GetAnalyzerCommandInput | GetArchiveRuleCommandInput | GetFindingCommandInput | GetFindingRecommendationCommandInput | GetFindingV2CommandInput | GetFindingsStatisticsCommandInput | GetGeneratedPolicyCommandInput | ListAccessPreviewFindingsCommandInput | ListAccessPreviewsCommandInput | ListAnalyzedResourcesCommandInput | ListAnalyzersCommandInput | ListArchiveRulesCommandInput | ListFindingsCommandInput | ListFindingsV2CommandInput | ListPolicyGenerationsCommandInput | ListTagsForResourceCommandInput | StartPolicyGenerationCommandInput | StartResourceScanCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnalyzerCommandInput | UpdateArchiveRuleCommandInput | UpdateFindingsCommandInput | ValidatePolicyCommandInput;
|
|
53
55
|
/**
|
|
54
56
|
* @public
|
|
55
57
|
*/
|
|
56
|
-
export type ServiceOutputTypes = ApplyArchiveRuleCommandOutput | CancelPolicyGenerationCommandOutput | CheckAccessNotGrantedCommandOutput | CheckNoNewAccessCommandOutput | CheckNoPublicAccessCommandOutput | CreateAccessPreviewCommandOutput | CreateAnalyzerCommandOutput | CreateArchiveRuleCommandOutput | DeleteAnalyzerCommandOutput | DeleteArchiveRuleCommandOutput | GenerateFindingRecommendationCommandOutput | GetAccessPreviewCommandOutput | GetAnalyzedResourceCommandOutput | GetAnalyzerCommandOutput | GetArchiveRuleCommandOutput | GetFindingCommandOutput | GetFindingRecommendationCommandOutput | GetFindingV2CommandOutput | GetFindingsStatisticsCommandOutput | GetGeneratedPolicyCommandOutput | ListAccessPreviewFindingsCommandOutput | ListAccessPreviewsCommandOutput | ListAnalyzedResourcesCommandOutput | ListAnalyzersCommandOutput | ListArchiveRulesCommandOutput | ListFindingsCommandOutput | ListFindingsV2CommandOutput | ListPolicyGenerationsCommandOutput | ListTagsForResourceCommandOutput | StartPolicyGenerationCommandOutput | StartResourceScanCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnalyzerCommandOutput | UpdateArchiveRuleCommandOutput | UpdateFindingsCommandOutput | ValidatePolicyCommandOutput;
|
|
58
|
+
export type ServiceOutputTypes = ApplyArchiveRuleCommandOutput | CancelPolicyGenerationCommandOutput | CheckAccessNotGrantedCommandOutput | CheckNoNewAccessCommandOutput | CheckNoPublicAccessCommandOutput | CreateAccessPreviewCommandOutput | CreateAnalyzerCommandOutput | CreateArchiveRuleCommandOutput | CreateServiceLinkedAnalyzerCommandOutput | DeleteAnalyzerCommandOutput | DeleteArchiveRuleCommandOutput | DeleteServiceLinkedAnalyzerCommandOutput | GenerateFindingRecommendationCommandOutput | GetAccessPreviewCommandOutput | GetAnalyzedResourceCommandOutput | GetAnalyzerCommandOutput | GetArchiveRuleCommandOutput | GetFindingCommandOutput | GetFindingRecommendationCommandOutput | GetFindingV2CommandOutput | GetFindingsStatisticsCommandOutput | GetGeneratedPolicyCommandOutput | ListAccessPreviewFindingsCommandOutput | ListAccessPreviewsCommandOutput | ListAnalyzedResourcesCommandOutput | ListAnalyzersCommandOutput | ListArchiveRulesCommandOutput | ListFindingsCommandOutput | ListFindingsV2CommandOutput | ListPolicyGenerationsCommandOutput | ListTagsForResourceCommandOutput | StartPolicyGenerationCommandOutput | StartResourceScanCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnalyzerCommandOutput | UpdateArchiveRuleCommandOutput | UpdateFindingsCommandOutput | ValidatePolicyCommandOutput;
|
|
57
59
|
/**
|
|
58
60
|
* @public
|
|
59
61
|
*/
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
4
|
+
import type { CreateServiceLinkedAnalyzerRequest, CreateServiceLinkedAnalyzerResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateServiceLinkedAnalyzerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateServiceLinkedAnalyzerCommandInput extends CreateServiceLinkedAnalyzerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateServiceLinkedAnalyzerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateServiceLinkedAnalyzerCommandOutput extends CreateServiceLinkedAnalyzerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateServiceLinkedAnalyzerCommand_base: {
|
|
25
|
+
new (input: CreateServiceLinkedAnalyzerCommandInput): import("@smithy/core/client").CommandImpl<CreateServiceLinkedAnalyzerCommandInput, CreateServiceLinkedAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateServiceLinkedAnalyzerCommandInput): import("@smithy/core/client").CommandImpl<CreateServiceLinkedAnalyzerCommandInput, CreateServiceLinkedAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Creates a service-linked analyzer managed by an Amazon Web Services service. This operation can only be invoked by authorized Amazon Web Services services. Direct customer invocation returns <code>AccessDeniedException</code>.</p> <p>Service-linked analyzers enable Amazon Web Services services to create and manage analyzers on behalf of customers. The lifecycle of these analyzers is managed by the calling service.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { AccessAnalyzerClient, CreateServiceLinkedAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
37
|
+
* // const { AccessAnalyzerClient, CreateServiceLinkedAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
38
|
+
* // import type { AccessAnalyzerClientConfig } from "@aws-sdk/client-accessanalyzer";
|
|
39
|
+
* const config = {}; // type is AccessAnalyzerClientConfig
|
|
40
|
+
* const client = new AccessAnalyzerClient(config);
|
|
41
|
+
* const input = { // CreateServiceLinkedAnalyzerRequest
|
|
42
|
+
* type: "STRING_VALUE", // required
|
|
43
|
+
* archiveRules: [ // InlineArchiveRulesList
|
|
44
|
+
* { // InlineArchiveRule
|
|
45
|
+
* ruleName: "STRING_VALUE", // required
|
|
46
|
+
* filter: { // FilterCriteriaMap // required
|
|
47
|
+
* "<keys>": { // Criterion
|
|
48
|
+
* eq: [ // ValueList
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* neq: [
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* contains: [
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* exists: true || false,
|
|
58
|
+
* },
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* clientToken: "STRING_VALUE",
|
|
63
|
+
* configuration: { // AnalyzerConfiguration Union: only one key present
|
|
64
|
+
* unusedAccess: { // UnusedAccessConfiguration
|
|
65
|
+
* unusedAccessAge: Number("int"),
|
|
66
|
+
* analysisRule: { // AnalysisRule
|
|
67
|
+
* exclusions: [ // AnalysisRuleCriteriaList
|
|
68
|
+
* { // AnalysisRuleCriteria
|
|
69
|
+
* accountIds: [ // AccountIdsList
|
|
70
|
+
* "STRING_VALUE",
|
|
71
|
+
* ],
|
|
72
|
+
* resourceTags: [ // TagsList
|
|
73
|
+
* { // TagsMap
|
|
74
|
+
* "<keys>": "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* },
|
|
80
|
+
* },
|
|
81
|
+
* internalAccess: { // InternalAccessConfiguration
|
|
82
|
+
* analysisRule: { // InternalAccessAnalysisRule
|
|
83
|
+
* inclusions: [ // InternalAccessAnalysisRuleCriteriaList
|
|
84
|
+
* { // InternalAccessAnalysisRuleCriteria
|
|
85
|
+
* accountIds: [
|
|
86
|
+
* "STRING_VALUE",
|
|
87
|
+
* ],
|
|
88
|
+
* resourceTypes: [ // ResourceTypeList
|
|
89
|
+
* "STRING_VALUE",
|
|
90
|
+
* ],
|
|
91
|
+
* resourceArns: [ // ResourceArnsList
|
|
92
|
+
* "STRING_VALUE",
|
|
93
|
+
* ],
|
|
94
|
+
* },
|
|
95
|
+
* ],
|
|
96
|
+
* },
|
|
97
|
+
* },
|
|
98
|
+
* },
|
|
99
|
+
* };
|
|
100
|
+
* const command = new CreateServiceLinkedAnalyzerCommand(input);
|
|
101
|
+
* const response = await client.send(command);
|
|
102
|
+
* // { // CreateServiceLinkedAnalyzerResponse
|
|
103
|
+
* // arn: "STRING_VALUE",
|
|
104
|
+
* // };
|
|
105
|
+
*
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
108
|
+
* @param CreateServiceLinkedAnalyzerCommandInput - {@link CreateServiceLinkedAnalyzerCommandInput}
|
|
109
|
+
* @returns {@link CreateServiceLinkedAnalyzerCommandOutput}
|
|
110
|
+
* @see {@link CreateServiceLinkedAnalyzerCommandInput} for command's `input` shape.
|
|
111
|
+
* @see {@link CreateServiceLinkedAnalyzerCommandOutput} for command's `response` shape.
|
|
112
|
+
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
115
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link ConflictException} (client fault)
|
|
118
|
+
* <p>A conflict exception error.</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link InternalServerException} (server fault)
|
|
121
|
+
* <p>Internal server error.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
124
|
+
* <p>Service quote met error.</p>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
127
|
+
* <p>Throttling limit exceeded error.</p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link ValidationException} (client fault)
|
|
130
|
+
* <p>Validation exception error.</p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link AccessAnalyzerServiceException}
|
|
133
|
+
* <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
|
|
134
|
+
*
|
|
135
|
+
*
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export declare class CreateServiceLinkedAnalyzerCommand extends CreateServiceLinkedAnalyzerCommand_base {
|
|
139
|
+
/** @internal type navigation helper, not in runtime. */
|
|
140
|
+
protected static __types: {
|
|
141
|
+
api: {
|
|
142
|
+
input: CreateServiceLinkedAnalyzerRequest;
|
|
143
|
+
output: CreateServiceLinkedAnalyzerResponse;
|
|
144
|
+
};
|
|
145
|
+
sdk: {
|
|
146
|
+
input: CreateServiceLinkedAnalyzerCommandInput;
|
|
147
|
+
output: CreateServiceLinkedAnalyzerCommandOutput;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
4
|
+
import type { DeleteServiceLinkedAnalyzerRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteServiceLinkedAnalyzerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteServiceLinkedAnalyzerCommandInput extends DeleteServiceLinkedAnalyzerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteServiceLinkedAnalyzerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteServiceLinkedAnalyzerCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteServiceLinkedAnalyzerCommand_base: {
|
|
25
|
+
new (input: DeleteServiceLinkedAnalyzerCommandInput): import("@smithy/core/client").CommandImpl<DeleteServiceLinkedAnalyzerCommandInput, DeleteServiceLinkedAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteServiceLinkedAnalyzerCommandInput): import("@smithy/core/client").CommandImpl<DeleteServiceLinkedAnalyzerCommandInput, DeleteServiceLinkedAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes a service-linked analyzer. This operation can be invoked by both authorized Amazon Web Services services and customers.</p> <p>When invoked by a customer, IAM Access Analyzer performs a callback to the managing service to verify whether the analyzer is still in use and can be deleted. If the service indicates the analyzer is still in use, the deletion is rejected with <code>ConflictException</code>.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { AccessAnalyzerClient, DeleteServiceLinkedAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
37
|
+
* // const { AccessAnalyzerClient, DeleteServiceLinkedAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
38
|
+
* // import type { AccessAnalyzerClientConfig } from "@aws-sdk/client-accessanalyzer";
|
|
39
|
+
* const config = {}; // type is AccessAnalyzerClientConfig
|
|
40
|
+
* const client = new AccessAnalyzerClient(config);
|
|
41
|
+
* const input = { // DeleteServiceLinkedAnalyzerRequest
|
|
42
|
+
* analyzerName: "STRING_VALUE", // required
|
|
43
|
+
* clientToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DeleteServiceLinkedAnalyzerCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param DeleteServiceLinkedAnalyzerCommandInput - {@link DeleteServiceLinkedAnalyzerCommandInput}
|
|
52
|
+
* @returns {@link DeleteServiceLinkedAnalyzerCommandOutput}
|
|
53
|
+
* @see {@link DeleteServiceLinkedAnalyzerCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link DeleteServiceLinkedAnalyzerCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* <p>A conflict exception error.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>Internal server error.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The specified resource could not be found.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>Throttling limit exceeded error.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>Validation exception error.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessAnalyzerServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class DeleteServiceLinkedAnalyzerCommand extends DeleteServiceLinkedAnalyzerCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: DeleteServiceLinkedAnalyzerRequest;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: DeleteServiceLinkedAnalyzerCommandInput;
|
|
90
|
+
output: DeleteServiceLinkedAnalyzerCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -6,8 +6,10 @@ export * from "./CheckNoPublicAccessCommand";
|
|
|
6
6
|
export * from "./CreateAccessPreviewCommand";
|
|
7
7
|
export * from "./CreateAnalyzerCommand";
|
|
8
8
|
export * from "./CreateArchiveRuleCommand";
|
|
9
|
+
export * from "./CreateServiceLinkedAnalyzerCommand";
|
|
9
10
|
export * from "./DeleteAnalyzerCommand";
|
|
10
11
|
export * from "./DeleteArchiveRuleCommand";
|
|
12
|
+
export * from "./DeleteServiceLinkedAnalyzerCommand";
|
|
11
13
|
export * from "./GenerateFindingRecommendationCommand";
|
|
12
14
|
export * from "./GetAccessPreviewCommand";
|
|
13
15
|
export * from "./GetAnalyzedResourceCommand";
|
|
@@ -430,6 +430,22 @@ export interface DeleteAnalyzerRequest {
|
|
|
430
430
|
*/
|
|
431
431
|
clientToken?: string | undefined;
|
|
432
432
|
}
|
|
433
|
+
/**
|
|
434
|
+
* <p>Deletes a service-linked analyzer.</p>
|
|
435
|
+
* @public
|
|
436
|
+
*/
|
|
437
|
+
export interface DeleteServiceLinkedAnalyzerRequest {
|
|
438
|
+
/**
|
|
439
|
+
* <p>The name of the service-linked analyzer to delete. Service-linked analyzer names follow the format <code>_AccessAnalyzerFor\{ServiceName\}-\{Id\}</code>.</p>
|
|
440
|
+
* @public
|
|
441
|
+
*/
|
|
442
|
+
analyzerName: string | undefined;
|
|
443
|
+
/**
|
|
444
|
+
* <p>A client token.</p>
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
447
|
+
clientToken?: string | undefined;
|
|
448
|
+
}
|
|
433
449
|
/**
|
|
434
450
|
* <p>Retrieves an analyzer.</p>
|
|
435
451
|
* @public
|
|
@@ -507,6 +523,11 @@ export interface AnalyzerSummary {
|
|
|
507
523
|
* @public
|
|
508
524
|
*/
|
|
509
525
|
configuration?: AnalyzerConfiguration | undefined;
|
|
526
|
+
/**
|
|
527
|
+
* <p>The service principal that manages this analyzer (for example, <code>securityhubv2.amazonaws.com</code>). This field is only present for service-linked analyzers and is not included for customer-managed analyzers.</p>
|
|
528
|
+
* @public
|
|
529
|
+
*/
|
|
530
|
+
managedBy?: string | undefined;
|
|
510
531
|
}
|
|
511
532
|
/**
|
|
512
533
|
* <p>The response to the request.</p>
|
|
@@ -1621,6 +1642,43 @@ export interface CreateAccessPreviewResponse {
|
|
|
1621
1642
|
*/
|
|
1622
1643
|
id: string | undefined;
|
|
1623
1644
|
}
|
|
1645
|
+
/**
|
|
1646
|
+
* <p>Creates a service-linked analyzer.</p>
|
|
1647
|
+
* @public
|
|
1648
|
+
*/
|
|
1649
|
+
export interface CreateServiceLinkedAnalyzerRequest {
|
|
1650
|
+
/**
|
|
1651
|
+
* <p>The type of analyzer to create. Valid values are <code>ACCOUNT_UNUSED_ACCESS</code> and <code>ORGANIZATION_UNUSED_ACCESS</code>.</p>
|
|
1652
|
+
* @public
|
|
1653
|
+
*/
|
|
1654
|
+
type: Type | undefined;
|
|
1655
|
+
/**
|
|
1656
|
+
* <p>Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.</p>
|
|
1657
|
+
* @public
|
|
1658
|
+
*/
|
|
1659
|
+
archiveRules?: InlineArchiveRule[] | undefined;
|
|
1660
|
+
/**
|
|
1661
|
+
* <p>A client token.</p>
|
|
1662
|
+
* @public
|
|
1663
|
+
*/
|
|
1664
|
+
clientToken?: string | undefined;
|
|
1665
|
+
/**
|
|
1666
|
+
* <p>Specifies the configuration of the analyzer. The specified scope of unused access is used for the configuration.</p>
|
|
1667
|
+
* @public
|
|
1668
|
+
*/
|
|
1669
|
+
configuration?: AnalyzerConfiguration | undefined;
|
|
1670
|
+
}
|
|
1671
|
+
/**
|
|
1672
|
+
* <p>The response to the request to create a service-linked analyzer.</p>
|
|
1673
|
+
* @public
|
|
1674
|
+
*/
|
|
1675
|
+
export interface CreateServiceLinkedAnalyzerResponse {
|
|
1676
|
+
/**
|
|
1677
|
+
* <p>The ARN of the service-linked analyzer that was created by the request. The analyzer name follows the format <code>_AccessAnalyzerFor\{ServiceName\}-\{Id\}</code> where <code>Id</code> is a randomly generated identifier.</p>
|
|
1678
|
+
* @public
|
|
1679
|
+
*/
|
|
1680
|
+
arn?: string | undefined;
|
|
1681
|
+
}
|
|
1624
1682
|
/**
|
|
1625
1683
|
* @public
|
|
1626
1684
|
*/
|
|
@@ -43,9 +43,12 @@ export declare var CreateAccessPreviewResponse$: StaticStructureSchema;
|
|
|
43
43
|
export declare var CreateAnalyzerRequest$: StaticStructureSchema;
|
|
44
44
|
export declare var CreateAnalyzerResponse$: StaticStructureSchema;
|
|
45
45
|
export declare var CreateArchiveRuleRequest$: StaticStructureSchema;
|
|
46
|
+
export declare var CreateServiceLinkedAnalyzerRequest$: StaticStructureSchema;
|
|
47
|
+
export declare var CreateServiceLinkedAnalyzerResponse$: StaticStructureSchema;
|
|
46
48
|
export declare var Criterion$: StaticStructureSchema;
|
|
47
49
|
export declare var DeleteAnalyzerRequest$: StaticStructureSchema;
|
|
48
50
|
export declare var DeleteArchiveRuleRequest$: StaticStructureSchema;
|
|
51
|
+
export declare var DeleteServiceLinkedAnalyzerRequest$: StaticStructureSchema;
|
|
49
52
|
export declare var DynamodbStreamConfiguration$: StaticStructureSchema;
|
|
50
53
|
export declare var DynamodbTableConfiguration$: StaticStructureSchema;
|
|
51
54
|
export declare var EbsSnapshotConfiguration$: StaticStructureSchema;
|
|
@@ -180,8 +183,10 @@ export declare var CheckNoPublicAccess$: StaticOperationSchema;
|
|
|
180
183
|
export declare var CreateAccessPreview$: StaticOperationSchema;
|
|
181
184
|
export declare var CreateAnalyzer$: StaticOperationSchema;
|
|
182
185
|
export declare var CreateArchiveRule$: StaticOperationSchema;
|
|
186
|
+
export declare var CreateServiceLinkedAnalyzer$: StaticOperationSchema;
|
|
183
187
|
export declare var DeleteAnalyzer$: StaticOperationSchema;
|
|
184
188
|
export declare var DeleteArchiveRule$: StaticOperationSchema;
|
|
189
|
+
export declare var DeleteServiceLinkedAnalyzer$: StaticOperationSchema;
|
|
185
190
|
export declare var GenerateFindingRecommendation$: StaticOperationSchema;
|
|
186
191
|
export declare var GetAccessPreview$: StaticOperationSchema;
|
|
187
192
|
export declare var GetAnalyzedResource$: StaticOperationSchema;
|
|
@@ -36,6 +36,10 @@ import {
|
|
|
36
36
|
CreateArchiveRuleCommandInput,
|
|
37
37
|
CreateArchiveRuleCommandOutput,
|
|
38
38
|
} from "./commands/CreateArchiveRuleCommand";
|
|
39
|
+
import {
|
|
40
|
+
CreateServiceLinkedAnalyzerCommandInput,
|
|
41
|
+
CreateServiceLinkedAnalyzerCommandOutput,
|
|
42
|
+
} from "./commands/CreateServiceLinkedAnalyzerCommand";
|
|
39
43
|
import {
|
|
40
44
|
DeleteAnalyzerCommandInput,
|
|
41
45
|
DeleteAnalyzerCommandOutput,
|
|
@@ -44,6 +48,10 @@ import {
|
|
|
44
48
|
DeleteArchiveRuleCommandInput,
|
|
45
49
|
DeleteArchiveRuleCommandOutput,
|
|
46
50
|
} from "./commands/DeleteArchiveRuleCommand";
|
|
51
|
+
import {
|
|
52
|
+
DeleteServiceLinkedAnalyzerCommandInput,
|
|
53
|
+
DeleteServiceLinkedAnalyzerCommandOutput,
|
|
54
|
+
} from "./commands/DeleteServiceLinkedAnalyzerCommand";
|
|
47
55
|
import {
|
|
48
56
|
GenerateFindingRecommendationCommandInput,
|
|
49
57
|
GenerateFindingRecommendationCommandOutput,
|
|
@@ -257,6 +265,19 @@ export interface AccessAnalyzer {
|
|
|
257
265
|
options: __HttpHandlerOptions,
|
|
258
266
|
cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void
|
|
259
267
|
): void;
|
|
268
|
+
createServiceLinkedAnalyzer(
|
|
269
|
+
args: CreateServiceLinkedAnalyzerCommandInput,
|
|
270
|
+
options?: __HttpHandlerOptions
|
|
271
|
+
): Promise<CreateServiceLinkedAnalyzerCommandOutput>;
|
|
272
|
+
createServiceLinkedAnalyzer(
|
|
273
|
+
args: CreateServiceLinkedAnalyzerCommandInput,
|
|
274
|
+
cb: (err: any, data?: CreateServiceLinkedAnalyzerCommandOutput) => void
|
|
275
|
+
): void;
|
|
276
|
+
createServiceLinkedAnalyzer(
|
|
277
|
+
args: CreateServiceLinkedAnalyzerCommandInput,
|
|
278
|
+
options: __HttpHandlerOptions,
|
|
279
|
+
cb: (err: any, data?: CreateServiceLinkedAnalyzerCommandOutput) => void
|
|
280
|
+
): void;
|
|
260
281
|
deleteAnalyzer(
|
|
261
282
|
args: DeleteAnalyzerCommandInput,
|
|
262
283
|
options?: __HttpHandlerOptions
|
|
@@ -283,6 +304,19 @@ export interface AccessAnalyzer {
|
|
|
283
304
|
options: __HttpHandlerOptions,
|
|
284
305
|
cb: (err: any, data?: DeleteArchiveRuleCommandOutput) => void
|
|
285
306
|
): void;
|
|
307
|
+
deleteServiceLinkedAnalyzer(
|
|
308
|
+
args: DeleteServiceLinkedAnalyzerCommandInput,
|
|
309
|
+
options?: __HttpHandlerOptions
|
|
310
|
+
): Promise<DeleteServiceLinkedAnalyzerCommandOutput>;
|
|
311
|
+
deleteServiceLinkedAnalyzer(
|
|
312
|
+
args: DeleteServiceLinkedAnalyzerCommandInput,
|
|
313
|
+
cb: (err: any, data?: DeleteServiceLinkedAnalyzerCommandOutput) => void
|
|
314
|
+
): void;
|
|
315
|
+
deleteServiceLinkedAnalyzer(
|
|
316
|
+
args: DeleteServiceLinkedAnalyzerCommandInput,
|
|
317
|
+
options: __HttpHandlerOptions,
|
|
318
|
+
cb: (err: any, data?: DeleteServiceLinkedAnalyzerCommandOutput) => void
|
|
319
|
+
): void;
|
|
286
320
|
generateFindingRecommendation(
|
|
287
321
|
args: GenerateFindingRecommendationCommandInput,
|
|
288
322
|
options?: __HttpHandlerOptions
|
|
@@ -68,6 +68,10 @@ import {
|
|
|
68
68
|
CreateArchiveRuleCommandInput,
|
|
69
69
|
CreateArchiveRuleCommandOutput,
|
|
70
70
|
} from "./commands/CreateArchiveRuleCommand";
|
|
71
|
+
import {
|
|
72
|
+
CreateServiceLinkedAnalyzerCommandInput,
|
|
73
|
+
CreateServiceLinkedAnalyzerCommandOutput,
|
|
74
|
+
} from "./commands/CreateServiceLinkedAnalyzerCommand";
|
|
71
75
|
import {
|
|
72
76
|
DeleteAnalyzerCommandInput,
|
|
73
77
|
DeleteAnalyzerCommandOutput,
|
|
@@ -76,6 +80,10 @@ import {
|
|
|
76
80
|
DeleteArchiveRuleCommandInput,
|
|
77
81
|
DeleteArchiveRuleCommandOutput,
|
|
78
82
|
} from "./commands/DeleteArchiveRuleCommand";
|
|
83
|
+
import {
|
|
84
|
+
DeleteServiceLinkedAnalyzerCommandInput,
|
|
85
|
+
DeleteServiceLinkedAnalyzerCommandOutput,
|
|
86
|
+
} from "./commands/DeleteServiceLinkedAnalyzerCommand";
|
|
79
87
|
import {
|
|
80
88
|
GenerateFindingRecommendationCommandInput,
|
|
81
89
|
GenerateFindingRecommendationCommandOutput,
|
|
@@ -200,8 +208,10 @@ export type ServiceInputTypes =
|
|
|
200
208
|
| CreateAccessPreviewCommandInput
|
|
201
209
|
| CreateAnalyzerCommandInput
|
|
202
210
|
| CreateArchiveRuleCommandInput
|
|
211
|
+
| CreateServiceLinkedAnalyzerCommandInput
|
|
203
212
|
| DeleteAnalyzerCommandInput
|
|
204
213
|
| DeleteArchiveRuleCommandInput
|
|
214
|
+
| DeleteServiceLinkedAnalyzerCommandInput
|
|
205
215
|
| GenerateFindingRecommendationCommandInput
|
|
206
216
|
| GetAccessPreviewCommandInput
|
|
207
217
|
| GetAnalyzedResourceCommandInput
|
|
@@ -238,8 +248,10 @@ export type ServiceOutputTypes =
|
|
|
238
248
|
| CreateAccessPreviewCommandOutput
|
|
239
249
|
| CreateAnalyzerCommandOutput
|
|
240
250
|
| CreateArchiveRuleCommandOutput
|
|
251
|
+
| CreateServiceLinkedAnalyzerCommandOutput
|
|
241
252
|
| DeleteAnalyzerCommandOutput
|
|
242
253
|
| DeleteArchiveRuleCommandOutput
|
|
254
|
+
| DeleteServiceLinkedAnalyzerCommandOutput
|
|
243
255
|
| GenerateFindingRecommendationCommandOutput
|
|
244
256
|
| GetAccessPreviewCommandOutput
|
|
245
257
|
| GetAnalyzedResourceCommandOutput
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
AccessAnalyzerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../AccessAnalyzerClient";
|
|
8
|
+
import {
|
|
9
|
+
CreateServiceLinkedAnalyzerRequest,
|
|
10
|
+
CreateServiceLinkedAnalyzerResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CreateServiceLinkedAnalyzerCommandInput
|
|
15
|
+
extends CreateServiceLinkedAnalyzerRequest {}
|
|
16
|
+
export interface CreateServiceLinkedAnalyzerCommandOutput
|
|
17
|
+
extends CreateServiceLinkedAnalyzerResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CreateServiceLinkedAnalyzerCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CreateServiceLinkedAnalyzerCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
CreateServiceLinkedAnalyzerCommandInput,
|
|
24
|
+
CreateServiceLinkedAnalyzerCommandOutput,
|
|
25
|
+
AccessAnalyzerClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: CreateServiceLinkedAnalyzerCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
CreateServiceLinkedAnalyzerCommandInput,
|
|
33
|
+
CreateServiceLinkedAnalyzerCommandOutput,
|
|
34
|
+
AccessAnalyzerClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class CreateServiceLinkedAnalyzerCommand extends CreateServiceLinkedAnalyzerCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: CreateServiceLinkedAnalyzerRequest;
|
|
46
|
+
output: CreateServiceLinkedAnalyzerResponse;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: CreateServiceLinkedAnalyzerCommandInput;
|
|
50
|
+
output: CreateServiceLinkedAnalyzerCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
AccessAnalyzerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../AccessAnalyzerClient";
|
|
8
|
+
import { DeleteServiceLinkedAnalyzerRequest } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface DeleteServiceLinkedAnalyzerCommandInput
|
|
12
|
+
extends DeleteServiceLinkedAnalyzerRequest {}
|
|
13
|
+
export interface DeleteServiceLinkedAnalyzerCommandOutput
|
|
14
|
+
extends __MetadataBearer {}
|
|
15
|
+
declare const DeleteServiceLinkedAnalyzerCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: DeleteServiceLinkedAnalyzerCommandInput
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
DeleteServiceLinkedAnalyzerCommandInput,
|
|
20
|
+
DeleteServiceLinkedAnalyzerCommandOutput,
|
|
21
|
+
AccessAnalyzerClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: DeleteServiceLinkedAnalyzerCommandInput
|
|
27
|
+
): import("@smithy/core/client").CommandImpl<
|
|
28
|
+
DeleteServiceLinkedAnalyzerCommandInput,
|
|
29
|
+
DeleteServiceLinkedAnalyzerCommandOutput,
|
|
30
|
+
AccessAnalyzerClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare class DeleteServiceLinkedAnalyzerCommand extends DeleteServiceLinkedAnalyzerCommand_base {
|
|
39
|
+
protected static __types: {
|
|
40
|
+
api: {
|
|
41
|
+
input: DeleteServiceLinkedAnalyzerRequest;
|
|
42
|
+
output: {};
|
|
43
|
+
};
|
|
44
|
+
sdk: {
|
|
45
|
+
input: DeleteServiceLinkedAnalyzerCommandInput;
|
|
46
|
+
output: DeleteServiceLinkedAnalyzerCommandOutput;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -6,8 +6,10 @@ export * from "./CheckNoPublicAccessCommand";
|
|
|
6
6
|
export * from "./CreateAccessPreviewCommand";
|
|
7
7
|
export * from "./CreateAnalyzerCommand";
|
|
8
8
|
export * from "./CreateArchiveRuleCommand";
|
|
9
|
+
export * from "./CreateServiceLinkedAnalyzerCommand";
|
|
9
10
|
export * from "./DeleteAnalyzerCommand";
|
|
10
11
|
export * from "./DeleteArchiveRuleCommand";
|
|
12
|
+
export * from "./DeleteServiceLinkedAnalyzerCommand";
|
|
11
13
|
export * from "./GenerateFindingRecommendationCommand";
|
|
12
14
|
export * from "./GetAccessPreviewCommand";
|
|
13
15
|
export * from "./GetAnalyzedResourceCommand";
|
|
@@ -152,6 +152,10 @@ export interface DeleteAnalyzerRequest {
|
|
|
152
152
|
analyzerName: string | undefined;
|
|
153
153
|
clientToken?: string | undefined;
|
|
154
154
|
}
|
|
155
|
+
export interface DeleteServiceLinkedAnalyzerRequest {
|
|
156
|
+
analyzerName: string | undefined;
|
|
157
|
+
clientToken?: string | undefined;
|
|
158
|
+
}
|
|
155
159
|
export interface GetAnalyzerRequest {
|
|
156
160
|
analyzerName: string | undefined;
|
|
157
161
|
}
|
|
@@ -169,6 +173,7 @@ export interface AnalyzerSummary {
|
|
|
169
173
|
status: AnalyzerStatus | undefined;
|
|
170
174
|
statusReason?: StatusReason | undefined;
|
|
171
175
|
configuration?: AnalyzerConfiguration | undefined;
|
|
176
|
+
managedBy?: string | undefined;
|
|
172
177
|
}
|
|
173
178
|
export interface GetAnalyzerResponse {
|
|
174
179
|
analyzer: AnalyzerSummary | undefined;
|
|
@@ -704,6 +709,15 @@ export interface CreateAccessPreviewRequest {
|
|
|
704
709
|
export interface CreateAccessPreviewResponse {
|
|
705
710
|
id: string | undefined;
|
|
706
711
|
}
|
|
712
|
+
export interface CreateServiceLinkedAnalyzerRequest {
|
|
713
|
+
type: Type | undefined;
|
|
714
|
+
archiveRules?: InlineArchiveRule[] | undefined;
|
|
715
|
+
clientToken?: string | undefined;
|
|
716
|
+
configuration?: AnalyzerConfiguration | undefined;
|
|
717
|
+
}
|
|
718
|
+
export interface CreateServiceLinkedAnalyzerResponse {
|
|
719
|
+
arn?: string | undefined;
|
|
720
|
+
}
|
|
707
721
|
export interface GenerateFindingRecommendationRequest {
|
|
708
722
|
analyzerArn: string | undefined;
|
|
709
723
|
id: string | undefined;
|
|
@@ -43,9 +43,12 @@ export declare var CreateAccessPreviewResponse$: StaticStructureSchema;
|
|
|
43
43
|
export declare var CreateAnalyzerRequest$: StaticStructureSchema;
|
|
44
44
|
export declare var CreateAnalyzerResponse$: StaticStructureSchema;
|
|
45
45
|
export declare var CreateArchiveRuleRequest$: StaticStructureSchema;
|
|
46
|
+
export declare var CreateServiceLinkedAnalyzerRequest$: StaticStructureSchema;
|
|
47
|
+
export declare var CreateServiceLinkedAnalyzerResponse$: StaticStructureSchema;
|
|
46
48
|
export declare var Criterion$: StaticStructureSchema;
|
|
47
49
|
export declare var DeleteAnalyzerRequest$: StaticStructureSchema;
|
|
48
50
|
export declare var DeleteArchiveRuleRequest$: StaticStructureSchema;
|
|
51
|
+
export declare var DeleteServiceLinkedAnalyzerRequest$: StaticStructureSchema;
|
|
49
52
|
export declare var DynamodbStreamConfiguration$: StaticStructureSchema;
|
|
50
53
|
export declare var DynamodbTableConfiguration$: StaticStructureSchema;
|
|
51
54
|
export declare var EbsSnapshotConfiguration$: StaticStructureSchema;
|
|
@@ -180,8 +183,10 @@ export declare var CheckNoPublicAccess$: StaticOperationSchema;
|
|
|
180
183
|
export declare var CreateAccessPreview$: StaticOperationSchema;
|
|
181
184
|
export declare var CreateAnalyzer$: StaticOperationSchema;
|
|
182
185
|
export declare var CreateArchiveRule$: StaticOperationSchema;
|
|
186
|
+
export declare var CreateServiceLinkedAnalyzer$: StaticOperationSchema;
|
|
183
187
|
export declare var DeleteAnalyzer$: StaticOperationSchema;
|
|
184
188
|
export declare var DeleteArchiveRule$: StaticOperationSchema;
|
|
189
|
+
export declare var DeleteServiceLinkedAnalyzer$: StaticOperationSchema;
|
|
185
190
|
export declare var GenerateFindingRecommendation$: StaticOperationSchema;
|
|
186
191
|
export declare var GetAccessPreview$: StaticOperationSchema;
|
|
187
192
|
export declare var GetAnalyzedResource$: StaticOperationSchema;
|
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.1049.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-accessanalyzer",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.12",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.43",
|
|
26
26
|
"@aws-sdk/types": "^3.973.8",
|
|
27
27
|
"@smithy/core": "^3.24.2",
|
|
28
28
|
"@smithy/fetch-http-handler": "^5.4.2",
|