amazonka-ec2-1.6.0: 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.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 # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

Data DescribeSpotFleetRequestHistory # 
Instance details

Defined in Network.AWS.EC2.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 # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

Show DescribeSpotFleetRequestHistory # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

Generic DescribeSpotFleetRequestHistory # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

Associated Types

type Rep DescribeSpotFleetRequestHistory :: * -> * #

Hashable DescribeSpotFleetRequestHistory # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

AWSRequest DescribeSpotFleetRequestHistory # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

Associated Types

type Rs DescribeSpotFleetRequestHistory :: * #

ToHeaders DescribeSpotFleetRequestHistory # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

ToPath DescribeSpotFleetRequestHistory # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

ToQuery DescribeSpotFleetRequestHistory # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

NFData DescribeSpotFleetRequestHistory # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

type Rep DescribeSpotFleetRequestHistory # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

type Rep DescribeSpotFleetRequestHistory = D1 (MetaData "DescribeSpotFleetRequestHistory" "Network.AWS.EC2.DescribeSpotFleetRequestHistory" "amazonka-ec2-1.6.0-G6ppxISnQxeI7PhDx9p8Zy" False) (C1 (MetaCons "DescribeSpotFleetRequestHistory'" PrefixI True) ((S1 (MetaSel (Just "_dsfrhNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dsfrhEventType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventType)) :*: S1 (MetaSel (Just "_dsfrhDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "_dsfrhMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "_dsfrhSpotFleetRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dsfrhStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ISO8601)))))
type Rs DescribeSpotFleetRequestHistory # 
Instance details

Defined in Network.AWS.EC2.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.
  • dsfrhrsHistoryRecords - Information about the events in the history of the Spot Fleet request.
  • 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.
  • 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).

data DescribeSpotFleetRequestHistoryResponse #

Contains the output of DescribeSpotFleetRequestHistory.

See: describeSpotFleetRequestHistoryResponse smart constructor.

Instances
Eq DescribeSpotFleetRequestHistoryResponse # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

Data DescribeSpotFleetRequestHistoryResponse # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

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

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

Show DescribeSpotFleetRequestHistoryResponse # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

Generic DescribeSpotFleetRequestHistoryResponse # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

Associated Types

type Rep DescribeSpotFleetRequestHistoryResponse :: * -> * #

NFData DescribeSpotFleetRequestHistoryResponse # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

type Rep DescribeSpotFleetRequestHistoryResponse # 
Instance details

Defined in Network.AWS.EC2.DescribeSpotFleetRequestHistory

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

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.

dsfrhrsHistoryRecords :: Lens' DescribeSpotFleetRequestHistoryResponse [HistoryRecord] #

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

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.

dsfrhrsStartTime :: Lens' DescribeSpotFleetRequestHistoryResponse UTCTime #

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