amazonka-ec2-1.1.0: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DescribeSpotFleetInstances

Contents

Description

Describes the running instances for the specified Spot fleet.

See: AWS API Reference for DescribeSpotFleetInstances.

Synopsis

Creating a Request

describeSpotFleetInstances Source

Creates a value of DescribeSpotFleetInstances with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dsfiNextToken :: Lens' DescribeSpotFleetInstances (Maybe Text) Source

The token for the next set of results.

dsfiDryRun :: Lens' DescribeSpotFleetInstances (Maybe Bool) Source

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.

dsfiMaxResults :: Lens' DescribeSpotFleetInstances (Maybe Int) Source

The maximum number of results to return in a single call. Specify a value between 1 and 1000. The default value is 1000. To retrieve the remaining results, make another call with the returned NextToken value.

Destructuring the Response

describeSpotFleetInstancesResponse Source

Creates a value of DescribeSpotFleetInstancesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dsfirsNextToken :: Lens' DescribeSpotFleetInstancesResponse (Maybe Text) Source

The token required to retrieve the next set of results. This value is null when there are no more results to return.

dsfirsActiveInstances :: Lens' DescribeSpotFleetInstancesResponse [ActiveInstance] Source

The running instances. Note that this list is refreshed periodically and might be out of date.