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 EC2 Fleet.
- describeFleetInstances :: Text -> DescribeFleetInstances
- data DescribeFleetInstances
- dfisFilters :: Lens' DescribeFleetInstances [Filter]
- dfisNextToken :: Lens' DescribeFleetInstances (Maybe Text)
- dfisDryRun :: Lens' DescribeFleetInstances (Maybe Bool)
- dfisMaxResults :: Lens' DescribeFleetInstances (Maybe Int)
- dfisFleetId :: Lens' DescribeFleetInstances Text
- describeFleetInstancesResponse :: Int -> DescribeFleetInstancesResponse
- data DescribeFleetInstancesResponse
- drsNextToken :: Lens' DescribeFleetInstancesResponse (Maybe Text)
- drsFleetId :: Lens' DescribeFleetInstancesResponse (Maybe Text)
- drsActiveInstances :: Lens' DescribeFleetInstancesResponse [ActiveInstance]
- drsResponseStatus :: Lens' DescribeFleetInstancesResponse Int
Creating a Request
describeFleetInstances Source #
Creates a value of DescribeFleetInstances
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dfisFilters
- One or more filters.dfisNextToken
- The token for the next set of results.dfisDryRun
- 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
.dfisMaxResults
- 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.dfisFleetId
- The ID of the EC2 Fleet.
data DescribeFleetInstances Source #
See: describeFleetInstances
smart constructor.
Request Lenses
dfisFilters :: Lens' DescribeFleetInstances [Filter] Source #
One or more filters.
dfisNextToken :: Lens' DescribeFleetInstances (Maybe Text) Source #
The token for the next set of results.
dfisDryRun :: Lens' DescribeFleetInstances (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
.
dfisMaxResults :: Lens' DescribeFleetInstances (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.
dfisFleetId :: Lens' DescribeFleetInstances Text Source #
The ID of the EC2 Fleet.
Destructuring the Response
describeFleetInstancesResponse Source #
Creates a value of DescribeFleetInstancesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsNextToken
- The token for the next set of results.drsFleetId
- The ID of the EC2 Fleet.drsActiveInstances
- The running instances. This list is refreshed periodically and might be out of date.drsResponseStatus
- -- | The response status code.
data DescribeFleetInstancesResponse Source #
See: describeFleetInstancesResponse
smart constructor.
Response Lenses
drsNextToken :: Lens' DescribeFleetInstancesResponse (Maybe Text) Source #
The token for the next set of results.
drsFleetId :: Lens' DescribeFleetInstancesResponse (Maybe Text) Source #
The ID of the EC2 Fleet.
drsActiveInstances :: Lens' DescribeFleetInstancesResponse [ActiveInstance] Source #
The running instances. This list is refreshed periodically and might be out of date.
drsResponseStatus :: Lens' DescribeFleetInstancesResponse Int Source #
- - | The response status code.