/AWS1/CL_EC2=>DESCRIBEFLEETS()
¶
About DescribeFleets¶
Describes the specified EC2 Fleet or all of your EC2 Fleets.
If a fleet is of type instant
, you must specify the fleet ID in the
request, otherwise the fleet does not appear in the response.
For more information, see Describe your EC2 Fleet in the Amazon EC2 User Guide.
Method Signature¶
IMPORTING¶
Optional arguments:¶
IV_DRYRUN
TYPE /AWS1/EC2BOOLEAN
/AWS1/EC2BOOLEAN
¶
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 isUnauthorizedOperation
.
IV_MAXRESULTS
TYPE /AWS1/EC2INTEGER
/AWS1/EC2INTEGER
¶
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
IV_NEXTTOKEN
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
IT_FLEETIDS
TYPE /AWS1/CL_EC2FLEETIDSET_W=>TT_FLEETIDSET
TT_FLEETIDSET
¶
The IDs of the EC2 Fleets.
If a fleet is of type
instant
, you must specify the fleet ID, otherwise it does not appear in the response.
IT_FILTERS
TYPE /AWS1/CL_EC2FILTER=>TT_FILTERLIST
TT_FILTERLIST
¶
The filters.
activity-status
- The progress of the EC2 Fleet (error
|pending-fulfillment
|pending-termination
|fulfilled
).
excess-capacity-termination-policy
- Indicates whether to terminate running instances if the target capacity is decreased below the current EC2 Fleet size (true
|false
).
fleet-state
- The state of the EC2 Fleet (submitted
|active
|deleted
|failed
|deleted-running
|deleted-terminating
|modifying
).
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy instances (true
|false
).
type
- The type of request (instant
|request
|maintain
).