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.

GrantEntitlementRequest

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

type GrantEntitlementRequest struct { Description *string `locationName:"description" type:"string"` Encryption *Encryption `locationName:"encryption" type:"structure"` Name *string `locationName:"name" type:"string"` Subscribers []*string `locationName:"subscribers" type:"list" required:"true"` }

The entitlements that you want to grant on a flow.

Description

Type: *string

A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the subscriber or end user.

Encryption

Information about the encryption of the flow.

Name

Type: *string

The name of the entitlement. This value must be unique within the current flow.

Subscribers

Type: []*string

The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flows using your content as the source.

Subscribers is a required field

Method

GoString

func (s GrantEntitlementRequest) GoString() string

GoString returns the string representation

SetDescription

func (s *GrantEntitlementRequest) SetDescription(v string) *GrantEntitlementRequest

SetDescription sets the Description field's value.

SetEncryption

func (s *GrantEntitlementRequest) SetEncryption(v *Encryption) *GrantEntitlementRequest

SetEncryption sets the Encryption field's value.

SetName

func (s *GrantEntitlementRequest) SetName(v string) *GrantEntitlementRequest

SetName sets the Name field's value.

SetSubscribers

func (s *GrantEntitlementRequest) SetSubscribers(v []*string) *GrantEntitlementRequest

SetSubscribers sets the Subscribers field's value.

String

func (s GrantEntitlementRequest) String() string

String returns the string representation

Validate

func (s *GrantEntitlementRequest) Validate() error

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

On this page: