Copyright | (c) 2013-2021 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 |
Gets information about the Auto Scaling instances in the account and Region.
This operation returns paginated results.
Synopsis
- data DescribeAutoScalingInstances = DescribeAutoScalingInstances' {
- nextToken :: Maybe Text
- instanceIds :: Maybe [Text]
- maxRecords :: Maybe Int
- newDescribeAutoScalingInstances :: DescribeAutoScalingInstances
- describeAutoScalingInstances_nextToken :: Lens' DescribeAutoScalingInstances (Maybe Text)
- describeAutoScalingInstances_instanceIds :: Lens' DescribeAutoScalingInstances (Maybe [Text])
- describeAutoScalingInstances_maxRecords :: Lens' DescribeAutoScalingInstances (Maybe Int)
- data DescribeAutoScalingInstancesResponse = DescribeAutoScalingInstancesResponse' {}
- newDescribeAutoScalingInstancesResponse :: Int -> DescribeAutoScalingInstancesResponse
- describeAutoScalingInstancesResponse_nextToken :: Lens' DescribeAutoScalingInstancesResponse (Maybe Text)
- describeAutoScalingInstancesResponse_autoScalingInstances :: Lens' DescribeAutoScalingInstancesResponse (Maybe [AutoScalingInstanceDetails])
- describeAutoScalingInstancesResponse_httpStatus :: Lens' DescribeAutoScalingInstancesResponse Int
Creating a Request
data DescribeAutoScalingInstances Source #
See: newDescribeAutoScalingInstances
smart constructor.
DescribeAutoScalingInstances' | |
|
Instances
newDescribeAutoScalingInstances :: DescribeAutoScalingInstances Source #
Create a value of DescribeAutoScalingInstances
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:nextToken:DescribeAutoScalingInstances'
, describeAutoScalingInstances_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:instanceIds:DescribeAutoScalingInstances'
, describeAutoScalingInstances_instanceIds
- The IDs of the instances. If you omit this parameter, all Auto Scaling
instances are described. If you specify an ID that does not exist, it is
ignored with no error.
Array Members: Maximum number of 50 items.
$sel:maxRecords:DescribeAutoScalingInstances'
, describeAutoScalingInstances_maxRecords
- The maximum number of items to return with this call. The default value
is 50
and the maximum value is 50
.
Request Lenses
describeAutoScalingInstances_nextToken :: Lens' DescribeAutoScalingInstances (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeAutoScalingInstances_instanceIds :: Lens' DescribeAutoScalingInstances (Maybe [Text]) Source #
The IDs of the instances. If you omit this parameter, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.
Array Members: Maximum number of 50 items.
describeAutoScalingInstances_maxRecords :: Lens' DescribeAutoScalingInstances (Maybe Int) Source #
The maximum number of items to return with this call. The default value
is 50
and the maximum value is 50
.
Destructuring the Response
data DescribeAutoScalingInstancesResponse Source #
See: newDescribeAutoScalingInstancesResponse
smart constructor.
DescribeAutoScalingInstancesResponse' | |
|
Instances
newDescribeAutoScalingInstancesResponse Source #
Create a value of DescribeAutoScalingInstancesResponse
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:nextToken:DescribeAutoScalingInstances'
, describeAutoScalingInstancesResponse_nextToken
- A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
$sel:autoScalingInstances:DescribeAutoScalingInstancesResponse'
, describeAutoScalingInstancesResponse_autoScalingInstances
- The instances.
$sel:httpStatus:DescribeAutoScalingInstancesResponse'
, describeAutoScalingInstancesResponse_httpStatus
- The response's http status code.
Response Lenses
describeAutoScalingInstancesResponse_nextToken :: Lens' DescribeAutoScalingInstancesResponse (Maybe Text) Source #
A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
describeAutoScalingInstancesResponse_autoScalingInstances :: Lens' DescribeAutoScalingInstancesResponse (Maybe [AutoScalingInstanceDetails]) Source #
The instances.
describeAutoScalingInstancesResponse_httpStatus :: Lens' DescribeAutoScalingInstancesResponse Int Source #
The response's http status code.