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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DescribeBundleTasks

Contents

Description

Describes one or more of your bundling tasks.

Synopsis

Creating a Request

describeBundleTasks :: DescribeBundleTasks Source #

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 .

data DescribeBundleTasks Source #

Contains the parameters for DescribeBundleTasks.

See: describeBundleTasks smart constructor.

Instances
Eq DescribeBundleTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

Data DescribeBundleTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeBundleTasks -> c DescribeBundleTasks #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeBundleTasks #

toConstr :: DescribeBundleTasks -> Constr #

dataTypeOf :: DescribeBundleTasks -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeBundleTasks) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeBundleTasks) #

gmapT :: (forall b. Data b => b -> b) -> DescribeBundleTasks -> DescribeBundleTasks #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeBundleTasks -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeBundleTasks -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeBundleTasks -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeBundleTasks -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeBundleTasks -> m DescribeBundleTasks #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeBundleTasks -> m DescribeBundleTasks #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeBundleTasks -> m DescribeBundleTasks #

Read DescribeBundleTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

Show DescribeBundleTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

Generic DescribeBundleTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

Associated Types

type Rep DescribeBundleTasks :: Type -> Type #

Hashable DescribeBundleTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

AWSRequest DescribeBundleTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

Associated Types

type Rs DescribeBundleTasks :: Type #

ToHeaders DescribeBundleTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

ToPath DescribeBundleTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

ToQuery DescribeBundleTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

NFData DescribeBundleTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

Methods

rnf :: DescribeBundleTasks -> () #

type Rep DescribeBundleTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

type Rep DescribeBundleTasks = D1 (MetaData "DescribeBundleTasks" "Network.AWS.EC2.DescribeBundleTasks" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeBundleTasks'" PrefixI True) (S1 (MetaSel (Just "_dbtBundleIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_dbtFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 (MetaSel (Just "_dbtDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))
type Rs DescribeBundleTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

Request Lenses

dbtBundleIds :: Lens' DescribeBundleTasks [Text] Source #

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

dbtFilters :: Lens' DescribeBundleTasks [Filter] Source #

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 :: Lens' DescribeBundleTasks (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 .

Destructuring the Response

describeBundleTasksResponse Source #

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:

data DescribeBundleTasksResponse Source #

Contains the output of DescribeBundleTasks.

See: describeBundleTasksResponse smart constructor.

Instances
Eq DescribeBundleTasksResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

Data DescribeBundleTasksResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeBundleTasksResponse -> c DescribeBundleTasksResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeBundleTasksResponse #

toConstr :: DescribeBundleTasksResponse -> Constr #

dataTypeOf :: DescribeBundleTasksResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeBundleTasksResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeBundleTasksResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeBundleTasksResponse -> DescribeBundleTasksResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeBundleTasksResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeBundleTasksResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeBundleTasksResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeBundleTasksResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeBundleTasksResponse -> m DescribeBundleTasksResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeBundleTasksResponse -> m DescribeBundleTasksResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeBundleTasksResponse -> m DescribeBundleTasksResponse #

Read DescribeBundleTasksResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

Show DescribeBundleTasksResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

Generic DescribeBundleTasksResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

Associated Types

type Rep DescribeBundleTasksResponse :: Type -> Type #

NFData DescribeBundleTasksResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

type Rep DescribeBundleTasksResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeBundleTasks

type Rep DescribeBundleTasksResponse = D1 (MetaData "DescribeBundleTasksResponse" "Network.AWS.EC2.DescribeBundleTasks" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeBundleTasksResponse'" PrefixI True) (S1 (MetaSel (Just "_dbtrsBundleTasks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BundleTask])) :*: S1 (MetaSel (Just "_dbtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

dbtrsBundleTasks :: Lens' DescribeBundleTasksResponse [BundleTask] Source #

Information about one or more bundle tasks.