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.

Flow

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

type Flow struct { AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` Description *string `locationName:"description" type:"string"` EgressIp *string `locationName:"egressIp" type:"string"` Entitlements []*Entitlement `locationName:"entitlements" type:"list" required:"true"` FlowArn *string `locationName:"flowArn" type:"string" required:"true"` Name *string `locationName:"name" type:"string" required:"true"` Outputs []*Output `locationName:"outputs" type:"list" required:"true"` Source *Source `locationName:"source" type:"structure" required:"true"` Status *string `locationName:"status" type:"string" required:"true" enum:"Status"` }

The settings for a flow, including its source, outputs, and entitlements.

AvailabilityZone

Type: *string

The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS.

AvailabilityZone is a required field

Description

Type: *string

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

EgressIp

Type: *string

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

Entitlements

The settings for a flow entitlement.

FlowArn

Type: *string

The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the flow.

FlowArn is a required field

Name

Type: *string

The name of the flow.

Name is a required field

Outputs

The settings for an output.

Source

The settings for the source of the flow.

Status

Type: *string

The current status of the flow.

Status is a required field

Method

GoString

func (s Flow) GoString() string

GoString returns the string representation

SetAvailabilityZone

func (s *Flow) SetAvailabilityZone(v string) *Flow

SetAvailabilityZone sets the AvailabilityZone field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetEgressIp

func (s *Flow) SetEgressIp(v string) *Flow

SetEgressIp sets the EgressIp field's value.

SetEntitlements

func (s *Flow) SetEntitlements(v []*Entitlement) *Flow

SetEntitlements sets the Entitlements field's value.

SetFlowArn

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

SetFlowArn sets the FlowArn field's value.

SetName

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

SetName sets the Name field's value.

SetOutputs

func (s *Flow) SetOutputs(v []*Output) *Flow

SetOutputs sets the Outputs field's value.

SetSource

func (s *Flow) SetSource(v *Source) *Flow

SetSource sets the Source field's value.

SetStatus

func (s *Flow) SetStatus(v string) *Flow

SetStatus sets the Status field's value.

String

func (s Flow) String() string

String returns the string representation

On this page: