AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Specifies the settings for a job that imports endpoint definitions from an Amazon Simple Storage Service (Amazon S3) bucket.

Inheritance Hierarchy

System.Object
  Amazon.Pinpoint.Model.ImportJobRequest

Namespace: Amazon.Pinpoint.Model
Assembly: AWSSDK.Pinpoint.dll
Version: 3.x.y.z

Syntax

C#
public class ImportJobRequest

The ImportJobRequest type exposes the following members

Constructors

NameDescription
Public Method ImportJobRequest()

Properties

NameTypeDescription
Public Property DefineSegment System.Boolean

Gets and sets the property DefineSegment.

Specifies whether to create a segment that contains the endpoints, when the endpoint definitions are imported.

Public Property ExternalId System.String

Gets and sets the property ExternalId.

(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.

Public Property Format Amazon.Pinpoint.Format

Gets and sets the property Format.

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 Amazon S3 location stores multiple files that use different formats, Amazon Pinpoint imports data only from the files that use the specified format.

Public Property RegisterEndpoints System.Boolean

Gets and sets the property RegisterEndpoints.

Specifies whether to register the endpoints with Amazon Pinpoint, when the endpoint definitions are imported.

Public Property RoleArn System.String

Gets and sets the property RoleArn.

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.

Public Property S3Url System.String

Gets and sets the property S3Url.

The URL of the Amazon Simple Storage Service (Amazon S3) bucket that contains the endpoint definitions to import. This location can be a folder or a single file. If the location is a folder, Amazon Pinpoint imports endpoint definitions from the files in this location, including any subfolders that the folder contains.

The URL should be in the following format: s3://bucket-name/folder-name/file-name. The location can end with the key for an individual object or a prefix that qualifies multiple objects.

Public Property SegmentId System.String

Gets and sets the property SegmentId.

The identifier for the segment to update or add the imported endpoint definitions to, if the import job is meant to update an existing segment.

Public Property SegmentName System.String

Gets and sets the property SegmentName.

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

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5