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

PolicyGeneration

import type { PolicyGeneration } from "https://aws-api.deno.dev/v0.4/services/accessanalyzer.ts?docs=full";

Contains details about the policy generation status and properties.

interface PolicyGeneration {
completedOn?: Date | number | null;
jobId: string;
principalArn: string;
startedOn: Date | number;
status: JobStatus;
}

§Properties

§
completedOn?: Date | number | null
[src]

A timestamp of when the policy generation was completed.

§
jobId: string
[src]

The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.

§
principalArn: string
[src]

The ARN of the IAM entity (user or role) for which you are generating a policy.

§
startedOn: Date | number
[src]

A timestamp of when the policy generation started.

§

The status of the policy generation request.