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

Subscriber

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

The subscriber to a budget notification. The subscriber consists of a subscription type and either an Amazon SNS topic or an email address.

For example, an email subscriber would have the following parameters:

  • A subscriptionType of EMAIL
  • An address of example@example.com
interface Subscriber {
Address: string;
SubscriptionType: SubscriptionType;
}

§Properties

§
Address: string
[src]

The address that AWS sends budget notifications to, either an SNS topic or an email.

When you create a subscriber, the value of Address can't contain line breaks.

§
SubscriptionType: SubscriptionType
[src]

The type of notification that AWS sends to a subscriber.