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

Contents

Description

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

Synopsis

Creating a Request

describeFleetHistory #

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 #

See: describeFleetHistory smart constructor.

Instances

Eq DescribeFleetHistory # 
Data 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 # 
Show DescribeFleetHistory # 
Generic DescribeFleetHistory # 
Hashable DescribeFleetHistory # 
NFData DescribeFleetHistory # 

Methods

rnf :: DescribeFleetHistory -> () #

AWSRequest DescribeFleetHistory # 
ToHeaders DescribeFleetHistory # 
ToPath DescribeFleetHistory # 
ToQuery DescribeFleetHistory # 
type Rep DescribeFleetHistory # 
type Rep DescribeFleetHistory = D1 * (MetaData "DescribeFleetHistory" "Network.AWS.EC2.DescribeFleetHistory" "amazonka-ec2-1.6.0-Dm9BQRbqSOK72xbfLZMG4m" False) (C1 * (MetaCons "DescribeFleetHistory'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dfhNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dfhEventType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe FleetEventType))) (S1 * (MetaSel (Just Symbol "_dfhDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dfhMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dfhFleetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_dfhStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ISO8601))))))
type Rs DescribeFleetHistory # 

Request Lenses

dfhNextToken :: Lens' DescribeFleetHistory (Maybe Text) #

The token for the next set of results.

dfhEventType :: Lens' DescribeFleetHistory (Maybe FleetEventType) #

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

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

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

dfhFleetId :: Lens' DescribeFleetHistory Text #

The ID of the EC2 Fleet.

dfhStartTime :: Lens' DescribeFleetHistory UTCTime #

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

Destructuring the Response

describeFleetHistoryResponse #

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 #

See: describeFleetHistoryResponse smart constructor.

Instances

Eq DescribeFleetHistoryResponse # 
Data DescribeFleetHistoryResponse # 

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 # 
Show DescribeFleetHistoryResponse # 
Generic DescribeFleetHistoryResponse # 
NFData DescribeFleetHistoryResponse # 
type Rep DescribeFleetHistoryResponse # 
type Rep DescribeFleetHistoryResponse = D1 * (MetaData "DescribeFleetHistoryResponse" "Network.AWS.EC2.DescribeFleetHistory" "amazonka-ec2-1.6.0-Dm9BQRbqSOK72xbfLZMG4m" False) (C1 * (MetaCons "DescribeFleetHistoryResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dfhrsStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ISO8601))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dfhrsLastEvaluatedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ISO8601))) (S1 * (MetaSel (Just Symbol "_dfhrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dfhrsHistoryRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [HistoryRecordEntry]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dfhrsFleetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dfhrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

dfhrsStartTime :: Lens' DescribeFleetHistoryResponse (Maybe UTCTime) #

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) #

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) #

The token for the next set of results.

dfhrsHistoryRecords :: Lens' DescribeFleetHistoryResponse [HistoryRecordEntry] #

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