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.

ResourceCountFilters

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

type ResourceCountFilters struct { AccountId *string `type:"string"` Region *string `min:"1" type:"string"` ResourceType *string `type:"string" enum:"ResourceType"` }

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

AccountId

Type: *string

The 12-digit ID of the account.

Region

Type: *string

The region where the account is located.

ResourceType

Type: *string

The type of the AWS resource.

Method

GoString

func (s ResourceCountFilters) GoString() string

GoString returns the string representation

SetAccountId

func (s *ResourceCountFilters) SetAccountId(v string) *ResourceCountFilters

SetAccountId sets the AccountId field's value.

SetRegion

func (s *ResourceCountFilters) SetRegion(v string) *ResourceCountFilters

SetRegion sets the Region field's value.

SetResourceType

func (s *ResourceCountFilters) SetResourceType(v string) *ResourceCountFilters

SetResourceType sets the ResourceType field's value.

String

func (s ResourceCountFilters) String() string

String returns the string representation

Validate

func (s *ResourceCountFilters) Validate() error

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

On this page: