Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes the running instances for the specified Spot fleet.
- describeSpotFleetInstances :: Text -> DescribeSpotFleetInstances
- data DescribeSpotFleetInstances
- dsfiNextToken :: Lens' DescribeSpotFleetInstances (Maybe Text)
- dsfiDryRun :: Lens' DescribeSpotFleetInstances (Maybe Bool)
- dsfiMaxResults :: Lens' DescribeSpotFleetInstances (Maybe Int)
- dsfiSpotFleetRequestId :: Lens' DescribeSpotFleetInstances Text
- describeSpotFleetInstancesResponse :: Int -> Text -> DescribeSpotFleetInstancesResponse
- data DescribeSpotFleetInstancesResponse
- dsfirsNextToken :: Lens' DescribeSpotFleetInstancesResponse (Maybe Text)
- dsfirsResponseStatus :: Lens' DescribeSpotFleetInstancesResponse Int
- dsfirsSpotFleetRequestId :: Lens' DescribeSpotFleetInstancesResponse Text
- dsfirsActiveInstances :: Lens' DescribeSpotFleetInstancesResponse [ActiveInstance]
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:
data DescribeSpotFleetInstances Source #
Contains the parameters for DescribeSpotFleetInstances.
See: describeSpotFleetInstances
smart constructor.
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.
dsfiSpotFleetRequestId :: Lens' DescribeSpotFleetInstances Text Source #
The ID of the Spot fleet request.
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:
data DescribeSpotFleetInstancesResponse Source #
Contains the output of DescribeSpotFleetInstances.
See: describeSpotFleetInstancesResponse
smart constructor.
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.
dsfirsResponseStatus :: Lens' DescribeSpotFleetInstancesResponse Int Source #
The response status code.
dsfirsSpotFleetRequestId :: Lens' DescribeSpotFleetInstancesResponse Text Source #
The ID of the Spot fleet request.
dsfirsActiveInstances :: Lens' DescribeSpotFleetInstancesResponse [ActiveInstance] Source #
The running instances. Note that this list is refreshed periodically and might be out of date.