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.ListImportJobs

Description

Lists all of the import jobs.

Synopsis

Creating a Request

data ListImportJobs Source #

Represents a request to list all of the import jobs for a data destination within the specified maximum number of import jobs.

See: newListImportJobs smart constructor.

Constructors

ListImportJobs' 

Fields

  • importDestinationType :: Maybe ImportDestinationType

    The destination of the import job, which can be used to list import jobs that have a certain ImportDestinationType.

  • nextToken :: Maybe Text

    A string token indicating that there might be additional import jobs available to be listed. Copy this token to a subsequent call to ListImportJobs with the same parameters to retrieve the next page of import jobs.

  • pageSize :: Maybe Int

    Maximum number of import jobs to return at once. Use this parameter to paginate results. If additional import jobs exist beyond the specified limit, the NextToken element is sent in the response. Use the NextToken value in subsequent requests to retrieve additional addresses.

Instances

Instances details
ToHeaders ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

ToPath ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

ToQuery ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

AWSRequest ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Associated Types

type AWSResponse ListImportJobs #

Generic ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Associated Types

type Rep ListImportJobs :: Type -> Type #

Read ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Show ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

NFData ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Methods

rnf :: ListImportJobs -> () #

Eq ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Hashable ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

type AWSResponse ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

type Rep ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

type Rep ListImportJobs = D1 ('MetaData "ListImportJobs" "Amazonka.SESV2.ListImportJobs" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" 'False) (C1 ('MetaCons "ListImportJobs'" 'PrefixI 'True) (S1 ('MetaSel ('Just "importDestinationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImportDestinationType)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newListImportJobs :: ListImportJobs Source #

Create a value of ListImportJobs 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:importDestinationType:ListImportJobs', listImportJobs_importDestinationType - The destination of the import job, which can be used to list import jobs that have a certain ImportDestinationType.

ListImportJobs, listImportJobs_nextToken - A string token indicating that there might be additional import jobs available to be listed. Copy this token to a subsequent call to ListImportJobs with the same parameters to retrieve the next page of import jobs.

$sel:pageSize:ListImportJobs', listImportJobs_pageSize - Maximum number of import jobs to return at once. Use this parameter to paginate results. If additional import jobs exist beyond the specified limit, the NextToken element is sent in the response. Use the NextToken value in subsequent requests to retrieve additional addresses.

Request Lenses

listImportJobs_importDestinationType :: Lens' ListImportJobs (Maybe ImportDestinationType) Source #

The destination of the import job, which can be used to list import jobs that have a certain ImportDestinationType.

listImportJobs_nextToken :: Lens' ListImportJobs (Maybe Text) Source #

A string token indicating that there might be additional import jobs available to be listed. Copy this token to a subsequent call to ListImportJobs with the same parameters to retrieve the next page of import jobs.

listImportJobs_pageSize :: Lens' ListImportJobs (Maybe Int) Source #

Maximum number of import jobs to return at once. Use this parameter to paginate results. If additional import jobs exist beyond the specified limit, the NextToken element is sent in the response. Use the NextToken value in subsequent requests to retrieve additional addresses.

Destructuring the Response

data ListImportJobsResponse Source #

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

See: newListImportJobsResponse smart constructor.

Constructors

ListImportJobsResponse' 

Fields

  • importJobs :: Maybe [ImportJobSummary]

    A list of the import job summaries.

  • nextToken :: Maybe Text

    A string token indicating that there might be additional import jobs available to be listed. Copy this token to a subsequent call to ListImportJobs with the same parameters to retrieve the next page of import jobs.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListImportJobsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Associated Types

type Rep ListImportJobsResponse :: Type -> Type #

Read ListImportJobsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Show ListImportJobsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

NFData ListImportJobsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Methods

rnf :: ListImportJobsResponse -> () #

Eq ListImportJobsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

type Rep ListImportJobsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

type Rep ListImportJobsResponse = D1 ('MetaData "ListImportJobsResponse" "Amazonka.SESV2.ListImportJobs" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" 'False) (C1 ('MetaCons "ListImportJobsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "importJobs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ImportJobSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListImportJobsResponse Source #

Create a value of ListImportJobsResponse 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:importJobs:ListImportJobsResponse', listImportJobsResponse_importJobs - A list of the import job summaries.

ListImportJobs, listImportJobsResponse_nextToken - A string token indicating that there might be additional import jobs available to be listed. Copy this token to a subsequent call to ListImportJobs with the same parameters to retrieve the next page of import jobs.

$sel:httpStatus:ListImportJobsResponse', listImportJobsResponse_httpStatus - The response's http status code.

Response Lenses

listImportJobsResponse_nextToken :: Lens' ListImportJobsResponse (Maybe Text) Source #

A string token indicating that there might be additional import jobs available to be listed. Copy this token to a subsequent call to ListImportJobs with the same parameters to retrieve the next page of import jobs.