EC2.Paginator.
DescribeExportImageTasks
¶paginator = client.get_paginator('describe_export_image_tasks')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from EC2.Client.describe_export_image_tasks()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
DryRun=True|False,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
ExportImageTaskIds=[
'string',
],
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.Filter tasks using the task-state
filter and one of the following values: active
, completed
, deleting
, or deleted
.
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND
, and the request returns only results that match all of the specified filters.
The name of the filter. Filter names are case-sensitive.
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
The IDs of the export image tasks.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'ExportImageTasks': [
{
'Description': 'string',
'ExportImageTaskId': 'string',
'ImageId': 'string',
'Progress': 'string',
'S3ExportLocation': {
'S3Bucket': 'string',
'S3Prefix': 'string'
},
'Status': 'string',
'StatusMessage': 'string',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
},
],
}
Response Structure
(dict) --
ExportImageTasks (list) --
Information about the export image tasks.
(dict) --
Describes an export image task.
Description (string) --
A description of the image being exported.
ExportImageTaskId (string) --
The ID of the export image task.
ImageId (string) --
The ID of the image.
Progress (string) --
The percent complete of the export image task.
S3ExportLocation (dict) --
Information about the destination Amazon S3 bucket.
S3Bucket (string) --
The destination Amazon S3 bucket.
S3Prefix (string) --
The prefix (logical hierarchy) in the bucket.
Status (string) --
The status of the export image task. The possible values are active
, completed
, deleting
, and deleted
.
StatusMessage (string) --
The status message for the export image task.
Tags (list) --
Any tags assigned to the export image task.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:
.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.