Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes the running instances for the specified Spot Fleet.
This operation returns paginated results.
- 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
- dsfirsActiveInstances :: Lens' DescribeSpotFleetInstancesResponse [ActiveInstance]
- dsfirsSpotFleetRequestId :: Lens' DescribeSpotFleetInstancesResponse Text
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:
dsfiNextToken
- The token for the next set of results.dsfiDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.dsfiMaxResults
- 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 returnedNextToken
value.dsfiSpotFleetRequestId
- The ID of the Spot Fleet request.
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:
dsfirsNextToken
- The token required to retrieve the next set of results. This value isnull
when there are no more results to return.dsfirsResponseStatus
- -- | The response status code.dsfirsActiveInstances
- The running instances. This list is refreshed periodically and might be out of date.dsfirsSpotFleetRequestId
- The ID of the Spot Fleet request.
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.
dsfirsActiveInstances :: Lens' DescribeSpotFleetInstancesResponse [ActiveInstance] Source #
The running instances. This list is refreshed periodically and might be out of date.
dsfirsSpotFleetRequestId :: Lens' DescribeSpotFleetInstancesResponse Text Source #
The ID of the Spot Fleet request.