Wählen Sie Ihre Cookie-Einstellungen aus

Wir verwenden essentielle Cookies und ähnliche Tools, die für die Bereitstellung unserer Website und Services erforderlich sind. Wir verwenden Performance-Cookies, um anonyme Statistiken zu sammeln, damit wir verstehen können, wie Kunden unsere Website nutzen, und Verbesserungen vornehmen können. Essentielle Cookies können nicht deaktiviert werden, aber Sie können auf „Anpassen“ oder „Ablehnen“ klicken, um Performance-Cookies abzulehnen.

Wenn Sie damit einverstanden sind, verwenden AWS und zugelassene Drittanbieter auch Cookies, um nützliche Features der Website bereitzustellen, Ihre Präferenzen zu speichern und relevante Inhalte, einschließlich relevanter Werbung, anzuzeigen. Um alle nicht notwendigen Cookies zu akzeptieren oder abzulehnen, klicken Sie auf „Akzeptieren“ oder „Ablehnen“. Um detailliertere Entscheidungen zu treffen, klicken Sie auf „Anpassen“.

DescribeSpotFleetRequests - Amazon Elastic Compute Cloud
Diese Seite wurde nicht in Ihre Sprache übersetzt. Übersetzung anfragen

DescribeSpotFleetRequests

Describes your Spot Fleet requests.

Spot Fleet requests are deleted 48 hours after they are canceled and their instances are terminated.

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

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.

Type: Integer

Required: No

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.

Type: String

Required: No

SpotFleetRequestId.N

The IDs of the Spot Fleet requests.

Type: Array of strings

Required: No

Response Elements

The following elements are returned by the service.

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.

Type: String

requestId

The ID of the request.

Type: String

spotFleetRequestConfigSet

Information about the configuration of your Spot Fleet.

Type: Array of SpotFleetRequestConfig objects

Errors

For information about the errors that are common to all actions, see Common client error codes.

Examples

Example

This example describes all of your Spot Fleet requests.

Sample Request

https://ec2.amazonaws.com/?Action=DescribeSpotFleetRequests &AUTHPARAMS

Sample Response

<DescribeSpotFleetRequestsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/"> <requestId>4d68a6cc-8f2e-4be1-b425-example</requestId> <spotFleetRequestConfigSet> <item> <spotFleetRequestId>sfr-12345678-cb31-425e-8c23-example2710</spotFleetRequestId> <spotFleetRequestState>cancelled</spotFleetRequestState> <spotFleetRequestConfig> <spotPrice>0.0153</spotPrice> <targetCapacity>20</targetCapacity> <iamFleetRole>arn:aws:iam::123456789011:role/spot-fleet-role</iamFleetRole> <launchSpecifications> <item> <subnetId>subnet-1a2b3c4d</subnetId> <ebsOptimized>false</ebsOptimized> <imageId>ami-1ecae776</imageId> <instanceType>m4.xlarge</instanceType> </item> <item> <subnetId>subnet-1a2b3c4d</subnetId> <ebsOptimized>false</ebsOptimized> <imageId>ami-1ecae776</imageId> <instanceType>m3.medium</instanceType> </item> </launchSpecifications> </spotFleetRequestConfig> </item> <item> <spotFleetRequestId>sfr-abcdefgh-e71f-450d-880d-examplec127</spotFleetRequestId> <spotFleetRequestState>active</spotFleetRequestState> <spotFleetRequestConfig> <spotPrice>0.0153</spotPrice> <targetCapacity>5</targetCapacity> <iamFleetRole>arn:aws:iam::123456789011:role/spot-fleet-role</iamFleetRole> <launchSpecifications> <item> <subnetId>subnet-abc123ab</subnetId> <ebsOptimized>false</ebsOptimized> <imageId>ami-1ecae776</imageId> <instanceType>m4.large</instanceType> </item> <item> <subnetId>subnet-abc123ab</subnetId> <ebsOptimized>false</ebsOptimized> <imageId>ami-1ecae776</imageId> <instanceType>m3.medium</instanceType> </item> </launchSpecifications> </spotFleetRequestConfig> </item> </spotFleetRequestConfigSet> </DescribeSpotFleetRequestsResponse>

See Also

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

DatenschutzNutzungsbedingungen für die WebsiteCookie-Einstellungen
© 2025, Amazon Web Services, Inc. oder Tochtergesellschaften. Alle Rechte vorbehalten.