SESV2Client.list_import_jobs
rboto-sesv2==0.4.0 · Service index · Types
Model summary (excerpt): Lists all of the import jobs.
Install and imports
from rboto import SESV2Client
from rboto_sesv2.types import (
ImportDestinationType,
ListImportJobsOutput,
)
Signature
async def list_import_jobs(
*,
import_destination_type: ImportDestinationType | None = None,
next_token: str | None = None,
page_size: int | None = None,
) -> ListImportJobsOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
import_destination_type |
No | The destination of the import job, which can be used to list import jobs that have a certain ImportDestinationType . |
next_token |
No | 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. |
page_size |
No | 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. |
Output
ListImportJobsOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
import_jobs |
list[ImportJobSummaryOutput] | None |
Always present | ImportJobSummaryOutput |
next_token |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
ImportDestinationType, ListImportJobsOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.list_import_jobs(...) accepts the same arguments and returns AsyncIterator[ListImportJobsOutput]. Direct calls return one page. Pages preserve the Output representation above.
Input cursors: next_token. Page-size argument: page_size.
No output stream.
Errors
Import from rboto_sesv2.exceptions:
BadRequestError, TooManyRequestsError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.