AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DescribePoliciesInput

import "github.com/aws/aws-sdk-go/service/autoscaling"

type DescribePoliciesInput struct { AutoScalingGroupName *string `min:"1" type:"string"` MaxRecords *int64 `type:"integer"` NextToken *string `type:"string"` PolicyNames []*string `type:"list"` PolicyTypes []*string `type:"list"` }

AutoScalingGroupName

Type: *string

The name of the Auto Scaling group.

MaxRecords

Type: *int64

The maximum number of items to be returned with each call. The default value is 50 and the maximum value is 100.

NextToken

Type: *string

The token for the next set of items to return. (You received this token from a previous call.)

PolicyNames

Type: []*string

The names of one or more policies. If you omit this parameter, all policies are described. If a group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.

PolicyTypes

Type: []*string

One or more policy types. Valid values are SimpleScaling and StepScaling.

Method

GoString

func (s DescribePoliciesInput) GoString() string

GoString returns the string representation

SetAutoScalingGroupName

func (s *DescribePoliciesInput) SetAutoScalingGroupName(v string) *DescribePoliciesInput

SetAutoScalingGroupName sets the AutoScalingGroupName field's value.

SetMaxRecords

func (s *DescribePoliciesInput) SetMaxRecords(v int64) *DescribePoliciesInput

SetMaxRecords sets the MaxRecords field's value.

SetNextToken

func (s *DescribePoliciesInput) SetNextToken(v string) *DescribePoliciesInput

SetNextToken sets the NextToken field's value.

SetPolicyNames

func (s *DescribePoliciesInput) SetPolicyNames(v []*string) *DescribePoliciesInput

SetPolicyNames sets the PolicyNames field's value.

SetPolicyTypes

func (s *DescribePoliciesInput) SetPolicyTypes(v []*string) *DescribePoliciesInput

SetPolicyTypes sets the PolicyTypes field's value.

String

func (s DescribePoliciesInput) String() string

String returns the string representation

Validate

func (s *DescribePoliciesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: