Container for the parameters to the DescribePolicies operation.

Returns descriptions of what each policy does. This action supports pagination. If the response includes a token, there are more records available. To get the additional records, repeat the request with the response token as the NextToken parameter.

Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class DescribePoliciesRequest : AmazonWebServiceRequest
Public Class DescribePoliciesRequest _
	Inherits AmazonWebServiceRequest
public ref class DescribePoliciesRequest : public AmazonWebServiceRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
DescribePoliciesRequest()()()()
Initializes a new instance of the DescribePoliciesRequest class
AutoScalingGroupName
The name of the Auto Scaling group.

Constraints:

Length
1 - 1600
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MaxRecords
The maximum number of policies that will be described with each call.

Constraints:

Range
1 - 50

NextToken
A string that is used to mark the start of the next batch of returned results for pagination.

Constraints:

Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

PolicyNames
A list of policy names or policy ARNs to be described. If this list is omitted, all policy names are described. If an auto scaling group name is provided, the results are limited to that group.The list of requested policy names cannot contain more than 50 items. If unknown policy names are requested, they are ignored with no error.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithAutoScalingGroupName(String)
Sets the AutoScalingGroupName property
WithMaxRecords(Int32)
Sets the MaxRecords property
WithNextToken(String)
Sets the NextToken property
WithPolicyNames(IEnumerable<(Of <<'(String>)>>))
Adds elements to the PolicyNames collection
WithPolicyNames(array<String>[]()[][])
Adds elements to the PolicyNames collection

Inheritance Hierarchy

System..::..Object
  Amazon.Runtime..::..AmazonWebServiceRequest
    Amazon.AutoScaling.Model..::..DescribePoliciesRequest

See Also