Amazon Elastic Compute Cloud
API Reference (API Version 2016-11-15)

DescribeFleetHistory

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

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.

DryRun

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.

Type: Boolean

Required: No

EventType

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

Type: String

Valid Values: instance-change | fleet-change | service-error

Required: No

FleetId

The ID of the EC2 Fleet.

Type: String

Required: Yes

MaxResults

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.

Type: Integer

Required: No

NextToken

The token for the next set of results.

Type: String

Required: No

StartTime

The start date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Type: Timestamp

Required: Yes

Response Elements

The following elements are returned by the service.

fleetId

The ID of the EC Fleet.

Type: String

historyRecordSet

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

Type: Array of HistoryRecordEntry objects

lastEvaluatedTime

The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). All records up to this time were retrieved.

If nextToken indicates that there are more results, this value is not present.

Type: Timestamp

nextToken

The token for the next set of results.

Type: String

requestId

The ID of the request.

Type: String

startTime

The start date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Type: Timestamp

Errors

For information about the errors that are common to all actions, see Common Client Errors.

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: