Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . pinpoint ]

get-segment-export-jobs

Description

Returns a list of export jobs for a specific segment.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  get-segment-export-jobs
--application-id <value>
[--page-size <value>]
--segment-id <value>
[--token <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--application-id (string) The unique ID of your Amazon Pinpoint application.

--page-size (string) The number of entries you want on each page in the response.

--segment-id (string) The unique ID of the segment.

--token (string) The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

ExportJobsResponse -> (structure)

Export job list.

Item -> (list)

A list of export jobs for the application.

(structure)

Export job response.

ApplicationId -> (string)

The unique ID of the application associated with the export job.

CompletedPieces -> (integer)

The number of pieces that have successfully completed as of the time of the request.

CompletionDate -> (string)

The date the job completed in ISO 8601 format.

CreationDate -> (string)

The date the job was created in ISO 8601 format.

Definition -> (structure)

The export job settings.

RoleArn -> (string)

The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location that endpoints will be exported to.

S3UrlPrefix -> (string)

A URL that points to the location within an Amazon S3 bucket that will receive the export. The location is typically a folder with multiple files. The URL should follow this format: s3://bucket-name/folder-name/ Amazon Pinpoint will export endpoints to this location.

SegmentId -> (string)

The ID of the segment to export endpoints from. If not present, Amazon Pinpoint exports all of the endpoints that belong to the application.

SegmentVersion -> (integer)

The version of the segment to export if specified.

FailedPieces -> (integer)

The number of pieces that failed to be processed as of the time of the request.

Failures -> (list)

Provides up to 100 of the first failed entries for the job, if any exist.

(string)

Id -> (string)

The unique ID of the job.

JobStatus -> (string)

The status of the job. Valid values: CREATED, INITIALIZING, PROCESSING, COMPLETING, COMPLETED, FAILING, FAILED The job status is FAILED if one or more pieces failed.

TotalFailures -> (integer)

The number of endpoints that were not processed; for example, because of syntax errors.

TotalPieces -> (integer)

The total number of pieces that must be processed to finish the job. Each piece is an approximately equal portion of the endpoints.

TotalProcessed -> (integer)

The number of endpoints that were processed by the job.

Type -> (string)

The job type. Will be 'EXPORT'.

NextToken -> (string)

The string that you use in a subsequent request to get the next page of results in a paginated response.