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

Notification

import type { Notification } from "https://aws-api.deno.dev/v0.3/services/snowball.ts?docs=full";

The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The Notification object is returned as a part of the response syntax of the DescribeJob action in the JobMetadata data type.

When the notification settings are defined during job creation, you can choose to notify based on a specific set of job states using the JobStatesToNotify array of strings, or you can specify that you want to have Amazon SNS notifications sent out for all job states with NotifyAll set to true.

interface Notification {
JobStatesToNotify?: JobState[] | null;
NotifyAll?: boolean | null;
SnsTopicARN?: string | null;
}

§Properties

§
JobStatesToNotify?: JobState[] | null
[src]

The list of job states that will trigger a notification for this job.

§
NotifyAll?: boolean | null
[src]

Any change in job state will trigger a notification for this job.

§
SnsTopicARN?: string | null
[src]

The new SNS TopicArn that you want to associate with this job. You can create Amazon Resource Names (ARNs) for topics by using the CreateTopic Amazon SNS API action.

You can subscribe email addresses to an Amazon SNS topic through the Amazon Web Services Management Console, or by using the Subscribe Amazon Simple Notification Service (Amazon SNS) API action.