Cookie の設定を選択する

当社は、当社のサイトおよびサービスを提供するために必要な必須 Cookie および類似のツールを使用しています。当社は、パフォーマンス Cookie を使用して匿名の統計情報を収集することで、お客様が当社のサイトをどのように利用しているかを把握し、改善に役立てています。必須 Cookie は無効化できませんが、[カスタマイズ] または [拒否] をクリックしてパフォーマンス Cookie を拒否することはできます。

お客様が同意した場合、AWS および承認された第三者は、Cookie を使用して便利なサイト機能を提供したり、お客様の選択を記憶したり、関連する広告を含む関連コンテンツを表示したりします。すべての必須ではない Cookie を受け入れるか拒否するには、[受け入れる] または [拒否] をクリックしてください。より詳細な選択を行うには、[カスタマイズ] をクリックしてください。

DescribeSpotFleetRequests

フォーカスモード
DescribeSpotFleetRequests - Amazon Elastic Compute Cloud
このページはお客様の言語に翻訳されていません。 翻訳のリクエスト

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:

このページの内容

プライバシーサイト規約Cookie の設定
© 2025, Amazon Web Services, Inc. or its affiliates.All rights reserved.