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.

ListOperationsInput

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

type ListOperationsInput struct { Filters []*OperationFilter `type:"list"` MaxResults *int64 `min:"1" type:"integer"` NextToken *string `type:"string"` }

Filters

A complex type that lets you select the operations that you want to list.

MaxResults

Type: *int64

The maximum number of items that you want AWS Cloud Map to return in the response to a ListOperations request. If you don't specify a value for MaxResults, AWS Cloud Map returns up to 100 operations.

NextToken

Type: *string

For the first ListOperations request, omit this value.

If the response contains NextToken, submit another ListOperations request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

AWS Cloud Map gets MaxResults operations and then filters them based on the specified criteria. It's possible that no operations in the first MaxResults operations matched the specified criteria but that subsequent groups of MaxResults operations do contain operations that match the criteria.

Method

GoString

func (s ListOperationsInput) GoString() string

GoString returns the string representation

SetFilters

func (s *ListOperationsInput) SetFilters(v []*OperationFilter) *ListOperationsInput

SetFilters sets the Filters field's value.

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s ListOperationsInput) String() string

String returns the string representation

Validate

func (s *ListOperationsInput) Validate() error

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

On this page: