Skip to content

Describe Import Image Tasks

ec2_describe_import_image_tasks R Documentation

Displays details about an import virtual machine or import snapshot tasks that are already created

Description

Displays details about an import virtual machine or import snapshot tasks that are already created.

Usage

ec2_describe_import_image_tasks(DryRun, Filters, ImportTaskIds,
  MaxResults, NextToken)

Arguments

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.

Filters

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

ImportTaskIds

The IDs of the import image tasks.

MaxResults

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

NextToken

A token that indicates the next page of results.

Value

A list with the following syntax:

list(
  ImportImageTasks = list(
    list(
      Architecture = "string",
      Description = "string",
      Encrypted = TRUE|FALSE,
      Hypervisor = "string",
      ImageId = "string",
      ImportTaskId = "string",
      KmsKeyId = "string",
      LicenseType = "string",
      Platform = "string",
      Progress = "string",
      SnapshotDetails = list(
        list(
          Description = "string",
          DeviceName = "string",
          DiskImageSize = 123.0,
          Format = "string",
          Progress = "string",
          SnapshotId = "string",
          Status = "string",
          StatusMessage = "string",
          Url = "string",
          UserBucket = list(
            S3Bucket = "string",
            S3Key = "string"
          )
        )
      ),
      Status = "string",
      StatusMessage = "string",
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      ),
      LicenseSpecifications = list(
        list(
          LicenseConfigurationArn = "string"
        )
      ),
      UsageOperation = "string",
      BootMode = "legacy-bios"|"uefi"|"uefi-preferred"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_import_image_tasks(
  DryRun = TRUE|FALSE,
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  ImportTaskIds = list(
    "string"
  ),
  MaxResults = 123,
  NextToken = "string"
)