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.

GetDiscoveredResourceCountsInput

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

type GetDiscoveredResourceCountsInput struct { Limit *int64 `locationName:"limit" type:"integer"` NextToken *string `locationName:"nextToken" type:"string"` ResourceTypes []*string `locationName:"resourceTypes" type:"list"` }

Limit

Type: *int64

The maximum number of ResourceCount objects returned on each page. The default is 100. You cannot specify a number greater than 100. 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.

ResourceTypes

Type: []*string

The comma-separated list that specifies the resource types that you want AWS Config to return (for example, "AWS::EC2::Instance", "AWS::IAM::User").

If a value for resourceTypes is not specified, AWS Config returns all resource types that AWS Config is recording in the region for your account.

If the configuration recorder is turned off, AWS Config returns an empty list of ResourceCount objects. If the configuration recorder is not recording a specific resource type (for example, S3 buckets), that resource type is not returned in the list of ResourceCount objects.

Method

GoString

func (s GetDiscoveredResourceCountsInput) GoString() string

GoString returns the string representation

SetLimit

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

SetLimit sets the Limit field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetResourceTypes

func (s *GetDiscoveredResourceCountsInput) SetResourceTypes(v []*string) *GetDiscoveredResourceCountsInput

SetResourceTypes sets the ResourceTypes field's value.

String

func (s GetDiscoveredResourceCountsInput) String() string

String returns the string representation

On this page: