Amazon.ApplicationAutoScaling.AmazonApplicationAutoScalingClient.DescribeScalingPolicies C# (CSharp) Method

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
        public DescribeScalingPoliciesResponse DescribeScalingPolicies(DescribeScalingPoliciesRequest request)
        {
            var marshaller = new DescribeScalingPoliciesRequestMarshaller();
            var unmarshaller = DescribeScalingPoliciesResponseUnmarshaller.Instance;

            return Invoke<DescribeScalingPoliciesRequest,DescribeScalingPoliciesResponse>(request, marshaller, unmarshaller);
        }