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.

ListEntitlementsOutput

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

type ListEntitlementsOutput struct { Entitlements []*ListedEntitlement `locationName:"entitlements" type:"list"` NextToken *string `locationName:"nextToken" type:"string"` }

The result of a successful ListEntitlements request. The response includes the ARN of each entitlement, the name of the associated flow, and the NextToken to use in a subsequent ListEntitlements request.

Entitlements

An entitlement that has been granted to you from other AWS accounts.

NextToken

Type: *string

The token that identifies which batch of results that you want to see. For example, you submit a ListEntitlements request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListEntitlements request a second time and specify the NextToken value.

Method

GoString

func (s ListEntitlementsOutput) GoString() string

GoString returns the string representation

SetEntitlements

func (s *ListEntitlementsOutput) SetEntitlements(v []*ListedEntitlement) *ListEntitlementsOutput

SetEntitlements sets the Entitlements field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s ListEntitlementsOutput) String() string

String returns the string representation

On this page: