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

ImportJobResource

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

Provides information about the resource settings for a job that imports endpoint definitions from one or more files. The files can be stored in an Amazon Simple Storage Service (Amazon S3) bucket or uploaded directly from a computer by using the Amazon Pinpoint console.

interface ImportJobResource {
DefineSegment?: boolean | null;
ExternalId?: string | null;
Format: Format;
RegisterEndpoints?: boolean | null;
RoleArn: string;
S3Url: string;
SegmentId?: string | null;
SegmentName?: string | null;
}

§Properties

§
DefineSegment?: boolean | null
[src]

Specifies whether the import job creates a segment that contains the endpoints, when the endpoint definitions are imported.

§
ExternalId?: string | null
[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 contain the endpoint definitions to import. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.

If the files are stored in an Amazon S3 location and that location contains multiple files that use different formats, Amazon Pinpoint imports data only from the files that use the specified format.

§
RegisterEndpoints?: boolean | null
[src]

Specifies whether the import job registers the endpoints with Amazon Pinpoint, when the endpoint definitions are imported.

§
RoleArn: string
[src]

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

§
S3Url: string
[src]

TODO: Failed to render documentation: unhandled paragraph inner tag replaceable

§
SegmentId?: string | null
[src]

The identifier for the segment that the import job updates or adds endpoint definitions to, if the import job updates an existing segment.

§
SegmentName?: string | null
[src]

The custom name for the segment that's created by the import job, if the value of the DefineSegment property is true.