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.

ResourceFilters

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

type ResourceFilters struct { AccountId *string `type:"string"` Region *string `min:"1" type:"string"` ResourceId *string `min:"1" type:"string"` ResourceName *string `type:"string"` }

Filters the results by resource account ID, region, resource ID, and resource name.

AccountId

Type: *string

The 12-digit source account ID.

Region

Type: *string

The source region.

ResourceId

Type: *string

The ID of the resource.

ResourceName

Type: *string

The name of the resource.

Method

GoString

func (s ResourceFilters) GoString() string

GoString returns the string representation

SetAccountId

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

SetAccountId sets the AccountId field's value.

SetRegion

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

SetRegion sets the Region field's value.

SetResourceId

func (s *ResourceFilters) SetResourceId(v string) *ResourceFilters

SetResourceId sets the ResourceId field's value.

SetResourceName

func (s *ResourceFilters) SetResourceName(v string) *ResourceFilters

SetResourceName sets the ResourceName field's value.

String

func (s ResourceFilters) String() string

String returns the string representation

Validate

func (s *ResourceFilters) Validate() error

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

On this page: