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

SegmentImportResource

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

Provides information about the import job that created a segment. An import job is a job that creates a user segment by importing endpoint definitions.

interface SegmentImportResource {
ChannelCounts?: {
[key: string]: number | null | undefined;
}
| null;
ExternalId: string;
Format: Format;
RoleArn: string;
S3Url: string;
Size: number;
}

§Properties

§
ChannelCounts?: {
[key: string]: number | null | undefined;
}
| null
[src]

The number of channel types in the endpoint definitions that were imported to create the segment.

§
ExternalId: string
[src]

(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when importing endpoint definitions, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.

§
Format: Format
[src]

The format of the files that were imported to create the segment. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.

§
RoleArn: string
[src]

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.

§
S3Url: string
[src]

The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were imported from to create the segment.

§
Size: number
[src]

The number of endpoint definitions that were imported successfully to create the segment.