Skip to content

Create Import Job

pinpoint_create_import_job R Documentation

Creates an import job for an application

Description

Creates an import job for an application.

Usage

pinpoint_create_import_job(ApplicationId, ImportJobRequest)

Arguments

ApplicationId

[required] The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

ImportJobRequest

[required]

Value

A list with the following syntax:

list(
  ImportJobResponse = list(
    ApplicationId = "string",
    CompletedPieces = 123,
    CompletionDate = "string",
    CreationDate = "string",
    Definition = list(
      DefineSegment = TRUE|FALSE,
      ExternalId = "string",
      Format = "CSV"|"JSON",
      RegisterEndpoints = TRUE|FALSE,
      RoleArn = "string",
      S3Url = "string",
      SegmentId = "string",
      SegmentName = "string"
    ),
    FailedPieces = 123,
    Failures = list(
      "string"
    ),
    Id = "string",
    JobStatus = "CREATED"|"PREPARING_FOR_INITIALIZATION"|"INITIALIZING"|"PROCESSING"|"PENDING_JOB"|"COMPLETING"|"COMPLETED"|"FAILING"|"FAILED",
    TotalFailures = 123,
    TotalPieces = 123,
    TotalProcessed = 123,
    Type = "string"
  )
)

Request syntax

svc$create_import_job(
  ApplicationId = "string",
  ImportJobRequest = list(
    DefineSegment = TRUE|FALSE,
    ExternalId = "string",
    Format = "CSV"|"JSON",
    RegisterEndpoints = TRUE|FALSE,
    RoleArn = "string",
    S3Url = "string",
    SegmentId = "string",
    SegmentName = "string"
  )
)