describeFleets

abstract suspend fun describeFleets(input: DescribeFleetsRequest = DescribeFleetsRequest { }): DescribeFleetsResponse

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.