#[non_exhaustive]
pub struct ImportJobResponse {
Show 13 fields pub application_id: Option<String>, pub completed_pieces: i32, pub completion_date: Option<String>, pub creation_date: Option<String>, pub definition: Option<ImportJobResource>, pub failed_pieces: i32, pub failures: Option<Vec<String>>, pub id: Option<String>, pub job_status: Option<JobStatus>, pub total_failures: i32, pub total_pieces: i32, pub total_processed: i32, pub type: Option<String>,
}
Expand description

Provides information about the status and settings of 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.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
application_id: Option<String>

The unique identifier for the application that's associated with the import job.

completed_pieces: i32

The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.

completion_date: Option<String>

The date, in ISO 8601 format, when the import job was completed.

creation_date: Option<String>

The date, in ISO 8601 format, when the import job was created.

definition: Option<ImportJobResource>

The resource settings that apply to the import job.

failed_pieces: i32

The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.

failures: Option<Vec<String>>

An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.

id: Option<String>

The unique identifier for the import job.

job_status: Option<JobStatus>

The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.

total_failures: i32

The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.

total_pieces: i32

The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.

total_processed: i32

The total number of endpoint definitions that were processed by the import job.

type: Option<String>

The job type. This value is IMPORT for import jobs.

Implementations

The unique identifier for the application that's associated with the import job.

The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.

The date, in ISO 8601 format, when the import job was completed.

The date, in ISO 8601 format, when the import job was created.

The resource settings that apply to the import job.

The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.

An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.

The unique identifier for the import job.

The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.

The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.

The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.

The total number of endpoint definitions that were processed by the import job.

The job type. This value is IMPORT for import jobs.

Creates a new builder-style object to manufacture ImportJobResponse

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more