@aws-sdk/client-accessanalyzer 3.34.0 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/AccessAnalyzer.js +0 -12
- package/dist-cjs/AccessAnalyzerClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/ApplyArchiveRuleCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CancelPolicyGenerationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateAccessPreviewCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateAnalyzerCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateArchiveRuleCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DeleteAnalyzerCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DeleteArchiveRuleCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetAccessPreviewCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetAnalyzedResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetAnalyzerCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetArchiveRuleCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetFindingCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetGeneratedPolicyCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListAccessPreviewFindingsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListAccessPreviewsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListAnalyzedResourcesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListAnalyzersCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListArchiveRulesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListFindingsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListPolicyGenerationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StartPolicyGenerationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StartResourceScanCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateArchiveRuleCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateFindingsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ValidatePolicyCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -316
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListAccessPreviewFindingsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListAccessPreviewsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListAnalyzedResourcesPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListAnalyzersPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListArchiveRulesPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListFindingsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListPolicyGenerationsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ValidatePolicyPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +14 -20
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/AccessAnalyzer.js +0 -1
- package/{dist/es → dist-es}/AccessAnalyzerClient.js +1 -2
- package/{dist/es → dist-es}/commands/ApplyArchiveRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CancelPolicyGenerationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateAccessPreviewCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateAnalyzerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateArchiveRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteAnalyzerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteArchiveRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetAccessPreviewCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetAnalyzedResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetAnalyzerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetArchiveRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetFindingCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetGeneratedPolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListAccessPreviewFindingsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListAccessPreviewsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListAnalyzedResourcesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListAnalyzersCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListArchiveRulesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListFindingsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPolicyGenerationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartPolicyGenerationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartResourceScanCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateArchiveRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateFindingsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ValidatePolicyCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListAccessPreviewFindingsPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListAccessPreviewsPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListAnalyzedResourcesPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListAnalyzersPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListArchiveRulesPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListFindingsPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListPolicyGenerationsPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ValidatePolicyPaginator.js +0 -1
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/AccessAnalyzer.d.ts +1 -1
- package/{dist/types → dist-types}/AccessAnalyzerClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/ApplyArchiveRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CancelPolicyGenerationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateAccessPreviewCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateAnalyzerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateArchiveRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteAnalyzerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteArchiveRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetAccessPreviewCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetAnalyzedResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetAnalyzerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetArchiveRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetFindingCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetGeneratedPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAccessPreviewFindingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAccessPreviewsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAnalyzedResourcesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAnalyzersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListArchiveRulesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListFindingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListPolicyGenerationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartPolicyGenerationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartResourceScanCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateArchiveRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateFindingsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ValidatePolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAccessPreviewFindingsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAccessPreviewsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAnalyzedResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAnalyzersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListArchiveRulesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListFindingsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPolicyGenerationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ValidatePolicyPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/AccessAnalyzer.d.ts +30 -109
- package/{dist/types → dist-types}/ts3.4/AccessAnalyzerClient.d.ts +32 -105
- package/dist-types/ts3.4/commands/ApplyArchiveRuleCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CancelPolicyGenerationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/CreateAccessPreviewCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAnalyzerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateArchiveRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAnalyzerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteArchiveRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAccessPreviewCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetAnalyzedResourceCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GetAnalyzerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetArchiveRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetFindingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetGeneratedPolicyCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListAccessPreviewFindingsCommand.d.ts +4 -23
- package/{dist/types → dist-types}/ts3.4/commands/ListAccessPreviewsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListAnalyzedResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAnalyzersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListArchiveRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/StartPolicyGenerationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateArchiveRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ValidatePolicyCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1610 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAccessPreviewFindingsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAccessPreviewsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAnalyzedResourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAnalyzersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListArchiveRulesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListFindingsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPolicyGenerationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ValidatePolicyPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/AccessAnalyzer.ts +0 -1031
- package/AccessAnalyzerClient.ts +0 -351
- package/commands/ApplyArchiveRuleCommand.ts +0 -95
- package/commands/CancelPolicyGenerationCommand.ts +0 -94
- package/commands/CreateAccessPreviewCommand.ts +0 -95
- package/commands/CreateAnalyzerCommand.ts +0 -94
- package/commands/CreateArchiveRuleCommand.ts +0 -96
- package/commands/DeleteAnalyzerCommand.ts +0 -96
- package/commands/DeleteArchiveRuleCommand.ts +0 -94
- package/commands/GetAccessPreviewCommand.ts +0 -94
- package/commands/GetAnalyzedResourceCommand.ts +0 -94
- package/commands/GetAnalyzerCommand.ts +0 -94
- package/commands/GetArchiveRuleCommand.ts +0 -95
- package/commands/GetFindingCommand.ts +0 -94
- package/commands/GetGeneratedPolicyCommand.ts +0 -95
- package/commands/ListAccessPreviewFindingsCommand.ts +0 -98
- package/commands/ListAccessPreviewsCommand.ts +0 -94
- package/commands/ListAnalyzedResourcesCommand.ts +0 -95
- package/commands/ListAnalyzersCommand.ts +0 -94
- package/commands/ListArchiveRulesCommand.ts +0 -94
- package/commands/ListFindingsCommand.ts +0 -95
- package/commands/ListPolicyGenerationsCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/StartPolicyGenerationCommand.ts +0 -94
- package/commands/StartResourceScanCommand.ts +0 -94
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateArchiveRuleCommand.ts +0 -94
- package/commands/UpdateFindingsCommand.ts +0 -94
- package/commands/ValidatePolicyCommand.ts +0 -96
- package/dist/cjs/AccessAnalyzer.js.map +0 -1
- package/dist/cjs/AccessAnalyzerClient.js +0 -52
- package/dist/cjs/AccessAnalyzerClient.js.map +0 -1
- package/dist/cjs/commands/ApplyArchiveRuleCommand.js.map +0 -1
- package/dist/cjs/commands/CancelPolicyGenerationCommand.js.map +0 -1
- package/dist/cjs/commands/CreateAccessPreviewCommand.js.map +0 -1
- package/dist/cjs/commands/CreateAnalyzerCommand.js.map +0 -1
- package/dist/cjs/commands/CreateArchiveRuleCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAnalyzerCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteArchiveRuleCommand.js.map +0 -1
- package/dist/cjs/commands/GetAccessPreviewCommand.js.map +0 -1
- package/dist/cjs/commands/GetAnalyzedResourceCommand.js.map +0 -1
- package/dist/cjs/commands/GetAnalyzerCommand.js.map +0 -1
- package/dist/cjs/commands/GetArchiveRuleCommand.js.map +0 -1
- package/dist/cjs/commands/GetFindingCommand.js.map +0 -1
- package/dist/cjs/commands/GetGeneratedPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/ListAccessPreviewFindingsCommand.js.map +0 -1
- package/dist/cjs/commands/ListAccessPreviewsCommand.js.map +0 -1
- package/dist/cjs/commands/ListAnalyzedResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/ListAnalyzersCommand.js.map +0 -1
- package/dist/cjs/commands/ListArchiveRulesCommand.js.map +0 -1
- package/dist/cjs/commands/ListFindingsCommand.js.map +0 -1
- package/dist/cjs/commands/ListPolicyGenerationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/StartPolicyGenerationCommand.js.map +0 -1
- package/dist/cjs/commands/StartResourceScanCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateArchiveRuleCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFindingsCommand.js.map +0 -1
- package/dist/cjs/commands/ValidatePolicyCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListAccessPreviewFindingsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListAccessPreviewsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListAnalyzedResourcesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListAnalyzersPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListArchiveRulesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListFindingsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListPolicyGenerationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ValidatePolicyPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/AccessAnalyzer.js.map +0 -1
- package/dist/es/AccessAnalyzerClient.js.map +0 -1
- package/dist/es/commands/ApplyArchiveRuleCommand.js.map +0 -1
- package/dist/es/commands/CancelPolicyGenerationCommand.js.map +0 -1
- package/dist/es/commands/CreateAccessPreviewCommand.js.map +0 -1
- package/dist/es/commands/CreateAnalyzerCommand.js.map +0 -1
- package/dist/es/commands/CreateArchiveRuleCommand.js.map +0 -1
- package/dist/es/commands/DeleteAnalyzerCommand.js.map +0 -1
- package/dist/es/commands/DeleteArchiveRuleCommand.js.map +0 -1
- package/dist/es/commands/GetAccessPreviewCommand.js.map +0 -1
- package/dist/es/commands/GetAnalyzedResourceCommand.js.map +0 -1
- package/dist/es/commands/GetAnalyzerCommand.js.map +0 -1
- package/dist/es/commands/GetArchiveRuleCommand.js.map +0 -1
- package/dist/es/commands/GetFindingCommand.js.map +0 -1
- package/dist/es/commands/GetGeneratedPolicyCommand.js.map +0 -1
- package/dist/es/commands/ListAccessPreviewFindingsCommand.js.map +0 -1
- package/dist/es/commands/ListAccessPreviewsCommand.js.map +0 -1
- package/dist/es/commands/ListAnalyzedResourcesCommand.js.map +0 -1
- package/dist/es/commands/ListAnalyzersCommand.js.map +0 -1
- package/dist/es/commands/ListArchiveRulesCommand.js.map +0 -1
- package/dist/es/commands/ListFindingsCommand.js.map +0 -1
- package/dist/es/commands/ListPolicyGenerationsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/StartPolicyGenerationCommand.js.map +0 -1
- package/dist/es/commands/StartResourceScanCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateArchiveRuleCommand.js.map +0 -1
- package/dist/es/commands/UpdateFindingsCommand.js.map +0 -1
- package/dist/es/commands/ValidatePolicyCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -41
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListAccessPreviewFindingsPaginator.js.map +0 -1
- package/dist/es/pagination/ListAccessPreviewsPaginator.js.map +0 -1
- package/dist/es/pagination/ListAnalyzedResourcesPaginator.js.map +0 -1
- package/dist/es/pagination/ListAnalyzersPaginator.js.map +0 -1
- package/dist/es/pagination/ListArchiveRulesPaginator.js.map +0 -1
- package/dist/es/pagination/ListFindingsPaginator.js.map +0 -1
- package/dist/es/pagination/ListPolicyGenerationsPaginator.js.map +0 -1
- package/dist/es/pagination/ValidatePolicyPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/ApplyArchiveRuleCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateAccessPreviewCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateAnalyzerCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateArchiveRuleCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DeleteAnalyzerCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DeleteArchiveRuleCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetAccessPreviewCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetAnalyzerCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetArchiveRuleCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetFindingCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetGeneratedPolicyCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListAnalyzedResourcesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListAnalyzersCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListArchiveRulesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListFindingsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/StartResourceScanCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateArchiveRuleCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateFindingsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ValidatePolicyCommand.d.ts +0 -37
- package/dist/types/ts3.4/models/models_0.d.ts +0 -2899
- package/endpoints.ts +0 -91
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -3591
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListAccessPreviewFindingsPaginator.ts +0 -58
- package/pagination/ListAccessPreviewsPaginator.ts +0 -58
- package/pagination/ListAnalyzedResourcesPaginator.ts +0 -58
- package/pagination/ListAnalyzersPaginator.ts +0 -58
- package/pagination/ListArchiveRulesPaginator.ts +0 -58
- package/pagination/ListFindingsPaginator.ts +0 -58
- package/pagination/ListPolicyGenerationsPaginator.ts +0 -58
- package/pagination/ValidatePolicyPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -5106
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
1
2
|
import { AccessAnalyzerClient } from "./AccessAnalyzerClient";
|
|
2
3
|
import { ApplyArchiveRuleCommandInput, ApplyArchiveRuleCommandOutput } from "./commands/ApplyArchiveRuleCommand";
|
|
3
4
|
import { CancelPolicyGenerationCommandInput, CancelPolicyGenerationCommandOutput } from "./commands/CancelPolicyGenerationCommand";
|
|
@@ -27,197 +28,117 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
27
28
|
import { UpdateArchiveRuleCommandInput, UpdateArchiveRuleCommandOutput } from "./commands/UpdateArchiveRuleCommand";
|
|
28
29
|
import { UpdateFindingsCommandInput, UpdateFindingsCommandOutput } from "./commands/UpdateFindingsCommand";
|
|
29
30
|
import { ValidatePolicyCommandInput, ValidatePolicyCommandOutput } from "./commands/ValidatePolicyCommand";
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* <p>Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to
|
|
33
|
-
* identify any policies that grant access to an external principal. It does this by using
|
|
34
|
-
* logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An
|
|
35
|
-
* external principal can be another Amazon Web Services account, a root user, an IAM user or role, a
|
|
36
|
-
* federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to
|
|
37
|
-
* preview and validate public and cross-account access to your resources before deploying
|
|
38
|
-
* permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can
|
|
39
|
-
* call programmatically. For general information about IAM Access Analyzer, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">Identity and Access Management Access Analyzer</a> in the <b>IAM User Guide</b>.</p>
|
|
40
|
-
* <p>To start using IAM Access Analyzer, you first need to create an analyzer.</p>
|
|
41
|
-
*/
|
|
31
|
+
|
|
42
32
|
export declare class AccessAnalyzer extends AccessAnalyzerClient {
|
|
43
|
-
|
|
44
|
-
* <p>Retroactively applies the archive rule to existing findings that meet the archive rule
|
|
45
|
-
* criteria.</p>
|
|
46
|
-
*/
|
|
33
|
+
|
|
47
34
|
applyArchiveRule(args: ApplyArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<ApplyArchiveRuleCommandOutput>;
|
|
48
35
|
applyArchiveRule(args: ApplyArchiveRuleCommandInput, cb: (err: any, data?: ApplyArchiveRuleCommandOutput) => void): void;
|
|
49
36
|
applyArchiveRule(args: ApplyArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ApplyArchiveRuleCommandOutput) => void): void;
|
|
50
|
-
|
|
51
|
-
* <p>Cancels the requested policy generation.</p>
|
|
52
|
-
*/
|
|
37
|
+
|
|
53
38
|
cancelPolicyGeneration(args: CancelPolicyGenerationCommandInput, options?: __HttpHandlerOptions): Promise<CancelPolicyGenerationCommandOutput>;
|
|
54
39
|
cancelPolicyGeneration(args: CancelPolicyGenerationCommandInput, cb: (err: any, data?: CancelPolicyGenerationCommandOutput) => void): void;
|
|
55
40
|
cancelPolicyGeneration(args: CancelPolicyGenerationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelPolicyGenerationCommandOutput) => void): void;
|
|
56
|
-
|
|
57
|
-
* <p>Creates an access preview that allows you to preview IAM Access Analyzer findings for your
|
|
58
|
-
* resource before deploying resource permissions.</p>
|
|
59
|
-
*/
|
|
41
|
+
|
|
60
42
|
createAccessPreview(args: CreateAccessPreviewCommandInput, options?: __HttpHandlerOptions): Promise<CreateAccessPreviewCommandOutput>;
|
|
61
43
|
createAccessPreview(args: CreateAccessPreviewCommandInput, cb: (err: any, data?: CreateAccessPreviewCommandOutput) => void): void;
|
|
62
44
|
createAccessPreview(args: CreateAccessPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccessPreviewCommandOutput) => void): void;
|
|
63
|
-
|
|
64
|
-
* <p>Creates an analyzer for your account.</p>
|
|
65
|
-
*/
|
|
45
|
+
|
|
66
46
|
createAnalyzer(args: CreateAnalyzerCommandInput, options?: __HttpHandlerOptions): Promise<CreateAnalyzerCommandOutput>;
|
|
67
47
|
createAnalyzer(args: CreateAnalyzerCommandInput, cb: (err: any, data?: CreateAnalyzerCommandOutput) => void): void;
|
|
68
48
|
createAnalyzer(args: CreateAnalyzerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAnalyzerCommandOutput) => void): void;
|
|
69
|
-
|
|
70
|
-
* <p>Creates an archive rule for the specified analyzer. Archive rules automatically archive
|
|
71
|
-
* new findings that meet the criteria you define when you create the rule.</p>
|
|
72
|
-
* <p>To learn about filter keys that you can use to create an archive rule, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html">IAM Access Analyzer filter keys</a> in the <b>IAM User Guide</b>.</p>
|
|
73
|
-
*/
|
|
49
|
+
|
|
74
50
|
createArchiveRule(args: CreateArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateArchiveRuleCommandOutput>;
|
|
75
51
|
createArchiveRule(args: CreateArchiveRuleCommandInput, cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void): void;
|
|
76
52
|
createArchiveRule(args: CreateArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void): void;
|
|
77
|
-
|
|
78
|
-
* <p>Deletes the specified analyzer. When you delete an analyzer, IAM Access Analyzer is disabled
|
|
79
|
-
* for the account or organization in the current or specific Region. All findings that were
|
|
80
|
-
* generated by the analyzer are deleted. You cannot undo this action.</p>
|
|
81
|
-
*/
|
|
53
|
+
|
|
82
54
|
deleteAnalyzer(args: DeleteAnalyzerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAnalyzerCommandOutput>;
|
|
83
55
|
deleteAnalyzer(args: DeleteAnalyzerCommandInput, cb: (err: any, data?: DeleteAnalyzerCommandOutput) => void): void;
|
|
84
56
|
deleteAnalyzer(args: DeleteAnalyzerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAnalyzerCommandOutput) => void): void;
|
|
85
|
-
|
|
86
|
-
* <p>Deletes the specified archive rule.</p>
|
|
87
|
-
*/
|
|
57
|
+
|
|
88
58
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteArchiveRuleCommandOutput>;
|
|
89
59
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, cb: (err: any, data?: DeleteArchiveRuleCommandOutput) => void): void;
|
|
90
60
|
deleteArchiveRule(args: DeleteArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteArchiveRuleCommandOutput) => void): void;
|
|
91
|
-
|
|
92
|
-
* <p>Retrieves information about an access preview for the specified analyzer.</p>
|
|
93
|
-
*/
|
|
61
|
+
|
|
94
62
|
getAccessPreview(args: GetAccessPreviewCommandInput, options?: __HttpHandlerOptions): Promise<GetAccessPreviewCommandOutput>;
|
|
95
63
|
getAccessPreview(args: GetAccessPreviewCommandInput, cb: (err: any, data?: GetAccessPreviewCommandOutput) => void): void;
|
|
96
64
|
getAccessPreview(args: GetAccessPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccessPreviewCommandOutput) => void): void;
|
|
97
|
-
|
|
98
|
-
* <p>Retrieves information about a resource that was analyzed.</p>
|
|
99
|
-
*/
|
|
65
|
+
|
|
100
66
|
getAnalyzedResource(args: GetAnalyzedResourceCommandInput, options?: __HttpHandlerOptions): Promise<GetAnalyzedResourceCommandOutput>;
|
|
101
67
|
getAnalyzedResource(args: GetAnalyzedResourceCommandInput, cb: (err: any, data?: GetAnalyzedResourceCommandOutput) => void): void;
|
|
102
68
|
getAnalyzedResource(args: GetAnalyzedResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAnalyzedResourceCommandOutput) => void): void;
|
|
103
|
-
|
|
104
|
-
* <p>Retrieves information about the specified analyzer.</p>
|
|
105
|
-
*/
|
|
69
|
+
|
|
106
70
|
getAnalyzer(args: GetAnalyzerCommandInput, options?: __HttpHandlerOptions): Promise<GetAnalyzerCommandOutput>;
|
|
107
71
|
getAnalyzer(args: GetAnalyzerCommandInput, cb: (err: any, data?: GetAnalyzerCommandOutput) => void): void;
|
|
108
72
|
getAnalyzer(args: GetAnalyzerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAnalyzerCommandOutput) => void): void;
|
|
109
|
-
|
|
110
|
-
* <p>Retrieves information about an archive rule.</p>
|
|
111
|
-
* <p>To learn about filter keys that you can use to create an archive rule, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html">IAM Access Analyzer filter keys</a> in the <b>IAM User Guide</b>.</p>
|
|
112
|
-
*/
|
|
73
|
+
|
|
113
74
|
getArchiveRule(args: GetArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetArchiveRuleCommandOutput>;
|
|
114
75
|
getArchiveRule(args: GetArchiveRuleCommandInput, cb: (err: any, data?: GetArchiveRuleCommandOutput) => void): void;
|
|
115
76
|
getArchiveRule(args: GetArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetArchiveRuleCommandOutput) => void): void;
|
|
116
|
-
|
|
117
|
-
* <p>Retrieves information about the specified finding.</p>
|
|
118
|
-
*/
|
|
77
|
+
|
|
119
78
|
getFinding(args: GetFindingCommandInput, options?: __HttpHandlerOptions): Promise<GetFindingCommandOutput>;
|
|
120
79
|
getFinding(args: GetFindingCommandInput, cb: (err: any, data?: GetFindingCommandOutput) => void): void;
|
|
121
80
|
getFinding(args: GetFindingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFindingCommandOutput) => void): void;
|
|
122
|
-
|
|
123
|
-
* <p>Retrieves the policy that was generated using <code>StartPolicyGeneration</code>.
|
|
124
|
-
* </p>
|
|
125
|
-
*/
|
|
81
|
+
|
|
126
82
|
getGeneratedPolicy(args: GetGeneratedPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetGeneratedPolicyCommandOutput>;
|
|
127
83
|
getGeneratedPolicy(args: GetGeneratedPolicyCommandInput, cb: (err: any, data?: GetGeneratedPolicyCommandOutput) => void): void;
|
|
128
84
|
getGeneratedPolicy(args: GetGeneratedPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGeneratedPolicyCommandOutput) => void): void;
|
|
129
|
-
|
|
130
|
-
* <p>Retrieves a list of access preview findings generated by the specified access
|
|
131
|
-
* preview.</p>
|
|
132
|
-
*/
|
|
85
|
+
|
|
133
86
|
listAccessPreviewFindings(args: ListAccessPreviewFindingsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccessPreviewFindingsCommandOutput>;
|
|
134
87
|
listAccessPreviewFindings(args: ListAccessPreviewFindingsCommandInput, cb: (err: any, data?: ListAccessPreviewFindingsCommandOutput) => void): void;
|
|
135
88
|
listAccessPreviewFindings(args: ListAccessPreviewFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessPreviewFindingsCommandOutput) => void): void;
|
|
136
|
-
|
|
137
|
-
* <p>Retrieves a list of access previews for the specified analyzer.</p>
|
|
138
|
-
*/
|
|
89
|
+
|
|
139
90
|
listAccessPreviews(args: ListAccessPreviewsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccessPreviewsCommandOutput>;
|
|
140
91
|
listAccessPreviews(args: ListAccessPreviewsCommandInput, cb: (err: any, data?: ListAccessPreviewsCommandOutput) => void): void;
|
|
141
92
|
listAccessPreviews(args: ListAccessPreviewsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessPreviewsCommandOutput) => void): void;
|
|
142
|
-
|
|
143
|
-
* <p>Retrieves a list of resources of the specified type that have been analyzed by the
|
|
144
|
-
* specified analyzer..</p>
|
|
145
|
-
*/
|
|
93
|
+
|
|
146
94
|
listAnalyzedResources(args: ListAnalyzedResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListAnalyzedResourcesCommandOutput>;
|
|
147
95
|
listAnalyzedResources(args: ListAnalyzedResourcesCommandInput, cb: (err: any, data?: ListAnalyzedResourcesCommandOutput) => void): void;
|
|
148
96
|
listAnalyzedResources(args: ListAnalyzedResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnalyzedResourcesCommandOutput) => void): void;
|
|
149
|
-
|
|
150
|
-
* <p>Retrieves a list of analyzers.</p>
|
|
151
|
-
*/
|
|
97
|
+
|
|
152
98
|
listAnalyzers(args: ListAnalyzersCommandInput, options?: __HttpHandlerOptions): Promise<ListAnalyzersCommandOutput>;
|
|
153
99
|
listAnalyzers(args: ListAnalyzersCommandInput, cb: (err: any, data?: ListAnalyzersCommandOutput) => void): void;
|
|
154
100
|
listAnalyzers(args: ListAnalyzersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnalyzersCommandOutput) => void): void;
|
|
155
|
-
|
|
156
|
-
* <p>Retrieves a list of archive rules created for the specified analyzer.</p>
|
|
157
|
-
*/
|
|
101
|
+
|
|
158
102
|
listArchiveRules(args: ListArchiveRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListArchiveRulesCommandOutput>;
|
|
159
103
|
listArchiveRules(args: ListArchiveRulesCommandInput, cb: (err: any, data?: ListArchiveRulesCommandOutput) => void): void;
|
|
160
104
|
listArchiveRules(args: ListArchiveRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListArchiveRulesCommandOutput) => void): void;
|
|
161
|
-
|
|
162
|
-
* <p>Retrieves a list of findings generated by the specified analyzer.</p>
|
|
163
|
-
* <p>To learn about filter keys that you can use to retrieve a list of findings, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html">IAM Access Analyzer filter keys</a> in the <b>IAM User Guide</b>.</p>
|
|
164
|
-
*/
|
|
105
|
+
|
|
165
106
|
listFindings(args: ListFindingsCommandInput, options?: __HttpHandlerOptions): Promise<ListFindingsCommandOutput>;
|
|
166
107
|
listFindings(args: ListFindingsCommandInput, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
|
|
167
108
|
listFindings(args: ListFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
|
|
168
|
-
|
|
169
|
-
* <p>Lists all of the policy generations requested in the last seven days.</p>
|
|
170
|
-
*/
|
|
109
|
+
|
|
171
110
|
listPolicyGenerations(args: ListPolicyGenerationsCommandInput, options?: __HttpHandlerOptions): Promise<ListPolicyGenerationsCommandOutput>;
|
|
172
111
|
listPolicyGenerations(args: ListPolicyGenerationsCommandInput, cb: (err: any, data?: ListPolicyGenerationsCommandOutput) => void): void;
|
|
173
112
|
listPolicyGenerations(args: ListPolicyGenerationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPolicyGenerationsCommandOutput) => void): void;
|
|
174
|
-
|
|
175
|
-
* <p>Retrieves a list of tags applied to the specified resource.</p>
|
|
176
|
-
*/
|
|
113
|
+
|
|
177
114
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
178
115
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
179
116
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
180
|
-
|
|
181
|
-
* <p>Starts the policy generation request.</p>
|
|
182
|
-
*/
|
|
117
|
+
|
|
183
118
|
startPolicyGeneration(args: StartPolicyGenerationCommandInput, options?: __HttpHandlerOptions): Promise<StartPolicyGenerationCommandOutput>;
|
|
184
119
|
startPolicyGeneration(args: StartPolicyGenerationCommandInput, cb: (err: any, data?: StartPolicyGenerationCommandOutput) => void): void;
|
|
185
120
|
startPolicyGeneration(args: StartPolicyGenerationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartPolicyGenerationCommandOutput) => void): void;
|
|
186
|
-
|
|
187
|
-
* <p>Immediately starts a scan of the policies applied to the specified resource.</p>
|
|
188
|
-
*/
|
|
121
|
+
|
|
189
122
|
startResourceScan(args: StartResourceScanCommandInput, options?: __HttpHandlerOptions): Promise<StartResourceScanCommandOutput>;
|
|
190
123
|
startResourceScan(args: StartResourceScanCommandInput, cb: (err: any, data?: StartResourceScanCommandOutput) => void): void;
|
|
191
124
|
startResourceScan(args: StartResourceScanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartResourceScanCommandOutput) => void): void;
|
|
192
|
-
|
|
193
|
-
* <p>Adds a tag to the specified resource.</p>
|
|
194
|
-
*/
|
|
125
|
+
|
|
195
126
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
196
127
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
197
128
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
198
|
-
|
|
199
|
-
* <p>Removes a tag from the specified resource.</p>
|
|
200
|
-
*/
|
|
129
|
+
|
|
201
130
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
202
131
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
203
132
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
204
|
-
|
|
205
|
-
* <p>Updates the criteria and values for the specified archive rule.</p>
|
|
206
|
-
*/
|
|
133
|
+
|
|
207
134
|
updateArchiveRule(args: UpdateArchiveRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateArchiveRuleCommandOutput>;
|
|
208
135
|
updateArchiveRule(args: UpdateArchiveRuleCommandInput, cb: (err: any, data?: UpdateArchiveRuleCommandOutput) => void): void;
|
|
209
136
|
updateArchiveRule(args: UpdateArchiveRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateArchiveRuleCommandOutput) => void): void;
|
|
210
|
-
|
|
211
|
-
* <p>Updates the status for the specified findings.</p>
|
|
212
|
-
*/
|
|
137
|
+
|
|
213
138
|
updateFindings(args: UpdateFindingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFindingsCommandOutput>;
|
|
214
139
|
updateFindings(args: UpdateFindingsCommandInput, cb: (err: any, data?: UpdateFindingsCommandOutput) => void): void;
|
|
215
140
|
updateFindings(args: UpdateFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFindingsCommandOutput) => void): void;
|
|
216
|
-
|
|
217
|
-
* <p>Requests the validation of a policy and returns a list of findings. The findings help
|
|
218
|
-
* you identify issues and provide actionable recommendations to resolve the issue and enable
|
|
219
|
-
* you to author functional policies that meet security best practices. </p>
|
|
220
|
-
*/
|
|
141
|
+
|
|
221
142
|
validatePolicy(args: ValidatePolicyCommandInput, options?: __HttpHandlerOptions): Promise<ValidatePolicyCommandOutput>;
|
|
222
143
|
validatePolicy(args: ValidatePolicyCommandInput, cb: (err: any, data?: ValidatePolicyCommandOutput) => void): void;
|
|
223
144
|
validatePolicy(args: ValidatePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ValidatePolicyCommandOutput) => void): void;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
1
9
|
import { ApplyArchiveRuleCommandInput, ApplyArchiveRuleCommandOutput } from "./commands/ApplyArchiveRuleCommand";
|
|
2
10
|
import { CancelPolicyGenerationCommandInput, CancelPolicyGenerationCommandOutput } from "./commands/CancelPolicyGenerationCommand";
|
|
3
11
|
import { CreateAccessPreviewCommandInput, CreateAccessPreviewCommandOutput } from "./commands/CreateAccessPreviewCommand";
|
|
@@ -26,143 +34,62 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
26
34
|
import { UpdateArchiveRuleCommandInput, UpdateArchiveRuleCommandOutput } from "./commands/UpdateArchiveRuleCommand";
|
|
27
35
|
import { UpdateFindingsCommandInput, UpdateFindingsCommandOutput } from "./commands/UpdateFindingsCommand";
|
|
28
36
|
import { ValidatePolicyCommandInput, ValidatePolicyCommandOutput } from "./commands/ValidatePolicyCommand";
|
|
29
|
-
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
30
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
31
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
32
|
-
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
33
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
34
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
35
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
36
|
-
import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
37
37
|
export declare type ServiceInputTypes = ApplyArchiveRuleCommandInput | CancelPolicyGenerationCommandInput | CreateAccessPreviewCommandInput | CreateAnalyzerCommandInput | CreateArchiveRuleCommandInput | DeleteAnalyzerCommandInput | DeleteArchiveRuleCommandInput | GetAccessPreviewCommandInput | GetAnalyzedResourceCommandInput | GetAnalyzerCommandInput | GetArchiveRuleCommandInput | GetFindingCommandInput | GetGeneratedPolicyCommandInput | ListAccessPreviewFindingsCommandInput | ListAccessPreviewsCommandInput | ListAnalyzedResourcesCommandInput | ListAnalyzersCommandInput | ListArchiveRulesCommandInput | ListFindingsCommandInput | ListPolicyGenerationsCommandInput | ListTagsForResourceCommandInput | StartPolicyGenerationCommandInput | StartResourceScanCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateArchiveRuleCommandInput | UpdateFindingsCommandInput | ValidatePolicyCommandInput;
|
|
38
38
|
export declare type ServiceOutputTypes = ApplyArchiveRuleCommandOutput | CancelPolicyGenerationCommandOutput | CreateAccessPreviewCommandOutput | CreateAnalyzerCommandOutput | CreateArchiveRuleCommandOutput | DeleteAnalyzerCommandOutput | DeleteArchiveRuleCommandOutput | GetAccessPreviewCommandOutput | GetAnalyzedResourceCommandOutput | GetAnalyzerCommandOutput | GetArchiveRuleCommandOutput | GetFindingCommandOutput | GetGeneratedPolicyCommandOutput | ListAccessPreviewFindingsCommandOutput | ListAccessPreviewsCommandOutput | ListAnalyzedResourcesCommandOutput | ListAnalyzersCommandOutput | ListArchiveRulesCommandOutput | ListFindingsCommandOutput | ListPolicyGenerationsCommandOutput | ListTagsForResourceCommandOutput | StartPolicyGenerationCommandOutput | StartResourceScanCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateArchiveRuleCommandOutput | UpdateFindingsCommandOutput | ValidatePolicyCommandOutput;
|
|
39
39
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
40
|
-
|
|
41
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
42
|
-
*/
|
|
40
|
+
|
|
43
41
|
requestHandler?: __HttpHandler;
|
|
44
|
-
|
|
45
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
46
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
42
|
+
|
|
49
43
|
sha256?: __HashConstructor;
|
|
50
|
-
|
|
51
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
44
|
+
|
|
54
45
|
urlParser?: __UrlParser;
|
|
55
|
-
|
|
56
|
-
* A function that can calculate the length of a request body.
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
46
|
+
|
|
59
47
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
60
|
-
|
|
61
|
-
* A function that converts a stream into an array of bytes.
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
48
|
+
|
|
64
49
|
streamCollector?: __StreamCollector;
|
|
65
|
-
|
|
66
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
50
|
+
|
|
69
51
|
base64Decoder?: __Decoder;
|
|
70
|
-
|
|
71
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
52
|
+
|
|
74
53
|
base64Encoder?: __Encoder;
|
|
75
|
-
|
|
76
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
54
|
+
|
|
79
55
|
utf8Decoder?: __Decoder;
|
|
80
|
-
|
|
81
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
56
|
+
|
|
84
57
|
utf8Encoder?: __Encoder;
|
|
85
|
-
|
|
86
|
-
* The runtime environment.
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
58
|
+
|
|
89
59
|
runtime?: string;
|
|
90
|
-
|
|
91
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
92
|
-
* trait of an operation.
|
|
93
|
-
*/
|
|
60
|
+
|
|
94
61
|
disableHostPrefix?: boolean;
|
|
95
|
-
|
|
96
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
97
|
-
*/
|
|
62
|
+
|
|
98
63
|
maxAttempts?: number | __Provider<number>;
|
|
99
|
-
|
|
100
|
-
* Specifies which retry algorithm to use.
|
|
101
|
-
*/
|
|
64
|
+
|
|
102
65
|
retryMode?: string | __Provider<string>;
|
|
103
|
-
|
|
104
|
-
* Optional logger for logging debug/info/warn/error.
|
|
105
|
-
*/
|
|
66
|
+
|
|
106
67
|
logger?: __Logger;
|
|
107
|
-
|
|
108
|
-
* Unique service identifier.
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
68
|
+
|
|
111
69
|
serviceId?: string;
|
|
112
|
-
|
|
113
|
-
* The AWS region to which this client will send requests
|
|
114
|
-
*/
|
|
70
|
+
|
|
115
71
|
region?: string | __Provider<string>;
|
|
116
|
-
|
|
117
|
-
* Default credentials provider; Not available in browser runtime.
|
|
118
|
-
* @internal
|
|
119
|
-
*/
|
|
72
|
+
|
|
120
73
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
121
|
-
|
|
122
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
74
|
+
|
|
125
75
|
regionInfoProvider?: RegionInfoProvider;
|
|
126
|
-
|
|
127
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
128
|
-
* @internal
|
|
129
|
-
*/
|
|
76
|
+
|
|
130
77
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
131
78
|
}
|
|
132
79
|
declare type AccessAnalyzerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
133
|
-
|
|
134
|
-
* The configuration interface of AccessAnalyzerClient class constructor that set the region, credentials and other options.
|
|
135
|
-
*/
|
|
80
|
+
|
|
136
81
|
export interface AccessAnalyzerClientConfig extends AccessAnalyzerClientConfigType {
|
|
137
82
|
}
|
|
138
83
|
declare type AccessAnalyzerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
139
|
-
|
|
140
|
-
* The resolved configuration interface of AccessAnalyzerClient class. This is resolved and normalized from the {@link AccessAnalyzerClientConfig | constructor configuration interface}.
|
|
141
|
-
*/
|
|
84
|
+
|
|
142
85
|
export interface AccessAnalyzerClientResolvedConfig extends AccessAnalyzerClientResolvedConfigType {
|
|
143
86
|
}
|
|
144
|
-
|
|
145
|
-
* <p>Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to
|
|
146
|
-
* identify any policies that grant access to an external principal. It does this by using
|
|
147
|
-
* logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An
|
|
148
|
-
* external principal can be another Amazon Web Services account, a root user, an IAM user or role, a
|
|
149
|
-
* federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to
|
|
150
|
-
* preview and validate public and cross-account access to your resources before deploying
|
|
151
|
-
* permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can
|
|
152
|
-
* call programmatically. For general information about IAM Access Analyzer, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">Identity and Access Management Access Analyzer</a> in the <b>IAM User Guide</b>.</p>
|
|
153
|
-
* <p>To start using IAM Access Analyzer, you first need to create an analyzer.</p>
|
|
154
|
-
*/
|
|
87
|
+
|
|
155
88
|
export declare class AccessAnalyzerClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AccessAnalyzerClientResolvedConfig> {
|
|
156
|
-
|
|
157
|
-
* The resolved configuration of AccessAnalyzerClient class. This is resolved and normalized from the {@link AccessAnalyzerClientConfig | constructor configuration interface}.
|
|
158
|
-
*/
|
|
89
|
+
|
|
159
90
|
readonly config: AccessAnalyzerClientResolvedConfig;
|
|
160
91
|
constructor(configuration: AccessAnalyzerClientConfig);
|
|
161
|
-
|
|
162
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
163
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
164
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
165
|
-
*/
|
|
92
|
+
|
|
166
93
|
destroy(): void;
|
|
167
94
|
}
|
|
168
95
|
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
4
|
+
import { ApplyArchiveRuleRequest } from "../models/models_0";
|
|
5
|
+
export interface ApplyArchiveRuleCommandInput extends ApplyArchiveRuleRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ApplyArchiveRuleCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ApplyArchiveRuleCommand extends $Command<ApplyArchiveRuleCommandInput, ApplyArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
11
|
+
readonly input: ApplyArchiveRuleCommandInput;
|
|
12
|
+
constructor(input: ApplyArchiveRuleCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ApplyArchiveRuleCommandInput, ApplyArchiveRuleCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -1,34 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
1
3
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
2
4
|
import { CancelPolicyGenerationRequest, CancelPolicyGenerationResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
5
|
export interface CancelPolicyGenerationCommandInput extends CancelPolicyGenerationRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface CancelPolicyGenerationCommandOutput extends CancelPolicyGenerationResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Cancels the requested policy generation.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { AccessAnalyzerClient, CancelPolicyGenerationCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
15
|
-
* // const { AccessAnalyzerClient, CancelPolicyGenerationCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
16
|
-
* const client = new AccessAnalyzerClient(config);
|
|
17
|
-
* const command = new CancelPolicyGenerationCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CancelPolicyGenerationCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CancelPolicyGenerationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class CancelPolicyGenerationCommand extends $Command<CancelPolicyGenerationCommandInput, CancelPolicyGenerationCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
27
11
|
readonly input: CancelPolicyGenerationCommandInput;
|
|
28
12
|
constructor(input: CancelPolicyGenerationCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelPolicyGenerationCommandInput, CancelPolicyGenerationCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
4
|
+
import { CreateAccessPreviewRequest, CreateAccessPreviewResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateAccessPreviewCommandInput extends CreateAccessPreviewRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateAccessPreviewCommandOutput extends CreateAccessPreviewResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CreateAccessPreviewCommand extends $Command<CreateAccessPreviewCommandInput, CreateAccessPreviewCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
11
|
+
readonly input: CreateAccessPreviewCommandInput;
|
|
12
|
+
constructor(input: CreateAccessPreviewCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAccessPreviewCommandInput, CreateAccessPreviewCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
4
|
+
import { CreateAnalyzerRequest, CreateAnalyzerResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateAnalyzerCommandInput extends CreateAnalyzerRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateAnalyzerCommandOutput extends CreateAnalyzerResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CreateAnalyzerCommand extends $Command<CreateAnalyzerCommandInput, CreateAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
11
|
+
readonly input: CreateAnalyzerCommandInput;
|
|
12
|
+
constructor(input: CreateAnalyzerCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAnalyzerCommandInput, CreateAnalyzerCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
4
|
+
import { CreateArchiveRuleRequest } from "../models/models_0";
|
|
5
|
+
export interface CreateArchiveRuleCommandInput extends CreateArchiveRuleRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateArchiveRuleCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CreateArchiveRuleCommand extends $Command<CreateArchiveRuleCommandInput, CreateArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
11
|
+
readonly input: CreateArchiveRuleCommandInput;
|
|
12
|
+
constructor(input: CreateArchiveRuleCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateArchiveRuleCommandInput, CreateArchiveRuleCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
4
|
+
import { DeleteAnalyzerRequest } from "../models/models_0";
|
|
5
|
+
export interface DeleteAnalyzerCommandInput extends DeleteAnalyzerRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteAnalyzerCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteAnalyzerCommand extends $Command<DeleteAnalyzerCommandInput, DeleteAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteAnalyzerCommandInput;
|
|
12
|
+
constructor(input: DeleteAnalyzerCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAnalyzerCommandInput, DeleteAnalyzerCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
4
|
+
import { DeleteArchiveRuleRequest } from "../models/models_0";
|
|
5
|
+
export interface DeleteArchiveRuleCommandInput extends DeleteArchiveRuleRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteArchiveRuleCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteArchiveRuleCommand extends $Command<DeleteArchiveRuleCommandInput, DeleteArchiveRuleCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteArchiveRuleCommandInput;
|
|
12
|
+
constructor(input: DeleteArchiveRuleCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteArchiveRuleCommandInput, DeleteArchiveRuleCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
4
|
+
import { GetAccessPreviewRequest, GetAccessPreviewResponse } from "../models/models_0";
|
|
5
|
+
export interface GetAccessPreviewCommandInput extends GetAccessPreviewRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetAccessPreviewCommandOutput extends GetAccessPreviewResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetAccessPreviewCommand extends $Command<GetAccessPreviewCommandInput, GetAccessPreviewCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
11
|
+
readonly input: GetAccessPreviewCommandInput;
|
|
12
|
+
constructor(input: GetAccessPreviewCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAccessPreviewCommandInput, GetAccessPreviewCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -1,34 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
1
3
|
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
2
4
|
import { GetAnalyzedResourceRequest, GetAnalyzedResourceResponse } from "../models/models_0";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
5
|
export interface GetAnalyzedResourceCommandInput extends GetAnalyzedResourceRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface GetAnalyzedResourceCommandOutput extends GetAnalyzedResourceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Retrieves information about a resource that was analyzed.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { AccessAnalyzerClient, GetAnalyzedResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
15
|
-
* // const { AccessAnalyzerClient, GetAnalyzedResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
16
|
-
* const client = new AccessAnalyzerClient(config);
|
|
17
|
-
* const command = new GetAnalyzedResourceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetAnalyzedResourceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetAnalyzedResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class GetAnalyzedResourceCommand extends $Command<GetAnalyzedResourceCommandInput, GetAnalyzedResourceCommandOutput, AccessAnalyzerClientResolvedConfig> {
|
|
27
11
|
readonly input: GetAnalyzedResourceCommandInput;
|
|
28
12
|
constructor(input: GetAnalyzedResourceCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccessAnalyzerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAnalyzedResourceCommandInput, GetAnalyzedResourceCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|