Skip to content

Describe Spot Fleet Instances

ec2_describe_spot_fleet_instances R Documentation

Describes the running instances for the specified Spot Fleet

Description

Describes the running instances for the specified Spot Fleet.

Usage

ec2_describe_spot_fleet_instances(DryRun, MaxResults, NextToken,
  SpotFleetRequestId)

Arguments

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.

MaxResults

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.

NextToken

The token to include in another request to get the next page of items. This value is null when there are no more items to return.

SpotFleetRequestId

[required] The ID of the Spot Fleet request.

Value

A list with the following syntax:

list(
  ActiveInstances = list(
    list(
      InstanceId = "string",
      InstanceType = "string",
      SpotInstanceRequestId = "string",
      InstanceHealth = "healthy"|"unhealthy"
    )
  ),
  NextToken = "string",
  SpotFleetRequestId = "string"
)

Request syntax

svc$describe_spot_fleet_instances(
  DryRun = TRUE|FALSE,
  MaxResults = 123,
  NextToken = "string",
  SpotFleetRequestId = "string"
)

Examples

## Not run: 
# This example lists the Spot Instances associated with the specified Spot
# fleet.
svc$describe_spot_fleet_instances(
  SpotFleetRequestId = "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
)

## End(Not run)