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.

AddOutputRequest

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

type AddOutputRequest struct { Description *string `locationName:"description" type:"string"` Destination *string `locationName:"destination" type:"string" required:"true"` Encryption *Encryption `locationName:"encryption" type:"structure"` MaxLatency *int64 `locationName:"maxLatency" type:"integer"` Name *string `locationName:"name" type:"string"` Port *int64 `locationName:"port" type:"integer" required:"true"` Protocol *string `locationName:"protocol" type:"string" required:"true" enum:"Protocol"` SmoothingLatency *int64 `locationName:"smoothingLatency" type:"integer"` StreamId *string `locationName:"streamId" type:"string"` }

The output that you want to add to this flow.

Description

Type: *string

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

Destination

Type: *string

The IP address from which video will be sent to output destinations.

Destination is a required field

Encryption

Information about the encryption of the flow.

MaxLatency

Type: *int64

The maximum latency in milliseconds for Zixi-based streams.

Name

Type: *string

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

Port

Type: *int64

The port to use when content is distributed to this output.

Port is a required field

Protocol

Type: *string

The protocol to use for the output.

Protocol is a required field

SmoothingLatency

Type: *int64

The smoothing latency in milliseconds for RTP and RTP-FEC streams.

StreamId

Type: *string

The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

Method

GoString

func (s AddOutputRequest) GoString() string

GoString returns the string representation

SetDescription

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

SetDescription sets the Description field's value.

SetDestination

func (s *AddOutputRequest) SetDestination(v string) *AddOutputRequest

SetDestination sets the Destination field's value.

SetEncryption

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

SetEncryption sets the Encryption field's value.

SetMaxLatency

func (s *AddOutputRequest) SetMaxLatency(v int64) *AddOutputRequest

SetMaxLatency sets the MaxLatency field's value.

SetName

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

SetName sets the Name field's value.

SetPort

func (s *AddOutputRequest) SetPort(v int64) *AddOutputRequest

SetPort sets the Port field's value.

SetProtocol

func (s *AddOutputRequest) SetProtocol(v string) *AddOutputRequest

SetProtocol sets the Protocol field's value.

SetSmoothingLatency

func (s *AddOutputRequest) SetSmoothingLatency(v int64) *AddOutputRequest

SetSmoothingLatency sets the SmoothingLatency field's value.

SetStreamId

func (s *AddOutputRequest) SetStreamId(v string) *AddOutputRequest

SetStreamId sets the StreamId field's value.

String

func (s AddOutputRequest) String() string

String returns the string representation

Validate

func (s *AddOutputRequest) Validate() error

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

On this page: