Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MediaConnect

import { MediaConnect } from "https://aws-api.deno.dev/v0.4/services/mediaconnect.ts?docs=full";
class MediaConnect {
constructor(apiFactory: client.ApiFactory);
async addFlowMediaStreams(params: AddFlowMediaStreamsRequest, opts?: client.RequestOptions): Promise<AddFlowMediaStreamsResponse>;
async addFlowOutputs(params: AddFlowOutputsRequest, opts?: client.RequestOptions): Promise<AddFlowOutputsResponse>;
async addFlowSources(params: AddFlowSourcesRequest, opts?: client.RequestOptions): Promise<AddFlowSourcesResponse>;
async addFlowVpcInterfaces(params: AddFlowVpcInterfacesRequest, opts?: client.RequestOptions): Promise<AddFlowVpcInterfacesResponse>;
async createFlow(params: CreateFlowRequest, opts?: client.RequestOptions): Promise<CreateFlowResponse>;
async deleteFlow(params: DeleteFlowRequest, opts?: client.RequestOptions): Promise<DeleteFlowResponse>;
async describeFlow(params: DescribeFlowRequest, opts?: client.RequestOptions): Promise<DescribeFlowResponse>;
async describeOffering(params: DescribeOfferingRequest, opts?: client.RequestOptions): Promise<DescribeOfferingResponse>;
async describeReservation(params: DescribeReservationRequest, opts?: client.RequestOptions): Promise<DescribeReservationResponse>;
async grantFlowEntitlements(params: GrantFlowEntitlementsRequest, opts?: client.RequestOptions): Promise<GrantFlowEntitlementsResponse>;
async listEntitlements(params?: ListEntitlementsRequest, opts?: client.RequestOptions): Promise<ListEntitlementsResponse>;
async listFlows(params?: ListFlowsRequest, opts?: client.RequestOptions): Promise<ListFlowsResponse>;
async listOfferings(params?: ListOfferingsRequest, opts?: client.RequestOptions): Promise<ListOfferingsResponse>;
async listReservations(params?: ListReservationsRequest, opts?: client.RequestOptions): Promise<ListReservationsResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async purchaseOffering(params: PurchaseOfferingRequest, opts?: client.RequestOptions): Promise<PurchaseOfferingResponse>;
async removeFlowMediaStream(params: RemoveFlowMediaStreamRequest, opts?: client.RequestOptions): Promise<RemoveFlowMediaStreamResponse>;
async removeFlowOutput(params: RemoveFlowOutputRequest, opts?: client.RequestOptions): Promise<RemoveFlowOutputResponse>;
async removeFlowSource(params: RemoveFlowSourceRequest, opts?: client.RequestOptions): Promise<RemoveFlowSourceResponse>;
async removeFlowVpcInterface(params: RemoveFlowVpcInterfaceRequest, opts?: client.RequestOptions): Promise<RemoveFlowVpcInterfaceResponse>;
async revokeFlowEntitlement(params: RevokeFlowEntitlementRequest, opts?: client.RequestOptions): Promise<RevokeFlowEntitlementResponse>;
async startFlow(params: StartFlowRequest, opts?: client.RequestOptions): Promise<StartFlowResponse>;
async stopFlow(params: StopFlowRequest, opts?: client.RequestOptions): Promise<StopFlowResponse>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateFlow(params: UpdateFlowRequest, opts?: client.RequestOptions): Promise<UpdateFlowResponse>;
async updateFlowEntitlement(params: UpdateFlowEntitlementRequest, opts?: client.RequestOptions): Promise<UpdateFlowEntitlementResponse>;
async updateFlowMediaStream(params: UpdateFlowMediaStreamRequest, opts?: client.RequestOptions): Promise<UpdateFlowMediaStreamResponse>;
async updateFlowOutput(params: UpdateFlowOutputRequest, opts?: client.RequestOptions): Promise<UpdateFlowOutputResponse>;
async updateFlowSource(params: UpdateFlowSourceRequest, opts?: client.RequestOptions): Promise<UpdateFlowSourceResponse>;
async waitForFlowActive(params: DescribeFlowRequest, opts?: client.RequestOptions): Promise<DescribeFlowResponse>;
async waitForFlowDeleted(params: DescribeFlowRequest, opts?: client.RequestOptions): Promise<Error | DescribeFlowResponse>;
async waitForFlowStandby(params: DescribeFlowRequest, opts?: client.RequestOptions): Promise<DescribeFlowResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new MediaConnect(apiFactory: client.ApiFactory)
[src]

§Methods

§

Adds media streams to an existing flow. After you add a media stream to a flow, you can associate it with a source and/or an output that uses the ST 2110 JPEG XS or CDI protocol.

§

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

§

Adds Sources to flow

§

Adds VPC interfaces to flow

§

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

§

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

§

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.

§

Displays the details of an offering. The response includes the offering description, duration, outbound bandwidth, price, and Amazon Resource Name (ARN).

§

Displays the details of a reservation. The response includes the reservation name, state, start date and time, and the details of the offering that make up the rest of the reservation (such as price, duration, and outbound bandwidth).

§

Grants entitlements to an existing flow.

§

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

§
listFlows(params?: ListFlowsRequest, opts?: client.RequestOptions): Promise<ListFlowsResponse>
[src]

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

§

Displays a list of all offerings that are available to this account in the current AWS Region. If you have an active reservation (which means you've purchased an offering that has already started and hasn't expired yet), your account isn't eligible for other offerings.

§

Displays a list of all reservations that have been purchased by this account in the current AWS Region. This list includes all reservations in all states (such as active and expired).

§

List all tags on an AWS Elemental MediaConnect resource

§

Submits a request to purchase an offering. If you already have an active reservation, you can't purchase another offering.

§

Removes a media stream from a flow. This action is only available if the media stream is not associated with a source or output.

§

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.

§

Removes a source from an existing flow. This request can be made only if there is more than one source on the flow.

§

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.

§

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

§

Starts a flow.

§
stopFlow(params: StopFlowRequest, opts?: client.RequestOptions): Promise<StopFlowResponse>
[src]

Stops a flow.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes specified tags from a resource.

§

Updates flow

§

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.

§

Updates an existing media stream.

§

Updates an existing flow output.

§

Updates the source of a flow.

§
waitForFlowActive(params: DescribeFlowRequest, opts?: client.RequestOptions): Promise<DescribeFlowResponse>
[src]

Wait until a flow is active Checks state up to 40 times, 3 seconds apart (about 2 minutes max wait time).

§
waitForFlowDeleted(params: DescribeFlowRequest, opts?: client.RequestOptions): Promise<Error | DescribeFlowResponse>
[src]

Wait until a flow is deleted Checks state up to 40 times, 3 seconds apart (about 2 minutes max wait time).

§
waitForFlowStandby(params: DescribeFlowRequest, opts?: client.RequestOptions): Promise<DescribeFlowResponse>
[src]

Wait until a flow is in standby mode Checks state up to 40 times, 3 seconds apart (about 2 minutes max wait time).

§Static Properties