amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.DescribeExportImageTasks

Description

Describes the specified export image tasks or all of your export image tasks.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeExportImageTasks Source #

See: newDescribeExportImageTasks smart constructor.

Constructors

DescribeExportImageTasks' 

Fields

  • dryRun :: Maybe Bool

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • exportImageTaskIds :: Maybe [Text]

    The IDs of the export image tasks.

  • filters :: Maybe [Filter]

    Filter tasks using the task-state filter and one of the following values: active, completed, deleting, or deleted.

  • maxResults :: Maybe Natural

    The maximum number of results to return in a single call.

  • nextToken :: Maybe Text

    A token that indicates the next page of results.

Instances

Instances details
ToHeaders DescribeExportImageTasks Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

ToPath DescribeExportImageTasks Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

ToQuery DescribeExportImageTasks Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

AWSPager DescribeExportImageTasks Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

AWSRequest DescribeExportImageTasks Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

Generic DescribeExportImageTasks Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

Associated Types

type Rep DescribeExportImageTasks :: Type -> Type #

Read DescribeExportImageTasks Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

Show DescribeExportImageTasks Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

NFData DescribeExportImageTasks Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

Eq DescribeExportImageTasks Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

Hashable DescribeExportImageTasks Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

type AWSResponse DescribeExportImageTasks Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

type Rep DescribeExportImageTasks Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

type Rep DescribeExportImageTasks = D1 ('MetaData "DescribeExportImageTasks" "Amazonka.EC2.DescribeExportImageTasks" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeExportImageTasks'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "exportImageTaskIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newDescribeExportImageTasks :: DescribeExportImageTasks Source #

Create a value of DescribeExportImageTasks 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:dryRun:DescribeExportImageTasks', describeExportImageTasks_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

$sel:exportImageTaskIds:DescribeExportImageTasks', describeExportImageTasks_exportImageTaskIds - The IDs of the export image tasks.

$sel:filters:DescribeExportImageTasks', describeExportImageTasks_filters - Filter tasks using the task-state filter and one of the following values: active, completed, deleting, or deleted.

$sel:maxResults:DescribeExportImageTasks', describeExportImageTasks_maxResults - The maximum number of results to return in a single call.

DescribeExportImageTasks, describeExportImageTasks_nextToken - A token that indicates the next page of results.

Request Lenses

describeExportImageTasks_dryRun :: Lens' DescribeExportImageTasks (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

describeExportImageTasks_filters :: Lens' DescribeExportImageTasks (Maybe [Filter]) Source #

Filter tasks using the task-state filter and one of the following values: active, completed, deleting, or deleted.

describeExportImageTasks_maxResults :: Lens' DescribeExportImageTasks (Maybe Natural) Source #

The maximum number of results to return in a single call.

describeExportImageTasks_nextToken :: Lens' DescribeExportImageTasks (Maybe Text) Source #

A token that indicates the next page of results.

Destructuring the Response

data DescribeExportImageTasksResponse Source #

See: newDescribeExportImageTasksResponse smart constructor.

Constructors

DescribeExportImageTasksResponse' 

Fields

Instances

Instances details
Generic DescribeExportImageTasksResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

Associated Types

type Rep DescribeExportImageTasksResponse :: Type -> Type #

Read DescribeExportImageTasksResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

Show DescribeExportImageTasksResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

NFData DescribeExportImageTasksResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

Eq DescribeExportImageTasksResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

type Rep DescribeExportImageTasksResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeExportImageTasks

type Rep DescribeExportImageTasksResponse = D1 ('MetaData "DescribeExportImageTasksResponse" "Amazonka.EC2.DescribeExportImageTasks" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeExportImageTasksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "exportImageTasks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExportImageTask])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeExportImageTasksResponse Source #

Create a value of DescribeExportImageTasksResponse 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:exportImageTasks:DescribeExportImageTasksResponse', describeExportImageTasksResponse_exportImageTasks - Information about the export image tasks.

DescribeExportImageTasks, describeExportImageTasksResponse_nextToken - The token to use to get the next page of results. This value is null when there are no more results to return.

$sel:httpStatus:DescribeExportImageTasksResponse', describeExportImageTasksResponse_httpStatus - The response's http status code.

Response Lenses

describeExportImageTasksResponse_nextToken :: Lens' DescribeExportImageTasksResponse (Maybe Text) Source #

The token to use to get the next page of results. This value is null when there are no more results to return.