mediaconnect

package
v1.16.9-custom-go-mod Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mediaconnect provides the client and types for making API requests to AWS MediaConnect.

API for AWS Elemental MediaConnect

See https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14 for more information on this service.

See mediaconnect package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/mediaconnect/

Using the Client

To contact AWS MediaConnect with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS MediaConnect client MediaConnect for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/mediaconnect/#New

Index

Constants

View Source
const (
	// AlgorithmAes128 is a Algorithm enum value
	AlgorithmAes128 = "aes128"

	// AlgorithmAes192 is a Algorithm enum value
	AlgorithmAes192 = "aes192"

	// AlgorithmAes256 is a Algorithm enum value
	AlgorithmAes256 = "aes256"
)
View Source
const (
	// ProtocolZixiPush is a Protocol enum value
	ProtocolZixiPush = "zixi-push"

	// ProtocolRtpFec is a Protocol enum value
	ProtocolRtpFec = "rtp-fec"

	// ProtocolRtp is a Protocol enum value
	ProtocolRtp = "rtp"
)
View Source
const (
	// SourceTypeOwned is a SourceType enum value
	SourceTypeOwned = "OWNED"

	// SourceTypeEntitled is a SourceType enum value
	SourceTypeEntitled = "ENTITLED"
)
View Source
const (
	// StatusStandby is a Status enum value
	StatusStandby = "STANDBY"

	// StatusActive is a Status enum value
	StatusActive = "ACTIVE"

	// StatusUpdating is a Status enum value
	StatusUpdating = "UPDATING"

	// StatusDeleting is a Status enum value
	StatusDeleting = "DELETING"

	// StatusStarting is a Status enum value
	StatusStarting = "STARTING"

	// StatusStopping is a Status enum value
	StatusStopping = "STOPPING"

	// StatusError is a Status enum value
	StatusError = "ERROR"
)
View Source
const (

	// ErrCodeAddFlowOutputs420Exception for service response error code
	// "AddFlowOutputs420Exception".
	//
	// Exception raised by AWS Elemental MediaConnect. See the error message and
	// documentation for the operation for more information on the cause of this
	// exception.
	ErrCodeAddFlowOutputs420Exception = "AddFlowOutputs420Exception"

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// Exception raised by AWS Elemental MediaConnect. See the error message and
	// documentation for the operation for more information on the cause of this
	// exception.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeCreateFlow420Exception for service response error code
	// "CreateFlow420Exception".
	//
	// Exception raised by AWS Elemental MediaConnect. See the error message and
	// documentation for the operation for more information on the cause of this
	// exception.
	ErrCodeCreateFlow420Exception = "CreateFlow420Exception"

	// ErrCodeForbiddenException for service response error code
	// "ForbiddenException".
	//
	// Exception raised by AWS Elemental MediaConnect. See the error message and
	// documentation for the operation for more information on the cause of this
	// exception.
	ErrCodeForbiddenException = "ForbiddenException"

	// ErrCodeGrantFlowEntitlements420Exception for service response error code
	// "GrantFlowEntitlements420Exception".
	//
	// Exception raised by AWS Elemental MediaConnect. See the error message and
	// documentation for the operation for more information on the cause of this
	// exception.
	ErrCodeGrantFlowEntitlements420Exception = "GrantFlowEntitlements420Exception"

	// ErrCodeInternalServerErrorException for service response error code
	// "InternalServerErrorException".
	//
	// Exception raised by AWS Elemental MediaConnect. See the error message and
	// documentation for the operation for more information on the cause of this
	// exception.
	ErrCodeInternalServerErrorException = "InternalServerErrorException"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	//
	// Exception raised by AWS Elemental MediaConnect. See the error message and
	// documentation for the operation for more information on the cause of this
	// exception.
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodeServiceUnavailableException for service response error code
	// "ServiceUnavailableException".
	//
	// Exception raised by AWS Elemental MediaConnect. See the error message and
	// documentation for the operation for more information on the cause of this
	// exception.
	ErrCodeServiceUnavailableException = "ServiceUnavailableException"

	// ErrCodeTooManyRequestsException for service response error code
	// "TooManyRequestsException".
	//
	// Exception raised by AWS Elemental MediaConnect. See the error message and
	// documentation for the operation for more information on the cause of this
	// exception.
	ErrCodeTooManyRequestsException = "TooManyRequestsException"
)
View Source
const (
	ServiceName = "MediaConnect" // Name of service.
	EndpointsID = "mediaconnect" // ID to lookup a service endpoint with.
	ServiceID   = "MediaConnect" // ServiceID is a unique identifer of a specific service.
)

Service information constants

View Source
const (
	// KeyTypeStaticKey is a KeyType enum value
	KeyTypeStaticKey = "static-key"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddFlowOutputsInput

type AddFlowOutputsInput struct {

	// FlowArn is a required field
	FlowArn *string `location:"uri" locationName:"flowArn" type:"string" required:"true"`

	// A list of outputs that you want to add.
	//
	// Outputs is a required field
	Outputs []*AddOutputRequest `locationName:"outputs" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Adds outputs to an existing flow. You can create up to 20 outputs per flow.

func (AddFlowOutputsInput) GoString

func (s AddFlowOutputsInput) GoString() string

GoString returns the string representation

func (*AddFlowOutputsInput) SetFlowArn

SetFlowArn sets the FlowArn field's value.

func (*AddFlowOutputsInput) SetOutputs

SetOutputs sets the Outputs field's value.

func (AddFlowOutputsInput) String

func (s AddFlowOutputsInput) String() string

String returns the string representation

func (*AddFlowOutputsInput) Validate

func (s *AddFlowOutputsInput) Validate() error

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

type AddFlowOutputsOutput

type AddFlowOutputsOutput struct {

	// The ARN of the flow that these outputs were added to.
	FlowArn *string `locationName:"flowArn" type:"string"`

	// The details of the newly added outputs.
	Outputs []*Output `locationName:"outputs" type:"list"`
	// contains filtered or unexported fields
}

The result of a successful AddOutput request. The response includes the details of the newly added outputs.

func (AddFlowOutputsOutput) GoString

func (s AddFlowOutputsOutput) GoString() string

GoString returns the string representation

func (*AddFlowOutputsOutput) SetFlowArn

SetFlowArn sets the FlowArn field's value.

func (*AddFlowOutputsOutput) SetOutputs

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

SetOutputs sets the Outputs field's value.

func (AddFlowOutputsOutput) String

func (s AddFlowOutputsOutput) String() string

String returns the string representation

type AddOutputRequest

type AddOutputRequest struct {

	// A description of the output. This description appears only on the AWS Elemental
	// MediaConnect console and will not be seen by the end user.
	Description *string `locationName:"description" type:"string"`

	// The IP address from which video will be sent to output destinations.
	//
	// Destination is a required field
	Destination *string `locationName:"destination" type:"string" required:"true"`

	// The type of key used for the encryption. If no keyType is provided, the service
	// will use the default setting (static-key).
	Encryption *Encryption `locationName:"encryption" type:"structure"`

	// The maximum latency in milliseconds for Zixi-based streams.
	MaxLatency *int64 `locationName:"maxLatency" type:"integer"`

	// The name of the output. This value must be unique within the current flow.
	Name *string `locationName:"name" type:"string"`

	// The port to use when content is distributed to this output.
	//
	// Port is a required field
	Port *int64 `locationName:"port" type:"integer" required:"true"`

	// The protocol to use for the output.
	//
	// Protocol is a required field
	Protocol *string `locationName:"protocol" type:"string" required:"true" enum:"Protocol"`

	// The smoothing latency in milliseconds for RTP and RTP-FEC streams.
	SmoothingLatency *int64 `locationName:"smoothingLatency" type:"integer"`

	// The stream ID that you want to use for this transport. This parameter applies
	// only to Zixi-based streams.
	StreamId *string `locationName:"streamId" type:"string"`
	// contains filtered or unexported fields
}

The output that you want to add to this flow.

func (AddOutputRequest) GoString

func (s AddOutputRequest) GoString() string

GoString returns the string representation

func (*AddOutputRequest) SetDescription

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

SetDescription sets the Description field's value.

func (*AddOutputRequest) SetDestination

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

SetDestination sets the Destination field's value.

func (*AddOutputRequest) SetEncryption

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

SetEncryption sets the Encryption field's value.

func (*AddOutputRequest) SetMaxLatency

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

SetMaxLatency sets the MaxLatency field's value.

func (*AddOutputRequest) SetName

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

SetName sets the Name field's value.

func (*AddOutputRequest) SetPort

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

SetPort sets the Port field's value.

func (*AddOutputRequest) SetProtocol

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

SetProtocol sets the Protocol field's value.

func (*AddOutputRequest) SetSmoothingLatency

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

SetSmoothingLatency sets the SmoothingLatency field's value.

func (*AddOutputRequest) SetStreamId

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

SetStreamId sets the StreamId field's value.

func (AddOutputRequest) String

func (s AddOutputRequest) String() string

String returns the string representation

func (*AddOutputRequest) Validate

func (s *AddOutputRequest) Validate() error

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

type CreateFlowInput

type CreateFlowInput struct {

	// The Availability Zone that you want to create the flow in. These options
	// are limited to the Availability Zones within the current AWS Region.
	AvailabilityZone *string `locationName:"availabilityZone" type:"string"`

	// The entitlements that you want to grant on a flow.
	Entitlements []*GrantEntitlementRequest `locationName:"entitlements" type:"list"`

	// The name of the flow.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The outputs that you want to add to this flow.
	Outputs []*AddOutputRequest `locationName:"outputs" type:"list"`

	// The settings for the source of the flow.
	//
	// Source is a required field
	Source *SetSourceRequest `locationName:"source" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

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

func (CreateFlowInput) GoString

func (s CreateFlowInput) GoString() string

GoString returns the string representation

func (*CreateFlowInput) SetAvailabilityZone

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

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*CreateFlowInput) SetEntitlements

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

SetEntitlements sets the Entitlements field's value.

func (*CreateFlowInput) SetName

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

SetName sets the Name field's value.

func (*CreateFlowInput) SetOutputs

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

SetOutputs sets the Outputs field's value.

func (*CreateFlowInput) SetSource

SetSource sets the Source field's value.

func (CreateFlowInput) String

func (s CreateFlowInput) String() string

String returns the string representation

func (*CreateFlowInput) Validate

func (s *CreateFlowInput) Validate() error

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

type CreateFlowOutput

type CreateFlowOutput struct {

	// The settings for a flow, including its source, outputs, and entitlements.
	Flow *Flow `locationName:"flow" type:"structure"`
	// contains filtered or unexported fields
}

The result of a successful CreateFlow request.

func (CreateFlowOutput) GoString

func (s CreateFlowOutput) GoString() string

GoString returns the string representation

func (*CreateFlowOutput) SetFlow

func (s *CreateFlowOutput) SetFlow(v *Flow) *CreateFlowOutput

SetFlow sets the Flow field's value.

func (CreateFlowOutput) String

func (s CreateFlowOutput) String() string

String returns the string representation

type DeleteFlowInput

type DeleteFlowInput struct {

	// FlowArn is a required field
	FlowArn *string `location:"uri" locationName:"flowArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteFlowInput) GoString

func (s DeleteFlowInput) GoString() string

GoString returns the string representation

func (*DeleteFlowInput) SetFlowArn

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

SetFlowArn sets the FlowArn field's value.

func (DeleteFlowInput) String

func (s DeleteFlowInput) String() string

String returns the string representation

func (*DeleteFlowInput) Validate

func (s *DeleteFlowInput) Validate() error

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

type DeleteFlowOutput

type DeleteFlowOutput struct {

	// The ARN of the flow that was deleted.
	FlowArn *string `locationName:"flowArn" type:"string"`

	// The status of the flow when the DeleteFlow process begins.
	Status *string `locationName:"status" type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

The result of a successful DeleteFlow request.

func (DeleteFlowOutput) GoString

func (s DeleteFlowOutput) GoString() string

GoString returns the string representation

func (*DeleteFlowOutput) SetFlowArn

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

SetFlowArn sets the FlowArn field's value.

func (*DeleteFlowOutput) SetStatus

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

SetStatus sets the Status field's value.

func (DeleteFlowOutput) String

func (s DeleteFlowOutput) String() string

String returns the string representation

type DescribeFlowInput

type DescribeFlowInput struct {

	// FlowArn is a required field
	FlowArn *string `location:"uri" locationName:"flowArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeFlowInput) GoString

func (s DescribeFlowInput) GoString() string

GoString returns the string representation

func (*DescribeFlowInput) SetFlowArn

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

SetFlowArn sets the FlowArn field's value.

func (DescribeFlowInput) String

func (s DescribeFlowInput) String() string

String returns the string representation

func (*DescribeFlowInput) Validate

func (s *DescribeFlowInput) Validate() error

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

type DescribeFlowOutput

type DescribeFlowOutput struct {

	// The settings for a flow, including its source, outputs, and entitlements.
	Flow *Flow `locationName:"flow" type:"structure"`

	// Messages that provide the state of the flow.
	Messages *Messages `locationName:"messages" type:"structure"`
	// contains filtered or unexported fields
}

The result of a successful DescribeFlow request.

func (DescribeFlowOutput) GoString

func (s DescribeFlowOutput) GoString() string

GoString returns the string representation

func (*DescribeFlowOutput) SetFlow

func (s *DescribeFlowOutput) SetFlow(v *Flow) *DescribeFlowOutput

SetFlow sets the Flow field's value.

func (*DescribeFlowOutput) SetMessages

func (s *DescribeFlowOutput) SetMessages(v *Messages) *DescribeFlowOutput

SetMessages sets the Messages field's value.

func (DescribeFlowOutput) String

func (s DescribeFlowOutput) String() string

String returns the string representation

type Encryption

type Encryption struct {

	// The type of algorithm that is used for the encryption (such as aes128, aes192,
	// or aes256).
	//
	// Algorithm is a required field
	Algorithm *string `locationName:"algorithm" type:"string" required:"true" enum:"Algorithm"`

	// The type of key that is used for the encryption. If no keyType is provided,
	// the service will use the default setting (static-key).
	KeyType *string `locationName:"keyType" type:"string" enum:"KeyType"`

	// The ARN of the role that you created during setup (when you set up AWS Elemental
	// MediaConnect as a trusted entity).
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`

	// The ARN that was assigned to the secret that you created in AWS Secrets Manager
	// to store the encryption key.
	//
	// SecretArn is a required field
	SecretArn *string `locationName:"secretArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information about the encryption of the flow.

func (Encryption) GoString

func (s Encryption) GoString() string

GoString returns the string representation

func (*Encryption) SetAlgorithm

func (s *Encryption) SetAlgorithm(v string) *Encryption

SetAlgorithm sets the Algorithm field's value.

func (*Encryption) SetKeyType

func (s *Encryption) SetKeyType(v string) *Encryption

SetKeyType sets the KeyType field's value.

func (*Encryption) SetRoleArn

func (s *Encryption) SetRoleArn(v string) *Encryption

SetRoleArn sets the RoleArn field's value.

func (*Encryption) SetSecretArn

func (s *Encryption) SetSecretArn(v string) *Encryption

SetSecretArn sets the SecretArn field's value.

func (Encryption) String

func (s Encryption) String() string

String returns the string representation

func (*Encryption) Validate

func (s *Encryption) Validate() error

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

type Entitlement

type Entitlement struct {

	// A description of the entitlement.
	Description *string `locationName:"description" type:"string"`

	// The type of encryption that will be used on the output that is associated
	// with this entitlement.
	Encryption *Encryption `locationName:"encryption" type:"structure"`

	// The ARN of the entitlement.
	//
	// EntitlementArn is a required field
	EntitlementArn *string `locationName:"entitlementArn" type:"string" required:"true"`

	// The name of the entitlement.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The AWS account IDs that you want to share your content with. The receiving
	// accounts (subscribers) will be allowed to create their own flow using your
	// content as the source.
	//
	// Subscribers is a required field
	Subscribers []*string `locationName:"subscribers" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The settings for a flow entitlement.

func (Entitlement) GoString

func (s Entitlement) GoString() string

GoString returns the string representation

func (*Entitlement) SetDescription

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

SetDescription sets the Description field's value.

func (*Entitlement) SetEncryption

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

SetEncryption sets the Encryption field's value.

func (*Entitlement) SetEntitlementArn

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

SetEntitlementArn sets the EntitlementArn field's value.

func (*Entitlement) SetName

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

SetName sets the Name field's value.

func (*Entitlement) SetSubscribers

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

SetSubscribers sets the Subscribers field's value.

func (Entitlement) String

func (s Entitlement) String() string

String returns the string representation

type Flow

type Flow struct {

	// 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
	AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"`

	// A description of the flow. This value is not used or seen outside of the
	// current AWS Elemental MediaConnect account.
	Description *string `locationName:"description" type:"string"`

	// The IP address from which video will be sent to output destinations.
	EgressIp *string `locationName:"egressIp" type:"string"`

	// The entitlements in this flow.
	//
	// Entitlements is a required field
	Entitlements []*Entitlement `locationName:"entitlements" type:"list" required:"true"`

	// The Amazon Resource Name (ARN), a unique identifier for any AWS resource,
	// of the flow.
	//
	// FlowArn is a required field
	FlowArn *string `locationName:"flowArn" type:"string" required:"true"`

	// The name of the flow.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The outputs in this flow.
	//
	// Outputs is a required field
	Outputs []*Output `locationName:"outputs" type:"list" required:"true"`

	// The settings for the source of the flow.
	//
	// Source is a required field
	Source *Source `locationName:"source" type:"structure" required:"true"`

	// The current status of the flow.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"Status"`
	// contains filtered or unexported fields
}

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

func (Flow) GoString

func (s Flow) GoString() string

GoString returns the string representation

func (*Flow) SetAvailabilityZone

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

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*Flow) SetDescription

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

SetDescription sets the Description field's value.

func (*Flow) SetEgressIp

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

SetEgressIp sets the EgressIp field's value.

func (*Flow) SetEntitlements

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

SetEntitlements sets the Entitlements field's value.

func (*Flow) SetFlowArn

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

SetFlowArn sets the FlowArn field's value.

func (*Flow) SetName

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

SetName sets the Name field's value.

func (*Flow) SetOutputs

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

SetOutputs sets the Outputs field's value.

func (*Flow) SetSource

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

SetSource sets the Source field's value.

func (*Flow) SetStatus

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

SetStatus sets the Status field's value.

func (Flow) String

func (s Flow) String() string

String returns the string representation

type GrantEntitlementRequest

type GrantEntitlementRequest struct {

	// 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.
	Description *string `locationName:"description" type:"string"`

	// The type of encryption that will be used on the output that is associated
	// with this entitlement.
	Encryption *Encryption `locationName:"encryption" type:"structure"`

	// The name of the entitlement. This value must be unique within the current
	// flow.
	Name *string `locationName:"name" 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
	Subscribers []*string `locationName:"subscribers" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The entitlements that you want to grant on a flow.

func (GrantEntitlementRequest) GoString

func (s GrantEntitlementRequest) GoString() string

GoString returns the string representation

func (*GrantEntitlementRequest) SetDescription

SetDescription sets the Description field's value.

func (*GrantEntitlementRequest) SetEncryption

SetEncryption sets the Encryption field's value.

func (*GrantEntitlementRequest) SetName

SetName sets the Name field's value.

func (*GrantEntitlementRequest) SetSubscribers

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

SetSubscribers sets the Subscribers field's value.

func (GrantEntitlementRequest) String

func (s GrantEntitlementRequest) String() string

String returns the string representation

func (*GrantEntitlementRequest) Validate

func (s *GrantEntitlementRequest) Validate() error

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

type GrantFlowEntitlementsInput

type GrantFlowEntitlementsInput struct {

	// The list of entitlements that you want to grant.
	//
	// Entitlements is a required field
	Entitlements []*GrantEntitlementRequest `locationName:"entitlements" type:"list" required:"true"`

	// FlowArn is a required field
	FlowArn *string `location:"uri" locationName:"flowArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Grants an entitlement on a flow.

func (GrantFlowEntitlementsInput) GoString

func (s GrantFlowEntitlementsInput) GoString() string

GoString returns the string representation

func (*GrantFlowEntitlementsInput) SetEntitlements

SetEntitlements sets the Entitlements field's value.

func (*GrantFlowEntitlementsInput) SetFlowArn

SetFlowArn sets the FlowArn field's value.

func (GrantFlowEntitlementsInput) String

String returns the string representation

func (*GrantFlowEntitlementsInput) Validate

func (s *GrantFlowEntitlementsInput) Validate() error

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

type GrantFlowEntitlementsOutput

type GrantFlowEntitlementsOutput struct {

	// The entitlements that were just granted.
	Entitlements []*Entitlement `locationName:"entitlements" type:"list"`

	// The ARN of the flow that these entitlements were granted to.
	FlowArn *string `locationName:"flowArn" type:"string"`
	// contains filtered or unexported fields
}

The entitlements that were just granted.

func (GrantFlowEntitlementsOutput) GoString

func (s GrantFlowEntitlementsOutput) GoString() string

GoString returns the string representation

func (*GrantFlowEntitlementsOutput) SetEntitlements

SetEntitlements sets the Entitlements field's value.

func (*GrantFlowEntitlementsOutput) SetFlowArn

SetFlowArn sets the FlowArn field's value.

func (GrantFlowEntitlementsOutput) String

String returns the string representation

type ListEntitlementsInput

type ListEntitlementsInput struct {
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListEntitlementsInput) GoString

func (s ListEntitlementsInput) GoString() string

GoString returns the string representation

func (*ListEntitlementsInput) SetMaxResults

func (s *ListEntitlementsInput) SetMaxResults(v int64) *ListEntitlementsInput

SetMaxResults sets the MaxResults field's value.

func (*ListEntitlementsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListEntitlementsInput) String

func (s ListEntitlementsInput) String() string

String returns the string representation

func (*ListEntitlementsInput) Validate

func (s *ListEntitlementsInput) Validate() error

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

type ListEntitlementsOutput

type ListEntitlementsOutput struct {

	// A list of entitlements that have been granted to you from other AWS accounts.
	Entitlements []*ListedEntitlement `locationName:"entitlements" type:"list"`

	// The token that identifies which batch of results that you want to see. For
	// example, you submit a ListEntitlements request with MaxResults set at 5.
	// The service returns the first batch of results (up to 5) and a NextToken
	// value. To see the next batch of results, you can submit the ListEntitlements
	// request a second time and specify the NextToken value.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

The result of a successful ListEntitlements request. The response includes the ARN of each entitlement, the name of the associated flow, and the NextToken to use in a subsequent ListEntitlements request.

func (ListEntitlementsOutput) GoString

func (s ListEntitlementsOutput) GoString() string

GoString returns the string representation

func (*ListEntitlementsOutput) SetEntitlements

SetEntitlements sets the Entitlements field's value.

func (*ListEntitlementsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListEntitlementsOutput) String

func (s ListEntitlementsOutput) String() string

String returns the string representation

type ListFlowsInput

type ListFlowsInput struct {
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListFlowsInput) GoString

func (s ListFlowsInput) GoString() string

GoString returns the string representation

func (*ListFlowsInput) SetMaxResults

func (s *ListFlowsInput) SetMaxResults(v int64) *ListFlowsInput

SetMaxResults sets the MaxResults field's value.

func (*ListFlowsInput) SetNextToken

func (s *ListFlowsInput) SetNextToken(v string) *ListFlowsInput

SetNextToken sets the NextToken field's value.

func (ListFlowsInput) String

func (s ListFlowsInput) String() string

String returns the string representation

func (*ListFlowsInput) Validate

func (s *ListFlowsInput) Validate() error

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

type ListFlowsOutput

type ListFlowsOutput struct {

	// A list of flow summaries.
	Flows []*ListedFlow `locationName:"flows" type:"list"`

	// The token that identifies which batch of results that you want to see. For
	// example, you submit a ListFlows request with MaxResults set at 5. The service
	// returns the first batch of results (up to 5) and a NextToken value. To see
	// the next batch of results, you can submit the ListFlows request a second
	// time and specify the NextToken value.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

The result of a successful ListFlows request. The response includes flow summaries and the NextToken to use in a subsequent ListFlows request.

func (ListFlowsOutput) GoString

func (s ListFlowsOutput) GoString() string

GoString returns the string representation

func (*ListFlowsOutput) SetFlows

func (s *ListFlowsOutput) SetFlows(v []*ListedFlow) *ListFlowsOutput

SetFlows sets the Flows field's value.

func (*ListFlowsOutput) SetNextToken

func (s *ListFlowsOutput) SetNextToken(v string) *ListFlowsOutput

SetNextToken sets the NextToken field's value.

func (ListFlowsOutput) String

func (s ListFlowsOutput) String() string

String returns the string representation

type ListedEntitlement

type ListedEntitlement struct {

	// The ARN of the entitlement.
	//
	// EntitlementArn is a required field
	EntitlementArn *string `locationName:"entitlementArn" type:"string" required:"true"`

	// The name of the entitlement.
	//
	// EntitlementName is a required field
	EntitlementName *string `locationName:"entitlementName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

An entitlement that has been granted to you from other AWS accounts.

func (ListedEntitlement) GoString

func (s ListedEntitlement) GoString() string

GoString returns the string representation

func (*ListedEntitlement) SetEntitlementArn

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

SetEntitlementArn sets the EntitlementArn field's value.

func (*ListedEntitlement) SetEntitlementName

func (s *ListedEntitlement) SetEntitlementName(v string) *ListedEntitlement

SetEntitlementName sets the EntitlementName field's value.

func (ListedEntitlement) String

func (s ListedEntitlement) String() string

String returns the string representation

type ListedFlow

type ListedFlow struct {

	// The Availability Zone that the flow was created in.
	//
	// AvailabilityZone is a required field
	AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"`

	// A description of the flow.
	//
	// Description is a required field
	Description *string `locationName:"description" type:"string" required:"true"`

	// The ARN of the flow.
	//
	// FlowArn is a required field
	FlowArn *string `locationName:"flowArn" type:"string" required:"true"`

	// The name of the flow.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The type of source. This value is either owned (originated somewhere other
	// than an AWS Elemental MediaConnect flow owned by another AWS account) or
	// entitled (originated at an AWS Elemental MediaConnect flow owned by another
	// AWS account).
	//
	// SourceType is a required field
	SourceType *string `locationName:"sourceType" type:"string" required:"true" enum:"SourceType"`

	// The current status of the flow.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"Status"`
	// contains filtered or unexported fields
}

Provides a summary of a flow, including its ARN, Availability Zone, and source type.

func (ListedFlow) GoString

func (s ListedFlow) GoString() string

GoString returns the string representation

func (*ListedFlow) SetAvailabilityZone

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

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*ListedFlow) SetDescription

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

SetDescription sets the Description field's value.

func (*ListedFlow) SetFlowArn

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

SetFlowArn sets the FlowArn field's value.

func (*ListedFlow) SetName

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

SetName sets the Name field's value.

func (*ListedFlow) SetSourceType

func (s *ListedFlow) SetSourceType(v string) *ListedFlow

SetSourceType sets the SourceType field's value.

func (*ListedFlow) SetStatus

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

SetStatus sets the Status field's value.

func (ListedFlow) String

func (s ListedFlow) String() string

String returns the string representation

type MediaConnect

type MediaConnect struct {
	*client.Client
}

MediaConnect provides the API operation methods for making requests to AWS MediaConnect. See this package's package overview docs for details on the service.

MediaConnect methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaConnect

New creates a new instance of the MediaConnect client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a MediaConnect client from just a session.
svc := mediaconnect.New(mySession)

// Create a MediaConnect client with additional configuration
svc := mediaconnect.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*MediaConnect) AddFlowOutputs

func (c *MediaConnect) AddFlowOutputs(input *AddFlowOutputsInput) (*AddFlowOutputsOutput, error)

AddFlowOutputs API operation for AWS MediaConnect.

Adds outputs to an existing flow. You can create up to 20 outputs per flow.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaConnect's API operation AddFlowOutputs for usage and error information.

Returned Error Codes:

  • ErrCodeAddFlowOutputs420Exception "AddFlowOutputs420Exception" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeBadRequestException "BadRequestException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeForbiddenException "ForbiddenException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeNotFoundException "NotFoundException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowOutputs

func (*MediaConnect) AddFlowOutputsRequest

func (c *MediaConnect) AddFlowOutputsRequest(input *AddFlowOutputsInput) (req *request.Request, output *AddFlowOutputsOutput)

AddFlowOutputsRequest generates a "aws/request.Request" representing the client's request for the AddFlowOutputs operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AddFlowOutputs for more information on using the AddFlowOutputs API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AddFlowOutputsRequest method.
req, resp := client.AddFlowOutputsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowOutputs

func (*MediaConnect) AddFlowOutputsWithContext

func (c *MediaConnect) AddFlowOutputsWithContext(ctx aws.Context, input *AddFlowOutputsInput, opts ...request.Option) (*AddFlowOutputsOutput, error)

AddFlowOutputsWithContext is the same as AddFlowOutputs with the addition of the ability to pass a context and additional request options.

See AddFlowOutputs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaConnect) CreateFlow

func (c *MediaConnect) CreateFlow(input *CreateFlowInput) (*CreateFlowOutput, error)

CreateFlow API operation for AWS MediaConnect.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaConnect's API operation CreateFlow for usage and error information.

Returned Error Codes:

  • ErrCodeCreateFlow420Exception "CreateFlow420Exception" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeBadRequestException "BadRequestException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeForbiddenException "ForbiddenException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlow

func (*MediaConnect) CreateFlowRequest

func (c *MediaConnect) CreateFlowRequest(input *CreateFlowInput) (req *request.Request, output *CreateFlowOutput)

CreateFlowRequest generates a "aws/request.Request" representing the client's request for the CreateFlow operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateFlow for more information on using the CreateFlow API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateFlowRequest method.
req, resp := client.CreateFlowRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlow

func (*MediaConnect) CreateFlowWithContext

func (c *MediaConnect) CreateFlowWithContext(ctx aws.Context, input *CreateFlowInput, opts ...request.Option) (*CreateFlowOutput, error)

CreateFlowWithContext is the same as CreateFlow with the addition of the ability to pass a context and additional request options.

See CreateFlow for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaConnect) DeleteFlow

func (c *MediaConnect) DeleteFlow(input *DeleteFlowInput) (*DeleteFlowOutput, error)

DeleteFlow API operation for AWS MediaConnect.

Deletes a flow. Before you can delete a flow, you must stop the flow.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaConnect's API operation DeleteFlow for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeForbiddenException "ForbiddenException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeNotFoundException "NotFoundException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DeleteFlow

func (*MediaConnect) DeleteFlowRequest

func (c *MediaConnect) DeleteFlowRequest(input *DeleteFlowInput) (req *request.Request, output *DeleteFlowOutput)

DeleteFlowRequest generates a "aws/request.Request" representing the client's request for the DeleteFlow operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteFlow for more information on using the DeleteFlow API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteFlowRequest method.
req, resp := client.DeleteFlowRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DeleteFlow

func (*MediaConnect) DeleteFlowWithContext

func (c *MediaConnect) DeleteFlowWithContext(ctx aws.Context, input *DeleteFlowInput, opts ...request.Option) (*DeleteFlowOutput, error)

DeleteFlowWithContext is the same as DeleteFlow with the addition of the ability to pass a context and additional request options.

See DeleteFlow for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaConnect) DescribeFlow

func (c *MediaConnect) DescribeFlow(input *DescribeFlowInput) (*DescribeFlowOutput, error)

DescribeFlow API operation for AWS MediaConnect.

Displays the details of a flow. The response includes the flow ARN, name, and Availability Zone, as well as details about the source, outputs, and entitlements.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaConnect's API operation DescribeFlow for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeForbiddenException "ForbiddenException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeNotFoundException "NotFoundException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeFlow

func (*MediaConnect) DescribeFlowRequest

func (c *MediaConnect) DescribeFlowRequest(input *DescribeFlowInput) (req *request.Request, output *DescribeFlowOutput)

DescribeFlowRequest generates a "aws/request.Request" representing the client's request for the DescribeFlow operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeFlow for more information on using the DescribeFlow API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeFlowRequest method.
req, resp := client.DescribeFlowRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeFlow

func (*MediaConnect) DescribeFlowWithContext

func (c *MediaConnect) DescribeFlowWithContext(ctx aws.Context, input *DescribeFlowInput, opts ...request.Option) (*DescribeFlowOutput, error)

DescribeFlowWithContext is the same as DescribeFlow with the addition of the ability to pass a context and additional request options.

See DescribeFlow for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaConnect) GrantFlowEntitlements

func (c *MediaConnect) GrantFlowEntitlements(input *GrantFlowEntitlementsInput) (*GrantFlowEntitlementsOutput, error)

GrantFlowEntitlements API operation for AWS MediaConnect.

Grants entitlements to an existing flow.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaConnect's API operation GrantFlowEntitlements for usage and error information.

Returned Error Codes:

  • ErrCodeGrantFlowEntitlements420Exception "GrantFlowEntitlements420Exception" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeBadRequestException "BadRequestException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeForbiddenException "ForbiddenException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeNotFoundException "NotFoundException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/GrantFlowEntitlements

func (*MediaConnect) GrantFlowEntitlementsRequest

func (c *MediaConnect) GrantFlowEntitlementsRequest(input *GrantFlowEntitlementsInput) (req *request.Request, output *GrantFlowEntitlementsOutput)

GrantFlowEntitlementsRequest generates a "aws/request.Request" representing the client's request for the GrantFlowEntitlements operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GrantFlowEntitlements for more information on using the GrantFlowEntitlements API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GrantFlowEntitlementsRequest method.
req, resp := client.GrantFlowEntitlementsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/GrantFlowEntitlements

func (*MediaConnect) GrantFlowEntitlementsWithContext

func (c *MediaConnect) GrantFlowEntitlementsWithContext(ctx aws.Context, input *GrantFlowEntitlementsInput, opts ...request.Option) (*GrantFlowEntitlementsOutput, error)

GrantFlowEntitlementsWithContext is the same as GrantFlowEntitlements with the addition of the ability to pass a context and additional request options.

See GrantFlowEntitlements for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaConnect) ListEntitlements

func (c *MediaConnect) ListEntitlements(input *ListEntitlementsInput) (*ListEntitlementsOutput, error)

ListEntitlements API operation for AWS MediaConnect.

Displays a list of all entitlements that have been granted to this account. This request returns 20 results per page.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaConnect's API operation ListEntitlements for usage and error information.

Returned Error Codes:

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeBadRequestException "BadRequestException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListEntitlements

func (*MediaConnect) ListEntitlementsRequest

func (c *MediaConnect) ListEntitlementsRequest(input *ListEntitlementsInput) (req *request.Request, output *ListEntitlementsOutput)

ListEntitlementsRequest generates a "aws/request.Request" representing the client's request for the ListEntitlements operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListEntitlements for more information on using the ListEntitlements API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListEntitlementsRequest method.
req, resp := client.ListEntitlementsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListEntitlements

func (*MediaConnect) ListEntitlementsWithContext

func (c *MediaConnect) ListEntitlementsWithContext(ctx aws.Context, input *ListEntitlementsInput, opts ...request.Option) (*ListEntitlementsOutput, error)

ListEntitlementsWithContext is the same as ListEntitlements with the addition of the ability to pass a context and additional request options.

See ListEntitlements for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaConnect) ListFlows

func (c *MediaConnect) ListFlows(input *ListFlowsInput) (*ListFlowsOutput, error)

ListFlows API operation for AWS MediaConnect.

Displays a list of flows that are associated with this account. This request returns a paginated result.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaConnect's API operation ListFlows for usage and error information.

Returned Error Codes:

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeBadRequestException "BadRequestException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListFlows

func (*MediaConnect) ListFlowsPages

func (c *MediaConnect) ListFlowsPages(input *ListFlowsInput, fn func(*ListFlowsOutput, bool) bool) error

ListFlowsPages iterates over the pages of a ListFlows operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListFlows method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListFlows operation.
pageNum := 0
err := client.ListFlowsPages(params,
    func(page *ListFlowsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaConnect) ListFlowsPagesWithContext

func (c *MediaConnect) ListFlowsPagesWithContext(ctx aws.Context, input *ListFlowsInput, fn func(*ListFlowsOutput, bool) bool, opts ...request.Option) error

ListFlowsPagesWithContext same as ListFlowsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaConnect) ListFlowsRequest

func (c *MediaConnect) ListFlowsRequest(input *ListFlowsInput) (req *request.Request, output *ListFlowsOutput)

ListFlowsRequest generates a "aws/request.Request" representing the client's request for the ListFlows operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListFlows for more information on using the ListFlows API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListFlowsRequest method.
req, resp := client.ListFlowsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListFlows

func (*MediaConnect) ListFlowsWithContext

func (c *MediaConnect) ListFlowsWithContext(ctx aws.Context, input *ListFlowsInput, opts ...request.Option) (*ListFlowsOutput, error)

ListFlowsWithContext is the same as ListFlows with the addition of the ability to pass a context and additional request options.

See ListFlows for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaConnect) RemoveFlowOutput

func (c *MediaConnect) RemoveFlowOutput(input *RemoveFlowOutputInput) (*RemoveFlowOutputOutput, error)

RemoveFlowOutput API operation for AWS MediaConnect.

Removes an output from an existing flow. This request can be made only on an output that does not have an entitlement associated with it. If the output has an entitlement, you must revoke the entitlement instead. When an entitlement is revoked from a flow, the service automatically removes the associated output.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaConnect's API operation RemoveFlowOutput for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeForbiddenException "ForbiddenException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeNotFoundException "NotFoundException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowOutput

func (*MediaConnect) RemoveFlowOutputRequest

func (c *MediaConnect) RemoveFlowOutputRequest(input *RemoveFlowOutputInput) (req *request.Request, output *RemoveFlowOutputOutput)

RemoveFlowOutputRequest generates a "aws/request.Request" representing the client's request for the RemoveFlowOutput operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RemoveFlowOutput for more information on using the RemoveFlowOutput API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RemoveFlowOutputRequest method.
req, resp := client.RemoveFlowOutputRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowOutput

func (*MediaConnect) RemoveFlowOutputWithContext

func (c *MediaConnect) RemoveFlowOutputWithContext(ctx aws.Context, input *RemoveFlowOutputInput, opts ...request.Option) (*RemoveFlowOutputOutput, error)

RemoveFlowOutputWithContext is the same as RemoveFlowOutput with the addition of the ability to pass a context and additional request options.

See RemoveFlowOutput for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaConnect) RevokeFlowEntitlement

func (c *MediaConnect) RevokeFlowEntitlement(input *RevokeFlowEntitlementInput) (*RevokeFlowEntitlementOutput, error)

RevokeFlowEntitlement API operation for AWS MediaConnect.

Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the subscriber and the associated output is removed.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaConnect's API operation RevokeFlowEntitlement for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeForbiddenException "ForbiddenException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeNotFoundException "NotFoundException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RevokeFlowEntitlement

func (*MediaConnect) RevokeFlowEntitlementRequest

func (c *MediaConnect) RevokeFlowEntitlementRequest(input *RevokeFlowEntitlementInput) (req *request.Request, output *RevokeFlowEntitlementOutput)

RevokeFlowEntitlementRequest generates a "aws/request.Request" representing the client's request for the RevokeFlowEntitlement operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RevokeFlowEntitlement for more information on using the RevokeFlowEntitlement API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RevokeFlowEntitlementRequest method.
req, resp := client.RevokeFlowEntitlementRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RevokeFlowEntitlement

func (*MediaConnect) RevokeFlowEntitlementWithContext

func (c *MediaConnect) RevokeFlowEntitlementWithContext(ctx aws.Context, input *RevokeFlowEntitlementInput, opts ...request.Option) (*RevokeFlowEntitlementOutput, error)

RevokeFlowEntitlementWithContext is the same as RevokeFlowEntitlement with the addition of the ability to pass a context and additional request options.

See RevokeFlowEntitlement for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaConnect) StartFlow

func (c *MediaConnect) StartFlow(input *StartFlowInput) (*StartFlowOutput, error)

StartFlow API operation for AWS MediaConnect.

Starts a flow.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaConnect's API operation StartFlow for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeForbiddenException "ForbiddenException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeNotFoundException "NotFoundException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StartFlow

func (*MediaConnect) StartFlowRequest

func (c *MediaConnect) StartFlowRequest(input *StartFlowInput) (req *request.Request, output *StartFlowOutput)

StartFlowRequest generates a "aws/request.Request" representing the client's request for the StartFlow operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartFlow for more information on using the StartFlow API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartFlowRequest method.
req, resp := client.StartFlowRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StartFlow

func (*MediaConnect) StartFlowWithContext

func (c *MediaConnect) StartFlowWithContext(ctx aws.Context, input *StartFlowInput, opts ...request.Option) (*StartFlowOutput, error)

StartFlowWithContext is the same as StartFlow with the addition of the ability to pass a context and additional request options.

See StartFlow for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaConnect) StopFlow

func (c *MediaConnect) StopFlow(input *StopFlowInput) (*StopFlowOutput, error)

StopFlow API operation for AWS MediaConnect.

Stops a flow.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaConnect's API operation StopFlow for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeForbiddenException "ForbiddenException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeNotFoundException "NotFoundException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StopFlow

func (*MediaConnect) StopFlowRequest

func (c *MediaConnect) StopFlowRequest(input *StopFlowInput) (req *request.Request, output *StopFlowOutput)

StopFlowRequest generates a "aws/request.Request" representing the client's request for the StopFlow operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopFlow for more information on using the StopFlow API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StopFlowRequest method.
req, resp := client.StopFlowRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StopFlow

func (*MediaConnect) StopFlowWithContext

func (c *MediaConnect) StopFlowWithContext(ctx aws.Context, input *StopFlowInput, opts ...request.Option) (*StopFlowOutput, error)

StopFlowWithContext is the same as StopFlow with the addition of the ability to pass a context and additional request options.

See StopFlow for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaConnect) UpdateFlowEntitlement

func (c *MediaConnect) UpdateFlowEntitlement(input *UpdateFlowEntitlementInput) (*UpdateFlowEntitlementOutput, error)

UpdateFlowEntitlement API operation for AWS MediaConnect.

You can change an entitlement's description, subscribers, and encryption. If you change the subscribers, the service will remove the outputs that are are used by the subscribers that are removed.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaConnect's API operation UpdateFlowEntitlement for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeForbiddenException "ForbiddenException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeNotFoundException "NotFoundException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowEntitlement

func (*MediaConnect) UpdateFlowEntitlementRequest

func (c *MediaConnect) UpdateFlowEntitlementRequest(input *UpdateFlowEntitlementInput) (req *request.Request, output *UpdateFlowEntitlementOutput)

UpdateFlowEntitlementRequest generates a "aws/request.Request" representing the client's request for the UpdateFlowEntitlement operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateFlowEntitlement for more information on using the UpdateFlowEntitlement API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateFlowEntitlementRequest method.
req, resp := client.UpdateFlowEntitlementRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowEntitlement

func (*MediaConnect) UpdateFlowEntitlementWithContext

func (c *MediaConnect) UpdateFlowEntitlementWithContext(ctx aws.Context, input *UpdateFlowEntitlementInput, opts ...request.Option) (*UpdateFlowEntitlementOutput, error)

UpdateFlowEntitlementWithContext is the same as UpdateFlowEntitlement with the addition of the ability to pass a context and additional request options.

See UpdateFlowEntitlement for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaConnect) UpdateFlowOutput

func (c *MediaConnect) UpdateFlowOutput(input *UpdateFlowOutputInput) (*UpdateFlowOutputOutput, error)

UpdateFlowOutput API operation for AWS MediaConnect.

Updates an existing flow output.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaConnect's API operation UpdateFlowOutput for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeForbiddenException "ForbiddenException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeNotFoundException "NotFoundException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutput

func (*MediaConnect) UpdateFlowOutputRequest

func (c *MediaConnect) UpdateFlowOutputRequest(input *UpdateFlowOutputInput) (req *request.Request, output *UpdateFlowOutputOutput)

UpdateFlowOutputRequest generates a "aws/request.Request" representing the client's request for the UpdateFlowOutput operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateFlowOutput for more information on using the UpdateFlowOutput API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateFlowOutputRequest method.
req, resp := client.UpdateFlowOutputRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutput

func (*MediaConnect) UpdateFlowOutputWithContext

func (c *MediaConnect) UpdateFlowOutputWithContext(ctx aws.Context, input *UpdateFlowOutputInput, opts ...request.Option) (*UpdateFlowOutputOutput, error)

UpdateFlowOutputWithContext is the same as UpdateFlowOutput with the addition of the ability to pass a context and additional request options.

See UpdateFlowOutput for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MediaConnect) UpdateFlowSource

func (c *MediaConnect) UpdateFlowSource(input *UpdateFlowSourceInput) (*UpdateFlowSourceOutput, error)

UpdateFlowSource API operation for AWS MediaConnect.

Updates the source of a flow.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS MediaConnect's API operation UpdateFlowSource for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeForbiddenException "ForbiddenException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeNotFoundException "NotFoundException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowSource

func (*MediaConnect) UpdateFlowSourceRequest

func (c *MediaConnect) UpdateFlowSourceRequest(input *UpdateFlowSourceInput) (req *request.Request, output *UpdateFlowSourceOutput)

UpdateFlowSourceRequest generates a "aws/request.Request" representing the client's request for the UpdateFlowSource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateFlowSource for more information on using the UpdateFlowSource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateFlowSourceRequest method.
req, resp := client.UpdateFlowSourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowSource

func (*MediaConnect) UpdateFlowSourceWithContext

func (c *MediaConnect) UpdateFlowSourceWithContext(ctx aws.Context, input *UpdateFlowSourceInput, opts ...request.Option) (*UpdateFlowSourceOutput, error)

UpdateFlowSourceWithContext is the same as UpdateFlowSource with the addition of the ability to pass a context and additional request options.

See UpdateFlowSource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type Messages

type Messages struct {

	// A list of errors that might have been generated from processes on this flow.
	//
	// Errors is a required field
	Errors []*string `locationName:"errors" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Messages that provide the state of the flow.

func (Messages) GoString

func (s Messages) GoString() string

GoString returns the string representation

func (*Messages) SetErrors

func (s *Messages) SetErrors(v []*string) *Messages

SetErrors sets the Errors field's value.

func (Messages) String

func (s Messages) String() string

String returns the string representation

type Output

type Output struct {

	// A description of the output.
	Description *string `locationName:"description" type:"string"`

	// The address where you want to send the output.
	Destination *string `locationName:"destination" type:"string"`

	// The type of key used for the encryption. If no keyType is provided, the service
	// will use the default setting (static-key).
	Encryption *Encryption `locationName:"encryption" type:"structure"`

	// The ARN of the entitlement on the originator”s flow. This value is relevant
	// only on entitled flows.
	EntitlementArn *string `locationName:"entitlementArn" type:"string"`

	// The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant
	// only for outputs that were added by creating a MediaLive input.
	MediaLiveInputArn *string `locationName:"mediaLiveInputArn" type:"string"`

	// The name of the output. This value must be unique within the current flow.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The ARN of the output.
	//
	// OutputArn is a required field
	OutputArn *string `locationName:"outputArn" type:"string" required:"true"`

	// The port to use when content is distributed to this output.
	Port *int64 `locationName:"port" type:"integer"`

	// Attributes related to the transport stream that are used in the output.
	Transport *Transport `locationName:"transport" type:"structure"`
	// contains filtered or unexported fields
}

The settings for an output.

func (Output) GoString

func (s Output) GoString() string

GoString returns the string representation

func (*Output) SetDescription

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

SetDescription sets the Description field's value.

func (*Output) SetDestination

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

SetDestination sets the Destination field's value.

func (*Output) SetEncryption

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

SetEncryption sets the Encryption field's value.

func (*Output) SetEntitlementArn

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

SetEntitlementArn sets the EntitlementArn field's value.

func (*Output) SetMediaLiveInputArn

func (s *Output) SetMediaLiveInputArn(v string) *Output

SetMediaLiveInputArn sets the MediaLiveInputArn field's value.

func (*Output) SetName

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

SetName sets the Name field's value.

func (*Output) SetOutputArn

func (s *Output) SetOutputArn(v string) *Output

SetOutputArn sets the OutputArn field's value.

func (*Output) SetPort

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

SetPort sets the Port field's value.

func (*Output) SetTransport

func (s *Output) SetTransport(v *Transport) *Output

SetTransport sets the Transport field's value.

func (Output) String

func (s Output) String() string

String returns the string representation

type RemoveFlowOutputInput

type RemoveFlowOutputInput struct {

	// FlowArn is a required field
	FlowArn *string `location:"uri" locationName:"flowArn" type:"string" required:"true"`

	// OutputArn is a required field
	OutputArn *string `location:"uri" locationName:"outputArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RemoveFlowOutputInput) GoString

func (s RemoveFlowOutputInput) GoString() string

GoString returns the string representation

func (*RemoveFlowOutputInput) SetFlowArn

SetFlowArn sets the FlowArn field's value.

func (*RemoveFlowOutputInput) SetOutputArn

SetOutputArn sets the OutputArn field's value.

func (RemoveFlowOutputInput) String

func (s RemoveFlowOutputInput) String() string

String returns the string representation

func (*RemoveFlowOutputInput) Validate

func (s *RemoveFlowOutputInput) Validate() error

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

type RemoveFlowOutputOutput

type RemoveFlowOutputOutput struct {

	// The ARN of the flow that is associated with the output you removed.
	FlowArn *string `locationName:"flowArn" type:"string"`

	// The ARN of the output that was removed.
	OutputArn *string `locationName:"outputArn" type:"string"`
	// contains filtered or unexported fields
}

The result of a successful RemoveFlowOutput request including the flow ARN and the output ARN that was removed.

func (RemoveFlowOutputOutput) GoString

func (s RemoveFlowOutputOutput) GoString() string

GoString returns the string representation

func (*RemoveFlowOutputOutput) SetFlowArn

SetFlowArn sets the FlowArn field's value.

func (*RemoveFlowOutputOutput) SetOutputArn

SetOutputArn sets the OutputArn field's value.

func (RemoveFlowOutputOutput) String

func (s RemoveFlowOutputOutput) String() string

String returns the string representation

type RevokeFlowEntitlementInput

type RevokeFlowEntitlementInput struct {

	// EntitlementArn is a required field
	EntitlementArn *string `location:"uri" locationName:"entitlementArn" type:"string" required:"true"`

	// FlowArn is a required field
	FlowArn *string `location:"uri" locationName:"flowArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RevokeFlowEntitlementInput) GoString

func (s RevokeFlowEntitlementInput) GoString() string

GoString returns the string representation

func (*RevokeFlowEntitlementInput) SetEntitlementArn

SetEntitlementArn sets the EntitlementArn field's value.

func (*RevokeFlowEntitlementInput) SetFlowArn

SetFlowArn sets the FlowArn field's value.

func (RevokeFlowEntitlementInput) String

String returns the string representation

func (*RevokeFlowEntitlementInput) Validate

func (s *RevokeFlowEntitlementInput) Validate() error

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

type RevokeFlowEntitlementOutput

type RevokeFlowEntitlementOutput struct {

	// The ARN of the entitlement that was revoked.
	EntitlementArn *string `locationName:"entitlementArn" type:"string"`

	// The ARN of the flow that the entitlement was revoked from.
	FlowArn *string `locationName:"flowArn" type:"string"`
	// contains filtered or unexported fields
}

The result of a successful RevokeFlowEntitlement request. The response includes the ARN of the flow that was updated and the ARN of the entitlement that was revoked.

func (RevokeFlowEntitlementOutput) GoString

func (s RevokeFlowEntitlementOutput) GoString() string

GoString returns the string representation

func (*RevokeFlowEntitlementOutput) SetEntitlementArn

SetEntitlementArn sets the EntitlementArn field's value.

func (*RevokeFlowEntitlementOutput) SetFlowArn

SetFlowArn sets the FlowArn field's value.

func (RevokeFlowEntitlementOutput) String

String returns the string representation

type SetSourceRequest

type SetSourceRequest struct {

	// The type of encryption that is used on the content ingested from this source.
	Decryption *Encryption `locationName:"decryption" type:"structure"`

	// A description for the source. This value is not used or seen outside of the
	// current AWS Elemental MediaConnect account.
	Description *string `locationName:"description" 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.
	EntitlementArn *string `locationName:"entitlementArn" type:"string"`

	// The port that the flow will be listening on for incoming content.
	IngestPort *int64 `locationName:"ingestPort" type:"integer"`

	// The smoothing max bitrate for RTP and RTP-FEC streams.
	MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"`

	// The maximum latency in milliseconds for Zixi-based streams.
	MaxLatency *int64 `locationName:"maxLatency" type:"integer"`

	// The name of the source.
	Name *string `locationName:"name" type:"string"`

	// The protocol that is used by the source.
	Protocol *string `locationName:"protocol" type:"string" enum:"Protocol"`

	// The stream ID that you want to use for this transport. This parameter applies
	// only to Zixi-based streams.
	StreamId *string `locationName:"streamId" 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.
	WhitelistCidr *string `locationName:"whitelistCidr" type:"string"`
	// contains filtered or unexported fields
}

The settings for the source of the flow.

func (SetSourceRequest) GoString

func (s SetSourceRequest) GoString() string

GoString returns the string representation

func (*SetSourceRequest) SetDecryption

func (s *SetSourceRequest) SetDecryption(v *Encryption) *SetSourceRequest

SetDecryption sets the Decryption field's value.

func (*SetSourceRequest) SetDescription

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

SetDescription sets the Description field's value.

func (*SetSourceRequest) SetEntitlementArn

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

SetEntitlementArn sets the EntitlementArn field's value.

func (*SetSourceRequest) SetIngestPort

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

SetIngestPort sets the IngestPort field's value.

func (*SetSourceRequest) SetMaxBitrate

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

SetMaxBitrate sets the MaxBitrate field's value.

func (*SetSourceRequest) SetMaxLatency

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

SetMaxLatency sets the MaxLatency field's value.

func (*SetSourceRequest) SetName

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

SetName sets the Name field's value.

func (*SetSourceRequest) SetProtocol

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

SetProtocol sets the Protocol field's value.

func (*SetSourceRequest) SetStreamId

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

SetStreamId sets the StreamId field's value.

func (*SetSourceRequest) SetWhitelistCidr

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

SetWhitelistCidr sets the WhitelistCidr field's value.

func (SetSourceRequest) String

func (s SetSourceRequest) String() string

String returns the string representation

func (*SetSourceRequest) Validate

func (s *SetSourceRequest) Validate() error

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

type Source

type Source struct {

	// The type of encryption that is used on the content ingested from this source.
	Decryption *Encryption `locationName:"decryption" type:"structure"`

	// A description for the source. This value is not used or seen outside of the
	// current AWS Elemental MediaConnect account.
	Description *string `locationName:"description" type:"string"`

	// The ARN of the entitlement that allows you to subscribe to content that comes
	// from another AWS account. The entitlement is set by the content originator
	// and the ARN is generated as part of the originator's flow.
	EntitlementArn *string `locationName:"entitlementArn" type:"string"`

	// The IP address that the flow will be listening on for incoming content.
	IngestIp *string `locationName:"ingestIp" type:"string"`

	// The port that the flow will be listening on for incoming content.
	IngestPort *int64 `locationName:"ingestPort" type:"integer"`

	// The name of the source.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The ARN of the source.
	//
	// SourceArn is a required field
	SourceArn *string `locationName:"sourceArn" type:"string" required:"true"`

	// Attributes related to the transport stream that are used in the source.
	Transport *Transport `locationName:"transport" type:"structure"`

	// 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.
	WhitelistCidr *string `locationName:"whitelistCidr" type:"string"`
	// contains filtered or unexported fields
}

The settings for the source of the flow.

func (Source) GoString

func (s Source) GoString() string

GoString returns the string representation

func (*Source) SetDecryption

func (s *Source) SetDecryption(v *Encryption) *Source

SetDecryption sets the Decryption field's value.

func (*Source) SetDescription

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

SetDescription sets the Description field's value.

func (*Source) SetEntitlementArn

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

SetEntitlementArn sets the EntitlementArn field's value.

func (*Source) SetIngestIp

func (s *Source) SetIngestIp(v string) *Source

SetIngestIp sets the IngestIp field's value.

func (*Source) SetIngestPort

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

SetIngestPort sets the IngestPort field's value.

func (*Source) SetName

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

SetName sets the Name field's value.

func (*Source) SetSourceArn

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

SetSourceArn sets the SourceArn field's value.

func (*Source) SetTransport

func (s *Source) SetTransport(v *Transport) *Source

SetTransport sets the Transport field's value.

func (*Source) SetWhitelistCidr

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

SetWhitelistCidr sets the WhitelistCidr field's value.

func (Source) String

func (s Source) String() string

String returns the string representation

type StartFlowInput

type StartFlowInput struct {

	// FlowArn is a required field
	FlowArn *string `location:"uri" locationName:"flowArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartFlowInput) GoString

func (s StartFlowInput) GoString() string

GoString returns the string representation

func (*StartFlowInput) SetFlowArn

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

SetFlowArn sets the FlowArn field's value.

func (StartFlowInput) String

func (s StartFlowInput) String() string

String returns the string representation

func (*StartFlowInput) Validate

func (s *StartFlowInput) Validate() error

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

type StartFlowOutput

type StartFlowOutput struct {

	// The ARN of the flow that you started.
	FlowArn *string `locationName:"flowArn" type:"string"`

	// The status of the flow when the StartFlow process begins.
	Status *string `locationName:"status" type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

The result of a successful StartFlow request.

func (StartFlowOutput) GoString

func (s StartFlowOutput) GoString() string

GoString returns the string representation

func (*StartFlowOutput) SetFlowArn

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

SetFlowArn sets the FlowArn field's value.

func (*StartFlowOutput) SetStatus

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

SetStatus sets the Status field's value.

func (StartFlowOutput) String

func (s StartFlowOutput) String() string

String returns the string representation

type StopFlowInput

type StopFlowInput struct {

	// FlowArn is a required field
	FlowArn *string `location:"uri" locationName:"flowArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StopFlowInput) GoString

func (s StopFlowInput) GoString() string

GoString returns the string representation

func (*StopFlowInput) SetFlowArn

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

SetFlowArn sets the FlowArn field's value.

func (StopFlowInput) String

func (s StopFlowInput) String() string

String returns the string representation

func (*StopFlowInput) Validate

func (s *StopFlowInput) Validate() error

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

type StopFlowOutput

type StopFlowOutput struct {

	// The ARN of the flow that you stopped.
	FlowArn *string `locationName:"flowArn" type:"string"`

	// The status of the flow when the StopFlow process begins.
	Status *string `locationName:"status" type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

The result of a successful StopFlow request.

func (StopFlowOutput) GoString

func (s StopFlowOutput) GoString() string

GoString returns the string representation

func (*StopFlowOutput) SetFlowArn

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

SetFlowArn sets the FlowArn field's value.

func (*StopFlowOutput) SetStatus

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

SetStatus sets the Status field's value.

func (StopFlowOutput) String

func (s StopFlowOutput) String() string

String returns the string representation

type Transport

type Transport struct {

	// The smoothing max bitrate for RTP and RTP-FEC streams.
	MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"`

	// The maximum latency in milliseconds for Zixi-based streams.
	MaxLatency *int64 `locationName:"maxLatency" type:"integer"`

	// The protocol that is used by the source or output.
	//
	// Protocol is a required field
	Protocol *string `locationName:"protocol" type:"string" required:"true" enum:"Protocol"`

	// The smoothing latency in milliseconds for RTP and RTP-FEC streams.
	SmoothingLatency *int64 `locationName:"smoothingLatency" type:"integer"`

	// The stream ID that you want to use for this transport. This parameter applies
	// only to Zixi-based streams.
	StreamId *string `locationName:"streamId" type:"string"`
	// contains filtered or unexported fields
}

Attributes related to the transport stream that are used in a source or output.

func (Transport) GoString

func (s Transport) GoString() string

GoString returns the string representation

func (*Transport) SetMaxBitrate

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

SetMaxBitrate sets the MaxBitrate field's value.

func (*Transport) SetMaxLatency

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

SetMaxLatency sets the MaxLatency field's value.

func (*Transport) SetProtocol

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

SetProtocol sets the Protocol field's value.

func (*Transport) SetSmoothingLatency

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

SetSmoothingLatency sets the SmoothingLatency field's value.

func (*Transport) SetStreamId

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

SetStreamId sets the StreamId field's value.

func (Transport) String

func (s Transport) String() string

String returns the string representation

type UpdateEncryption

type UpdateEncryption struct {

	// The type of algorithm that is used for the encryption (such as aes128, aes192,
	// or aes256).
	Algorithm *string `locationName:"algorithm" type:"string" enum:"Algorithm"`

	// The type of key that is used for the encryption. If no keyType is provided,
	// the service will use the default setting (static-key).
	KeyType *string `locationName:"keyType" type:"string" enum:"KeyType"`

	// The ARN of the role that you created during setup (when you set up AWS Elemental
	// MediaConnect as a trusted entity).
	RoleArn *string `locationName:"roleArn" type:"string"`

	// The ARN that was assigned to the secret that you created in AWS Secrets Manager
	// to store the encryption key.
	SecretArn *string `locationName:"secretArn" type:"string"`
	// contains filtered or unexported fields
}

Information about the encryption of the flow.

func (UpdateEncryption) GoString

func (s UpdateEncryption) GoString() string

GoString returns the string representation

func (*UpdateEncryption) SetAlgorithm

func (s *UpdateEncryption) SetAlgorithm(v string) *UpdateEncryption

SetAlgorithm sets the Algorithm field's value.

func (*UpdateEncryption) SetKeyType

func (s *UpdateEncryption) SetKeyType(v string) *UpdateEncryption

SetKeyType sets the KeyType field's value.

func (*UpdateEncryption) SetRoleArn

func (s *UpdateEncryption) SetRoleArn(v string) *UpdateEncryption

SetRoleArn sets the RoleArn field's value.

func (*UpdateEncryption) SetSecretArn

func (s *UpdateEncryption) SetSecretArn(v string) *UpdateEncryption

SetSecretArn sets the SecretArn field's value.

func (UpdateEncryption) String

func (s UpdateEncryption) String() string

String returns the string representation

type UpdateFlowEntitlementInput

type UpdateFlowEntitlementInput struct {

	// 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.
	Description *string `locationName:"description" type:"string"`

	// The type of encryption that will be used on the output associated with this
	// entitlement.
	Encryption *UpdateEncryption `locationName:"encryption" type:"structure"`

	// EntitlementArn is a required field
	EntitlementArn *string `location:"uri" locationName:"entitlementArn" type:"string" required:"true"`

	// FlowArn is a required field
	FlowArn *string `location:"uri" locationName:"flowArn" type:"string" required:"true"`

	// The AWS account IDs that you want to share your content with. The receiving
	// accounts (subscribers) will be allowed to create their own flow using your
	// content as the source.
	Subscribers []*string `locationName:"subscribers" type:"list"`
	// contains filtered or unexported fields
}

The updates that you want to make to a specific entitlement.

func (UpdateFlowEntitlementInput) GoString

func (s UpdateFlowEntitlementInput) GoString() string

GoString returns the string representation

func (*UpdateFlowEntitlementInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateFlowEntitlementInput) SetEncryption

SetEncryption sets the Encryption field's value.

func (*UpdateFlowEntitlementInput) SetEntitlementArn

SetEntitlementArn sets the EntitlementArn field's value.

func (*UpdateFlowEntitlementInput) SetFlowArn

SetFlowArn sets the FlowArn field's value.

func (*UpdateFlowEntitlementInput) SetSubscribers

SetSubscribers sets the Subscribers field's value.

func (UpdateFlowEntitlementInput) String

String returns the string representation

func (*UpdateFlowEntitlementInput) Validate

func (s *UpdateFlowEntitlementInput) Validate() error

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

type UpdateFlowEntitlementOutput

type UpdateFlowEntitlementOutput struct {

	// The settings for a flow entitlement.
	Entitlement *Entitlement `locationName:"entitlement" type:"structure"`

	// The ARN of the flow that this entitlement was granted on.
	FlowArn *string `locationName:"flowArn" type:"string"`
	// contains filtered or unexported fields
}

The result of a successful UpdateFlowEntitlement request. The response includes the ARN of the flow that was updated and the updated entitlement configuration.

func (UpdateFlowEntitlementOutput) GoString

func (s UpdateFlowEntitlementOutput) GoString() string

GoString returns the string representation

func (*UpdateFlowEntitlementOutput) SetEntitlement

SetEntitlement sets the Entitlement field's value.

func (*UpdateFlowEntitlementOutput) SetFlowArn

SetFlowArn sets the FlowArn field's value.

func (UpdateFlowEntitlementOutput) String

String returns the string representation

type UpdateFlowOutputInput

type UpdateFlowOutputInput struct {

	// A description of the output. This description appears only on the AWS Elemental
	// MediaConnect console and will not be seen by the end user.
	Description *string `locationName:"description" type:"string"`

	// The IP address where you want to send the output.
	Destination *string `locationName:"destination" type:"string"`

	// The type of key used for the encryption. If no keyType is provided, the service
	// will use the default setting (static-key).
	Encryption *UpdateEncryption `locationName:"encryption" type:"structure"`

	// FlowArn is a required field
	FlowArn *string `location:"uri" locationName:"flowArn" type:"string" required:"true"`

	// The maximum latency in milliseconds for Zixi-based streams.
	MaxLatency *int64 `locationName:"maxLatency" type:"integer"`

	// OutputArn is a required field
	OutputArn *string `location:"uri" locationName:"outputArn" type:"string" required:"true"`

	// The port to use when content is distributed to this output.
	Port *int64 `locationName:"port" type:"integer"`

	// The protocol to use for the output.
	Protocol *string `locationName:"protocol" type:"string" enum:"Protocol"`

	// The smoothing latency in milliseconds for RTP and RTP-FEC streams.
	SmoothingLatency *int64 `locationName:"smoothingLatency" type:"integer"`

	// The stream ID that you want to use for this transport. This parameter applies
	// only to Zixi-based streams.
	StreamId *string `locationName:"streamId" type:"string"`
	// contains filtered or unexported fields
}

The updates that you want to make to an existing output of an existing flow.

func (UpdateFlowOutputInput) GoString

func (s UpdateFlowOutputInput) GoString() string

GoString returns the string representation

func (*UpdateFlowOutputInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateFlowOutputInput) SetDestination

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

SetDestination sets the Destination field's value.

func (*UpdateFlowOutputInput) SetEncryption

SetEncryption sets the Encryption field's value.

func (*UpdateFlowOutputInput) SetFlowArn

SetFlowArn sets the FlowArn field's value.

func (*UpdateFlowOutputInput) SetMaxLatency

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

SetMaxLatency sets the MaxLatency field's value.

func (*UpdateFlowOutputInput) SetOutputArn

SetOutputArn sets the OutputArn field's value.

func (*UpdateFlowOutputInput) SetPort

SetPort sets the Port field's value.

func (*UpdateFlowOutputInput) SetProtocol

SetProtocol sets the Protocol field's value.

func (*UpdateFlowOutputInput) SetSmoothingLatency

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

SetSmoothingLatency sets the SmoothingLatency field's value.

func (*UpdateFlowOutputInput) SetStreamId

SetStreamId sets the StreamId field's value.

func (UpdateFlowOutputInput) String

func (s UpdateFlowOutputInput) String() string

String returns the string representation

func (*UpdateFlowOutputInput) Validate

func (s *UpdateFlowOutputInput) Validate() error

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

type UpdateFlowOutputOutput

type UpdateFlowOutputOutput struct {

	// The ARN of the flow that is associated with the updated output.
	FlowArn *string `locationName:"flowArn" type:"string"`

	// The settings for an output.
	Output *Output `locationName:"output" type:"structure"`
	// contains filtered or unexported fields
}

The result of a successful UpdateFlowOutput request including the flow ARN and the updated output.

func (UpdateFlowOutputOutput) GoString

func (s UpdateFlowOutputOutput) GoString() string

GoString returns the string representation

func (*UpdateFlowOutputOutput) SetFlowArn

SetFlowArn sets the FlowArn field's value.

func (*UpdateFlowOutputOutput) SetOutput

SetOutput sets the Output field's value.

func (UpdateFlowOutputOutput) String

func (s UpdateFlowOutputOutput) String() string

String returns the string representation

type UpdateFlowSourceInput

type UpdateFlowSourceInput struct {

	// The type of encryption used on the content ingested from this source.
	Decryption *UpdateEncryption `locationName:"decryption" type:"structure"`

	// A description for the source. This value is not used or seen outside of the
	// current AWS Elemental MediaConnect account.
	Description *string `locationName:"description" 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.
	EntitlementArn *string `locationName:"entitlementArn" type:"string"`

	// FlowArn is a required field
	FlowArn *string `location:"uri" locationName:"flowArn" type:"string" required:"true"`

	// The port that the flow will be listening on for incoming content.
	IngestPort *int64 `locationName:"ingestPort" type:"integer"`

	// The smoothing max bitrate for RTP and RTP-FEC streams.
	MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"`

	// The maximum latency in milliseconds for Zixi-based streams.
	MaxLatency *int64 `locationName:"maxLatency" type:"integer"`

	// The protocol that is used by the source.
	Protocol *string `locationName:"protocol" type:"string" enum:"Protocol"`

	// SourceArn is a required field
	SourceArn *string `location:"uri" locationName:"sourceArn" type:"string" required:"true"`

	// The stream ID that you want to use for this transport. This parameter applies
	// only to Zixi-based streams.
	StreamId *string `locationName:"streamId" 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.
	WhitelistCidr *string `locationName:"whitelistCidr" type:"string"`
	// contains filtered or unexported fields
}

The settings for the updated source of the flow.

func (UpdateFlowSourceInput) GoString

func (s UpdateFlowSourceInput) GoString() string

GoString returns the string representation

func (*UpdateFlowSourceInput) SetDecryption

SetDecryption sets the Decryption field's value.

func (*UpdateFlowSourceInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateFlowSourceInput) SetEntitlementArn

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

SetEntitlementArn sets the EntitlementArn field's value.

func (*UpdateFlowSourceInput) SetFlowArn

SetFlowArn sets the FlowArn field's value.

func (*UpdateFlowSourceInput) SetIngestPort

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

SetIngestPort sets the IngestPort field's value.

func (*UpdateFlowSourceInput) SetMaxBitrate

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

SetMaxBitrate sets the MaxBitrate field's value.

func (*UpdateFlowSourceInput) SetMaxLatency

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

SetMaxLatency sets the MaxLatency field's value.

func (*UpdateFlowSourceInput) SetProtocol

SetProtocol sets the Protocol field's value.

func (*UpdateFlowSourceInput) SetSourceArn

SetSourceArn sets the SourceArn field's value.

func (*UpdateFlowSourceInput) SetStreamId

SetStreamId sets the StreamId field's value.

func (*UpdateFlowSourceInput) SetWhitelistCidr

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

SetWhitelistCidr sets the WhitelistCidr field's value.

func (UpdateFlowSourceInput) String

func (s UpdateFlowSourceInput) String() string

String returns the string representation

func (*UpdateFlowSourceInput) Validate

func (s *UpdateFlowSourceInput) Validate() error

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

type UpdateFlowSourceOutput

type UpdateFlowSourceOutput struct {

	// The ARN of the flow that you want to update.
	FlowArn *string `locationName:"flowArn" type:"string"`

	// The settings for the source of the flow.
	Source *Source `locationName:"source" type:"structure"`
	// contains filtered or unexported fields
}

The result of a successful UpdateFlowSource request. The response includes the ARN of the flow that was updated and the updated source configuration.

func (UpdateFlowSourceOutput) GoString

func (s UpdateFlowSourceOutput) GoString() string

GoString returns the string representation

func (*UpdateFlowSourceOutput) SetFlowArn

SetFlowArn sets the FlowArn field's value.

func (*UpdateFlowSourceOutput) SetSource

SetSource sets the Source field's value.

func (UpdateFlowSourceOutput) String

func (s UpdateFlowSourceOutput) String() string

String returns the string representation

Directories

Path Synopsis
Package mediaconnectiface provides an interface to enable mocking the AWS MediaConnect service client for testing your code.
Package mediaconnectiface provides an interface to enable mocking the AWS MediaConnect service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL