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.

CreateFlowInput

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

type CreateFlowInput struct { AvailabilityZone *string `locationName:"availabilityZone" type:"string"` Entitlements []*GrantEntitlementRequest `locationName:"entitlements" type:"list"` Name *string `locationName:"name" type:"string" required:"true"` Outputs []*AddOutputRequest `locationName:"outputs" type:"list"` Source *SetSourceRequest `locationName:"source" type:"structure" required:"true"` }

Creates a new flow. The request must include one source. The request optionally can include outputs (up to 20) and one entitlement.

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 Region.

Entitlements

The entitlements that you want to grant on a flow.

Name

Type: *string

The name of the flow.

Name is a required field

Outputs

The output that you want to add to this flow.

Source

The settings for the source of the flow.

Method

GoString

func (s CreateFlowInput) GoString() string

GoString returns the string representation

SetAvailabilityZone

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

SetAvailabilityZone sets the AvailabilityZone field's value.

SetEntitlements

func (s *CreateFlowInput) SetEntitlements(v []*GrantEntitlementRequest) *CreateFlowInput

SetEntitlements sets the Entitlements field's value.

SetName

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

SetName sets the Name field's value.

SetOutputs

func (s *CreateFlowInput) SetOutputs(v []*AddOutputRequest) *CreateFlowInput

SetOutputs sets the Outputs field's value.

SetSource

func (s *CreateFlowInput) SetSource(v *SetSourceRequest) *CreateFlowInput

SetSource sets the Source field's value.

String

func (s CreateFlowInput) String() string

String returns the string representation

Validate

func (s *CreateFlowInput) Validate() error

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

On this page: