C# Class Amazon.ApplicationAutoScaling.AmazonApplicationAutoScalingClient

Implementation for accessing ApplicationAutoScaling With Application Auto Scaling, you can automatically scale your AWS resources. The experience similar to that of Auto Scaling. You can use Application Auto Scaling to accomplish the following tasks:
  • Define scaling policies to automatically scale your AWS resources

  • Scale your resources in response to CloudWatch alarms

  • View the history of your scaling events

Application Auto Scaling can scale the following AWS resources:

For a list of supported regions, see AWS Regions and Endpoints: Application Auto Scaling in the AWS General Reference.

Inheritance: AmazonServiceClient, IAmazonApplicationAutoScaling
Mostrar archivo Open project: aws/aws-sdk-net

Public Methods

Method Description
AmazonApplicationAutoScalingClient ( ) : System

Constructs AmazonApplicationAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonApplicationAutoScalingClient ( AWSCredentials credentials ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Credentials

AmazonApplicationAutoScalingClient ( AWSCredentials credentials, AmazonApplicationAutoScalingConfig clientConfig ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Credentials and an AmazonApplicationAutoScalingClient Configuration object.

AmazonApplicationAutoScalingClient ( AWSCredentials credentials, RegionEndpoint region ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Credentials

AmazonApplicationAutoScalingClient ( AmazonApplicationAutoScalingConfig config ) : System

Constructs AmazonApplicationAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonApplicationAutoScalingClient ( RegionEndpoint region ) : System

Constructs AmazonApplicationAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID and AWS Secret Key

AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonApplicationAutoScalingConfig clientConfig ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID, AWS Secret Key and an AmazonApplicationAutoScalingClient Configuration object.

AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID and AWS Secret Key

AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID and AWS Secret Key

AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonApplicationAutoScalingConfig clientConfig ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID, AWS Secret Key and an AmazonApplicationAutoScalingClient Configuration object.

AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID and AWS Secret Key

BeginDeleteScalingPolicy ( DeleteScalingPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteScalingPolicy operation.

BeginDeregisterScalableTarget ( DeregisterScalableTargetRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeregisterScalableTarget operation.

BeginDescribeScalableTargets ( DescribeScalableTargetsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeScalableTargets operation.

BeginDescribeScalingActivities ( DescribeScalingActivitiesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeScalingActivities operation.

BeginDescribeScalingPolicies ( DescribeScalingPoliciesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeScalingPolicies operation.

BeginPutScalingPolicy ( PutScalingPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the PutScalingPolicy operation.

BeginRegisterScalableTarget ( RegisterScalableTargetRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the RegisterScalableTarget operation.

DeleteScalingPolicy ( DeleteScalingPolicyRequest request ) : DeleteScalingPolicyResponse

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 PutScalingPolicy.

DeleteScalingPolicyAsync ( DeleteScalingPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteScalingPolicy operation.

DeregisterScalableTarget ( DeregisterScalableTargetRequest request ) : DeregisterScalableTargetResponse

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 RegisterScalableTarget.

DeregisterScalableTargetAsync ( DeregisterScalableTargetRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeregisterScalableTarget operation.

DescribeScalableTargets ( DescribeScalableTargetsRequest request ) : DescribeScalableTargetsResponse

Provides descriptive information about the scalable targets in the specified namespace.

You can filter the results using the ResourceIds and ScalableDimension parameters.

To create a scalable target or update an existing one, see RegisterScalableTarget. If you are no longer using a scalable target, you can deregister it using DeregisterScalableTarget.

DescribeScalableTargetsAsync ( DescribeScalableTargetsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeScalableTargets operation.

DescribeScalingActivities ( DescribeScalingActivitiesRequest request ) : DescribeScalingActivitiesResponse

Provides descriptive information about the scaling activities in the specified namespace from the previous six weeks.

You can filter the results using the ResourceId and ScalableDimension parameters.

Scaling activities are triggered by CloudWatch alarms that are associated with scaling policies. To view the scaling policies for a service namespace, see DescribeScalingPolicies. To create a scaling policy or update an existing one, see PutScalingPolicy.

DescribeScalingActivitiesAsync ( DescribeScalingActivitiesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeScalingActivities operation.

DescribeScalingPolicies ( DescribeScalingPoliciesRequest request ) : DescribeScalingPoliciesResponse

Provides descriptive information about the scaling policies in the specified namespace.

You can filter the results using the ResourceId, ScalableDimension, and PolicyNames parameters.

To create a scaling policy or update an existing one, see PutScalingPolicy. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy.

DescribeScalingPoliciesAsync ( DescribeScalingPoliciesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeScalingPolicies operation.

EndDeleteScalingPolicy ( IAsyncResult asyncResult ) : DeleteScalingPolicyResponse

Finishes the asynchronous execution of the DeleteScalingPolicy operation.

EndDeregisterScalableTarget ( IAsyncResult asyncResult ) : DeregisterScalableTargetResponse

Finishes the asynchronous execution of the DeregisterScalableTarget operation.

EndDescribeScalableTargets ( IAsyncResult asyncResult ) : DescribeScalableTargetsResponse

Finishes the asynchronous execution of the DescribeScalableTargets operation.

EndDescribeScalingActivities ( IAsyncResult asyncResult ) : DescribeScalingActivitiesResponse

Finishes the asynchronous execution of the DescribeScalingActivities operation.

EndDescribeScalingPolicies ( IAsyncResult asyncResult ) : DescribeScalingPoliciesResponse

Finishes the asynchronous execution of the DescribeScalingPolicies operation.

EndPutScalingPolicy ( IAsyncResult asyncResult ) : PutScalingPolicyResponse

Finishes the asynchronous execution of the PutScalingPolicy operation.

EndRegisterScalableTarget ( IAsyncResult asyncResult ) : RegisterScalableTargetResponse

Finishes the asynchronous execution of the RegisterScalableTarget operation.

PutScalingPolicy ( PutScalingPolicyRequest request ) : PutScalingPolicyResponse

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 without first registering a scalable target using RegisterScalableTarget.

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 DescribeScalingPolicies. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy.

PutScalingPolicyAsync ( PutScalingPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the PutScalingPolicy operation.

RegisterScalableTarget ( RegisterScalableTargetRequest request ) : RegisterScalableTargetResponse

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 your scalable dimension.

After you register a scalable target, you can create and apply scaling policies using PutScalingPolicy. You can view the scaling policies for a service namespace using DescribeScalableTargets. If you are no longer using a scalable target, you can deregister it using DeregisterScalableTarget.

RegisterScalableTargetAsync ( RegisterScalableTargetRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the RegisterScalableTarget operation.

Protected Methods

Method Description
CreateSigner ( ) : AbstractAWSSigner

Creates the signer for the service.

Dispose ( bool disposing ) : void

Disposes the service client.

Method Details

AmazonApplicationAutoScalingClient() public method

Constructs AmazonApplicationAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonApplicationAutoScalingClient ( ) : System
return System

AmazonApplicationAutoScalingClient() public method

Constructs AmazonApplicationAutoScalingClient with AWS Credentials
public AmazonApplicationAutoScalingClient ( AWSCredentials credentials ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
return System

AmazonApplicationAutoScalingClient() public method

Constructs AmazonApplicationAutoScalingClient with AWS Credentials and an AmazonApplicationAutoScalingClient Configuration object.
public AmazonApplicationAutoScalingClient ( AWSCredentials credentials, AmazonApplicationAutoScalingConfig clientConfig ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
clientConfig AmazonApplicationAutoScalingConfig The AmazonApplicationAutoScalingClient Configuration Object
return System

AmazonApplicationAutoScalingClient() public method

Constructs AmazonApplicationAutoScalingClient with AWS Credentials
public AmazonApplicationAutoScalingClient ( AWSCredentials credentials, RegionEndpoint region ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
region RegionEndpoint The region to connect.
return System

AmazonApplicationAutoScalingClient() public method

Constructs AmazonApplicationAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonApplicationAutoScalingClient ( AmazonApplicationAutoScalingConfig config ) : System
config AmazonApplicationAutoScalingConfig The AmazonApplicationAutoScalingClient Configuration Object
return System

AmazonApplicationAutoScalingClient() public method

Constructs AmazonApplicationAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonApplicationAutoScalingClient ( RegionEndpoint region ) : System
region RegionEndpoint The region to connect.
return System

AmazonApplicationAutoScalingClient() public method

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID and AWS Secret Key
public AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
return System

AmazonApplicationAutoScalingClient() public method

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID, AWS Secret Key and an AmazonApplicationAutoScalingClient Configuration object.
public AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonApplicationAutoScalingConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
clientConfig AmazonApplicationAutoScalingConfig The AmazonApplicationAutoScalingClient Configuration Object
return System

AmazonApplicationAutoScalingClient() public method

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID and AWS Secret Key
public AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
region RegionEndpoint The region to connect.
return System

AmazonApplicationAutoScalingClient() public method

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID and AWS Secret Key
public AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
return System

AmazonApplicationAutoScalingClient() public method

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID, AWS Secret Key and an AmazonApplicationAutoScalingClient Configuration object.
public AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonApplicationAutoScalingConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
clientConfig AmazonApplicationAutoScalingConfig The AmazonApplicationAutoScalingClient Configuration Object
return System

AmazonApplicationAutoScalingClient() public method

Constructs AmazonApplicationAutoScalingClient with AWS Access Key ID and AWS Secret Key
public AmazonApplicationAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
region RegionEndpoint The region to connect.
return System

BeginDeleteScalingPolicy() public method

Initiates the asynchronous execution of the DeleteScalingPolicy operation.
public BeginDeleteScalingPolicy ( DeleteScalingPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ApplicationAutoScaling.Model.DeleteScalingPolicyRequest Container for the necessary parameters to execute the DeleteScalingPolicy operation on AmazonApplicationAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDeregisterScalableTarget() public method

Initiates the asynchronous execution of the DeregisterScalableTarget operation.
public BeginDeregisterScalableTarget ( DeregisterScalableTargetRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ApplicationAutoScaling.Model.DeregisterScalableTargetRequest Container for the necessary parameters to execute the DeregisterScalableTarget operation on AmazonApplicationAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeScalableTargets() public method

Initiates the asynchronous execution of the DescribeScalableTargets operation.
public BeginDescribeScalableTargets ( DescribeScalableTargetsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ApplicationAutoScaling.Model.DescribeScalableTargetsRequest Container for the necessary parameters to execute the DescribeScalableTargets operation on AmazonApplicationAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeScalingActivities() public method

Initiates the asynchronous execution of the DescribeScalingActivities operation.
public BeginDescribeScalingActivities ( DescribeScalingActivitiesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ApplicationAutoScaling.Model.DescribeScalingActivitiesRequest Container for the necessary parameters to execute the DescribeScalingActivities operation on AmazonApplicationAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeScalingPolicies() public method

Initiates the asynchronous execution of the DescribeScalingPolicies operation.
public BeginDescribeScalingPolicies ( DescribeScalingPoliciesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ApplicationAutoScaling.Model.DescribeScalingPoliciesRequest Container for the necessary parameters to execute the DescribeScalingPolicies operation on AmazonApplicationAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginPutScalingPolicy() public method

Initiates the asynchronous execution of the PutScalingPolicy operation.
public BeginPutScalingPolicy ( PutScalingPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ApplicationAutoScaling.Model.PutScalingPolicyRequest Container for the necessary parameters to execute the PutScalingPolicy operation on AmazonApplicationAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginRegisterScalableTarget() public method

Initiates the asynchronous execution of the RegisterScalableTarget operation.
public BeginRegisterScalableTarget ( RegisterScalableTargetRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.ApplicationAutoScaling.Model.RegisterScalableTargetRequest Container for the necessary parameters to execute the RegisterScalableTarget operation on AmazonApplicationAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

CreateSigner() protected method

Creates the signer for the service.
protected CreateSigner ( ) : AbstractAWSSigner
return Amazon.Runtime.Internal.Auth.AbstractAWSSigner

DeleteScalingPolicy() public method

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 PutScalingPolicy.

/// Concurrent updates caused an exception, for example, if you request an update to an /// Application Auto Scaling resource that already has a pending update. /// /// The service encountered an internal error. /// /// The specified object could not be found. For any Put or Register /// API operation, which depends on the existence of a scalable target, this exception /// is thrown if the scalable target with the specified service namespace, resource ID, /// and scalable dimension does not exist. For any Delete or Deregister /// API operation, this exception is thrown if the resource that is to be deleted or deregistered /// cannot be found. /// /// An exception was thrown for a validation issue. Review the available parameters for /// the API request. ///
public DeleteScalingPolicy ( DeleteScalingPolicyRequest request ) : DeleteScalingPolicyResponse
request Amazon.ApplicationAutoScaling.Model.DeleteScalingPolicyRequest Container for the necessary parameters to execute the DeleteScalingPolicy service method.
return DeleteScalingPolicyResponse

DeleteScalingPolicyAsync() public method

Initiates the asynchronous execution of the DeleteScalingPolicy operation.
public DeleteScalingPolicyAsync ( DeleteScalingPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationAutoScaling.Model.DeleteScalingPolicyRequest Container for the necessary parameters to execute the DeleteScalingPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DeregisterScalableTarget() public method

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 RegisterScalableTarget.

/// Concurrent updates caused an exception, for example, if you request an update to an /// Application Auto Scaling resource that already has a pending update. /// /// The service encountered an internal error. /// /// The specified object could not be found. For any Put or Register /// API operation, which depends on the existence of a scalable target, this exception /// is thrown if the scalable target with the specified service namespace, resource ID, /// and scalable dimension does not exist. For any Delete or Deregister /// API operation, this exception is thrown if the resource that is to be deleted or deregistered /// cannot be found. /// /// An exception was thrown for a validation issue. Review the available parameters for /// the API request. ///
public DeregisterScalableTarget ( DeregisterScalableTargetRequest request ) : DeregisterScalableTargetResponse
request Amazon.ApplicationAutoScaling.Model.DeregisterScalableTargetRequest Container for the necessary parameters to execute the DeregisterScalableTarget service method.
return DeregisterScalableTargetResponse

DeregisterScalableTargetAsync() public method

Initiates the asynchronous execution of the DeregisterScalableTarget operation.
public DeregisterScalableTargetAsync ( DeregisterScalableTargetRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationAutoScaling.Model.DeregisterScalableTargetRequest Container for the necessary parameters to execute the DeregisterScalableTarget operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeScalableTargets() public method

Provides descriptive information about the scalable targets in the specified namespace.

You can filter the results using the ResourceIds and ScalableDimension parameters.

To create a scalable target or update an existing one, see RegisterScalableTarget. If you are no longer using a scalable target, you can deregister it using DeregisterScalableTarget.

/// Concurrent updates caused an exception, for example, if you request an update to an /// Application Auto Scaling resource that already has a pending update. /// /// The service encountered an internal error. /// /// The next token supplied was invalid. /// /// An exception was thrown for a validation issue. Review the available parameters for /// the API request. ///
public DescribeScalableTargets ( DescribeScalableTargetsRequest request ) : DescribeScalableTargetsResponse
request Amazon.ApplicationAutoScaling.Model.DescribeScalableTargetsRequest Container for the necessary parameters to execute the DescribeScalableTargets service method.
return Amazon.ApplicationAutoScaling.Model.DescribeScalableTargetsResponse

DescribeScalableTargetsAsync() public method

Initiates the asynchronous execution of the DescribeScalableTargets operation.
public DescribeScalableTargetsAsync ( DescribeScalableTargetsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationAutoScaling.Model.DescribeScalableTargetsRequest Container for the necessary parameters to execute the DescribeScalableTargets operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeScalingActivities() public method

Provides descriptive information about the scaling activities in the specified namespace from the previous six weeks.

You can filter the results using the ResourceId and ScalableDimension parameters.

Scaling activities are triggered by CloudWatch alarms that are associated with scaling policies. To view the scaling policies for a service namespace, see DescribeScalingPolicies. To create a scaling policy or update an existing one, see PutScalingPolicy.

/// Concurrent updates caused an exception, for example, if you request an update to an /// Application Auto Scaling resource that already has a pending update. /// /// The service encountered an internal error. /// /// The next token supplied was invalid. /// /// An exception was thrown for a validation issue. Review the available parameters for /// the API request. ///
public DescribeScalingActivities ( DescribeScalingActivitiesRequest request ) : DescribeScalingActivitiesResponse
request Amazon.ApplicationAutoScaling.Model.DescribeScalingActivitiesRequest Container for the necessary parameters to execute the DescribeScalingActivities service method.
return Amazon.ApplicationAutoScaling.Model.DescribeScalingActivitiesResponse

DescribeScalingActivitiesAsync() public method

Initiates the asynchronous execution of the DescribeScalingActivities operation.
public DescribeScalingActivitiesAsync ( DescribeScalingActivitiesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationAutoScaling.Model.DescribeScalingActivitiesRequest Container for the necessary parameters to execute the DescribeScalingActivities operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeScalingPolicies() public method

Provides descriptive information about the scaling policies in the specified namespace.

You can filter the results using the ResourceId, ScalableDimension, and PolicyNames parameters.

To create a scaling policy or update an existing one, see PutScalingPolicy. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy.

/// Concurrent updates caused an exception, for example, if you request an update to an /// Application Auto Scaling resource that already has a pending update. /// /// Failed access to resources caused an exception. This exception currently only applies /// to DescribeScalingPolicies. It is thrown when Application Auto Scaling is unable /// to retrieve the alarms associated with a scaling policy due to a client error, for /// example, if the role ARN specified for a scalable target does not have the proper /// permissions to call the CloudWatch DescribeAlarms /// API operation on behalf of your account. /// /// The service encountered an internal error. /// /// The next token supplied was invalid. /// /// An exception was thrown for a validation issue. Review the available parameters for /// the API request. ///
public DescribeScalingPolicies ( DescribeScalingPoliciesRequest request ) : DescribeScalingPoliciesResponse
request Amazon.ApplicationAutoScaling.Model.DescribeScalingPoliciesRequest Container for the necessary parameters to execute the DescribeScalingPolicies service method.
return Amazon.ApplicationAutoScaling.Model.DescribeScalingPoliciesResponse

DescribeScalingPoliciesAsync() public method

Initiates the asynchronous execution of the DescribeScalingPolicies operation.
public DescribeScalingPoliciesAsync ( DescribeScalingPoliciesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationAutoScaling.Model.DescribeScalingPoliciesRequest Container for the necessary parameters to execute the DescribeScalingPolicies operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

Dispose() protected method

Disposes the service client.
protected Dispose ( bool disposing ) : void
disposing bool
return void

EndDeleteScalingPolicy() public method

Finishes the asynchronous execution of the DeleteScalingPolicy operation.
public EndDeleteScalingPolicy ( IAsyncResult asyncResult ) : DeleteScalingPolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteScalingPolicy.
return DeleteScalingPolicyResponse

EndDeregisterScalableTarget() public method

Finishes the asynchronous execution of the DeregisterScalableTarget operation.
public EndDeregisterScalableTarget ( IAsyncResult asyncResult ) : DeregisterScalableTargetResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeregisterScalableTarget.
return DeregisterScalableTargetResponse

EndDescribeScalableTargets() public method

Finishes the asynchronous execution of the DescribeScalableTargets operation.
public EndDescribeScalableTargets ( IAsyncResult asyncResult ) : DescribeScalableTargetsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeScalableTargets.
return Amazon.ApplicationAutoScaling.Model.DescribeScalableTargetsResponse

EndDescribeScalingActivities() public method

Finishes the asynchronous execution of the DescribeScalingActivities operation.
public EndDescribeScalingActivities ( IAsyncResult asyncResult ) : DescribeScalingActivitiesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeScalingActivities.
return Amazon.ApplicationAutoScaling.Model.DescribeScalingActivitiesResponse

EndDescribeScalingPolicies() public method

Finishes the asynchronous execution of the DescribeScalingPolicies operation.
public EndDescribeScalingPolicies ( IAsyncResult asyncResult ) : DescribeScalingPoliciesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeScalingPolicies.
return Amazon.ApplicationAutoScaling.Model.DescribeScalingPoliciesResponse

EndPutScalingPolicy() public method

Finishes the asynchronous execution of the PutScalingPolicy operation.
public EndPutScalingPolicy ( IAsyncResult asyncResult ) : PutScalingPolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginPutScalingPolicy.
return Amazon.ApplicationAutoScaling.Model.PutScalingPolicyResponse

EndRegisterScalableTarget() public method

Finishes the asynchronous execution of the RegisterScalableTarget operation.
public EndRegisterScalableTarget ( IAsyncResult asyncResult ) : RegisterScalableTargetResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginRegisterScalableTarget.
return RegisterScalableTargetResponse

PutScalingPolicy() public method

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 without first registering a scalable target using RegisterScalableTarget.

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 DescribeScalingPolicies. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy.

/// Concurrent updates caused an exception, for example, if you request an update to an /// Application Auto Scaling resource that already has a pending update. /// /// The service encountered an internal error. /// /// Your account exceeded a limit. This exception is thrown when a per-account resource /// limit is exceeded. For more information, see Application /// Auto Scaling Limits. /// /// The specified object could not be found. For any Put or Register /// API operation, which depends on the existence of a scalable target, this exception /// is thrown if the scalable target with the specified service namespace, resource ID, /// and scalable dimension does not exist. For any Delete or Deregister /// API operation, this exception is thrown if the resource that is to be deleted or deregistered /// cannot be found. /// /// An exception was thrown for a validation issue. Review the available parameters for /// the API request. ///
public PutScalingPolicy ( PutScalingPolicyRequest request ) : PutScalingPolicyResponse
request Amazon.ApplicationAutoScaling.Model.PutScalingPolicyRequest Container for the necessary parameters to execute the PutScalingPolicy service method.
return Amazon.ApplicationAutoScaling.Model.PutScalingPolicyResponse

PutScalingPolicyAsync() public method

Initiates the asynchronous execution of the PutScalingPolicy operation.
public PutScalingPolicyAsync ( PutScalingPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationAutoScaling.Model.PutScalingPolicyRequest Container for the necessary parameters to execute the PutScalingPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

RegisterScalableTarget() public method

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 your scalable dimension.

After you register a scalable target, you can create and apply scaling policies using PutScalingPolicy. You can view the scaling policies for a service namespace using DescribeScalableTargets. If you are no longer using a scalable target, you can deregister it using DeregisterScalableTarget.

/// Concurrent updates caused an exception, for example, if you request an update to an /// Application Auto Scaling resource that already has a pending update. /// /// The service encountered an internal error. /// /// Your account exceeded a limit. This exception is thrown when a per-account resource /// limit is exceeded. For more information, see Application /// Auto Scaling Limits. /// /// An exception was thrown for a validation issue. Review the available parameters for /// the API request. ///
public RegisterScalableTarget ( RegisterScalableTargetRequest request ) : RegisterScalableTargetResponse
request Amazon.ApplicationAutoScaling.Model.RegisterScalableTargetRequest Container for the necessary parameters to execute the RegisterScalableTarget service method.
return RegisterScalableTargetResponse

RegisterScalableTargetAsync() public method

Initiates the asynchronous execution of the RegisterScalableTarget operation.
public RegisterScalableTargetAsync ( RegisterScalableTargetRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ApplicationAutoScaling.Model.RegisterScalableTargetRequest Container for the necessary parameters to execute the RegisterScalableTarget operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task