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

Contents

Description

Describes the events for the specified EC2 Fleet during the specified time.

Synopsis

Creating a Request

describeFleetHistory Source #

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

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

  • dfhNextToken - The token for the next set of results.
  • dfhEventType - The type of events to describe. By default, all events are described.
  • dfhDryRun - 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 .
  • dfhMaxResults - 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.
  • dfhFleetId - The ID of the EC2 Fleet.
  • dfhStartTime - The start date and time for the events, in UTC format (for example, YYYY -MM -DD THH :MM :SS Z).

data DescribeFleetHistory Source #

See: describeFleetHistory smart constructor.

Instances
Eq DescribeFleetHistory Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

Data DescribeFleetHistory Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

Methods

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

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

toConstr :: DescribeFleetHistory -> Constr #

dataTypeOf :: DescribeFleetHistory -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeFleetHistory Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

Show DescribeFleetHistory Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

Generic DescribeFleetHistory Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

Associated Types

type Rep DescribeFleetHistory :: Type -> Type #

Hashable DescribeFleetHistory Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

AWSRequest DescribeFleetHistory Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

Associated Types

type Rs DescribeFleetHistory :: Type #

ToHeaders DescribeFleetHistory Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

ToPath DescribeFleetHistory Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

ToQuery DescribeFleetHistory Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

NFData DescribeFleetHistory Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

Methods

rnf :: DescribeFleetHistory -> () #

type Rep DescribeFleetHistory Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

type Rep DescribeFleetHistory = D1 (MetaData "DescribeFleetHistory" "Network.AWS.EC2.DescribeFleetHistory" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeFleetHistory'" PrefixI True) ((S1 (MetaSel (Just "_dfhNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dfhEventType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FleetEventType)) :*: S1 (MetaSel (Just "_dfhDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "_dfhMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 (MetaSel (Just "_dfhFleetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dfhStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ISO8601)))))
type Rs DescribeFleetHistory Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

Request Lenses

dfhNextToken :: Lens' DescribeFleetHistory (Maybe Text) Source #

The token for the next set of results.

dfhEventType :: Lens' DescribeFleetHistory (Maybe FleetEventType) Source #

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

dfhDryRun :: Lens' DescribeFleetHistory (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 .

dfhMaxResults :: Lens' DescribeFleetHistory (Maybe Int) Source #

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.

dfhFleetId :: Lens' DescribeFleetHistory Text Source #

The ID of the EC2 Fleet.

dfhStartTime :: Lens' DescribeFleetHistory UTCTime Source #

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

Destructuring the Response

describeFleetHistoryResponse Source #

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

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

  • dfhrsStartTime - The start date and time for the events, in UTC format (for example, YYYY -MM -DD THH :MM :SS Z).
  • dfhrsLastEvaluatedTime - 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.
  • dfhrsNextToken - The token for the next set of results.
  • dfhrsHistoryRecords - Information about the events in the history of the EC2 Fleet.
  • dfhrsFleetId - The ID of the EC Fleet.
  • dfhrsResponseStatus - -- | The response status code.

data DescribeFleetHistoryResponse Source #

See: describeFleetHistoryResponse smart constructor.

Instances
Eq DescribeFleetHistoryResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

Data DescribeFleetHistoryResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

Methods

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

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

toConstr :: DescribeFleetHistoryResponse -> Constr #

dataTypeOf :: DescribeFleetHistoryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeFleetHistoryResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

Show DescribeFleetHistoryResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

Generic DescribeFleetHistoryResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

Associated Types

type Rep DescribeFleetHistoryResponse :: Type -> Type #

NFData DescribeFleetHistoryResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

type Rep DescribeFleetHistoryResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeFleetHistory

type Rep DescribeFleetHistoryResponse = D1 (MetaData "DescribeFleetHistoryResponse" "Network.AWS.EC2.DescribeFleetHistory" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeFleetHistoryResponse'" PrefixI True) ((S1 (MetaSel (Just "_dfhrsStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 (MetaSel (Just "_dfhrsLastEvaluatedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 (MetaSel (Just "_dfhrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_dfhrsHistoryRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [HistoryRecordEntry])) :*: (S1 (MetaSel (Just "_dfhrsFleetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dfhrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

dfhrsStartTime :: Lens' DescribeFleetHistoryResponse (Maybe UTCTime) Source #

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

dfhrsLastEvaluatedTime :: Lens' DescribeFleetHistoryResponse (Maybe UTCTime) Source #

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.

dfhrsNextToken :: Lens' DescribeFleetHistoryResponse (Maybe Text) Source #

The token for the next set of results.

dfhrsHistoryRecords :: Lens' DescribeFleetHistoryResponse [HistoryRecordEntry] Source #

Information about the events in the history of the EC2 Fleet.