amazonka-ec2-1.6.1: Amazon Elastic Compute Cloud SDK.

Copyright (c) 2013-2018 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

Description

Describes one or more of your bundling tasks.

Synopsis

Creating a Request

Creates a value of DescribeBundleTasks with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• dbtBundleIds - One or more bundle task IDs. Default: Describes all your bundle tasks.
• dbtFilters - One or more filters. * bundle-id - The ID of the bundle task. * error-code - If the task failed, the error code returned. * error-message - If the task failed, the error message returned. * instance-id - The ID of the instance. * progress - The level of task completion, as a percentage (for example, 20%). * s3-bucket - The Amazon S3 bucket to store the AMI. * s3-prefix - The beginning of the AMI name. * start-time - The time the task started (for example, 2013-09-15T17:15:20.000Z). * state - The state of the task (pending | waiting-for-shutdown | bundling | storing | cancelling | complete | failed ). * update-time - The time of the most recent update for the task.
• dbtDryRun - 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 .

Contains the parameters for DescribeBundleTasks.

See: describeBundleTasks smart constructor.

Instances

Request Lenses

One or more bundle task IDs. Default: Describes all your bundle tasks.

One or more filters. * bundle-id - The ID of the bundle task. * error-code - If the task failed, the error code returned. * error-message - If the task failed, the error message returned. * instance-id - The ID of the instance. * progress - The level of task completion, as a percentage (for example, 20%). * s3-bucket - The Amazon S3 bucket to store the AMI. * s3-prefix - The beginning of the AMI name. * start-time - The time the task started (for example, 2013-09-15T17:15:20.000Z). * state - The state of the task (pending | waiting-for-shutdown | bundling | storing | cancelling | complete | failed ). * update-time - The time of the most recent update for the task.

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 .

Destructuring the Response

Arguments

 :: Int dbtrsResponseStatus -> DescribeBundleTasksResponse

Creates a value of DescribeBundleTasksResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• dbtrsBundleTasks - Information about one or more bundle tasks.
• dbtrsResponseStatus - -- | The response status code.

Contains the output of DescribeBundleTasks.

See: describeBundleTasksResponse smart constructor.

Instances