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

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

  • importDestinationType :: Maybe ImportDestinationType

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

Instances

Instances details
Eq ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Read ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Show ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Generic ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Associated Types

type Rep ListImportJobs :: Type -> Type #

NFData ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Methods

rnf :: ListImportJobs -> () #

Hashable ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

AWSRequest ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Associated Types

type AWSResponse ListImportJobs #

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

type Rep ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

type Rep ListImportJobs = D1 ('MetaData "ListImportJobs" "Amazonka.SESV2.ListImportJobs" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "ListImportJobs'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "importDestinationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImportDestinationType)))))
type AWSResponse ListImportJobs Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

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:nextToken: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.

$sel:importDestinationType:ListImportJobs', listImportJobs_importDestinationType - The destination of the import job, which can be used to list import jobs that have a certain ImportDestinationType.

Request Lenses

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.

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.

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
Eq ListImportJobsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Read ListImportJobsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Show ListImportJobsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Generic ListImportJobsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Associated Types

type Rep ListImportJobsResponse :: Type -> Type #

NFData ListImportJobsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

Methods

rnf :: ListImportJobsResponse -> () #

type Rep ListImportJobsResponse Source # 
Instance details

Defined in Amazonka.SESV2.ListImportJobs

type Rep ListImportJobsResponse = D1 ('MetaData "ListImportJobsResponse" "Amazonka.SESV2.ListImportJobs" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" '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.

$sel:nextToken: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.