@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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
34
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
35
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
* **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
|
|
47
|
+
* **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
|
|
7
54
|
|
|
8
55
|
|
|
@@ -30,17 +30,6 @@ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
|
30
30
|
const UpdateArchiveRuleCommand_1 = require("./commands/UpdateArchiveRuleCommand");
|
|
31
31
|
const UpdateFindingsCommand_1 = require("./commands/UpdateFindingsCommand");
|
|
32
32
|
const ValidatePolicyCommand_1 = require("./commands/ValidatePolicyCommand");
|
|
33
|
-
/**
|
|
34
|
-
* <p>Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to
|
|
35
|
-
* identify any policies that grant access to an external principal. It does this by using
|
|
36
|
-
* logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An
|
|
37
|
-
* external principal can be another Amazon Web Services account, a root user, an IAM user or role, a
|
|
38
|
-
* federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to
|
|
39
|
-
* preview and validate public and cross-account access to your resources before deploying
|
|
40
|
-
* permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can
|
|
41
|
-
* 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>
|
|
42
|
-
* <p>To start using IAM Access Analyzer, you first need to create an analyzer.</p>
|
|
43
|
-
*/
|
|
44
33
|
class AccessAnalyzer extends AccessAnalyzerClient_1.AccessAnalyzerClient {
|
|
45
34
|
applyArchiveRule(args, optionsOrCb, cb) {
|
|
46
35
|
const command = new ApplyArchiveRuleCommand_1.ApplyArchiveRuleCommand(args);
|
|
@@ -436,4 +425,3 @@ class AccessAnalyzer extends AccessAnalyzerClient_1.AccessAnalyzerClient {
|
|
|
436
425
|
}
|
|
437
426
|
}
|
|
438
427
|
exports.AccessAnalyzer = AccessAnalyzer;
|
|
439
|
-
//# sourceMappingURL=AccessAnalyzer.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccessAnalyzerClient = void 0;
|
|
4
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
+
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
|
+
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
|
+
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
|
+
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
|
+
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
|
+
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
+
class AccessAnalyzerClient extends smithy_client_1.Client {
|
|
14
|
+
constructor(configuration) {
|
|
15
|
+
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
+
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
+
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
+
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
+
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
+
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
+
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
22
|
+
super(_config_6);
|
|
23
|
+
this.config = _config_6;
|
|
24
|
+
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
25
|
+
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
26
|
+
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
27
|
+
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
28
|
+
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
29
|
+
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
30
|
+
}
|
|
31
|
+
destroy() {
|
|
32
|
+
super.destroy();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.AccessAnalyzerClient = AccessAnalyzerClient;
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ApplyArchiveRuleCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* criteria.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { AccessAnalyzerClient, ApplyArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
15
|
-
* // const { AccessAnalyzerClient, ApplyArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
16
|
-
* const client = new AccessAnalyzerClient(config);
|
|
17
|
-
* const command = new ApplyArchiveRuleCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ApplyArchiveRuleCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ApplyArchiveRuleCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
26
8
|
class ApplyArchiveRuleCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class ApplyArchiveRuleCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.ApplyArchiveRuleCommand = ApplyArchiveRuleCommand;
|
|
62
|
-
//# sourceMappingURL=ApplyArchiveRuleCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CancelPolicyGenerationCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AccessAnalyzerClient, CancelPolicyGenerationCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
14
|
-
* // const { AccessAnalyzerClient, CancelPolicyGenerationCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
15
|
-
* const client = new AccessAnalyzerClient(config);
|
|
16
|
-
* const command = new CancelPolicyGenerationCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CancelPolicyGenerationCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CancelPolicyGenerationCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
25
8
|
class CancelPolicyGenerationCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class CancelPolicyGenerationCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.CancelPolicyGenerationCommand = CancelPolicyGenerationCommand;
|
|
61
|
-
//# sourceMappingURL=CancelPolicyGenerationCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateAccessPreviewCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* resource before deploying resource permissions.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { AccessAnalyzerClient, CreateAccessPreviewCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
15
|
-
* // const { AccessAnalyzerClient, CreateAccessPreviewCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
16
|
-
* const client = new AccessAnalyzerClient(config);
|
|
17
|
-
* const command = new CreateAccessPreviewCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateAccessPreviewCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateAccessPreviewCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
26
8
|
class CreateAccessPreviewCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class CreateAccessPreviewCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.CreateAccessPreviewCommand = CreateAccessPreviewCommand;
|
|
62
|
-
//# sourceMappingURL=CreateAccessPreviewCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateAnalyzerCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AccessAnalyzerClient, CreateAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
14
|
-
* // const { AccessAnalyzerClient, CreateAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
15
|
-
* const client = new AccessAnalyzerClient(config);
|
|
16
|
-
* const command = new CreateAnalyzerCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateAnalyzerCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateAnalyzerCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
25
8
|
class CreateAnalyzerCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class CreateAnalyzerCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.CreateAnalyzerCommand = CreateAnalyzerCommand;
|
|
61
|
-
//# sourceMappingURL=CreateAnalyzerCommand.js.map
|
|
@@ -1,41 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateArchiveRuleCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* new findings that meet the criteria you define when you create the rule.</p>
|
|
11
|
-
* <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>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AccessAnalyzerClient, CreateArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
16
|
-
* // const { AccessAnalyzerClient, CreateArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
17
|
-
* const client = new AccessAnalyzerClient(config);
|
|
18
|
-
* const command = new CreateArchiveRuleCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link CreateArchiveRuleCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link CreateArchiveRuleCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
27
8
|
class CreateArchiveRuleCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -60,4 +34,3 @@ class CreateArchiveRuleCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.CreateArchiveRuleCommand = CreateArchiveRuleCommand;
|
|
63
|
-
//# sourceMappingURL=CreateArchiveRuleCommand.js.map
|
|
@@ -1,41 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteAnalyzerCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* for the account or organization in the current or specific Region. All findings that were
|
|
11
|
-
* generated by the analyzer are deleted. You cannot undo this action.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AccessAnalyzerClient, DeleteAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
16
|
-
* // const { AccessAnalyzerClient, DeleteAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
17
|
-
* const client = new AccessAnalyzerClient(config);
|
|
18
|
-
* const command = new DeleteAnalyzerCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteAnalyzerCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteAnalyzerCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
27
8
|
class DeleteAnalyzerCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -60,4 +34,3 @@ class DeleteAnalyzerCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.DeleteAnalyzerCommand = DeleteAnalyzerCommand;
|
|
63
|
-
//# sourceMappingURL=DeleteAnalyzerCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteArchiveRuleCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AccessAnalyzerClient, DeleteArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
14
|
-
* // const { AccessAnalyzerClient, DeleteArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
15
|
-
* const client = new AccessAnalyzerClient(config);
|
|
16
|
-
* const command = new DeleteArchiveRuleCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteArchiveRuleCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteArchiveRuleCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
25
8
|
class DeleteArchiveRuleCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class DeleteArchiveRuleCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DeleteArchiveRuleCommand = DeleteArchiveRuleCommand;
|
|
61
|
-
//# sourceMappingURL=DeleteArchiveRuleCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetAccessPreviewCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AccessAnalyzerClient, GetAccessPreviewCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
14
|
-
* // const { AccessAnalyzerClient, GetAccessPreviewCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
15
|
-
* const client = new AccessAnalyzerClient(config);
|
|
16
|
-
* const command = new GetAccessPreviewCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetAccessPreviewCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetAccessPreviewCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
25
8
|
class GetAccessPreviewCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class GetAccessPreviewCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.GetAccessPreviewCommand = GetAccessPreviewCommand;
|
|
61
|
-
//# sourceMappingURL=GetAccessPreviewCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetAnalyzedResourceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AccessAnalyzerClient, GetAnalyzedResourceCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
14
|
-
* // const { AccessAnalyzerClient, GetAnalyzedResourceCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
15
|
-
* const client = new AccessAnalyzerClient(config);
|
|
16
|
-
* const command = new GetAnalyzedResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetAnalyzedResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetAnalyzedResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
25
8
|
class GetAnalyzedResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class GetAnalyzedResourceCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.GetAnalyzedResourceCommand = GetAnalyzedResourceCommand;
|
|
61
|
-
//# sourceMappingURL=GetAnalyzedResourceCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetAnalyzerCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { AccessAnalyzerClient, GetAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
14
|
-
* // const { AccessAnalyzerClient, GetAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
15
|
-
* const client = new AccessAnalyzerClient(config);
|
|
16
|
-
* const command = new GetAnalyzerCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetAnalyzerCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetAnalyzerCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
25
8
|
class GetAnalyzerCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class GetAnalyzerCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.GetAnalyzerCommand = GetAnalyzerCommand;
|
|
61
|
-
//# sourceMappingURL=GetAnalyzerCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetArchiveRuleCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* <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>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { AccessAnalyzerClient, GetArchiveRuleCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
15
|
-
* // const { AccessAnalyzerClient, GetArchiveRuleCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
16
|
-
* const client = new AccessAnalyzerClient(config);
|
|
17
|
-
* const command = new GetArchiveRuleCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetArchiveRuleCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetArchiveRuleCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link AccessAnalyzerClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
26
8
|
class GetArchiveRuleCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class GetArchiveRuleCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.GetArchiveRuleCommand = GetArchiveRuleCommand;
|
|
62
|
-
//# sourceMappingURL=GetArchiveRuleCommand.js.map
|