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

UsageReportSubscription

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

Describes information about the usage report subscription.

interface UsageReportSubscription {
LastGeneratedReportDate?: Date | number | null;
S3BucketName?: string | null;
Schedule?: UsageReportSchedule | null;
SubscriptionErrors?: LastReportGenerationExecutionError[] | null;
}

§Properties

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

The time when the last usage report was generated.

§
S3BucketName?: string | null
[src]

The Amazon S3 bucket where generated reports are stored.

If you enabled on-instance session scripts and Amazon S3 logging for your session script configuration, AppStream 2.0 created an S3 bucket to store the script output. The bucket is unique to your account and Region. When you enable usage reporting in this case, AppStream 2.0 uses the same bucket to store your usage reports. If you haven't already enabled on-instance session scripts, when you enable usage reports, AppStream 2.0 creates a new S3 bucket.

§
Schedule?: UsageReportSchedule | null
[src]

The schedule for generating usage reports.

§
SubscriptionErrors?: LastReportGenerationExecutionError[] | null
[src]

The errors that were returned if usage reports couldn't be generated.