AWS SDK for .NET Documentation
DescribePoliciesRequest Class
AmazonAmazon.AutoScaling.ModelDescribePoliciesRequest Did this page help you?   Yes   No    Tell us about it...
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.

Declaration Syntax
C#
public class DescribePoliciesRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



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

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) Obsolete.
Sets the AutoScalingGroupName property

WithMaxRecords(Int32) Obsolete.
Sets the MaxRecords property

WithNextToken(String) Obsolete.
Sets the NextToken property

WithPolicyNames(array<String>[]()[][]) Obsolete.
Adds elements to the PolicyNames collection

WithPolicyNames(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Adds elements to the PolicyNames collection

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 DescribePoliciesRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)