aws-sdk-go: github.com/aws/aws-sdk-go/service/mediaconnect Index | Files | Directories

package mediaconnect

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

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

Package Files

api.go doc.go errors.go service.go

Constants

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"
)
const (
    // KeyTypeSpeke is a KeyType enum value
    KeyTypeSpeke = "speke"

    // KeyTypeStaticKey is a KeyType enum value
    KeyTypeStaticKey = "static-key"
)
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"

    // ProtocolZixiPull is a Protocol enum value
    ProtocolZixiPull = "zixi-pull"

    // ProtocolRist is a Protocol enum value
    ProtocolRist = "rist"
)
const (
    // SourceTypeOwned is a SourceType enum value
    SourceTypeOwned = "OWNED"

    // SourceTypeEntitled is a SourceType enum value
    SourceTypeEntitled = "ENTITLED"
)
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"
)
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"
)
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

type AddFlowOutputsInput Uses

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 Uses

func (s AddFlowOutputsInput) GoString() string

GoString returns the string representation

func (*AddFlowOutputsInput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (*AddFlowOutputsInput) SetOutputs Uses

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

SetOutputs sets the Outputs field's value.

func (AddFlowOutputsInput) String Uses

func (s AddFlowOutputsInput) String() string

String returns the string representation

func (*AddFlowOutputsInput) Validate Uses

func (s *AddFlowOutputsInput) Validate() error

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

type AddFlowOutputsOutput Uses

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 Uses

func (s AddFlowOutputsOutput) GoString() string

GoString returns the string representation

func (*AddFlowOutputsOutput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (*AddFlowOutputsOutput) SetOutputs Uses

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

SetOutputs sets the Outputs field's value.

func (AddFlowOutputsOutput) String Uses

func (s AddFlowOutputsOutput) String() string

String returns the string representation

type AddOutputRequest Uses

type AddOutputRequest struct {

    // The range of IP addresses that should be allowed to initiate output requests
    // to this flow. These IP addresses should be in the form of a Classless Inter-Domain
    // Routing (CIDR) block; for example, 10.0.0.0/16.
    CidrAllowList []*string `locationName:"cidrAllowList" type:"list"`

    // 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 *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 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 *int64 `locationName:"port" type:"integer"`

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

    // The remote ID for the Zixi-pull output stream.
    RemoteId *string `locationName:"remoteId" type:"string"`

    // The smoothing latency in milliseconds for RIST, 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 Uses

func (s AddOutputRequest) GoString() string

GoString returns the string representation

func (*AddOutputRequest) SetCidrAllowList Uses

func (s *AddOutputRequest) SetCidrAllowList(v []*string) *AddOutputRequest

SetCidrAllowList sets the CidrAllowList field's value.

func (*AddOutputRequest) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*AddOutputRequest) SetDestination Uses

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

SetDestination sets the Destination field's value.

func (*AddOutputRequest) SetEncryption Uses

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

SetEncryption sets the Encryption field's value.

func (*AddOutputRequest) SetMaxLatency Uses

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

SetMaxLatency sets the MaxLatency field's value.

func (*AddOutputRequest) SetName Uses

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

SetName sets the Name field's value.

func (*AddOutputRequest) SetPort Uses

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

SetPort sets the Port field's value.

func (*AddOutputRequest) SetProtocol Uses

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

SetProtocol sets the Protocol field's value.

func (*AddOutputRequest) SetRemoteId Uses

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

SetRemoteId sets the RemoteId field's value.

func (*AddOutputRequest) SetSmoothingLatency Uses

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

SetSmoothingLatency sets the SmoothingLatency field's value.

func (*AddOutputRequest) SetStreamId Uses

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

SetStreamId sets the StreamId field's value.

func (AddOutputRequest) String Uses

func (s AddOutputRequest) String() string

String returns the string representation

func (*AddOutputRequest) Validate Uses

func (s *AddOutputRequest) Validate() error

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

type CreateFlowInput Uses

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 Uses

func (s CreateFlowInput) GoString() string

GoString returns the string representation

func (*CreateFlowInput) SetAvailabilityZone Uses

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

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*CreateFlowInput) SetEntitlements Uses

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

SetEntitlements sets the Entitlements field's value.

func (*CreateFlowInput) SetName Uses

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

SetName sets the Name field's value.

func (*CreateFlowInput) SetOutputs Uses

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

SetOutputs sets the Outputs field's value.

func (*CreateFlowInput) SetSource Uses

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

SetSource sets the Source field's value.

func (CreateFlowInput) String Uses

func (s CreateFlowInput) String() string

String returns the string representation

func (*CreateFlowInput) Validate Uses

func (s *CreateFlowInput) Validate() error

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

type CreateFlowOutput Uses

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 Uses

func (s CreateFlowOutput) GoString() string

GoString returns the string representation

func (*CreateFlowOutput) SetFlow Uses

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

SetFlow sets the Flow field's value.

func (CreateFlowOutput) String Uses

func (s CreateFlowOutput) String() string

String returns the string representation

type DeleteFlowInput Uses

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 Uses

func (s DeleteFlowInput) GoString() string

GoString returns the string representation

func (*DeleteFlowInput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (DeleteFlowInput) String Uses

func (s DeleteFlowInput) String() string

String returns the string representation

func (*DeleteFlowInput) Validate Uses

func (s *DeleteFlowInput) Validate() error

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

type DeleteFlowOutput Uses

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 Uses

func (s DeleteFlowOutput) GoString() string

GoString returns the string representation

func (*DeleteFlowOutput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (*DeleteFlowOutput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (DeleteFlowOutput) String Uses

func (s DeleteFlowOutput) String() string

String returns the string representation

type DescribeFlowInput Uses

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 Uses

func (s DescribeFlowInput) GoString() string

GoString returns the string representation

func (*DescribeFlowInput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (DescribeFlowInput) String Uses

func (s DescribeFlowInput) String() string

String returns the string representation

func (*DescribeFlowInput) Validate Uses

func (s *DescribeFlowInput) Validate() error

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

type DescribeFlowOutput Uses

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 Uses

func (s DescribeFlowOutput) GoString() string

GoString returns the string representation

func (*DescribeFlowOutput) SetFlow Uses

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

SetFlow sets the Flow field's value.

func (*DescribeFlowOutput) SetMessages Uses

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

SetMessages sets the Messages field's value.

func (DescribeFlowOutput) String Uses

func (s DescribeFlowOutput) String() string

String returns the string representation

type Encryption Uses

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"`

    // A 128-bit, 16-byte hex value represented by a 32-character string, to be
    // used with the key for encrypting content. This parameter is not valid for
    // static key encryption.
    ConstantInitializationVector *string `locationName:"constantInitializationVector" type:"string"`

    // The value of one of the devices that you configured with your digital rights
    // management (DRM) platform key provider. This parameter is required for SPEKE
    // encryption and is not valid for static key encryption.
    DeviceId *string `locationName:"deviceId" type:"string"`

    // 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 AWS Region that the API Gateway proxy endpoint was created in. This parameter
    // is required for SPEKE encryption and is not valid for static key encryption.
    Region *string `locationName:"region" type:"string"`

    // An identifier for the content. The service sends this value to the key server
    // to identify the current endpoint. The resource ID is also known as the content
    // ID. This parameter is required for SPEKE encryption and is not valid for
    // static key encryption.
    ResourceId *string `locationName:"resourceId" type:"string"`

    // 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 of the secret that you created in AWS Secrets Manager to store the
    // encryption key. This parameter is required for static key encryption and
    // is not valid for SPEKE encryption.
    SecretArn *string `locationName:"secretArn" type:"string"`

    // The URL from the API Gateway proxy that you set up to talk to your key server.
    // This parameter is required for SPEKE encryption and is not valid for static
    // key encryption.
    Url *string `locationName:"url" type:"string"`
    // contains filtered or unexported fields
}

Information about the encryption of the flow.

func (Encryption) GoString Uses

func (s Encryption) GoString() string

GoString returns the string representation

func (*Encryption) SetAlgorithm Uses

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

SetAlgorithm sets the Algorithm field's value.

func (*Encryption) SetConstantInitializationVector Uses

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

SetConstantInitializationVector sets the ConstantInitializationVector field's value.

func (*Encryption) SetDeviceId Uses

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

SetDeviceId sets the DeviceId field's value.

func (*Encryption) SetKeyType Uses

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

SetKeyType sets the KeyType field's value.

func (*Encryption) SetRegion Uses

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

SetRegion sets the Region field's value.

func (*Encryption) SetResourceId Uses

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

SetResourceId sets the ResourceId field's value.

func (*Encryption) SetRoleArn Uses

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

SetRoleArn sets the RoleArn field's value.

func (*Encryption) SetSecretArn Uses

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

SetSecretArn sets the SecretArn field's value.

func (*Encryption) SetUrl Uses

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

SetUrl sets the Url field's value.

func (Encryption) String Uses

func (s Encryption) String() string

String returns the string representation

func (*Encryption) Validate Uses

func (s *Encryption) Validate() error

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

type Entitlement Uses

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 Uses

func (s Entitlement) GoString() string

GoString returns the string representation

func (*Entitlement) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*Entitlement) SetEncryption Uses

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

SetEncryption sets the Encryption field's value.

func (*Entitlement) SetEntitlementArn Uses

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

SetEntitlementArn sets the EntitlementArn field's value.

func (*Entitlement) SetName Uses

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

SetName sets the Name field's value.

func (*Entitlement) SetSubscribers Uses

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

SetSubscribers sets the Subscribers field's value.

func (Entitlement) String Uses

func (s Entitlement) String() string

String returns the string representation

type Flow Uses

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 Uses

func (s Flow) GoString() string

GoString returns the string representation

func (*Flow) SetAvailabilityZone Uses

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

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*Flow) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*Flow) SetEgressIp Uses

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

SetEgressIp sets the EgressIp field's value.

func (*Flow) SetEntitlements Uses

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

SetEntitlements sets the Entitlements field's value.

func (*Flow) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (*Flow) SetName Uses

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

SetName sets the Name field's value.

func (*Flow) SetOutputs Uses

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

SetOutputs sets the Outputs field's value.

func (*Flow) SetSource Uses

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

SetSource sets the Source field's value.

func (*Flow) SetStatus Uses

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

SetStatus sets the Status field's value.

func (Flow) String Uses

func (s Flow) String() string

String returns the string representation

type GrantEntitlementRequest Uses

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 Uses

func (s GrantEntitlementRequest) GoString() string

GoString returns the string representation

func (*GrantEntitlementRequest) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*GrantEntitlementRequest) SetEncryption Uses

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

SetEncryption sets the Encryption field's value.

func (*GrantEntitlementRequest) SetName Uses

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

SetName sets the Name field's value.

func (*GrantEntitlementRequest) SetSubscribers Uses

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

SetSubscribers sets the Subscribers field's value.

func (GrantEntitlementRequest) String Uses

func (s GrantEntitlementRequest) String() string

String returns the string representation

func (*GrantEntitlementRequest) Validate Uses

func (s *GrantEntitlementRequest) Validate() error

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

type GrantFlowEntitlementsInput Uses

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 Uses

func (s GrantFlowEntitlementsInput) GoString() string

GoString returns the string representation

func (*GrantFlowEntitlementsInput) SetEntitlements Uses

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

SetEntitlements sets the Entitlements field's value.

func (*GrantFlowEntitlementsInput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (GrantFlowEntitlementsInput) String Uses

func (s GrantFlowEntitlementsInput) String() string

String returns the string representation

func (*GrantFlowEntitlementsInput) Validate Uses

func (s *GrantFlowEntitlementsInput) Validate() error

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

type GrantFlowEntitlementsOutput Uses

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 Uses

func (s GrantFlowEntitlementsOutput) GoString() string

GoString returns the string representation

func (*GrantFlowEntitlementsOutput) SetEntitlements Uses

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

SetEntitlements sets the Entitlements field's value.

func (*GrantFlowEntitlementsOutput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (GrantFlowEntitlementsOutput) String Uses

func (s GrantFlowEntitlementsOutput) String() string

String returns the string representation

type ListEntitlementsInput Uses

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 Uses

func (s ListEntitlementsInput) GoString() string

GoString returns the string representation

func (*ListEntitlementsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListEntitlementsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListEntitlementsInput) String Uses

func (s ListEntitlementsInput) String() string

String returns the string representation

func (*ListEntitlementsInput) Validate Uses

func (s *ListEntitlementsInput) Validate() error

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

type ListEntitlementsOutput Uses

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 Uses

func (s ListEntitlementsOutput) GoString() string

GoString returns the string representation

func (*ListEntitlementsOutput) SetEntitlements Uses

func (s *ListEntitlementsOutput) SetEntitlements(v []*ListedEntitlement) *ListEntitlementsOutput

SetEntitlements sets the Entitlements field's value.

func (*ListEntitlementsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListEntitlementsOutput) String Uses

func (s ListEntitlementsOutput) String() string

String returns the string representation

type ListFlowsInput Uses

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 Uses

func (s ListFlowsInput) GoString() string

GoString returns the string representation

func (*ListFlowsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListFlowsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListFlowsInput) String Uses

func (s ListFlowsInput) String() string

String returns the string representation

func (*ListFlowsInput) Validate Uses

func (s *ListFlowsInput) Validate() error

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

type ListFlowsOutput Uses

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 Uses

func (s ListFlowsOutput) GoString() string

GoString returns the string representation

func (*ListFlowsOutput) SetFlows Uses

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

SetFlows sets the Flows field's value.

func (*ListFlowsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListFlowsOutput) String Uses

func (s ListFlowsOutput) String() string

String returns the string representation

type ListTagsForResourceInput Uses

type ListTagsForResourceInput struct {

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

func (ListTagsForResourceInput) GoString Uses

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn Uses

func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String Uses

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate Uses

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput Uses

type ListTagsForResourceOutput struct {

    // A map from tag keys to values. Tag keys can have a maximum character length
    // of 128 characters, and tag values can have a maximum length of 256 characters.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

The tags for the resource.

func (ListTagsForResourceOutput) GoString Uses

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags Uses

func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String Uses

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListedEntitlement Uses

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 Uses

func (s ListedEntitlement) GoString() string

GoString returns the string representation

func (*ListedEntitlement) SetEntitlementArn Uses

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

SetEntitlementArn sets the EntitlementArn field's value.

func (*ListedEntitlement) SetEntitlementName Uses

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

SetEntitlementName sets the EntitlementName field's value.

func (ListedEntitlement) String Uses

func (s ListedEntitlement) String() string

String returns the string representation

type ListedFlow Uses

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 Uses

func (s ListedFlow) GoString() string

GoString returns the string representation

func (*ListedFlow) SetAvailabilityZone Uses

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

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*ListedFlow) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*ListedFlow) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (*ListedFlow) SetName Uses

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

SetName sets the Name field's value.

func (*ListedFlow) SetSourceType Uses

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

SetSourceType sets the SourceType field's value.

func (*ListedFlow) SetStatus Uses

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

SetStatus sets the Status field's value.

func (ListedFlow) String Uses

func (s ListedFlow) String() string

String returns the string representation

type MediaConnect Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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) ListEntitlementsPages Uses

func (c *MediaConnect) ListEntitlementsPages(input *ListEntitlementsInput, fn func(*ListEntitlementsOutput, bool) bool) error

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

See ListEntitlements 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 ListEntitlements operation.
pageNum := 0
err := client.ListEntitlementsPages(params,
    func(page *mediaconnect.ListEntitlementsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaConnect) ListEntitlementsPagesWithContext Uses

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

ListEntitlementsPagesWithContext same as ListEntitlementsPages 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) ListEntitlementsRequest Uses

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 Uses

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 Uses

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 Uses

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 *mediaconnect.ListFlowsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*MediaConnect) ListFlowsPagesWithContext Uses

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 Uses

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 Uses

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) ListTagsForResource Uses

func (c *MediaConnect) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS MediaConnect.

List all tags on an AWS Elemental MediaConnect resource

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 ListTagsForResource for usage and error information.

Returned Error Codes:

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

* 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/ListTagsForResource

func (*MediaConnect) ListTagsForResourceRequest Uses

func (c *MediaConnect) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource 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 ListTagsForResource for more information on using the ListTagsForResource 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 ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(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/ListTagsForResource

func (*MediaConnect) ListTagsForResourceWithContext Uses

func (c *MediaConnect) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

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

See ListTagsForResource 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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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) TagResource Uses

func (c *MediaConnect) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS MediaConnect.

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.

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 TagResource for usage and error information.

Returned Error Codes:

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

* 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/TagResource

func (*MediaConnect) TagResourceRequest Uses

func (c *MediaConnect) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource 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 TagResource for more information on using the TagResource 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 TagResourceRequest method.
req, resp := client.TagResourceRequest(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/TagResource

func (*MediaConnect) TagResourceWithContext Uses

func (c *MediaConnect) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

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

See TagResource 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) UntagResource Uses

func (c *MediaConnect) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS MediaConnect.

Deletes specified tags from a resource.

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 UntagResource for usage and error information.

Returned Error Codes:

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

* 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/UntagResource

func (*MediaConnect) UntagResourceRequest Uses

func (c *MediaConnect) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource 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 UntagResource for more information on using the UntagResource 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 UntagResourceRequest method.
req, resp := client.UntagResourceRequest(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/UntagResource

func (*MediaConnect) UntagResourceWithContext Uses

func (c *MediaConnect) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

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

See UntagResource 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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (s Messages) GoString() string

GoString returns the string representation

func (*Messages) SetErrors Uses

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

SetErrors sets the Errors field's value.

func (Messages) String Uses

func (s Messages) String() string

String returns the string representation

type Output Uses

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 Uses

func (s Output) GoString() string

GoString returns the string representation

func (*Output) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*Output) SetDestination Uses

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

SetDestination sets the Destination field's value.

func (*Output) SetEncryption Uses

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

SetEncryption sets the Encryption field's value.

func (*Output) SetEntitlementArn Uses

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

SetEntitlementArn sets the EntitlementArn field's value.

func (*Output) SetMediaLiveInputArn Uses

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

SetMediaLiveInputArn sets the MediaLiveInputArn field's value.

func (*Output) SetName Uses

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

SetName sets the Name field's value.

func (*Output) SetOutputArn Uses

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

SetOutputArn sets the OutputArn field's value.

func (*Output) SetPort Uses

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

SetPort sets the Port field's value.

func (*Output) SetTransport Uses

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

SetTransport sets the Transport field's value.

func (Output) String Uses

func (s Output) String() string

String returns the string representation

type RemoveFlowOutputInput Uses

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 Uses

func (s RemoveFlowOutputInput) GoString() string

GoString returns the string representation

func (*RemoveFlowOutputInput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (*RemoveFlowOutputInput) SetOutputArn Uses

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

SetOutputArn sets the OutputArn field's value.

func (RemoveFlowOutputInput) String Uses

func (s RemoveFlowOutputInput) String() string

String returns the string representation

func (*RemoveFlowOutputInput) Validate Uses

func (s *RemoveFlowOutputInput) Validate() error

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

type RemoveFlowOutputOutput Uses

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 Uses

func (s RemoveFlowOutputOutput) GoString() string

GoString returns the string representation

func (*RemoveFlowOutputOutput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (*RemoveFlowOutputOutput) SetOutputArn Uses

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

SetOutputArn sets the OutputArn field's value.

func (RemoveFlowOutputOutput) String Uses

func (s RemoveFlowOutputOutput) String() string

String returns the string representation

type RevokeFlowEntitlementInput Uses

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 Uses

func (s RevokeFlowEntitlementInput) GoString() string

GoString returns the string representation

func (*RevokeFlowEntitlementInput) SetEntitlementArn Uses

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

SetEntitlementArn sets the EntitlementArn field's value.

func (*RevokeFlowEntitlementInput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (RevokeFlowEntitlementInput) String Uses

func (s RevokeFlowEntitlementInput) String() string

String returns the string representation

func (*RevokeFlowEntitlementInput) Validate Uses

func (s *RevokeFlowEntitlementInput) Validate() error

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

type RevokeFlowEntitlementOutput Uses

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 Uses

func (s RevokeFlowEntitlementOutput) GoString() string

GoString returns the string representation

func (*RevokeFlowEntitlementOutput) SetEntitlementArn Uses

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

SetEntitlementArn sets the EntitlementArn field's value.

func (*RevokeFlowEntitlementOutput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (RevokeFlowEntitlementOutput) String Uses

func (s RevokeFlowEntitlementOutput) String() string

String returns the string representation

type SetSourceRequest Uses

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 RIST, RTP, and RTP-FEC streams.
    MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"`

    // The maximum latency in milliseconds. This parameter applies only to RIST-based
    // and 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 be 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 Uses

func (s SetSourceRequest) GoString() string

GoString returns the string representation

func (*SetSourceRequest) SetDecryption Uses

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

SetDecryption sets the Decryption field's value.

func (*SetSourceRequest) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*SetSourceRequest) SetEntitlementArn Uses

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

SetEntitlementArn sets the EntitlementArn field's value.

func (*SetSourceRequest) SetIngestPort Uses

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

SetIngestPort sets the IngestPort field's value.

func (*SetSourceRequest) SetMaxBitrate Uses

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

SetMaxBitrate sets the MaxBitrate field's value.

func (*SetSourceRequest) SetMaxLatency Uses

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

SetMaxLatency sets the MaxLatency field's value.

func (*SetSourceRequest) SetName Uses

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

SetName sets the Name field's value.

func (*SetSourceRequest) SetProtocol Uses

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

SetProtocol sets the Protocol field's value.

func (*SetSourceRequest) SetStreamId Uses

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

SetStreamId sets the StreamId field's value.

func (*SetSourceRequest) SetWhitelistCidr Uses

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

SetWhitelistCidr sets the WhitelistCidr field's value.

func (SetSourceRequest) String Uses

func (s SetSourceRequest) String() string

String returns the string representation

func (*SetSourceRequest) Validate Uses

func (s *SetSourceRequest) Validate() error

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

type Source Uses

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 be 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 Uses

func (s Source) GoString() string

GoString returns the string representation

func (*Source) SetDecryption Uses

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

SetDecryption sets the Decryption field's value.

func (*Source) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*Source) SetEntitlementArn Uses

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

SetEntitlementArn sets the EntitlementArn field's value.

func (*Source) SetIngestIp Uses

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

SetIngestIp sets the IngestIp field's value.

func (*Source) SetIngestPort Uses

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

SetIngestPort sets the IngestPort field's value.

func (*Source) SetName Uses

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

SetName sets the Name field's value.

func (*Source) SetSourceArn Uses

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

SetSourceArn sets the SourceArn field's value.

func (*Source) SetTransport Uses

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

SetTransport sets the Transport field's value.

func (*Source) SetWhitelistCidr Uses

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

SetWhitelistCidr sets the WhitelistCidr field's value.

func (Source) String Uses

func (s Source) String() string

String returns the string representation

type StartFlowInput Uses

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 Uses

func (s StartFlowInput) GoString() string

GoString returns the string representation

func (*StartFlowInput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (StartFlowInput) String Uses

func (s StartFlowInput) String() string

String returns the string representation

func (*StartFlowInput) Validate Uses

func (s *StartFlowInput) Validate() error

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

type StartFlowOutput Uses

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 Uses

func (s StartFlowOutput) GoString() string

GoString returns the string representation

func (*StartFlowOutput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (*StartFlowOutput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (StartFlowOutput) String Uses

func (s StartFlowOutput) String() string

String returns the string representation

type StopFlowInput Uses

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 Uses

func (s StopFlowInput) GoString() string

GoString returns the string representation

func (*StopFlowInput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (StopFlowInput) String Uses

func (s StopFlowInput) String() string

String returns the string representation

func (*StopFlowInput) Validate Uses

func (s *StopFlowInput) Validate() error

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

type StopFlowOutput Uses

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 Uses

func (s StopFlowOutput) GoString() string

GoString returns the string representation

func (*StopFlowOutput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (*StopFlowOutput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (StopFlowOutput) String Uses

func (s StopFlowOutput) String() string

String returns the string representation

type TagResourceInput Uses

type TagResourceInput struct {

    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

    // A map from tag keys to values. Tag keys can have a maximum character length
    // of 128 characters, and tag values can have a maximum length of 256 characters.
    //
    // Tags is a required field
    Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
    // contains filtered or unexported fields
}

The tags to add to the resource. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

func (TagResourceInput) GoString Uses

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn Uses

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags Uses

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String Uses

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate Uses

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput Uses

type TagResourceOutput struct {
    // contains filtered or unexported fields
}

func (TagResourceOutput) GoString Uses

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String Uses

func (s TagResourceOutput) String() string

String returns the string representation

type Transport Uses

type Transport struct {

    // The range of IP addresses that should be allowed to initiate output requests
    // to this flow. These IP addresses should be in the form of a Classless Inter-Domain
    // Routing (CIDR) block; for example, 10.0.0.0/16.
    CidrAllowList []*string `locationName:"cidrAllowList" type:"list"`

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

    // The maximum latency in milliseconds. This parameter applies only to RIST-based
    // and 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 remote ID for the Zixi-pull stream.
    RemoteId *string `locationName:"remoteId" type:"string"`

    // The smoothing latency in milliseconds for RIST, 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 Uses

func (s Transport) GoString() string

GoString returns the string representation

func (*Transport) SetCidrAllowList Uses

func (s *Transport) SetCidrAllowList(v []*string) *Transport

SetCidrAllowList sets the CidrAllowList field's value.

func (*Transport) SetMaxBitrate Uses

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

SetMaxBitrate sets the MaxBitrate field's value.

func (*Transport) SetMaxLatency Uses

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

SetMaxLatency sets the MaxLatency field's value.

func (*Transport) SetProtocol Uses

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

SetProtocol sets the Protocol field's value.

func (*Transport) SetRemoteId Uses

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

SetRemoteId sets the RemoteId field's value.

func (*Transport) SetSmoothingLatency Uses

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

SetSmoothingLatency sets the SmoothingLatency field's value.

func (*Transport) SetStreamId Uses

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

SetStreamId sets the StreamId field's value.

func (Transport) String Uses

func (s Transport) String() string

String returns the string representation

type UntagResourceInput Uses

type UntagResourceInput struct {

    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

    // TagKeys is a required field
    TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (UntagResourceInput) GoString Uses

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn Uses

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys Uses

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String Uses

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate Uses

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput Uses

type UntagResourceOutput struct {
    // contains filtered or unexported fields
}

func (UntagResourceOutput) GoString Uses

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String Uses

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateEncryption Uses

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"`

    // A 128-bit, 16-byte hex value represented by a 32-character string, to be
    // used with the key for encrypting content. This parameter is not valid for
    // static key encryption.
    ConstantInitializationVector *string `locationName:"constantInitializationVector" type:"string"`

    // The value of one of the devices that you configured with your digital rights
    // management (DRM) platform key provider. This parameter is required for SPEKE
    // encryption and is not valid for static key encryption.
    DeviceId *string `locationName:"deviceId" type:"string"`

    // 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 AWS Region that the API Gateway proxy endpoint was created in. This parameter
    // is required for SPEKE encryption and is not valid for static key encryption.
    Region *string `locationName:"region" type:"string"`

    // An identifier for the content. The service sends this value to the key server
    // to identify the current endpoint. The resource ID is also known as the content
    // ID. This parameter is required for SPEKE encryption and is not valid for
    // static key encryption.
    ResourceId *string `locationName:"resourceId" type:"string"`

    // 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 of the secret that you created in AWS Secrets Manager to store the
    // encryption key. This parameter is required for static key encryption and
    // is not valid for SPEKE encryption.
    SecretArn *string `locationName:"secretArn" type:"string"`

    // The URL from the API Gateway proxy that you set up to talk to your key server.
    // This parameter is required for SPEKE encryption and is not valid for static
    // key encryption.
    Url *string `locationName:"url" type:"string"`
    // contains filtered or unexported fields
}

Information about the encryption of the flow.

func (UpdateEncryption) GoString Uses

func (s UpdateEncryption) GoString() string

GoString returns the string representation

func (*UpdateEncryption) SetAlgorithm Uses

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

SetAlgorithm sets the Algorithm field's value.

func (*UpdateEncryption) SetConstantInitializationVector Uses

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

SetConstantInitializationVector sets the ConstantInitializationVector field's value.

func (*UpdateEncryption) SetDeviceId Uses

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

SetDeviceId sets the DeviceId field's value.

func (*UpdateEncryption) SetKeyType Uses

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

SetKeyType sets the KeyType field's value.

func (*UpdateEncryption) SetRegion Uses

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

SetRegion sets the Region field's value.

func (*UpdateEncryption) SetResourceId Uses

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

SetResourceId sets the ResourceId field's value.

func (*UpdateEncryption) SetRoleArn Uses

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

SetRoleArn sets the RoleArn field's value.

func (*UpdateEncryption) SetSecretArn Uses

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

SetSecretArn sets the SecretArn field's value.

func (*UpdateEncryption) SetUrl Uses

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

SetUrl sets the Url field's value.

func (UpdateEncryption) String Uses

func (s UpdateEncryption) String() string

String returns the string representation

type UpdateFlowEntitlementInput Uses

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 Uses

func (s UpdateFlowEntitlementInput) GoString() string

GoString returns the string representation

func (*UpdateFlowEntitlementInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*UpdateFlowEntitlementInput) SetEncryption Uses

func (s *UpdateFlowEntitlementInput) SetEncryption(v *UpdateEncryption) *UpdateFlowEntitlementInput

SetEncryption sets the Encryption field's value.

func (*UpdateFlowEntitlementInput) SetEntitlementArn Uses

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

SetEntitlementArn sets the EntitlementArn field's value.

func (*UpdateFlowEntitlementInput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (*UpdateFlowEntitlementInput) SetSubscribers Uses

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

SetSubscribers sets the Subscribers field's value.

func (UpdateFlowEntitlementInput) String Uses

func (s UpdateFlowEntitlementInput) String() string

String returns the string representation

func (*UpdateFlowEntitlementInput) Validate Uses

func (s *UpdateFlowEntitlementInput) Validate() error

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

type UpdateFlowEntitlementOutput Uses

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 Uses

func (s UpdateFlowEntitlementOutput) GoString() string

GoString returns the string representation

func (*UpdateFlowEntitlementOutput) SetEntitlement Uses

func (s *UpdateFlowEntitlementOutput) SetEntitlement(v *Entitlement) *UpdateFlowEntitlementOutput

SetEntitlement sets the Entitlement field's value.

func (*UpdateFlowEntitlementOutput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (UpdateFlowEntitlementOutput) String Uses

func (s UpdateFlowEntitlementOutput) String() string

String returns the string representation

type UpdateFlowOutputInput Uses

type UpdateFlowOutputInput struct {

    // The range of IP addresses that should be allowed to initiate output requests
    // to this flow. These IP addresses should be in the form of a Classless Inter-Domain
    // Routing (CIDR) block; for example, 10.0.0.0/16.
    CidrAllowList []*string `locationName:"cidrAllowList" type:"list"`

    // 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 remote ID for the Zixi-pull stream.
    RemoteId *string `locationName:"remoteId" type:"string"`

    // The smoothing latency in milliseconds for RIST, 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 Uses

func (s UpdateFlowOutputInput) GoString() string

GoString returns the string representation

func (*UpdateFlowOutputInput) SetCidrAllowList Uses

func (s *UpdateFlowOutputInput) SetCidrAllowList(v []*string) *UpdateFlowOutputInput

SetCidrAllowList sets the CidrAllowList field's value.

func (*UpdateFlowOutputInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*UpdateFlowOutputInput) SetDestination Uses

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

SetDestination sets the Destination field's value.

func (*UpdateFlowOutputInput) SetEncryption Uses

func (s *UpdateFlowOutputInput) SetEncryption(v *UpdateEncryption) *UpdateFlowOutputInput

SetEncryption sets the Encryption field's value.

func (*UpdateFlowOutputInput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (*UpdateFlowOutputInput) SetMaxLatency Uses

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

SetMaxLatency sets the MaxLatency field's value.

func (*UpdateFlowOutputInput) SetOutputArn Uses

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

SetOutputArn sets the OutputArn field's value.

func (*UpdateFlowOutputInput) SetPort Uses

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

SetPort sets the Port field's value.

func (*UpdateFlowOutputInput) SetProtocol Uses

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

SetProtocol sets the Protocol field's value.

func (*UpdateFlowOutputInput) SetRemoteId Uses

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

SetRemoteId sets the RemoteId field's value.

func (*UpdateFlowOutputInput) SetSmoothingLatency Uses

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

SetSmoothingLatency sets the SmoothingLatency field's value.

func (*UpdateFlowOutputInput) SetStreamId Uses

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

SetStreamId sets the StreamId field's value.

func (UpdateFlowOutputInput) String Uses

func (s UpdateFlowOutputInput) String() string

String returns the string representation

func (*UpdateFlowOutputInput) Validate Uses

func (s *UpdateFlowOutputInput) Validate() error

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

type UpdateFlowOutputOutput Uses

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 Uses

func (s UpdateFlowOutputOutput) GoString() string

GoString returns the string representation

func (*UpdateFlowOutputOutput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (*UpdateFlowOutputOutput) SetOutput Uses

func (s *UpdateFlowOutputOutput) SetOutput(v *Output) *UpdateFlowOutputOutput

SetOutput sets the Output field's value.

func (UpdateFlowOutputOutput) String Uses

func (s UpdateFlowOutputOutput) String() string

String returns the string representation

type UpdateFlowSourceInput Uses

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 RIST, RTP, and RTP-FEC streams.
    MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"`

    // The maximum latency in milliseconds. This parameter applies only to RIST-based
    // and 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 be 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 Uses

func (s UpdateFlowSourceInput) GoString() string

GoString returns the string representation

func (*UpdateFlowSourceInput) SetDecryption Uses

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

SetDecryption sets the Decryption field's value.

func (*UpdateFlowSourceInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*UpdateFlowSourceInput) SetEntitlementArn Uses

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

SetEntitlementArn sets the EntitlementArn field's value.

func (*UpdateFlowSourceInput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (*UpdateFlowSourceInput) SetIngestPort Uses

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

SetIngestPort sets the IngestPort field's value.

func (*UpdateFlowSourceInput) SetMaxBitrate Uses

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

SetMaxBitrate sets the MaxBitrate field's value.

func (*UpdateFlowSourceInput) SetMaxLatency Uses

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

SetMaxLatency sets the MaxLatency field's value.

func (*UpdateFlowSourceInput) SetProtocol Uses

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

SetProtocol sets the Protocol field's value.

func (*UpdateFlowSourceInput) SetSourceArn Uses

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

SetSourceArn sets the SourceArn field's value.

func (*UpdateFlowSourceInput) SetStreamId Uses

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

SetStreamId sets the StreamId field's value.

func (*UpdateFlowSourceInput) SetWhitelistCidr Uses

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

SetWhitelistCidr sets the WhitelistCidr field's value.

func (UpdateFlowSourceInput) String Uses

func (s UpdateFlowSourceInput) String() string

String returns the string representation

func (*UpdateFlowSourceInput) Validate Uses

func (s *UpdateFlowSourceInput) Validate() error

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

type UpdateFlowSourceOutput Uses

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 Uses

func (s UpdateFlowSourceOutput) GoString() string

GoString returns the string representation

func (*UpdateFlowSourceOutput) SetFlowArn Uses

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

SetFlowArn sets the FlowArn field's value.

func (*UpdateFlowSourceOutput) SetSource Uses

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

SetSource sets the Source field's value.

func (UpdateFlowSourceOutput) String Uses

func (s UpdateFlowSourceOutput) String() string

String returns the string representation

Directories

PathSynopsis
mediaconnectifacePackage mediaconnectiface provides an interface to enable mocking the AWS MediaConnect service client for testing your code.

Package mediaconnect imports 9 packages (graph) and is imported by 12 packages. Updated 2019-09-12. Refresh now. Tools for package owners.