amazonka-sesv2-2.0: Amazon Simple Email Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SESV2.CreateImportJob

Description

Creates an import job for a data destination.

Synopsis

Creating a Request

data CreateImportJob Source #

Represents a request to create an import job from a data source for a data destination.

See: newCreateImportJob smart constructor.

Constructors

CreateImportJob' 

Fields

Instances

Instances details
ToJSON CreateImportJob Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

ToHeaders CreateImportJob Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

ToPath CreateImportJob Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

ToQuery CreateImportJob Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

AWSRequest CreateImportJob Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

Associated Types

type AWSResponse CreateImportJob #

Generic CreateImportJob Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

Associated Types

type Rep CreateImportJob :: Type -> Type #

Read CreateImportJob Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

Show CreateImportJob Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

NFData CreateImportJob Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

Methods

rnf :: CreateImportJob -> () #

Eq CreateImportJob Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

Hashable CreateImportJob Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

type AWSResponse CreateImportJob Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

type Rep CreateImportJob Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

type Rep CreateImportJob = D1 ('MetaData "CreateImportJob" "Amazonka.SESV2.CreateImportJob" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" 'False) (C1 ('MetaCons "CreateImportJob'" 'PrefixI 'True) (S1 ('MetaSel ('Just "importDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ImportDestination) :*: S1 ('MetaSel ('Just "importDataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ImportDataSource)))

newCreateImportJob Source #

Create a value of CreateImportJob 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:

CreateImportJob, createImportJob_importDestination - The destination for the import job.

$sel:importDataSource:CreateImportJob', createImportJob_importDataSource - The data source for the import job.

Request Lenses

Destructuring the Response

data CreateImportJobResponse Source #

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

See: newCreateImportJobResponse smart constructor.

Constructors

CreateImportJobResponse' 

Fields

Instances

Instances details
Generic CreateImportJobResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

Associated Types

type Rep CreateImportJobResponse :: Type -> Type #

Read CreateImportJobResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

Show CreateImportJobResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

NFData CreateImportJobResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

Methods

rnf :: CreateImportJobResponse -> () #

Eq CreateImportJobResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

type Rep CreateImportJobResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateImportJob

type Rep CreateImportJobResponse = D1 ('MetaData "CreateImportJobResponse" "Amazonka.SESV2.CreateImportJob" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" 'False) (C1 ('MetaCons "CreateImportJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateImportJobResponse Source #

Create a value of CreateImportJobResponse 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:

CreateImportJobResponse, createImportJobResponse_jobId - A string that represents the import job ID.

$sel:httpStatus:CreateImportJobResponse', createImportJobResponse_httpStatus - The response's http status code.

Response Lenses

createImportJobResponse_jobId :: Lens' CreateImportJobResponse (Maybe Text) Source #

A string that represents the import job ID.