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

Contents

Description

Describes the events for the specified Spot fleet request during the specified time.

Spot fleet events are delayed by up to 30 seconds before they can be described. This ensures that you can query by the last evaluated time and not miss a recorded event.

Synopsis

Creating a Request

describeSpotFleetRequestHistory #

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

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

  • dsfrhNextToken - The token for the next set of results.
  • dsfrhEventType - The type of events to describe. By default, all events are described.
  • dsfrhDryRun - 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 .
  • dsfrhMaxResults - 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.
  • dsfrhSpotFleetRequestId - The ID of the Spot fleet request.
  • dsfrhStartTime - The starting date and time for the events, in UTC format (for example, YYYY -MM -DD THH :MM :SS Z).

data DescribeSpotFleetRequestHistory #

Contains the parameters for DescribeSpotFleetRequestHistory.

See: describeSpotFleetRequestHistory smart constructor.

Instances

Eq DescribeSpotFleetRequestHistory # 
Data DescribeSpotFleetRequestHistory # 

Methods

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

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

toConstr :: DescribeSpotFleetRequestHistory -> Constr #

dataTypeOf :: DescribeSpotFleetRequestHistory -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeSpotFleetRequestHistory # 
Show DescribeSpotFleetRequestHistory # 
Generic DescribeSpotFleetRequestHistory # 
Hashable DescribeSpotFleetRequestHistory # 
NFData DescribeSpotFleetRequestHistory # 
AWSRequest DescribeSpotFleetRequestHistory # 
ToQuery DescribeSpotFleetRequestHistory # 
ToPath DescribeSpotFleetRequestHistory # 
ToHeaders DescribeSpotFleetRequestHistory # 
type Rep DescribeSpotFleetRequestHistory # 
type Rep DescribeSpotFleetRequestHistory = D1 (MetaData "DescribeSpotFleetRequestHistory" "Network.AWS.EC2.DescribeSpotFleetRequestHistory" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DescribeSpotFleetRequestHistory'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dsfrhNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dsfrhEventType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventType))) (S1 (MetaSel (Just Symbol "_dsfrhDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) ((:*:) (S1 (MetaSel (Just Symbol "_dsfrhMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) ((:*:) (S1 (MetaSel (Just Symbol "_dsfrhSpotFleetRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dsfrhStartTime") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 ISO8601))))))
type Rs DescribeSpotFleetRequestHistory # 

Request Lenses

dsfrhNextToken :: Lens' DescribeSpotFleetRequestHistory (Maybe Text) #

The token for the next set of results.

dsfrhEventType :: Lens' DescribeSpotFleetRequestHistory (Maybe EventType) #

The type of events to describe. By default, all events are described.

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

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

dsfrhStartTime :: Lens' DescribeSpotFleetRequestHistory UTCTime #

The starting date and time for the events, in UTC format (for example, YYYY -MM -DD THH :MM :SS Z).

Destructuring the Response

describeSpotFleetRequestHistoryResponse #

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

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

  • dsfrhrsNextToken - The token required to retrieve the next set of results. This value is null when there are no more results to return.
  • dsfrhrsResponseStatus - -- | The response status code.
  • dsfrhrsSpotFleetRequestId - The ID of the Spot fleet request.
  • dsfrhrsStartTime - The starting date and time for the events, in UTC format (for example, YYYY -MM -DD THH :MM :SS Z).
  • dsfrhrsLastEvaluatedTime - The last date and time for the events, in UTC format (for example, YYYY -MM -DD THH :MM :SS Z). All records up to this time were retrieved. If nextToken indicates that there are more results, this value is not present.
  • dsfrhrsHistoryRecords - Information about the events in the history of the Spot fleet request.

data DescribeSpotFleetRequestHistoryResponse #

Contains the output of DescribeSpotFleetRequestHistory.

See: describeSpotFleetRequestHistoryResponse smart constructor.

Instances

Eq DescribeSpotFleetRequestHistoryResponse # 
Data DescribeSpotFleetRequestHistoryResponse # 

Methods

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

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

toConstr :: DescribeSpotFleetRequestHistoryResponse -> Constr #

dataTypeOf :: DescribeSpotFleetRequestHistoryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeSpotFleetRequestHistoryResponse # 
Show DescribeSpotFleetRequestHistoryResponse # 
Generic DescribeSpotFleetRequestHistoryResponse # 
NFData DescribeSpotFleetRequestHistoryResponse # 
type Rep DescribeSpotFleetRequestHistoryResponse # 
type Rep DescribeSpotFleetRequestHistoryResponse = D1 (MetaData "DescribeSpotFleetRequestHistoryResponse" "Network.AWS.EC2.DescribeSpotFleetRequestHistory" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DescribeSpotFleetRequestHistoryResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dsfrhrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dsfrhrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_dsfrhrsSpotFleetRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dsfrhrsStartTime") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 ISO8601)) ((:*:) (S1 (MetaSel (Just Symbol "_dsfrhrsLastEvaluatedTime") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 ISO8601)) (S1 (MetaSel (Just Symbol "_dsfrhrsHistoryRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [HistoryRecord]))))))

Response Lenses

dsfrhrsNextToken :: Lens' DescribeSpotFleetRequestHistoryResponse (Maybe Text) #

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

dsfrhrsStartTime :: Lens' DescribeSpotFleetRequestHistoryResponse UTCTime #

The starting date and time for the events, in UTC format (for example, YYYY -MM -DD THH :MM :SS Z).

dsfrhrsLastEvaluatedTime :: Lens' DescribeSpotFleetRequestHistoryResponse UTCTime #

The last date and time for the events, in UTC format (for example, YYYY -MM -DD THH :MM :SS Z). All records up to this time were retrieved. If nextToken indicates that there are more results, this value is not present.

dsfrhrsHistoryRecords :: Lens' DescribeSpotFleetRequestHistoryResponse [HistoryRecord] #

Information about the events in the history of the Spot fleet request.