amazonka-ec2-1.4.5: 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.DescribeSpotFleetRequests

Contents

Description

Describes your Spot fleet requests.

Spot fleet requests are deleted 48 hours after they are canceled and their instances are terminated.

This operation returns paginated results.

Synopsis

Creating a Request

describeSpotFleetRequests :: DescribeSpotFleetRequests #

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

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

  • dsfrSpotFleetRequestIds - The IDs of the Spot fleet requests.
  • dsfrNextToken - The token for the next set of results.
  • dsfrDryRun - 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 .
  • dsfrMaxResults - The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value is 1000. To retrieve the remaining results, make another call with the returned NextToken value.

data DescribeSpotFleetRequests #

Contains the parameters for DescribeSpotFleetRequests.

See: describeSpotFleetRequests smart constructor.

Instances

Eq DescribeSpotFleetRequests # 
Data DescribeSpotFleetRequests # 

Methods

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

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

toConstr :: DescribeSpotFleetRequests -> Constr #

dataTypeOf :: DescribeSpotFleetRequests -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeSpotFleetRequests # 
Show DescribeSpotFleetRequests # 
Generic DescribeSpotFleetRequests # 
Hashable DescribeSpotFleetRequests # 
NFData DescribeSpotFleetRequests # 
AWSPager DescribeSpotFleetRequests # 
AWSRequest DescribeSpotFleetRequests # 
ToQuery DescribeSpotFleetRequests # 
ToPath DescribeSpotFleetRequests # 
ToHeaders DescribeSpotFleetRequests # 
type Rep DescribeSpotFleetRequests # 
type Rep DescribeSpotFleetRequests = D1 (MetaData "DescribeSpotFleetRequests" "Network.AWS.EC2.DescribeSpotFleetRequests" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DescribeSpotFleetRequests'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dsfrSpotFleetRequestIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_dsfrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dsfrDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_dsfrMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs DescribeSpotFleetRequests # 

Request Lenses

dsfrSpotFleetRequestIds :: Lens' DescribeSpotFleetRequests [Text] #

The IDs of the Spot fleet requests.

dsfrNextToken :: Lens' DescribeSpotFleetRequests (Maybe Text) #

The token for the next set of results.

dsfrDryRun :: Lens' DescribeSpotFleetRequests (Maybe Bool) #

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 .

dsfrMaxResults :: Lens' DescribeSpotFleetRequests (Maybe Int) #

The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value is 1000. To retrieve the remaining results, make another call with the returned NextToken value.

Destructuring the Response

describeSpotFleetRequestsResponse #

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

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

data DescribeSpotFleetRequestsResponse #

Contains the output of DescribeSpotFleetRequests.

See: describeSpotFleetRequestsResponse smart constructor.

Instances

Eq DescribeSpotFleetRequestsResponse # 
Data DescribeSpotFleetRequestsResponse # 

Methods

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

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

toConstr :: DescribeSpotFleetRequestsResponse -> Constr #

dataTypeOf :: DescribeSpotFleetRequestsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeSpotFleetRequestsResponse # 
Show DescribeSpotFleetRequestsResponse # 
Generic DescribeSpotFleetRequestsResponse # 
NFData DescribeSpotFleetRequestsResponse # 
type Rep DescribeSpotFleetRequestsResponse # 
type Rep DescribeSpotFleetRequestsResponse = D1 (MetaData "DescribeSpotFleetRequestsResponse" "Network.AWS.EC2.DescribeSpotFleetRequests" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DescribeSpotFleetRequestsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsfrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dsfrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_dsfrrsSpotFleetRequestConfigs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [SpotFleetRequestConfig])))))

Response Lenses

dsfrrsNextToken :: Lens' DescribeSpotFleetRequestsResponse (Maybe Text) #

The token required to retrieve the next set of results. This value is null when there are no more results to return.

dsfrrsSpotFleetRequestConfigs :: Lens' DescribeSpotFleetRequestsResponse [SpotFleetRequestConfig] #

Information about the configuration of your Spot fleet.