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 a warm pool and its instances.
For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
Synopsis
- data DescribeWarmPool = DescribeWarmPool' {}
- newDescribeWarmPool :: Text -> DescribeWarmPool
- describeWarmPool_nextToken :: Lens' DescribeWarmPool (Maybe Text)
- describeWarmPool_maxRecords :: Lens' DescribeWarmPool (Maybe Int)
- describeWarmPool_autoScalingGroupName :: Lens' DescribeWarmPool Text
- data DescribeWarmPoolResponse = DescribeWarmPoolResponse' {}
- newDescribeWarmPoolResponse :: Int -> DescribeWarmPoolResponse
- describeWarmPoolResponse_nextToken :: Lens' DescribeWarmPoolResponse (Maybe Text)
- describeWarmPoolResponse_instances :: Lens' DescribeWarmPoolResponse (Maybe [Instance])
- describeWarmPoolResponse_warmPoolConfiguration :: Lens' DescribeWarmPoolResponse (Maybe WarmPoolConfiguration)
- describeWarmPoolResponse_httpStatus :: Lens' DescribeWarmPoolResponse Int
Creating a Request
data DescribeWarmPool Source #
See: newDescribeWarmPool
smart constructor.
DescribeWarmPool' | |
|
Instances
Create a value of DescribeWarmPool
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:DescribeWarmPool'
, describeWarmPool_nextToken
- The token for the next set of instances to return. (You received this
token from a previous call.)
$sel:maxRecords:DescribeWarmPool'
, describeWarmPool_maxRecords
- The maximum number of instances to return with this call. The maximum
value is 50
.
$sel:autoScalingGroupName:DescribeWarmPool'
, describeWarmPool_autoScalingGroupName
- The name of the Auto Scaling group.
Request Lenses
describeWarmPool_nextToken :: Lens' DescribeWarmPool (Maybe Text) Source #
The token for the next set of instances to return. (You received this token from a previous call.)
describeWarmPool_maxRecords :: Lens' DescribeWarmPool (Maybe Int) Source #
The maximum number of instances to return with this call. The maximum
value is 50
.
describeWarmPool_autoScalingGroupName :: Lens' DescribeWarmPool Text Source #
The name of the Auto Scaling group.
Destructuring the Response
data DescribeWarmPoolResponse Source #
See: newDescribeWarmPoolResponse
smart constructor.
DescribeWarmPoolResponse' | |
|
Instances
newDescribeWarmPoolResponse Source #
Create a value of DescribeWarmPoolResponse
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:DescribeWarmPool'
, describeWarmPoolResponse_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:instances:DescribeWarmPoolResponse'
, describeWarmPoolResponse_instances
- The instances that are currently in the warm pool.
$sel:warmPoolConfiguration:DescribeWarmPoolResponse'
, describeWarmPoolResponse_warmPoolConfiguration
- The warm pool configuration details.
$sel:httpStatus:DescribeWarmPoolResponse'
, describeWarmPoolResponse_httpStatus
- The response's http status code.
Response Lenses
describeWarmPoolResponse_nextToken :: Lens' DescribeWarmPoolResponse (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeWarmPoolResponse_instances :: Lens' DescribeWarmPoolResponse (Maybe [Instance]) Source #
The instances that are currently in the warm pool.
describeWarmPoolResponse_warmPoolConfiguration :: Lens' DescribeWarmPoolResponse (Maybe WarmPoolConfiguration) Source #
The warm pool configuration details.
describeWarmPoolResponse_httpStatus :: Lens' DescribeWarmPoolResponse Int Source #
The response's http status code.