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.

GetAggregateDiscoveredResourceCountsInput

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

type GetAggregateDiscoveredResourceCountsInput struct { ConfigurationAggregatorName *string `min:"1" type:"string" required:"true"` Filters *ResourceCountFilters `type:"structure"` GroupByKey *string `type:"string" enum:"ResourceCountGroupKey"` Limit *int64 `type:"integer"` NextToken *string `type:"string"` }

ConfigurationAggregatorName

Type: *string

The name of the configuration aggregator.

ConfigurationAggregatorName is a required field

Filters

Filters the resource count based on account ID, region, and resource type.

GroupByKey

Type: *string

The key to group the resource counts.

Limit

Type: *int64

The maximum number of GroupedResourceCount objects returned on each page. The default is 1000. You cannot specify a number greater than 1000. If you specify 0, AWS Config uses the default.

NextToken

Type: *string

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

Method

GoString

func (s GetAggregateDiscoveredResourceCountsInput) GoString() string

GoString returns the string representation

SetConfigurationAggregatorName

func (s *GetAggregateDiscoveredResourceCountsInput) SetConfigurationAggregatorName(v string) *GetAggregateDiscoveredResourceCountsInput

SetConfigurationAggregatorName sets the ConfigurationAggregatorName field's value.

SetFilters

func (s *GetAggregateDiscoveredResourceCountsInput) SetFilters(v *ResourceCountFilters) *GetAggregateDiscoveredResourceCountsInput

SetFilters sets the Filters field's value.

SetGroupByKey

func (s *GetAggregateDiscoveredResourceCountsInput) SetGroupByKey(v string) *GetAggregateDiscoveredResourceCountsInput

SetGroupByKey sets the GroupByKey field's value.

SetLimit

func (s *GetAggregateDiscoveredResourceCountsInput) SetLimit(v int64) *GetAggregateDiscoveredResourceCountsInput

SetLimit sets the Limit field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s GetAggregateDiscoveredResourceCountsInput) String() string

String returns the string representation

Validate

func (s *GetAggregateDiscoveredResourceCountsInput) Validate() error

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

On this page: