Defined in github.com/aws/aws-sdk-go/service/ec2/api.go
Describes the Spot instance requests that belong to your account. Spot instances are instances that Amazon EC2 launches when the bid price that you specify exceeds the current Spot price. Amazon EC2 periodically sets the Spot price based on available Spot instance capacity and current Spot instance requests. For more information, see Spot Instance Requests (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html) in the Amazon Elastic Compute Cloud User Guide.
You can use DescribeSpotInstanceRequests to find a running Spot instance by examining the response. If the status of the Spot instance is fulfilled, the instance ID appears in the response and contains the identifier of the instance. Alternatively, you can use DescribeInstances with a filter to look for instances where the instance lifecycle is spot.
DescribeSpotInstanceRequests is referenced in 4 repositoriesgithub.com/aws/aws-sdk-go
- 1 reference in service/ec2/examples_test.go
- 2 references in builtin/providers/aws/resource_aws_spot_instance_request.go
- 2 references in builtin/providers/aws/resource_aws_spot_instance_request_test.go