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.

UpdateFlowSourceInput

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

type UpdateFlowSourceInput struct { Decryption *UpdateEncryption `locationName:"decryption" type:"structure"` Description *string `locationName:"description" type:"string"` EntitlementArn *string `locationName:"entitlementArn" type:"string"` FlowArn *string `location:"uri" locationName:"flowArn" type:"string" required:"true"` IngestPort *int64 `locationName:"ingestPort" type:"integer"` MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"` MaxLatency *int64 `locationName:"maxLatency" type:"integer"` Protocol *string `locationName:"protocol" type:"string" enum:"Protocol"` SourceArn *string `location:"uri" locationName:"sourceArn" type:"string" required:"true"` StreamId *string `locationName:"streamId" type:"string"` WhitelistCidr *string `locationName:"whitelistCidr" type:"string"` }

The settings for the updated source of the flow.

Decryption

Information about the encryption of the flow.

Description

Type: *string

A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account.

EntitlementArn

Type: *string

The ARN of the entitlement that allows you to subscribe to this flow. The entitlement is set by the flow originator, and the ARN is generated as part of the originator's flow.

FlowArn

Type: *string

FlowArn is a required field

IngestPort

Type: *int64

The port that the flow will be listening on for incoming content.

MaxBitrate

Type: *int64

The smoothing max bitrate for RTP and RTP-FEC streams.

MaxLatency

Type: *int64

The maximum latency in milliseconds for Zixi-based streams.

Protocol

Type: *string

The protocol that is used by the source.

SourceArn

Type: *string

SourceArn is a required field

StreamId

Type: *string

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

WhitelistCidr

Type: *string

The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

Method

GoString

func (s UpdateFlowSourceInput) GoString() string

GoString returns the string representation

SetDecryption

func (s *UpdateFlowSourceInput) SetDecryption(v *UpdateEncryption) *UpdateFlowSourceInput

SetDecryption sets the Decryption field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetEntitlementArn

func (s *UpdateFlowSourceInput) SetEntitlementArn(v string) *UpdateFlowSourceInput

SetEntitlementArn sets the EntitlementArn field's value.

SetFlowArn

func (s *UpdateFlowSourceInput) SetFlowArn(v string) *UpdateFlowSourceInput

SetFlowArn sets the FlowArn field's value.

SetIngestPort

func (s *UpdateFlowSourceInput) SetIngestPort(v int64) *UpdateFlowSourceInput

SetIngestPort sets the IngestPort field's value.

SetMaxBitrate

func (s *UpdateFlowSourceInput) SetMaxBitrate(v int64) *UpdateFlowSourceInput

SetMaxBitrate sets the MaxBitrate field's value.

SetMaxLatency

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

SetMaxLatency sets the MaxLatency field's value.

SetProtocol

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

SetProtocol sets the Protocol field's value.

SetSourceArn

func (s *UpdateFlowSourceInput) SetSourceArn(v string) *UpdateFlowSourceInput

SetSourceArn sets the SourceArn field's value.

SetStreamId

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

SetStreamId sets the StreamId field's value.

SetWhitelistCidr

func (s *UpdateFlowSourceInput) SetWhitelistCidr(v string) *UpdateFlowSourceInput

SetWhitelistCidr sets the WhitelistCidr field's value.

String

func (s UpdateFlowSourceInput) String() string

String returns the string representation

Validate

func (s *UpdateFlowSourceInput) Validate() error

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

On this page: