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.

InventoryFilter

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

type InventoryFilter struct { Key *string `min:"1" type:"string" required:"true"` Type *string `type:"string" enum:"InventoryQueryOperatorType"` Values []*string `min:"1" type:"list" required:"true"` }

One or more filters. Use a filter to return a more specific list of results.

Key

Type: *string

The name of the filter key.

Key is a required field

Type

Type: *string

The type of filter. Valid values include the following: "Equal"|"NotEqual"|"BeginWith"|"LessThan"|"GreaterThan"

Values

Type: []*string

Inventory filter values. Example: inventory filter where instance IDs are specified as values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal

Values is a required field

Method

GoString

func (s InventoryFilter) GoString() string

GoString returns the string representation

SetKey

func (s *InventoryFilter) SetKey(v string) *InventoryFilter

SetKey sets the Key field's value.

SetType

func (s *InventoryFilter) SetType(v string) *InventoryFilter

SetType sets the Type field's value.

SetValues

func (s *InventoryFilter) SetValues(v []*string) *InventoryFilter

SetValues sets the Values field's value.

String

func (s InventoryFilter) String() string

String returns the string representation

Validate

func (s *InventoryFilter) Validate() error

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

On this page: