libZSservicesZSamazonka-sesv2ZSamazonka-sesv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SESV2.GetImportJob

Description

Provides information about an import job.

Synopsis

Creating a Request

data GetImportJob Source #

Represents a request for information about an import job using the import job ID.

See: newGetImportJob smart constructor.

Constructors

GetImportJob' 

Fields

Instances

Instances details
Eq GetImportJob Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

Read GetImportJob Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

Show GetImportJob Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

Generic GetImportJob Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

Associated Types

type Rep GetImportJob :: Type -> Type #

NFData GetImportJob Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

Methods

rnf :: GetImportJob -> () #

Hashable GetImportJob Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

AWSRequest GetImportJob Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

Associated Types

type AWSResponse GetImportJob #

ToHeaders GetImportJob Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

ToPath GetImportJob Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

ToQuery GetImportJob Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

type Rep GetImportJob Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

type Rep GetImportJob = D1 ('MetaData "GetImportJob" "Amazonka.SESV2.GetImportJob" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "GetImportJob'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetImportJob Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

newGetImportJob Source #

Create a value of GetImportJob with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:jobId:GetImportJob', getImportJob_jobId - The ID of the import job.

Request Lenses

getImportJob_jobId :: Lens' GetImportJob Text Source #

The ID of the import job.

Destructuring the Response

data GetImportJobResponse Source #

An HTTP 200 response if the request succeeds, or an error message if the request fails.

See: newGetImportJobResponse smart constructor.

Constructors

GetImportJobResponse' 

Fields

Instances

Instances details
Eq GetImportJobResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

Read GetImportJobResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

Show GetImportJobResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

Generic GetImportJobResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

Associated Types

type Rep GetImportJobResponse :: Type -> Type #

NFData GetImportJobResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

Methods

rnf :: GetImportJobResponse -> () #

type Rep GetImportJobResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetImportJob

newGetImportJobResponse Source #

Create a value of GetImportJobResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:processedRecordsCount:GetImportJobResponse', getImportJobResponse_processedRecordsCount - The current number of records processed.

$sel:jobId:GetImportJob', getImportJobResponse_jobId - A string that represents the import job ID.

$sel:importDataSource:GetImportJobResponse', getImportJobResponse_importDataSource - The data source of the import job.

$sel:completedTimestamp:GetImportJobResponse', getImportJobResponse_completedTimestamp - The time stamp of when the import job was completed.

$sel:failureInfo:GetImportJobResponse', getImportJobResponse_failureInfo - The failure details about an import job.

$sel:importDestination:GetImportJobResponse', getImportJobResponse_importDestination - The destination of the import job.

$sel:jobStatus:GetImportJobResponse', getImportJobResponse_jobStatus - The status of the import job.

$sel:failedRecordsCount:GetImportJobResponse', getImportJobResponse_failedRecordsCount - The number of records that failed processing because of invalid input or other reasons.

$sel:createdTimestamp:GetImportJobResponse', getImportJobResponse_createdTimestamp - The time stamp of when the import job was created.

$sel:httpStatus:GetImportJobResponse', getImportJobResponse_httpStatus - The response's http status code.

Response Lenses

getImportJobResponse_jobId :: Lens' GetImportJobResponse (Maybe Text) Source #

A string that represents the import job ID.

getImportJobResponse_completedTimestamp :: Lens' GetImportJobResponse (Maybe UTCTime) Source #

The time stamp of when the import job was completed.

getImportJobResponse_failedRecordsCount :: Lens' GetImportJobResponse (Maybe Int) Source #

The number of records that failed processing because of invalid input or other reasons.

getImportJobResponse_createdTimestamp :: Lens' GetImportJobResponse (Maybe UTCTime) Source #

The time stamp of when the import job was created.