@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
package/AccessAnalyzerClient.ts
DELETED
|
@@ -1,351 +0,0 @@
|
|
|
1
|
-
import { ApplyArchiveRuleCommandInput, ApplyArchiveRuleCommandOutput } from "./commands/ApplyArchiveRuleCommand";
|
|
2
|
-
import {
|
|
3
|
-
CancelPolicyGenerationCommandInput,
|
|
4
|
-
CancelPolicyGenerationCommandOutput,
|
|
5
|
-
} from "./commands/CancelPolicyGenerationCommand";
|
|
6
|
-
import {
|
|
7
|
-
CreateAccessPreviewCommandInput,
|
|
8
|
-
CreateAccessPreviewCommandOutput,
|
|
9
|
-
} from "./commands/CreateAccessPreviewCommand";
|
|
10
|
-
import { CreateAnalyzerCommandInput, CreateAnalyzerCommandOutput } from "./commands/CreateAnalyzerCommand";
|
|
11
|
-
import { CreateArchiveRuleCommandInput, CreateArchiveRuleCommandOutput } from "./commands/CreateArchiveRuleCommand";
|
|
12
|
-
import { DeleteAnalyzerCommandInput, DeleteAnalyzerCommandOutput } from "./commands/DeleteAnalyzerCommand";
|
|
13
|
-
import { DeleteArchiveRuleCommandInput, DeleteArchiveRuleCommandOutput } from "./commands/DeleteArchiveRuleCommand";
|
|
14
|
-
import { GetAccessPreviewCommandInput, GetAccessPreviewCommandOutput } from "./commands/GetAccessPreviewCommand";
|
|
15
|
-
import {
|
|
16
|
-
GetAnalyzedResourceCommandInput,
|
|
17
|
-
GetAnalyzedResourceCommandOutput,
|
|
18
|
-
} from "./commands/GetAnalyzedResourceCommand";
|
|
19
|
-
import { GetAnalyzerCommandInput, GetAnalyzerCommandOutput } from "./commands/GetAnalyzerCommand";
|
|
20
|
-
import { GetArchiveRuleCommandInput, GetArchiveRuleCommandOutput } from "./commands/GetArchiveRuleCommand";
|
|
21
|
-
import { GetFindingCommandInput, GetFindingCommandOutput } from "./commands/GetFindingCommand";
|
|
22
|
-
import { GetGeneratedPolicyCommandInput, GetGeneratedPolicyCommandOutput } from "./commands/GetGeneratedPolicyCommand";
|
|
23
|
-
import {
|
|
24
|
-
ListAccessPreviewFindingsCommandInput,
|
|
25
|
-
ListAccessPreviewFindingsCommandOutput,
|
|
26
|
-
} from "./commands/ListAccessPreviewFindingsCommand";
|
|
27
|
-
import { ListAccessPreviewsCommandInput, ListAccessPreviewsCommandOutput } from "./commands/ListAccessPreviewsCommand";
|
|
28
|
-
import {
|
|
29
|
-
ListAnalyzedResourcesCommandInput,
|
|
30
|
-
ListAnalyzedResourcesCommandOutput,
|
|
31
|
-
} from "./commands/ListAnalyzedResourcesCommand";
|
|
32
|
-
import { ListAnalyzersCommandInput, ListAnalyzersCommandOutput } from "./commands/ListAnalyzersCommand";
|
|
33
|
-
import { ListArchiveRulesCommandInput, ListArchiveRulesCommandOutput } from "./commands/ListArchiveRulesCommand";
|
|
34
|
-
import { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
|
|
35
|
-
import {
|
|
36
|
-
ListPolicyGenerationsCommandInput,
|
|
37
|
-
ListPolicyGenerationsCommandOutput,
|
|
38
|
-
} from "./commands/ListPolicyGenerationsCommand";
|
|
39
|
-
import {
|
|
40
|
-
ListTagsForResourceCommandInput,
|
|
41
|
-
ListTagsForResourceCommandOutput,
|
|
42
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
43
|
-
import {
|
|
44
|
-
StartPolicyGenerationCommandInput,
|
|
45
|
-
StartPolicyGenerationCommandOutput,
|
|
46
|
-
} from "./commands/StartPolicyGenerationCommand";
|
|
47
|
-
import { StartResourceScanCommandInput, StartResourceScanCommandOutput } from "./commands/StartResourceScanCommand";
|
|
48
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
49
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
50
|
-
import { UpdateArchiveRuleCommandInput, UpdateArchiveRuleCommandOutput } from "./commands/UpdateArchiveRuleCommand";
|
|
51
|
-
import { UpdateFindingsCommandInput, UpdateFindingsCommandOutput } from "./commands/UpdateFindingsCommand";
|
|
52
|
-
import { ValidatePolicyCommandInput, ValidatePolicyCommandOutput } from "./commands/ValidatePolicyCommand";
|
|
53
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
54
|
-
import {
|
|
55
|
-
EndpointsInputConfig,
|
|
56
|
-
EndpointsResolvedConfig,
|
|
57
|
-
RegionInputConfig,
|
|
58
|
-
RegionResolvedConfig,
|
|
59
|
-
resolveEndpointsConfig,
|
|
60
|
-
resolveRegionConfig,
|
|
61
|
-
} from "@aws-sdk/config-resolver";
|
|
62
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
63
|
-
import {
|
|
64
|
-
HostHeaderInputConfig,
|
|
65
|
-
HostHeaderResolvedConfig,
|
|
66
|
-
getHostHeaderPlugin,
|
|
67
|
-
resolveHostHeaderConfig,
|
|
68
|
-
} from "@aws-sdk/middleware-host-header";
|
|
69
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
70
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
71
|
-
import {
|
|
72
|
-
AwsAuthInputConfig,
|
|
73
|
-
AwsAuthResolvedConfig,
|
|
74
|
-
getAwsAuthPlugin,
|
|
75
|
-
resolveAwsAuthConfig,
|
|
76
|
-
} from "@aws-sdk/middleware-signing";
|
|
77
|
-
import {
|
|
78
|
-
UserAgentInputConfig,
|
|
79
|
-
UserAgentResolvedConfig,
|
|
80
|
-
getUserAgentPlugin,
|
|
81
|
-
resolveUserAgentConfig,
|
|
82
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
83
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
84
|
-
import {
|
|
85
|
-
Client as __Client,
|
|
86
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
87
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
88
|
-
} from "@aws-sdk/smithy-client";
|
|
89
|
-
import {
|
|
90
|
-
Provider,
|
|
91
|
-
RegionInfoProvider,
|
|
92
|
-
Credentials as __Credentials,
|
|
93
|
-
Decoder as __Decoder,
|
|
94
|
-
Encoder as __Encoder,
|
|
95
|
-
Hash as __Hash,
|
|
96
|
-
HashConstructor as __HashConstructor,
|
|
97
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
98
|
-
Logger as __Logger,
|
|
99
|
-
Provider as __Provider,
|
|
100
|
-
StreamCollector as __StreamCollector,
|
|
101
|
-
UrlParser as __UrlParser,
|
|
102
|
-
UserAgent as __UserAgent,
|
|
103
|
-
} from "@aws-sdk/types";
|
|
104
|
-
|
|
105
|
-
export type ServiceInputTypes =
|
|
106
|
-
| ApplyArchiveRuleCommandInput
|
|
107
|
-
| CancelPolicyGenerationCommandInput
|
|
108
|
-
| CreateAccessPreviewCommandInput
|
|
109
|
-
| CreateAnalyzerCommandInput
|
|
110
|
-
| CreateArchiveRuleCommandInput
|
|
111
|
-
| DeleteAnalyzerCommandInput
|
|
112
|
-
| DeleteArchiveRuleCommandInput
|
|
113
|
-
| GetAccessPreviewCommandInput
|
|
114
|
-
| GetAnalyzedResourceCommandInput
|
|
115
|
-
| GetAnalyzerCommandInput
|
|
116
|
-
| GetArchiveRuleCommandInput
|
|
117
|
-
| GetFindingCommandInput
|
|
118
|
-
| GetGeneratedPolicyCommandInput
|
|
119
|
-
| ListAccessPreviewFindingsCommandInput
|
|
120
|
-
| ListAccessPreviewsCommandInput
|
|
121
|
-
| ListAnalyzedResourcesCommandInput
|
|
122
|
-
| ListAnalyzersCommandInput
|
|
123
|
-
| ListArchiveRulesCommandInput
|
|
124
|
-
| ListFindingsCommandInput
|
|
125
|
-
| ListPolicyGenerationsCommandInput
|
|
126
|
-
| ListTagsForResourceCommandInput
|
|
127
|
-
| StartPolicyGenerationCommandInput
|
|
128
|
-
| StartResourceScanCommandInput
|
|
129
|
-
| TagResourceCommandInput
|
|
130
|
-
| UntagResourceCommandInput
|
|
131
|
-
| UpdateArchiveRuleCommandInput
|
|
132
|
-
| UpdateFindingsCommandInput
|
|
133
|
-
| ValidatePolicyCommandInput;
|
|
134
|
-
|
|
135
|
-
export type ServiceOutputTypes =
|
|
136
|
-
| ApplyArchiveRuleCommandOutput
|
|
137
|
-
| CancelPolicyGenerationCommandOutput
|
|
138
|
-
| CreateAccessPreviewCommandOutput
|
|
139
|
-
| CreateAnalyzerCommandOutput
|
|
140
|
-
| CreateArchiveRuleCommandOutput
|
|
141
|
-
| DeleteAnalyzerCommandOutput
|
|
142
|
-
| DeleteArchiveRuleCommandOutput
|
|
143
|
-
| GetAccessPreviewCommandOutput
|
|
144
|
-
| GetAnalyzedResourceCommandOutput
|
|
145
|
-
| GetAnalyzerCommandOutput
|
|
146
|
-
| GetArchiveRuleCommandOutput
|
|
147
|
-
| GetFindingCommandOutput
|
|
148
|
-
| GetGeneratedPolicyCommandOutput
|
|
149
|
-
| ListAccessPreviewFindingsCommandOutput
|
|
150
|
-
| ListAccessPreviewsCommandOutput
|
|
151
|
-
| ListAnalyzedResourcesCommandOutput
|
|
152
|
-
| ListAnalyzersCommandOutput
|
|
153
|
-
| ListArchiveRulesCommandOutput
|
|
154
|
-
| ListFindingsCommandOutput
|
|
155
|
-
| ListPolicyGenerationsCommandOutput
|
|
156
|
-
| ListTagsForResourceCommandOutput
|
|
157
|
-
| StartPolicyGenerationCommandOutput
|
|
158
|
-
| StartResourceScanCommandOutput
|
|
159
|
-
| TagResourceCommandOutput
|
|
160
|
-
| UntagResourceCommandOutput
|
|
161
|
-
| UpdateArchiveRuleCommandOutput
|
|
162
|
-
| UpdateFindingsCommandOutput
|
|
163
|
-
| ValidatePolicyCommandOutput;
|
|
164
|
-
|
|
165
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
166
|
-
/**
|
|
167
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
168
|
-
*/
|
|
169
|
-
requestHandler?: __HttpHandler;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
173
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
174
|
-
* @internal
|
|
175
|
-
*/
|
|
176
|
-
sha256?: __HashConstructor;
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
180
|
-
* @internal
|
|
181
|
-
*/
|
|
182
|
-
urlParser?: __UrlParser;
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* A function that can calculate the length of a request body.
|
|
186
|
-
* @internal
|
|
187
|
-
*/
|
|
188
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* A function that converts a stream into an array of bytes.
|
|
192
|
-
* @internal
|
|
193
|
-
*/
|
|
194
|
-
streamCollector?: __StreamCollector;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
198
|
-
* @internal
|
|
199
|
-
*/
|
|
200
|
-
base64Decoder?: __Decoder;
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
204
|
-
* @internal
|
|
205
|
-
*/
|
|
206
|
-
base64Encoder?: __Encoder;
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
210
|
-
* @internal
|
|
211
|
-
*/
|
|
212
|
-
utf8Decoder?: __Decoder;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
216
|
-
* @internal
|
|
217
|
-
*/
|
|
218
|
-
utf8Encoder?: __Encoder;
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* The runtime environment.
|
|
222
|
-
* @internal
|
|
223
|
-
*/
|
|
224
|
-
runtime?: string;
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
228
|
-
* trait of an operation.
|
|
229
|
-
*/
|
|
230
|
-
disableHostPrefix?: boolean;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
234
|
-
*/
|
|
235
|
-
maxAttempts?: number | __Provider<number>;
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* Specifies which retry algorithm to use.
|
|
239
|
-
*/
|
|
240
|
-
retryMode?: string | __Provider<string>;
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* Optional logger for logging debug/info/warn/error.
|
|
244
|
-
*/
|
|
245
|
-
logger?: __Logger;
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Unique service identifier.
|
|
249
|
-
* @internal
|
|
250
|
-
*/
|
|
251
|
-
serviceId?: string;
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* The AWS region to which this client will send requests
|
|
255
|
-
*/
|
|
256
|
-
region?: string | __Provider<string>;
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* Default credentials provider; Not available in browser runtime.
|
|
260
|
-
* @internal
|
|
261
|
-
*/
|
|
262
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
266
|
-
* @internal
|
|
267
|
-
*/
|
|
268
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
272
|
-
* @internal
|
|
273
|
-
*/
|
|
274
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
type AccessAnalyzerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
278
|
-
ClientDefaults &
|
|
279
|
-
RegionInputConfig &
|
|
280
|
-
EndpointsInputConfig &
|
|
281
|
-
RetryInputConfig &
|
|
282
|
-
HostHeaderInputConfig &
|
|
283
|
-
AwsAuthInputConfig &
|
|
284
|
-
UserAgentInputConfig;
|
|
285
|
-
/**
|
|
286
|
-
* The configuration interface of AccessAnalyzerClient class constructor that set the region, credentials and other options.
|
|
287
|
-
*/
|
|
288
|
-
export interface AccessAnalyzerClientConfig extends AccessAnalyzerClientConfigType {}
|
|
289
|
-
|
|
290
|
-
type AccessAnalyzerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
291
|
-
Required<ClientDefaults> &
|
|
292
|
-
RegionResolvedConfig &
|
|
293
|
-
EndpointsResolvedConfig &
|
|
294
|
-
RetryResolvedConfig &
|
|
295
|
-
HostHeaderResolvedConfig &
|
|
296
|
-
AwsAuthResolvedConfig &
|
|
297
|
-
UserAgentResolvedConfig;
|
|
298
|
-
/**
|
|
299
|
-
* The resolved configuration interface of AccessAnalyzerClient class. This is resolved and normalized from the {@link AccessAnalyzerClientConfig | constructor configuration interface}.
|
|
300
|
-
*/
|
|
301
|
-
export interface AccessAnalyzerClientResolvedConfig extends AccessAnalyzerClientResolvedConfigType {}
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
* <p>Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to
|
|
305
|
-
* identify any policies that grant access to an external principal. It does this by using
|
|
306
|
-
* logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An
|
|
307
|
-
* external principal can be another Amazon Web Services account, a root user, an IAM user or role, a
|
|
308
|
-
* federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to
|
|
309
|
-
* preview and validate public and cross-account access to your resources before deploying
|
|
310
|
-
* permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can
|
|
311
|
-
* 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>
|
|
312
|
-
* <p>To start using IAM Access Analyzer, you first need to create an analyzer.</p>
|
|
313
|
-
*/
|
|
314
|
-
export class AccessAnalyzerClient extends __Client<
|
|
315
|
-
__HttpHandlerOptions,
|
|
316
|
-
ServiceInputTypes,
|
|
317
|
-
ServiceOutputTypes,
|
|
318
|
-
AccessAnalyzerClientResolvedConfig
|
|
319
|
-
> {
|
|
320
|
-
/**
|
|
321
|
-
* The resolved configuration of AccessAnalyzerClient class. This is resolved and normalized from the {@link AccessAnalyzerClientConfig | constructor configuration interface}.
|
|
322
|
-
*/
|
|
323
|
-
readonly config: AccessAnalyzerClientResolvedConfig;
|
|
324
|
-
|
|
325
|
-
constructor(configuration: AccessAnalyzerClientConfig) {
|
|
326
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
327
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
328
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
329
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
330
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
331
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
332
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
333
|
-
super(_config_6);
|
|
334
|
-
this.config = _config_6;
|
|
335
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
336
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
337
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
338
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
339
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
340
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
345
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
346
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
347
|
-
*/
|
|
348
|
-
destroy(): void {
|
|
349
|
-
super.destroy();
|
|
350
|
-
}
|
|
351
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
2
|
-
import { ApplyArchiveRuleRequest } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ApplyArchiveRuleCommand,
|
|
5
|
-
serializeAws_restJson1ApplyArchiveRuleCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ApplyArchiveRuleCommandInput extends ApplyArchiveRuleRequest {}
|
|
21
|
-
export interface ApplyArchiveRuleCommandOutput extends __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retroactively applies the archive rule to existing findings that meet the archive rule
|
|
25
|
-
* criteria.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AccessAnalyzerClient, ApplyArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
30
|
-
* // const { AccessAnalyzerClient, ApplyArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
31
|
-
* const client = new AccessAnalyzerClient(config);
|
|
32
|
-
* const command = new ApplyArchiveRuleCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ApplyArchiveRuleCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ApplyArchiveRuleCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ApplyArchiveRuleCommand extends $Command<
|
|
42
|
-
ApplyArchiveRuleCommandInput,
|
|
43
|
-
ApplyArchiveRuleCommandOutput,
|
|
44
|
-
AccessAnalyzerClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ApplyArchiveRuleCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AccessAnalyzerClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ApplyArchiveRuleCommandInput, ApplyArchiveRuleCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AccessAnalyzerClient";
|
|
69
|
-
const commandName = "ApplyArchiveRuleCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ApplyArchiveRuleRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ApplyArchiveRuleCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ApplyArchiveRuleCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ApplyArchiveRuleCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ApplyArchiveRuleCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
2
|
-
import { CancelPolicyGenerationRequest, CancelPolicyGenerationResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CancelPolicyGenerationCommand,
|
|
5
|
-
serializeAws_restJson1CancelPolicyGenerationCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CancelPolicyGenerationCommandInput extends CancelPolicyGenerationRequest {}
|
|
21
|
-
export interface CancelPolicyGenerationCommandOutput extends CancelPolicyGenerationResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Cancels the requested policy generation.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AccessAnalyzerClient, CancelPolicyGenerationCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
29
|
-
* // const { AccessAnalyzerClient, CancelPolicyGenerationCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
30
|
-
* const client = new AccessAnalyzerClient(config);
|
|
31
|
-
* const command = new CancelPolicyGenerationCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CancelPolicyGenerationCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CancelPolicyGenerationCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CancelPolicyGenerationCommand extends $Command<
|
|
41
|
-
CancelPolicyGenerationCommandInput,
|
|
42
|
-
CancelPolicyGenerationCommandOutput,
|
|
43
|
-
AccessAnalyzerClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CancelPolicyGenerationCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AccessAnalyzerClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CancelPolicyGenerationCommandInput, CancelPolicyGenerationCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AccessAnalyzerClient";
|
|
68
|
-
const commandName = "CancelPolicyGenerationCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CancelPolicyGenerationRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CancelPolicyGenerationResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CancelPolicyGenerationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1CancelPolicyGenerationCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CancelPolicyGenerationCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1CancelPolicyGenerationCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
2
|
-
import { CreateAccessPreviewRequest, CreateAccessPreviewResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CreateAccessPreviewCommand,
|
|
5
|
-
serializeAws_restJson1CreateAccessPreviewCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateAccessPreviewCommandInput extends CreateAccessPreviewRequest {}
|
|
21
|
-
export interface CreateAccessPreviewCommandOutput extends CreateAccessPreviewResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates an access preview that allows you to preview IAM Access Analyzer findings for your
|
|
25
|
-
* resource before deploying resource permissions.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AccessAnalyzerClient, CreateAccessPreviewCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
30
|
-
* // const { AccessAnalyzerClient, CreateAccessPreviewCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
31
|
-
* const client = new AccessAnalyzerClient(config);
|
|
32
|
-
* const command = new CreateAccessPreviewCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateAccessPreviewCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateAccessPreviewCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateAccessPreviewCommand extends $Command<
|
|
42
|
-
CreateAccessPreviewCommandInput,
|
|
43
|
-
CreateAccessPreviewCommandOutput,
|
|
44
|
-
AccessAnalyzerClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateAccessPreviewCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AccessAnalyzerClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<CreateAccessPreviewCommandInput, CreateAccessPreviewCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AccessAnalyzerClient";
|
|
69
|
-
const commandName = "CreateAccessPreviewCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateAccessPreviewRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateAccessPreviewResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: CreateAccessPreviewCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1CreateAccessPreviewCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateAccessPreviewCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1CreateAccessPreviewCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|