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 specified EC2 Fleet.
- describeFleets :: DescribeFleets
- data DescribeFleets
- dfsFilters :: Lens' DescribeFleets [Filter]
- dfsNextToken :: Lens' DescribeFleets (Maybe Text)
- dfsFleetIds :: Lens' DescribeFleets [Text]
- dfsDryRun :: Lens' DescribeFleets (Maybe Bool)
- dfsMaxResults :: Lens' DescribeFleets (Maybe Int)
- describeFleetsResponse :: Int -> DescribeFleetsResponse
- data DescribeFleetsResponse
- dfsrsNextToken :: Lens' DescribeFleetsResponse (Maybe Text)
- dfsrsFleets :: Lens' DescribeFleetsResponse [FleetData]
- dfsrsResponseStatus :: Lens' DescribeFleetsResponse Int
Creating a Request
describeFleets :: DescribeFleets Source #
Creates a value of DescribeFleets
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dfsFilters
- One or more filters.dfsNextToken
- The token for the next set of results.dfsFleetIds
- The ID of the EC2 Fleets.dfsDryRun
- 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
.dfsMaxResults
- 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.
data DescribeFleets Source #
See: describeFleets
smart constructor.
Request Lenses
dfsFilters :: Lens' DescribeFleets [Filter] Source #
One or more filters.
dfsNextToken :: Lens' DescribeFleets (Maybe Text) Source #
The token for the next set of results.
dfsFleetIds :: Lens' DescribeFleets [Text] Source #
The ID of the EC2 Fleets.
dfsDryRun :: Lens' DescribeFleets (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
.
dfsMaxResults :: Lens' DescribeFleets (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
describeFleetsResponse Source #
Creates a value of DescribeFleetsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dfsrsNextToken
- The token for the next set of results.dfsrsFleets
- The EC2 Fleets.dfsrsResponseStatus
- -- | The response status code.
data DescribeFleetsResponse Source #
See: describeFleetsResponse
smart constructor.
Response Lenses
dfsrsNextToken :: Lens' DescribeFleetsResponse (Maybe Text) Source #
The token for the next set of results.
dfsrsFleets :: Lens' DescribeFleetsResponse [FleetData] Source #
The EC2 Fleets.
dfsrsResponseStatus :: Lens' DescribeFleetsResponse Int Source #
- - | The response status code.