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

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

Network.AWS.EC2.DescribeImportSnapshotTasks

Contents

Description

Describes your import snapshot tasks.

Synopsis

Creating a Request

describeImportSnapshotTasks :: DescribeImportSnapshotTasks Source #

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

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

data DescribeImportSnapshotTasks Source #

Contains the parameters for DescribeImportSnapshotTasks.

See: describeImportSnapshotTasks smart constructor.

Instances

Eq DescribeImportSnapshotTasks Source # 
Data DescribeImportSnapshotTasks Source # 

Methods

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

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

toConstr :: DescribeImportSnapshotTasks -> Constr #

dataTypeOf :: DescribeImportSnapshotTasks -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeImportSnapshotTasks Source # 
Show DescribeImportSnapshotTasks Source # 
Generic DescribeImportSnapshotTasks Source # 
Hashable DescribeImportSnapshotTasks Source # 
NFData DescribeImportSnapshotTasks Source # 
AWSRequest DescribeImportSnapshotTasks Source # 
ToQuery DescribeImportSnapshotTasks Source # 
ToPath DescribeImportSnapshotTasks Source # 
ToHeaders DescribeImportSnapshotTasks Source # 
type Rep DescribeImportSnapshotTasks Source # 
type Rep DescribeImportSnapshotTasks = D1 (MetaData "DescribeImportSnapshotTasks" "Network.AWS.EC2.DescribeImportSnapshotTasks" "amazonka-ec2-1.4.1-5DlWz6no0BoLQhxZVyzMyd" False) (C1 (MetaCons "DescribeImportSnapshotTasks'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_distFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter]))) (S1 (MetaSel (Just Symbol "_distImportTaskIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_distNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_distDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_distMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))))
type Rs DescribeImportSnapshotTasks Source # 

Request Lenses

distImportTaskIds :: Lens' DescribeImportSnapshotTasks [Text] Source #

A list of import snapshot task IDs.

distNextToken :: Lens' DescribeImportSnapshotTasks (Maybe Text) Source #

A token that indicates the next page of results.

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

distMaxResults :: Lens' DescribeImportSnapshotTasks (Maybe Int) Source #

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

Destructuring the Response

describeImportSnapshotTasksResponse Source #

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

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

data DescribeImportSnapshotTasksResponse Source #

Contains the output for DescribeImportSnapshotTasks.

See: describeImportSnapshotTasksResponse smart constructor.

Instances

Eq DescribeImportSnapshotTasksResponse Source # 
Data DescribeImportSnapshotTasksResponse Source # 

Methods

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

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

toConstr :: DescribeImportSnapshotTasksResponse -> Constr #

dataTypeOf :: DescribeImportSnapshotTasksResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeImportSnapshotTasksResponse Source # 
Show DescribeImportSnapshotTasksResponse Source # 
Generic DescribeImportSnapshotTasksResponse Source # 
NFData DescribeImportSnapshotTasksResponse Source # 
type Rep DescribeImportSnapshotTasksResponse Source # 
type Rep DescribeImportSnapshotTasksResponse = D1 (MetaData "DescribeImportSnapshotTasksResponse" "Network.AWS.EC2.DescribeImportSnapshotTasks" "amazonka-ec2-1.4.1-5DlWz6no0BoLQhxZVyzMyd" False) (C1 (MetaCons "DescribeImportSnapshotTasksResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_distrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_distrsImportSnapshotTasks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ImportSnapshotTask]))) (S1 (MetaSel (Just Symbol "_distrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

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

distrsImportSnapshotTasks :: Lens' DescribeImportSnapshotTasksResponse [ImportSnapshotTask] Source #

A list of zero or more import snapshot tasks that are currently active or were completed or canceled in the previous 7 days.