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.

ListListenersInput

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

type ListListenersInput struct { AcceleratorArn *string `type:"string" required:"true"` MaxResults *int64 `min:"1" type:"integer"` NextToken *string `type:"string"` }

AcceleratorArn

Type: *string

The Amazon Resource Name (ARN) of the accelerator for which you want to list listener objects.

AcceleratorArn is a required field

MaxResults

Type: *int64

The number of listener objects that you want to return with this call. The default value is 10.

NextToken

Type: *string

The token for the next set of results. You receive this token from a previous call.

Method

GoString

func (s ListListenersInput) GoString() string

GoString returns the string representation

SetAcceleratorArn

func (s *ListListenersInput) SetAcceleratorArn(v string) *ListListenersInput

SetAcceleratorArn sets the AcceleratorArn field's value.

SetMaxResults

func (s *ListListenersInput) SetMaxResults(v int64) *ListListenersInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s ListListenersInput) String() string

String returns the string representation

Validate

func (s *ListListenersInput) Validate() error

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

On this page: