package mediaconnect
import "github.com/aws/aws-sdk-go-v2/service/mediaconnect"
Index ¶
- Constants
- func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error
- type AddFlowOutputsInput
- type AddFlowOutputsOutput
- type AddFlowSourcesInput
- type AddFlowSourcesOutput
- type AddFlowVpcInterfacesInput
- type AddFlowVpcInterfacesOutput
- type Client
- func New(options Options, optFns ...func(*Options)) *Client
- func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
- func (c *Client) AddFlowOutputs(ctx context.Context, params *AddFlowOutputsInput, optFns ...func(*Options)) (*AddFlowOutputsOutput, error)
- func (c *Client) AddFlowSources(ctx context.Context, params *AddFlowSourcesInput, optFns ...func(*Options)) (*AddFlowSourcesOutput, error)
- func (c *Client) AddFlowVpcInterfaces(ctx context.Context, params *AddFlowVpcInterfacesInput, optFns ...func(*Options)) (*AddFlowVpcInterfacesOutput, error)
- func (c *Client) CreateFlow(ctx context.Context, params *CreateFlowInput, optFns ...func(*Options)) (*CreateFlowOutput, error)
- func (c *Client) DeleteFlow(ctx context.Context, params *DeleteFlowInput, optFns ...func(*Options)) (*DeleteFlowOutput, error)
- func (c *Client) DescribeFlow(ctx context.Context, params *DescribeFlowInput, optFns ...func(*Options)) (*DescribeFlowOutput, error)
- func (c *Client) GrantFlowEntitlements(ctx context.Context, params *GrantFlowEntitlementsInput, optFns ...func(*Options)) (*GrantFlowEntitlementsOutput, error)
- func (c *Client) ListEntitlements(ctx context.Context, params *ListEntitlementsInput, optFns ...func(*Options)) (*ListEntitlementsOutput, error)
- func (c *Client) ListFlows(ctx context.Context, params *ListFlowsInput, optFns ...func(*Options)) (*ListFlowsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
- func (c *Client) RemoveFlowOutput(ctx context.Context, params *RemoveFlowOutputInput, optFns ...func(*Options)) (*RemoveFlowOutputOutput, error)
- func (c *Client) RemoveFlowSource(ctx context.Context, params *RemoveFlowSourceInput, optFns ...func(*Options)) (*RemoveFlowSourceOutput, error)
- func (c *Client) RemoveFlowVpcInterface(ctx context.Context, params *RemoveFlowVpcInterfaceInput, optFns ...func(*Options)) (*RemoveFlowVpcInterfaceOutput, error)
- func (c *Client) RevokeFlowEntitlement(ctx context.Context, params *RevokeFlowEntitlementInput, optFns ...func(*Options)) (*RevokeFlowEntitlementOutput, error)
- func (c *Client) StartFlow(ctx context.Context, params *StartFlowInput, optFns ...func(*Options)) (*StartFlowOutput, error)
- func (c *Client) StopFlow(ctx context.Context, params *StopFlowInput, optFns ...func(*Options)) (*StopFlowOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateFlow(ctx context.Context, params *UpdateFlowInput, optFns ...func(*Options)) (*UpdateFlowOutput, error)
- func (c *Client) UpdateFlowEntitlement(ctx context.Context, params *UpdateFlowEntitlementInput, optFns ...func(*Options)) (*UpdateFlowEntitlementOutput, error)
- func (c *Client) UpdateFlowOutput(ctx context.Context, params *UpdateFlowOutputInput, optFns ...func(*Options)) (*UpdateFlowOutputOutput, error)
- func (c *Client) UpdateFlowSource(ctx context.Context, params *UpdateFlowSourceInput, optFns ...func(*Options)) (*UpdateFlowSourceOutput, error)
- type CreateFlowInput
- type CreateFlowOutput
- type DeleteFlowInput
- type DeleteFlowOutput
- type DescribeFlowInput
- type DescribeFlowOutput
- type EndpointResolver
- type EndpointResolverFunc
- type GrantFlowEntitlementsInput
- type GrantFlowEntitlementsOutput
- type HTTPClient
- type HTTPSignerV4
- type ListEntitlementsInput
- type ListEntitlementsOutput
- type ListFlowsInput
- type ListFlowsOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- func (o Options) Copy() Options
- func (o Options) GetCredentials() aws.CredentialsProvider
- func (o Options) GetEndpointOptions() ResolverOptions
- func (o Options) GetEndpointResolver() EndpointResolver
- func (o Options) GetHTTPSignerV4() HTTPSignerV4
- func (o Options) GetRegion() string
- func (o Options) GetRetryer() retry.Retryer
- type RemoveFlowOutputInput
- type RemoveFlowOutputOutput
- type RemoveFlowSourceInput
- type RemoveFlowSourceOutput
- type RemoveFlowVpcInterfaceInput
- type RemoveFlowVpcInterfaceOutput
- type ResolveEndpoint
- func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
- func (*ResolveEndpoint) ID() string
- type ResolveEndpointMiddlewareOptions
- type ResolverOptions
- type RevokeFlowEntitlementInput
- type RevokeFlowEntitlementOutput
- type StartFlowInput
- type StartFlowOutput
- type StopFlowInput
- type StopFlowOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateFlowEntitlementInput
- type UpdateFlowEntitlementOutput
- type UpdateFlowInput
- type UpdateFlowOutput
- type UpdateFlowOutputInput
- type UpdateFlowOutputOutput
- type UpdateFlowSourceInput
- type UpdateFlowSourceOutput
Constants ¶
const ServiceAPIVersion = "2018-11-14"
const ServiceID = "MediaConnect"
Functions ¶
func AddResolveEndpointMiddleware ¶
func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func RemoveResolveEndpointMiddleware ¶
func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error
Types ¶
type AddFlowOutputsInput ¶
type AddFlowOutputsInput struct { // The flow that you want to add outputs to. FlowArn *string // A list of outputs that you want to add. Outputs []*types.AddOutputRequest }
A request to add outputs to the specified flow.
type AddFlowOutputsOutput ¶
type AddFlowOutputsOutput struct { // The ARN of the flow that these outputs were added to. FlowArn *string // The details of the newly added outputs. Outputs []*types.Output // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type AddFlowSourcesInput ¶
type AddFlowSourcesInput struct { // A list of sources that you want to add. Sources []*types.SetSourceRequest // The flow that you want to mutate. FlowArn *string }
A request to add sources to the flow.
type AddFlowSourcesOutput ¶
type AddFlowSourcesOutput struct { // The ARN of the flow that these sources were added to. FlowArn *string // The details of the newly added sources. Sources []*types.Source // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type AddFlowVpcInterfacesInput ¶
type AddFlowVpcInterfacesInput struct { // The flow that you want to mutate. FlowArn *string // A list of VPC interfaces that you want to add. VpcInterfaces []*types.VpcInterfaceRequest }
A request to add VPC interfaces to the flow.
type AddFlowVpcInterfacesOutput ¶
type AddFlowVpcInterfacesOutput struct { // The details of the newly added VPC interfaces. VpcInterfaces []*types.VpcInterface // The ARN of the flow that these VPC interfaces were added to. FlowArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
API for AWS Elemental MediaConnect
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AddFlowOutputs ¶
func (c *Client) AddFlowOutputs(ctx context.Context, params *AddFlowOutputsInput, optFns ...func(*Options)) (*AddFlowOutputsOutput, error)
Adds outputs to an existing flow. You can create up to 50 outputs per flow.
func (*Client) AddFlowSources ¶
func (c *Client) AddFlowSources(ctx context.Context, params *AddFlowSourcesInput, optFns ...func(*Options)) (*AddFlowSourcesOutput, error)
Adds Sources to flow
func (*Client) AddFlowVpcInterfaces ¶
func (c *Client) AddFlowVpcInterfaces(ctx context.Context, params *AddFlowVpcInterfacesInput, optFns ...func(*Options)) (*AddFlowVpcInterfacesOutput, error)
Adds VPC interfaces to flow
func (*Client) CreateFlow ¶
func (c *Client) CreateFlow(ctx context.Context, params *CreateFlowInput, optFns ...func(*Options)) (*CreateFlowOutput, error)
Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).
func (*Client) DeleteFlow ¶
func (c *Client) DeleteFlow(ctx context.Context, params *DeleteFlowInput, optFns ...func(*Options)) (*DeleteFlowOutput, error)
Deletes a flow. Before you can delete a flow, you must stop the flow.
func (*Client) DescribeFlow ¶
func (c *Client) DescribeFlow(ctx context.Context, params *DescribeFlowInput, optFns ...func(*Options)) (*DescribeFlowOutput, error)
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.
func (*Client) GrantFlowEntitlements ¶
func (c *Client) GrantFlowEntitlements(ctx context.Context, params *GrantFlowEntitlementsInput, optFns ...func(*Options)) (*GrantFlowEntitlementsOutput, error)
Grants entitlements to an existing flow.
func (*Client) ListEntitlements ¶
func (c *Client) ListEntitlements(ctx context.Context, params *ListEntitlementsInput, optFns ...func(*Options)) (*ListEntitlementsOutput, error)
Displays a list of all entitlements that have been granted to this account. This request returns 20 results per page.
func (*Client) ListFlows ¶
func (c *Client) ListFlows(ctx context.Context, params *ListFlowsInput, optFns ...func(*Options)) (*ListFlowsOutput, error)
Displays a list of flows that are associated with this account. This request returns a paginated result.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
List all tags on an AWS Elemental MediaConnect resource
func (*Client) RemoveFlowOutput ¶
func (c *Client) RemoveFlowOutput(ctx context.Context, params *RemoveFlowOutputInput, optFns ...func(*Options)) (*RemoveFlowOutputOutput, error)
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.
func (*Client) RemoveFlowSource ¶
func (c *Client) RemoveFlowSource(ctx context.Context, params *RemoveFlowSourceInput, optFns ...func(*Options)) (*RemoveFlowSourceOutput, error)
Removes a source from an existing flow. This request can be made only if there is more than one source on the flow.
func (*Client) RemoveFlowVpcInterface ¶
func (c *Client) RemoveFlowVpcInterface(ctx context.Context, params *RemoveFlowVpcInterfaceInput, optFns ...func(*Options)) (*RemoveFlowVpcInterfaceOutput, error)
Removes a VPC Interface from an existing flow. This request can be made only on a VPC interface that does not have a Source or Output associated with it. If the VPC interface is referenced by a Source or Output, you must first delete or update the Source or Output to no longer reference the VPC interface.
func (*Client) RevokeFlowEntitlement ¶
func (c *Client) RevokeFlowEntitlement(ctx context.Context, params *RevokeFlowEntitlementInput, optFns ...func(*Options)) (*RevokeFlowEntitlementOutput, error)
Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the subscriber and the associated output is removed.
func (*Client) StartFlow ¶
func (c *Client) StartFlow(ctx context.Context, params *StartFlowInput, optFns ...func(*Options)) (*StartFlowOutput, error)
Starts a flow.
func (*Client) StopFlow ¶
func (c *Client) StopFlow(ctx context.Context, params *StopFlowInput, optFns ...func(*Options)) (*StopFlowOutput, error)
Stops a flow.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
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.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Deletes specified tags from a resource.
func (*Client) UpdateFlow ¶
func (c *Client) UpdateFlow(ctx context.Context, params *UpdateFlowInput, optFns ...func(*Options)) (*UpdateFlowOutput, error)
Updates flow
func (*Client) UpdateFlowEntitlement ¶
func (c *Client) UpdateFlowEntitlement(ctx context.Context, params *UpdateFlowEntitlementInput, optFns ...func(*Options)) (*UpdateFlowEntitlementOutput, error)
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.
func (*Client) UpdateFlowOutput ¶
func (c *Client) UpdateFlowOutput(ctx context.Context, params *UpdateFlowOutputInput, optFns ...func(*Options)) (*UpdateFlowOutputOutput, error)
Updates an existing flow output.
func (*Client) UpdateFlowSource ¶
func (c *Client) UpdateFlowSource(ctx context.Context, params *UpdateFlowSourceInput, optFns ...func(*Options)) (*UpdateFlowSourceOutput, error)
Updates the source of a flow.
type CreateFlowInput ¶
type CreateFlowInput struct { // The VPC interfaces you want on the flow. VpcInterfaces []*types.VpcInterfaceRequest // 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 // The settings for source failover SourceFailoverConfig *types.FailoverConfig // The entitlements that you want to grant on a flow. Entitlements []*types.GrantEntitlementRequest Sources []*types.SetSourceRequest // The outputs that you want to add to this flow. Outputs []*types.AddOutputRequest // The name of the flow. Name *string // The settings for the source of the flow. Source *types.SetSourceRequest }
Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).
type CreateFlowOutput ¶
type CreateFlowOutput struct { // The settings for a flow, including its source, outputs, and entitlements. Flow *types.Flow // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteFlowInput ¶
type DeleteFlowInput struct { // The ARN of the flow that you want to delete. FlowArn *string }
type DeleteFlowOutput ¶
type DeleteFlowOutput struct { // The ARN of the flow that was deleted. FlowArn *string // The status of the flow when the DeleteFlow process begins. Status types.Status // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeFlowInput ¶
type DescribeFlowInput struct { // The ARN of the flow that you want to describe. FlowArn *string }
type DescribeFlowOutput ¶
type DescribeFlowOutput struct { // Messages that provide the state of the flow. Messages *types.Messages // The settings for a flow, including its source, outputs, and entitlements. Flow *types.Flow // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type EndpointResolver ¶
type EndpointResolver interface { ResolveEndpoint(region string, options ResolverOptions) (aws.Endpoint, error) }
EndpointResolver interface for resolving service endpoints.
func WithEndpointResolver ¶
func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver
WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options ResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options ResolverOptions) (endpoint aws.Endpoint, err error)
type GrantFlowEntitlementsInput ¶
type GrantFlowEntitlementsInput struct { // The list of entitlements that you want to grant. Entitlements []*types.GrantEntitlementRequest // The flow that you want to grant entitlements on. FlowArn *string }
A request to grant entitlements on a flow.
type GrantFlowEntitlementsOutput ¶
type GrantFlowEntitlementsOutput struct { // The entitlements that were just granted. Entitlements []*types.Entitlement // The ARN of the flow that these entitlements were granted to. FlowArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type HTTPClient ¶
type HTTPSignerV4 ¶
type HTTPSignerV4 interface { SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time) error }
type ListEntitlementsInput ¶
type ListEntitlementsInput struct { // The maximum number of results to return per API request. For example, you submit // a ListEntitlements request with MaxResults set at 5. Although 20 items match // your request, the service returns no more than the first 5 items. (The service // also returns a NextToken value that you can use to fetch the next batch of // results.) The service might return fewer results than the MaxResults value. If // MaxResults is not included in the request, the service defaults to pagination // with a maximum of 20 results per page. MaxResults *int32 // 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 }
type ListEntitlementsOutput ¶
type ListEntitlementsOutput struct { // A list of entitlements that have been granted to you from other AWS accounts. Entitlements []*types.ListedEntitlement // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListFlowsInput ¶
type ListFlowsInput struct { // 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 // The maximum number of results to return per API request. For example, you submit // a ListFlows request with MaxResults set at 5. Although 20 items match your // request, the service returns no more than the first 5 items. (The service also // returns a NextToken value that you can use to fetch the next batch of results.) // The service might return fewer results than the MaxResults value. If MaxResults // is not included in the request, the service defaults to pagination with a // maximum of 10 results per page. MaxResults *int32 }
type ListFlowsOutput ¶
type ListFlowsOutput struct { // A list of flow summaries. Flows []*types.ListedFlow // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect // resource for which to list the tags. ResourceArn *string }
type ListTagsForResourceOutput ¶
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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions ResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer retry.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
func (Options) GetCredentials ¶
func (o Options) GetCredentials() aws.CredentialsProvider
func (Options) GetEndpointOptions ¶
func (o Options) GetEndpointOptions() ResolverOptions
func (Options) GetEndpointResolver ¶
func (o Options) GetEndpointResolver() EndpointResolver
func (Options) GetHTTPSignerV4 ¶
func (o Options) GetHTTPSignerV4() HTTPSignerV4
func (Options) GetRegion ¶
func (Options) GetRetryer ¶
type RemoveFlowOutputInput ¶
type RemoveFlowOutputInput struct { // The flow that you want to remove an output from. FlowArn *string // The ARN of the output that you want to remove. OutputArn *string }
type RemoveFlowOutputOutput ¶
type RemoveFlowOutputOutput struct { // The ARN of the flow that is associated with the output you removed. FlowArn *string // The ARN of the output that was removed. OutputArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type RemoveFlowSourceInput ¶
type RemoveFlowSourceInput struct { // The flow that you want to remove a source from. FlowArn *string // The ARN of the source that you want to remove. SourceArn *string }
type RemoveFlowSourceOutput ¶
type RemoveFlowSourceOutput struct { // The ARN of the flow that is associated with the source you removed. FlowArn *string // The ARN of the source that was removed. SourceArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type RemoveFlowVpcInterfaceInput ¶
type RemoveFlowVpcInterfaceInput struct { // The flow that you want to remove a VPC interface from. FlowArn *string // The name of the VPC interface that you want to remove. VpcInterfaceName *string }
type RemoveFlowVpcInterfaceOutput ¶
type RemoveFlowVpcInterfaceOutput struct { // The ARN of the flow that is associated with the VPC interface you removed. FlowArn *string // The name of the VPC interface that was removed. VpcInterfaceName *string // IDs of network interfaces associated with the removed VPC interface that Media // Connect was unable to remove. NonDeletedNetworkInterfaceIds []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options ResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type ResolveEndpointMiddlewareOptions ¶
type ResolveEndpointMiddlewareOptions interface { GetEndpointResolver() EndpointResolver GetEndpointOptions() ResolverOptions }
type ResolverOptions ¶
type ResolverOptions = internalendpoints.Options
ResolverOptions is the service endpoint resolver options
type RevokeFlowEntitlementInput ¶
type RevokeFlowEntitlementInput struct { // The ARN of the entitlement that you want to revoke. EntitlementArn *string // The flow that you want to revoke an entitlement from. FlowArn *string }
type RevokeFlowEntitlementOutput ¶
type RevokeFlowEntitlementOutput struct { // The ARN of the flow that the entitlement was revoked from. FlowArn *string // The ARN of the entitlement that was revoked. EntitlementArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type StartFlowInput ¶
type StartFlowInput struct { // The ARN of the flow that you want to start. FlowArn *string }
type StartFlowOutput ¶
type StartFlowOutput struct { // The ARN of the flow that you started. FlowArn *string // The status of the flow when the StartFlow process begins. Status types.Status // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type StopFlowInput ¶
type StopFlowInput struct { // The ARN of the flow that you want to stop. FlowArn *string }
type StopFlowOutput ¶
type StopFlowOutput struct { // The ARN of the flow that you stopped. FlowArn *string // The status of the flow when the StopFlow process begins. Status types.Status // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type TagResourceInput ¶
type TagResourceInput 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 // The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect // resource to which to add tags. ResourceArn *string }
The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) that identifies the AWS Elemental MediaConnect // resource from which to delete tags. ResourceArn *string // The keys of the tags to be removed. TagKeys []*string }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateFlowEntitlementInput ¶
type UpdateFlowEntitlementInput struct { // An indication of whether you want to enable the entitlement to allow access, or // disable it to stop streaming content to the subscriber’s flow temporarily. If // you don’t specify the entitlementStatus field in your request, MediaConnect // leaves the value unchanged. EntitlementStatus types.EntitlementStatus // The type of encryption that will be used on the output associated with this // entitlement. Encryption *types.UpdateEncryption // 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 // The flow that is associated with the entitlement that you want to update. FlowArn *string // The ARN of the entitlement that you want to update. EntitlementArn *string // 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 }
The entitlement fields that you want to update.
type UpdateFlowEntitlementOutput ¶
type UpdateFlowEntitlementOutput struct { // The settings for a flow entitlement. Entitlement *types.Entitlement // The ARN of the flow that this entitlement was granted on. FlowArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateFlowInput ¶
type UpdateFlowInput struct { // The settings for source failover SourceFailoverConfig *types.UpdateFailoverConfig // The flow that you want to update. FlowArn *string }
A request to update flow.
type UpdateFlowOutput ¶
type UpdateFlowOutput struct { // The settings for a flow, including its source, outputs, and entitlements. Flow *types.Flow // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateFlowOutputInput ¶
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 // The IP address where you want to send the output. Destination *string // 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 // The ARN of the output that you want to update. OutputArn *string // The type of key used for the encryption. If no keyType is provided, the service // will use the default setting (static-key). Encryption *types.UpdateEncryption // The port to use when content is distributed to this output. Port *int32 // The flow that is associated with the output that you want to update. FlowArn *string // The remote ID for the Zixi-pull stream. RemoteId *string // The maximum latency in milliseconds for Zixi-based streams. MaxLatency *int32 // The protocol to use for the output. Protocol types.Protocol // The name of the VPC interface attachment to use for this output. VpcInterfaceAttachment *types.VpcInterfaceAttachment // The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams. SmoothingLatency *int32 // The stream ID that you want to use for this transport. This parameter applies // only to Zixi-based streams. StreamId *string }
The fields that you want to update in the output.
type UpdateFlowOutputOutput ¶
type UpdateFlowOutputOutput struct { // The settings for an output. Output *types.Output // The ARN of the flow that is associated with the updated output. FlowArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateFlowSourceInput ¶
type UpdateFlowSourceInput struct { // The name of the VPC Interface to configure this Source with. VpcInterfaceName *string // A description for the source. This value is not used or seen outside of the // current AWS Elemental MediaConnect account. Description *string // The smoothing max bitrate for RIST, RTP, and RTP-FEC streams. MaxBitrate *int32 // The ARN of the source that you want to update. SourceArn *string // The type of encryption used on the content ingested from this source. Decryption *types.UpdateEncryption // The stream ID that you want to use for this transport. This parameter applies // only to Zixi-based streams. StreamId *string // The protocol that is used by the source. Protocol types.Protocol // 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 // The maximum latency in milliseconds. This parameter applies only to RIST-based // and Zixi-based streams. MaxLatency *int32 // 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 // The port that the flow will be listening on for incoming content. IngestPort *int32 // The flow that is associated with the source that you want to update. FlowArn *string }
A request to update the source of a flow.
type UpdateFlowSourceOutput ¶
type UpdateFlowSourceOutput struct { // The ARN of the flow that you want to update. FlowArn *string // The settings for the source of the flow. Source *types.Source // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Source Files ¶
api_client.go api_op_AddFlowOutputs.go api_op_AddFlowSources.go api_op_AddFlowVpcInterfaces.go api_op_CreateFlow.go api_op_DeleteFlow.go api_op_DescribeFlow.go api_op_GrantFlowEntitlements.go api_op_ListEntitlements.go api_op_ListFlows.go api_op_ListTagsForResource.go api_op_RemoveFlowOutput.go api_op_RemoveFlowSource.go api_op_RemoveFlowVpcInterface.go api_op_RevokeFlowEntitlement.go api_op_StartFlow.go api_op_StopFlow.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateFlow.go api_op_UpdateFlowEntitlement.go api_op_UpdateFlowOutput.go api_op_UpdateFlowSource.go deserializers.go endpoints.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v0.1.0
- Published
- Sep 29, 2020
- Platform
- js/wasm
- Imports
- 25 packages
- Last checked
- now –
Tools for package owners.