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 |
Describes time-based auto scaling configurations for specified instances.
You must specify at least one of the parameters.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
Synopsis
- data DescribeTimeBasedAutoScaling = DescribeTimeBasedAutoScaling' {
- instanceIds :: [Text]
- newDescribeTimeBasedAutoScaling :: DescribeTimeBasedAutoScaling
- describeTimeBasedAutoScaling_instanceIds :: Lens' DescribeTimeBasedAutoScaling [Text]
- data DescribeTimeBasedAutoScalingResponse = DescribeTimeBasedAutoScalingResponse' {}
- newDescribeTimeBasedAutoScalingResponse :: Int -> DescribeTimeBasedAutoScalingResponse
- describeTimeBasedAutoScalingResponse_timeBasedAutoScalingConfigurations :: Lens' DescribeTimeBasedAutoScalingResponse (Maybe [TimeBasedAutoScalingConfiguration])
- describeTimeBasedAutoScalingResponse_httpStatus :: Lens' DescribeTimeBasedAutoScalingResponse Int
Creating a Request
data DescribeTimeBasedAutoScaling Source #
See: newDescribeTimeBasedAutoScaling
smart constructor.
DescribeTimeBasedAutoScaling' | |
|
Instances
newDescribeTimeBasedAutoScaling :: DescribeTimeBasedAutoScaling Source #
Create a value of DescribeTimeBasedAutoScaling
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:instanceIds:DescribeTimeBasedAutoScaling'
, describeTimeBasedAutoScaling_instanceIds
- An array of instance IDs.
Request Lenses
describeTimeBasedAutoScaling_instanceIds :: Lens' DescribeTimeBasedAutoScaling [Text] Source #
An array of instance IDs.
Destructuring the Response
data DescribeTimeBasedAutoScalingResponse Source #
Contains the response to a DescribeTimeBasedAutoScaling
request.
See: newDescribeTimeBasedAutoScalingResponse
smart constructor.
DescribeTimeBasedAutoScalingResponse' | |
|
Instances
newDescribeTimeBasedAutoScalingResponse Source #
Create a value of DescribeTimeBasedAutoScalingResponse
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:timeBasedAutoScalingConfigurations:DescribeTimeBasedAutoScalingResponse'
, describeTimeBasedAutoScalingResponse_timeBasedAutoScalingConfigurations
- An array of TimeBasedAutoScalingConfiguration
objects that describe
the configuration for the specified instances.
$sel:httpStatus:DescribeTimeBasedAutoScalingResponse'
, describeTimeBasedAutoScalingResponse_httpStatus
- The response's http status code.
Response Lenses
describeTimeBasedAutoScalingResponse_timeBasedAutoScalingConfigurations :: Lens' DescribeTimeBasedAutoScalingResponse (Maybe [TimeBasedAutoScalingConfiguration]) Source #
An array of TimeBasedAutoScalingConfiguration
objects that describe
the configuration for the specified instances.
describeTimeBasedAutoScalingResponse_httpStatus :: Lens' DescribeTimeBasedAutoScalingResponse Int Source #
The response's http status code.