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.

Filters

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

type Filters struct { Channels []*string `type:"list"` Queues []*string `min:"1" type:"list"` }

The filter, either channel or queues, to apply to the metric results retrieved.

Channels

Type: []*string

The Channel to use as a filter for the metrics returned. Only VOICE is supported.

Queues

Type: []*string

A list of up to 100 queue IDs or queue ARNs to use to filter the metrics retrieved. You can include both IDs and ARNs in a request.

Method

GoString

func (s Filters) GoString() string

GoString returns the string representation

SetChannels

func (s *Filters) SetChannels(v []*string) *Filters

SetChannels sets the Channels field's value.

SetQueues

func (s *Filters) SetQueues(v []*string) *Filters

SetQueues sets the Queues field's value.

String

func (s Filters) String() string

String returns the string representation

Validate

func (s *Filters) Validate() error

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

On this page: