Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Describes the running instances for the specified EC2 Fleet.
For more information, see Monitor your EC2 Fleet in the Amazon EC2 User Guide.
Synopsis
- data DescribeFleetInstances = DescribeFleetInstances' {}
- newDescribeFleetInstances :: Text -> DescribeFleetInstances
- describeFleetInstances_dryRun :: Lens' DescribeFleetInstances (Maybe Bool)
- describeFleetInstances_filters :: Lens' DescribeFleetInstances (Maybe [Filter])
- describeFleetInstances_maxResults :: Lens' DescribeFleetInstances (Maybe Int)
- describeFleetInstances_nextToken :: Lens' DescribeFleetInstances (Maybe Text)
- describeFleetInstances_fleetId :: Lens' DescribeFleetInstances Text
- data DescribeFleetInstancesResponse = DescribeFleetInstancesResponse' {
- activeInstances :: Maybe [ActiveInstance]
- fleetId :: Maybe Text
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeFleetInstancesResponse :: Int -> DescribeFleetInstancesResponse
- describeFleetInstancesResponse_activeInstances :: Lens' DescribeFleetInstancesResponse (Maybe [ActiveInstance])
- describeFleetInstancesResponse_fleetId :: Lens' DescribeFleetInstancesResponse (Maybe Text)
- describeFleetInstancesResponse_nextToken :: Lens' DescribeFleetInstancesResponse (Maybe Text)
- describeFleetInstancesResponse_httpStatus :: Lens' DescribeFleetInstancesResponse Int
Creating a Request
data DescribeFleetInstances Source #
See: newDescribeFleetInstances
smart constructor.
DescribeFleetInstances' | |
|
Instances
newDescribeFleetInstances Source #
Create a value of DescribeFleetInstances
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:DescribeFleetInstances'
, describeFleetInstances_dryRun
- 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
.
$sel:filters:DescribeFleetInstances'
, describeFleetInstances_filters
- The filters.
instance-type
- The instance type.
$sel:maxResults:DescribeFleetInstances'
, describeFleetInstances_maxResults
- 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.
DescribeFleetInstances
, describeFleetInstances_nextToken
- The token for the next set of results.
DescribeFleetInstances
, describeFleetInstances_fleetId
- The ID of the EC2 Fleet.
Request Lenses
describeFleetInstances_dryRun :: 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
.
describeFleetInstances_filters :: Lens' DescribeFleetInstances (Maybe [Filter]) Source #
The filters.
instance-type
- The instance type.
describeFleetInstances_maxResults :: 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.
describeFleetInstances_nextToken :: Lens' DescribeFleetInstances (Maybe Text) Source #
The token for the next set of results.
describeFleetInstances_fleetId :: Lens' DescribeFleetInstances Text Source #
The ID of the EC2 Fleet.
Destructuring the Response
data DescribeFleetInstancesResponse Source #
See: newDescribeFleetInstancesResponse
smart constructor.
DescribeFleetInstancesResponse' | |
|
Instances
newDescribeFleetInstancesResponse Source #
Create a value of DescribeFleetInstancesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:activeInstances:DescribeFleetInstancesResponse'
, describeFleetInstancesResponse_activeInstances
- The running instances. This list is refreshed periodically and might be
out of date.
DescribeFleetInstances
, describeFleetInstancesResponse_fleetId
- The ID of the EC2 Fleet.
DescribeFleetInstances
, describeFleetInstancesResponse_nextToken
- The token for the next set of results.
$sel:httpStatus:DescribeFleetInstancesResponse'
, describeFleetInstancesResponse_httpStatus
- The response's http status code.
Response Lenses
describeFleetInstancesResponse_activeInstances :: Lens' DescribeFleetInstancesResponse (Maybe [ActiveInstance]) Source #
The running instances. This list is refreshed periodically and might be out of date.
describeFleetInstancesResponse_fleetId :: Lens' DescribeFleetInstancesResponse (Maybe Text) Source #
The ID of the EC2 Fleet.
describeFleetInstancesResponse_nextToken :: Lens' DescribeFleetInstancesResponse (Maybe Text) Source #
The token for the next set of results.
describeFleetInstancesResponse_httpStatus :: Lens' DescribeFleetInstancesResponse Int Source #
The response's http status code.