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.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:

  • distFilters - One or more filters.
  • distImportTaskIds - A list of import snapshot task IDs.
  • distNextToken - A token that indicates the next page of results.
  • distDryRun - 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 - The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

data DescribeImportSnapshotTasks Source #

Contains the parameters for DescribeImportSnapshotTasks.

See: describeImportSnapshotTasks smart constructor.

Instances
Eq DescribeImportSnapshotTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

Data DescribeImportSnapshotTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

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 # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

Show DescribeImportSnapshotTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

Generic DescribeImportSnapshotTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

Associated Types

type Rep DescribeImportSnapshotTasks :: Type -> Type #

Hashable DescribeImportSnapshotTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

AWSRequest DescribeImportSnapshotTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

Associated Types

type Rs DescribeImportSnapshotTasks :: Type #

ToHeaders DescribeImportSnapshotTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

ToPath DescribeImportSnapshotTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

ToQuery DescribeImportSnapshotTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

NFData DescribeImportSnapshotTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

type Rep DescribeImportSnapshotTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

type Rep DescribeImportSnapshotTasks = D1 (MetaData "DescribeImportSnapshotTasks" "Network.AWS.EC2.DescribeImportSnapshotTasks" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeImportSnapshotTasks'" PrefixI True) ((S1 (MetaSel (Just "_distFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 (MetaSel (Just "_distImportTaskIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_distNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_distDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_distMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs DescribeImportSnapshotTasks Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

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:

  • distrsNextToken - The token to use to get the next page of results. This value is null when there are no more results to return.
  • distrsImportSnapshotTasks - A list of zero or more import snapshot tasks that are currently active or were completed or canceled in the previous 7 days.
  • distrsResponseStatus - -- | The response status code.

data DescribeImportSnapshotTasksResponse Source #

Contains the output for DescribeImportSnapshotTasks.

See: describeImportSnapshotTasksResponse smart constructor.

Instances
Eq DescribeImportSnapshotTasksResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

Data DescribeImportSnapshotTasksResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

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 # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

Show DescribeImportSnapshotTasksResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

Generic DescribeImportSnapshotTasksResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

NFData DescribeImportSnapshotTasksResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

type Rep DescribeImportSnapshotTasksResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImportSnapshotTasks

type Rep DescribeImportSnapshotTasksResponse = D1 (MetaData "DescribeImportSnapshotTasksResponse" "Network.AWS.EC2.DescribeImportSnapshotTasks" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeImportSnapshotTasksResponse'" PrefixI True) (S1 (MetaSel (Just "_distrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_distrsImportSnapshotTasks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ImportSnapshotTask])) :*: S1 (MetaSel (Just "_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.