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.

ListDiscoveredResourcesInput

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

type ListDiscoveredResourcesInput struct { IncludeDeletedResources *bool `locationName:"includeDeletedResources" type:"boolean"` Limit *int64 `locationName:"limit" type:"integer"` NextToken *string `locationName:"nextToken" type:"string"` ResourceIds []*string `locationName:"resourceIds" type:"list"` ResourceName *string `locationName:"resourceName" type:"string"` ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"` }

IncludeDeletedResources

Type: *bool

Specifies whether AWS Config includes deleted resources in the results. By default, deleted resources are not included.

Limit

Type: *int64

The maximum number of resource identifiers 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.

ResourceIds

Type: []*string

The IDs of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.

ResourceName

Type: *string

The custom name of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.

ResourceType

Type: *string

The type of resources that you want AWS Config to list in the response.

ResourceType is a required field

Method

GoString

func (s ListDiscoveredResourcesInput) GoString() string

GoString returns the string representation

SetIncludeDeletedResources

func (s *ListDiscoveredResourcesInput) SetIncludeDeletedResources(v bool) *ListDiscoveredResourcesInput

SetIncludeDeletedResources sets the IncludeDeletedResources field's value.

SetLimit

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

SetLimit sets the Limit field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetResourceIds

func (s *ListDiscoveredResourcesInput) SetResourceIds(v []*string) *ListDiscoveredResourcesInput

SetResourceIds sets the ResourceIds field's value.

SetResourceName

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

SetResourceName sets the ResourceName field's value.

SetResourceType

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

SetResourceType sets the ResourceType field's value.

String

func (s ListDiscoveredResourcesInput) String() string

String returns the string representation

Validate

func (s *ListDiscoveredResourcesInput) Validate() error

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

On this page: