ApplicationAutoScalingClient Class
(QtAws::ApplicationAutoScaling::ApplicationAutoScalingClient)The ApplicationAutoScalingClient class provides access to the Application Auto Scaling service. More...
| Header: | #include <ApplicationAutoScalingClient> |
| Inherits: | QtAws::Core::AwsAbstractClient |
Public Functions
| ApplicationAutoScalingClient(const QtAws::Core::AwsRegion::Region region = QtAws::Core::AwsRegion::InvalidRegion, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0) | |
| ApplicationAutoScalingClient(const QUrl &endpoint, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0) |
- 12 public functions inherited from QtAws::Core::AwsAbstractClient
Public Slots
| DeleteScalingPolicyResponse * | deleteScalingPolicy(const DeleteScalingPolicyRequest &request) |
| DeleteScheduledActionResponse * | deleteScheduledAction(const DeleteScheduledActionRequest &request) |
| DeregisterScalableTargetResponse * | deregisterScalableTarget(const DeregisterScalableTargetRequest &request) |
| DescribeScalableTargetsResponse * | describeScalableTargets(const DescribeScalableTargetsRequest &request) |
| DescribeScalingActivitiesResponse * | describeScalingActivities(const DescribeScalingActivitiesRequest &request) |
| DescribeScalingPoliciesResponse * | describeScalingPolicies(const DescribeScalingPoliciesRequest &request) |
| DescribeScheduledActionsResponse * | describeScheduledActions(const DescribeScheduledActionsRequest &request) |
| PutScalingPolicyResponse * | putScalingPolicy(const PutScalingPolicyRequest &request) |
| PutScheduledActionResponse * | putScheduledAction(const PutScheduledActionRequest &request) |
| RegisterScalableTargetResponse * | registerScalableTarget(const RegisterScalableTargetRequest &request) |
Additional Inherited Members
- 2 protected functions inherited from QtAws::Core::AwsAbstractClient
Detailed Description
The ApplicationAutoScalingClient class provides access to the Application Auto Scaling service.
With Application Auto Scaling, you can configure automatic scaling for your scalable AWS resources. You can use Application Auto Scaling to accomplish the following
tasks> <ul> <li>
Define scaling policies to automatically scale your AWS
resource> </li> <li>
Scale your resources in response to CloudWatch
alarm> </li> <li>
Schedule one-time or recurring scaling
action> </li> <li>
View the history of your scaling
event> </li> </ul>
Application Auto Scaling can scale the following AWS
resources> <ul> <li>
Amazon ECS services. For more information, see <a href="http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html">Service Auto Scaling</a> in the <i>Amazon Elastic Container Service Developer
Guide</i>> </li> <li>
Amazon EC2 Spot fleets. For more information, see <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-auto-scaling.html">Automatic Scaling for Spot Fleet</a> in the <i>Amazon EC2 User
Guide</i>> </li> <li>
Amazon EMR clusters. For more information, see <a href="http://docs.aws.amazon.com/ElasticMapReduce/latest/ManagementGuide/emr-automatic-scaling.html">Using Automatic Scaling in Amazon EMR</a> in the <i>Amazon EMR Management
Guide</i>> </li> <li>
AppStream 2.0 fleets. For more information, see <a href="http://docs.aws.amazon.com/appstream2/latest/developerguide/autoscaling.html">Fleet Auto Scaling for Amazon AppStream 2.0</a> in the <i>Amazon AppStream 2.0 Developer
Guide</i>> </li> <li>
Provisioned read and write capacity for Amazon DynamoDB tables and global secondary indexes. For more information, see <a href="http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html">Managing Throughput Capacity Automatically with DynamoDB Auto Scaling</a> in the <i>Amazon DynamoDB Developer
Guide</i>> </li> <li>
Amazon Aurora Replicas. For more information, see <a href="http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Integrating.AutoScaling.html">Using Amazon Aurora Auto Scaling with Aurora
Replicas</a>> </li> <li>
Amazon SageMaker endpoints. For more information, see <a href="http://docs.aws.amazon.com/sagemaker/latest/dg/endpoint-auto-scaling.html">Automatically Scaling Amazon SageMaker
Models</a>> </li> </ul>
To configure automatic scaling for multiple resources across multiple services, use AWS Auto Scaling to create a scaling plan for your application. For more information, see <a href="http://aws.amazon.com/autoscaling">AWS Auto
Scaling</a>>
For a list of supported regions, see <a href="http://docs.aws.amazon.com/general/latest/gr/rande.html#as-app_region">AWS Regions and Endpoints: Application Auto Scaling</a> in the <i>AWS General
Member Function Documentation
ApplicationAutoScalingClient::ApplicationAutoScalingClient(const QtAws::Core::AwsRegion::Region region = QtAws::Core::AwsRegion::InvalidRegion, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)
Constructs a ApplicationAutoScalingClient object.
The new client object will region, credentials, and manager for network operations.
The new object will be owned by parent, if set.
ApplicationAutoScalingClient::ApplicationAutoScalingClient(const QUrl &endpoint, QtAws::Core::AwsAbstractCredentials *credentials = NULL, QNetworkAccessManager * const manager = NULL, QObject * const parent = 0)
This function overloads ApplicationAutoScalingClient().
This overload allows the caller to specify the specific endpoint to send requests to. Typically, it is easier to use the alternative constructor, which allows the caller to specify an AWS region instead, in which case this client will determine the correct endpoint for the given region automatically (via AwsEndpoint::getEndpoint).
See also QtAws::Core::AwsEndpoint::getEndpoint.
[slot] DeleteScalingPolicyResponse *ApplicationAutoScalingClient::deleteScalingPolicy(const DeleteScalingPolicyRequest &request)
Sends request to the ApplicationAutoScalingClient service, and returns a pointer to an DeleteScalingPolicyResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Deletes the specified Application Auto Scaling scaling
policy>
Deleting a policy deletes the underlying alarm action, but does not delete the CloudWatch alarm associated with the scaling policy, even if it no longer has an associated
action>
To create a scaling policy or update an existing one, see
[slot] DeleteScheduledActionResponse *ApplicationAutoScalingClient::deleteScheduledAction(const DeleteScheduledActionRequest &request)
Sends request to the ApplicationAutoScalingClient service, and returns a pointer to an DeleteScheduledActionResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Deletes the specified Application Auto Scaling scheduled
[slot] DeregisterScalableTargetResponse *ApplicationAutoScalingClient::deregisterScalableTarget(const DeregisterScalableTargetRequest &request)
Sends request to the ApplicationAutoScalingClient service, and returns a pointer to an DeregisterScalableTargetResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Deregisters a scalable
target>
Deregistering a scalable target deletes the scaling policies that are associated with
it>
To create a scalable target or update an existing one, see
[slot] DescribeScalableTargetsResponse *ApplicationAutoScalingClient::describeScalableTargets(const DescribeScalableTargetsRequest &request)
Sends request to the ApplicationAutoScalingClient service, and returns a pointer to an DescribeScalableTargetsResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Gets information about the scalable targets in the specified
namespace>
You can filter the results using the <code>ResourceIds</code> and <code>ScalableDimension</code>
parameters>
To create a scalable target or update an existing one, see <a>RegisterScalableTarget</a>. If you are no longer using a scalable target, you can deregister it using
[slot] DescribeScalingActivitiesResponse *ApplicationAutoScalingClient::describeScalingActivities(const DescribeScalingActivitiesRequest &request)
Sends request to the ApplicationAutoScalingClient service, and returns a pointer to an DescribeScalingActivitiesResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Provides descriptive information about the scaling activities in the specified namespace from the previous six
weeks>
You can filter the results using the <code>ResourceId</code> and <code>ScalableDimension</code>
parameters>
Scaling activities are triggered by CloudWatch alarms that are associated with scaling policies. To view the scaling policies for a service namespace, see <a>DescribeScalingPolicies</a>. To create a scaling policy or update an existing one, see
[slot] DescribeScalingPoliciesResponse *ApplicationAutoScalingClient::describeScalingPolicies(const DescribeScalingPoliciesRequest &request)
Sends request to the ApplicationAutoScalingClient service, and returns a pointer to an DescribeScalingPoliciesResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Describes the scaling policies for the specified service
namespace>
You can filter the results using the <code>ResourceId</code>, <code>ScalableDimension</code>, and <code>PolicyNames</code>
parameters>
To create a scaling policy or update an existing one, see <a>PutScalingPolicy</a>. If you are no longer using a scaling policy, you can delete it using
[slot] DescribeScheduledActionsResponse *ApplicationAutoScalingClient::describeScheduledActions(const DescribeScheduledActionsRequest &request)
Sends request to the ApplicationAutoScalingClient service, and returns a pointer to an DescribeScheduledActionsResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Describes the scheduled actions for the specified service
namespace>
You can filter the results using the <code>ResourceId</code>, <code>ScalableDimension</code>, and <code>ScheduledActionNames</code>
parameters>
To create a scheduled action or update an existing one, see <a>PutScheduledAction</a>. If you are no longer using a scheduled action, you can delete it using
[slot] PutScalingPolicyResponse *ApplicationAutoScalingClient::putScalingPolicy(const PutScalingPolicyRequest &request)
Sends request to the ApplicationAutoScalingClient service, and returns a pointer to an PutScalingPolicyResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Creates or updates a policy for an Application Auto Scaling scalable
target>
Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scaling policy applies to the scalable target identified by those three attributes. You cannot create a scaling policy until you register the scalable target using
<a>RegisterScalableTarget</a>>
To update a policy, specify its policy name and the parameters that you want to change. Any parameters that you don't specify are not changed by this update
request>
You can view the scaling policies for a service namespace using <a>DescribeScalingPolicies</a>. If you are no longer using a scaling policy, you can delete it using
[slot] PutScheduledActionResponse *ApplicationAutoScalingClient::putScheduledAction(const PutScheduledActionRequest &request)
Sends request to the ApplicationAutoScalingClient service, and returns a pointer to an PutScheduledActionResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Creates or updates a scheduled action for an Application Auto Scaling scalable
target>
Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scheduled action applies to the scalable target identified by those three attributes. You cannot create a scheduled action until you register the scalable target using
<a>RegisterScalableTarget</a>>
To update an action, specify its name and the parameters that you want to change. If you don't specify start and end times, the old values are deleted. Any other parameters that you don't specify are not changed by this update
request>
You can view the scheduled actions using <a>DescribeScheduledActions</a>. If you are no longer using a scheduled action, you can delete it using
[slot] RegisterScalableTargetResponse *ApplicationAutoScalingClient::registerScalableTarget(const RegisterScalableTargetRequest &request)
Sends request to the ApplicationAutoScalingClient service, and returns a pointer to an RegisterScalableTargetResponse object to track the result.
Note: The caller is to take responsbility for the resulting pointer.
Registers or updates a scalable target. A scalable target is a resource that Application Auto Scaling can scale out or scale in. After you have registered a scalable target, you can use this operation to update the minimum and maximum values for its scalable
dimension>
After you register a scalable target, you can create and apply scaling policies using <a>PutScalingPolicy</a>. You can view the scaling policies for a service namespace using <a>DescribeScalableTargets</a>. If you no longer need a scalable target, you can deregister it using
© 2018 Paul Colby Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.