Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AccessAnalyzer

import { AccessAnalyzer } from "https://aws-api.deno.dev/v0.3/services/accessanalyzer.ts?docs=full";
class AccessAnalyzer {
constructor(apiFactory: client.ApiFactory);
async applyArchiveRule(params: ApplyArchiveRuleRequest, opts?: client.RequestOptions): Promise<void>;
async cancelPolicyGeneration(params: CancelPolicyGenerationRequest, opts?: client.RequestOptions): Promise<void>;
async createAccessPreview(params: CreateAccessPreviewRequest, opts?: client.RequestOptions): Promise<CreateAccessPreviewResponse>;
async createAnalyzer(params: CreateAnalyzerRequest, opts?: client.RequestOptions): Promise<CreateAnalyzerResponse>;
async createArchiveRule(params: CreateArchiveRuleRequest, opts?: client.RequestOptions): Promise<void>;
async deleteAnalyzer(params: DeleteAnalyzerRequest, opts?: client.RequestOptions): Promise<void>;
async deleteArchiveRule(params: DeleteArchiveRuleRequest, opts?: client.RequestOptions): Promise<void>;
async getAccessPreview(params: GetAccessPreviewRequest, opts?: client.RequestOptions): Promise<GetAccessPreviewResponse>;
async getAnalyzedResource(params: GetAnalyzedResourceRequest, opts?: client.RequestOptions): Promise<GetAnalyzedResourceResponse>;
async getAnalyzer(params: GetAnalyzerRequest, opts?: client.RequestOptions): Promise<GetAnalyzerResponse>;
async getArchiveRule(params: GetArchiveRuleRequest, opts?: client.RequestOptions): Promise<GetArchiveRuleResponse>;
async getFinding(params: GetFindingRequest, opts?: client.RequestOptions): Promise<GetFindingResponse>;
async getGeneratedPolicy(params: GetGeneratedPolicyRequest, opts?: client.RequestOptions): Promise<GetGeneratedPolicyResponse>;
async listAccessPreviewFindings(params: ListAccessPreviewFindingsRequest, opts?: client.RequestOptions): Promise<ListAccessPreviewFindingsResponse>;
async listAccessPreviews(params: ListAccessPreviewsRequest, opts?: client.RequestOptions): Promise<ListAccessPreviewsResponse>;
async listAnalyzedResources(params: ListAnalyzedResourcesRequest, opts?: client.RequestOptions): Promise<ListAnalyzedResourcesResponse>;
async listAnalyzers(params?: ListAnalyzersRequest, opts?: client.RequestOptions): Promise<ListAnalyzersResponse>;
async listArchiveRules(params: ListArchiveRulesRequest, opts?: client.RequestOptions): Promise<ListArchiveRulesResponse>;
async listFindings(params: ListFindingsRequest, opts?: client.RequestOptions): Promise<ListFindingsResponse>;
async listPolicyGenerations(params?: ListPolicyGenerationsRequest, opts?: client.RequestOptions): Promise<ListPolicyGenerationsResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async startPolicyGeneration(params: StartPolicyGenerationRequest, opts?: client.RequestOptions): Promise<StartPolicyGenerationResponse>;
async startResourceScan(params: StartResourceScanRequest, opts?: client.RequestOptions): Promise<void>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateArchiveRule(params: UpdateArchiveRuleRequest, opts?: client.RequestOptions): Promise<void>;
async updateFindings(params: UpdateFindingsRequest, opts?: client.RequestOptions): Promise<void>;
async validatePolicy(params: ValidatePolicyRequest, opts?: client.RequestOptions): Promise<ValidatePolicyResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new AccessAnalyzer(apiFactory: client.ApiFactory)
[src]

§Methods

§
applyArchiveRule(params: ApplyArchiveRuleRequest, opts?: client.RequestOptions): Promise<void>
[src]

Retroactively applies the archive rule to existing findings that meet the archive rule criteria.

§
cancelPolicyGeneration(params: CancelPolicyGenerationRequest, opts?: client.RequestOptions): Promise<void>
[src]

Cancels the requested policy generation.

§

Creates an access preview that allows you to preview IAM Access Analyzer findings for your resource before deploying resource permissions.

§

Creates an analyzer for your account.

§
createArchiveRule(params: CreateArchiveRuleRequest, opts?: client.RequestOptions): Promise<void>
[src]

Creates an archive rule for the specified analyzer. Archive rules automatically archive new findings that meet the criteria you define when you create the rule.

To learn about filter keys that you can use to create an archive rule, see IAM Access Analyzer filter keys in the IAM User Guide.

§
deleteAnalyzer(params: DeleteAnalyzerRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes the specified analyzer. When you delete an analyzer, IAM Access Analyzer is disabled for the account or organization in the current or specific Region. All findings that were generated by the analyzer are deleted. You cannot undo this action.

§
deleteArchiveRule(params: DeleteArchiveRuleRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes the specified archive rule.

§

Retrieves information about an access preview for the specified analyzer.

§

Retrieves information about a resource that was analyzed.

§

Retrieves information about the specified analyzer.

§

Retrieves information about an archive rule.

To learn about filter keys that you can use to create an archive rule, see IAM Access Analyzer filter keys in the IAM User Guide.

§

Retrieves information about the specified finding.

§

Retrieves the policy that was generated using StartPolicyGeneration.

§

Retrieves a list of access preview findings generated by the specified access preview.

§

Retrieves a list of access previews for the specified analyzer.

§

Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer..

§

Retrieves a list of analyzers.

§

Retrieves a list of archive rules created for the specified analyzer.

§

Retrieves a list of findings generated by the specified analyzer.

To learn about filter keys that you can use to retrieve a list of findings, see IAM Access Analyzer filter keys in the IAM User Guide.

§

Lists all of the policy generations requested in the last seven days.

§

Retrieves a list of tags applied to the specified resource.

§

Starts the policy generation request.

§
startResourceScan(params: StartResourceScanRequest, opts?: client.RequestOptions): Promise<void>
[src]

Immediately starts a scan of the policies applied to the specified resource.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Adds a tag to the specified resource.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Removes a tag from the specified resource.

§
updateArchiveRule(params: UpdateArchiveRuleRequest, opts?: client.RequestOptions): Promise<void>
[src]

Updates the criteria and values for the specified archive rule.

§
updateFindings(params: UpdateFindingsRequest, opts?: client.RequestOptions): Promise<void>
[src]

Updates the status for the specified findings.

§

Requests the validation of a policy and returns a list of findings. The findings help you identify issues and provide actionable recommendations to resolve the issue and enable you to author functional policies that meet security best practices.

§Static Properties