import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { AddFlowMediaStreamsCommand , AddFlowMediaStreamsCommandInput , AddFlowMediaStreamsCommandOutput , } from "./commands/AddFlowMediaStreamsCommand" ; import { AddFlowOutputsCommand , AddFlowOutputsCommandInput , AddFlowOutputsCommandOutput , } from "./commands/AddFlowOutputsCommand" ; import { AddFlowSourcesCommand , AddFlowSourcesCommandInput , AddFlowSourcesCommandOutput , } from "./commands/AddFlowSourcesCommand" ; import { AddFlowVpcInterfacesCommand , AddFlowVpcInterfacesCommandInput , AddFlowVpcInterfacesCommandOutput , } from "./commands/AddFlowVpcInterfacesCommand" ; import { CreateFlowCommand , CreateFlowCommandInput , CreateFlowCommandOutput } from "./commands/CreateFlowCommand" ; import { DeleteFlowCommand , DeleteFlowCommandInput , DeleteFlowCommandOutput } from "./commands/DeleteFlowCommand" ; import { DescribeFlowCommand , DescribeFlowCommandInput , DescribeFlowCommandOutput , } from "./commands/DescribeFlowCommand" ; import { DescribeOfferingCommand , DescribeOfferingCommandInput , DescribeOfferingCommandOutput , } from "./commands/DescribeOfferingCommand" ; import { DescribeReservationCommand , DescribeReservationCommandInput , DescribeReservationCommandOutput , } from "./commands/DescribeReservationCommand" ; import { GrantFlowEntitlementsCommand , GrantFlowEntitlementsCommandInput , GrantFlowEntitlementsCommandOutput , } from "./commands/GrantFlowEntitlementsCommand" ; import { ListEntitlementsCommand , ListEntitlementsCommandInput , ListEntitlementsCommandOutput , } from "./commands/ListEntitlementsCommand" ; import { ListFlowsCommand , ListFlowsCommandInput , ListFlowsCommandOutput } from "./commands/ListFlowsCommand" ; import { ListOfferingsCommand , ListOfferingsCommandInput , ListOfferingsCommandOutput , } from "./commands/ListOfferingsCommand" ; import { ListReservationsCommand , ListReservationsCommandInput , ListReservationsCommandOutput , } from "./commands/ListReservationsCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { PurchaseOfferingCommand , PurchaseOfferingCommandInput , PurchaseOfferingCommandOutput , } from "./commands/PurchaseOfferingCommand" ; import { RemoveFlowMediaStreamCommand , RemoveFlowMediaStreamCommandInput , RemoveFlowMediaStreamCommandOutput , } from "./commands/RemoveFlowMediaStreamCommand" ; import { RemoveFlowOutputCommand , RemoveFlowOutputCommandInput , RemoveFlowOutputCommandOutput , } from "./commands/RemoveFlowOutputCommand" ; import { RemoveFlowSourceCommand , RemoveFlowSourceCommandInput , RemoveFlowSourceCommandOutput , } from "./commands/RemoveFlowSourceCommand" ; import { RemoveFlowVpcInterfaceCommand , RemoveFlowVpcInterfaceCommandInput , RemoveFlowVpcInterfaceCommandOutput , } from "./commands/RemoveFlowVpcInterfaceCommand" ; import { RevokeFlowEntitlementCommand , RevokeFlowEntitlementCommandInput , RevokeFlowEntitlementCommandOutput , } from "./commands/RevokeFlowEntitlementCommand" ; import { StartFlowCommand , StartFlowCommandInput , StartFlowCommandOutput } from "./commands/StartFlowCommand" ; import { StopFlowCommand , StopFlowCommandInput , StopFlowCommandOutput } from "./commands/StopFlowCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateFlowCommand , UpdateFlowCommandInput , UpdateFlowCommandOutput } from "./commands/UpdateFlowCommand" ; import { UpdateFlowEntitlementCommand , UpdateFlowEntitlementCommandInput , UpdateFlowEntitlementCommandOutput , } from "./commands/UpdateFlowEntitlementCommand" ; import { UpdateFlowMediaStreamCommand , UpdateFlowMediaStreamCommandInput , UpdateFlowMediaStreamCommandOutput , } from "./commands/UpdateFlowMediaStreamCommand" ; import { UpdateFlowOutputCommand , UpdateFlowOutputCommandInput , UpdateFlowOutputCommandOutput , } from "./commands/UpdateFlowOutputCommand" ; import { UpdateFlowSourceCommand , UpdateFlowSourceCommandInput , UpdateFlowSourceCommandOutput , } from "./commands/UpdateFlowSourceCommand" ; import { MediaConnectClient } from "./MediaConnectClient" ; /**
 * API for AWS Elemental MediaConnect
 */ export class MediaConnect extends MediaConnectClient { /**
     * 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.
     */ public addFlowMediaStreams ( args , options ? ) ; public addFlowMediaStreams ( args , cb ) ; public addFlowMediaStreams ( args , options , cb ) ; public addFlowMediaStreams ( args , optionsOrCb ? , cb ? ) { const command = new AddFlowMediaStreamsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Adds outputs to an existing flow. You can create up to 50 outputs per flow.
     */ public addFlowOutputs ( args , options ? ) ; public addFlowOutputs ( args , cb ) ; public addFlowOutputs ( args , options , cb ) ; public addFlowOutputs ( args , optionsOrCb ? , cb ? ) { const command = new AddFlowOutputsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Adds Sources to flow
     */ public addFlowSources ( args , options ? ) ; public addFlowSources ( args , cb ) ; public addFlowSources ( args , options , cb ) ; public addFlowSources ( args , optionsOrCb ? , cb ? ) { const command = new AddFlowSourcesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Adds VPC interfaces to flow
     */ public addFlowVpcInterfaces ( args , options ? ) ; public addFlowVpcInterfaces ( args , cb ) ; public addFlowVpcInterfaces ( args , options , cb ) ; public addFlowVpcInterfaces ( args , optionsOrCb ? , cb ? ) { const command = new AddFlowVpcInterfacesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).
     */ public createFlow ( args , options ? ) ; public createFlow ( args , cb ) ; public createFlow ( args , options , cb ) ; public createFlow ( args , optionsOrCb ? , cb ? ) { const command = new CreateFlowCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Deletes a flow. Before you can delete a flow, you must stop the flow.
     */ public deleteFlow ( args , options ? ) ; public deleteFlow ( args , cb ) ; public deleteFlow ( args , options , cb ) ; public deleteFlow ( args , optionsOrCb ? , cb ? ) { const command = new DeleteFlowCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * 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.
     */ public describeFlow ( args , options ? ) ; public describeFlow ( args , cb ) ; public describeFlow ( args , options , cb ) ; public describeFlow ( args , optionsOrCb ? , cb ? ) { const command = new DescribeFlowCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Displays the details of an offering. The response includes the offering description, duration, outbound bandwidth, price, and Amazon Resource Name (ARN).
     */ public describeOffering ( args , options ? ) ; public describeOffering ( args , cb ) ; public describeOffering ( args , options , cb ) ; public describeOffering ( args , optionsOrCb ? , cb ? ) { const command = new DescribeOfferingCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * 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).
     */ public describeReservation ( args , options ? ) ; public describeReservation ( args , cb ) ; public describeReservation ( args , options , cb ) ; public describeReservation ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReservationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Grants entitlements to an existing flow.
     */ public grantFlowEntitlements ( args , options ? ) ; public grantFlowEntitlements ( args , cb ) ; public grantFlowEntitlements ( args , options , cb ) ; public grantFlowEntitlements ( args , optionsOrCb ? , cb ? ) { const command = new GrantFlowEntitlementsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Displays a list of all entitlements that have been granted to this account. This request returns 20 results per page.
     */ public listEntitlements ( args , options ? ) ; public listEntitlements ( args , cb ) ; public listEntitlements ( args , options , cb ) ; public listEntitlements ( args , optionsOrCb ? , cb ? ) { const command = new ListEntitlementsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Displays a list of flows that are associated with this account. This request returns a paginated result.
     */ public listFlows ( args , options ? ) ; public listFlows ( args , cb ) ; public listFlows ( args , options , cb ) ; public listFlows ( args , optionsOrCb ? , cb ? ) { const command = new ListFlowsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * 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.
     */ public listOfferings ( args , options ? ) ; public listOfferings ( args , cb ) ; public listOfferings ( args , options , cb ) ; public listOfferings ( args , optionsOrCb ? , cb ? ) { const command = new ListOfferingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * 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).
     */ public listReservations ( args , options ? ) ; public listReservations ( args , cb ) ; public listReservations ( args , options , cb ) ; public listReservations ( args , optionsOrCb ? , cb ? ) { const command = new ListReservationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * List all tags on an AWS Elemental MediaConnect resource
     */ public listTagsForResource ( args , options ? ) ; public listTagsForResource ( args , cb ) ; public listTagsForResource ( args , options , cb ) ; public listTagsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Submits a request to purchase an offering. If you already have an active reservation, you can't purchase another offering.
     */ public purchaseOffering ( args , options ? ) ; public purchaseOffering ( args , cb ) ; public purchaseOffering ( args , options , cb ) ; public purchaseOffering ( args , optionsOrCb ? , cb ? ) { const command = new PurchaseOfferingCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Removes a media stream from a flow. This action is only available if the media stream is not associated with a source or output.
     */ public removeFlowMediaStream ( args , options ? ) ; public removeFlowMediaStream ( args , cb ) ; public removeFlowMediaStream ( args , options , cb ) ; public removeFlowMediaStream ( args , optionsOrCb ? , cb ? ) { const command = new RemoveFlowMediaStreamCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * 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.
     */ public removeFlowOutput ( args , options ? ) ; public removeFlowOutput ( args , cb ) ; public removeFlowOutput ( args , options , cb ) ; public removeFlowOutput ( args , optionsOrCb ? , cb ? ) { const command = new RemoveFlowOutputCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Removes a source from an existing flow. This request can be made only if there is more than one source on the flow.
     */ public removeFlowSource ( args , options ? ) ; public removeFlowSource ( args , cb ) ; public removeFlowSource ( args , options , cb ) ; public removeFlowSource ( args , optionsOrCb ? , cb ? ) { const command = new RemoveFlowSourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * 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.
     */ public removeFlowVpcInterface ( args , options ? ) ; public removeFlowVpcInterface ( args , cb ) ; public removeFlowVpcInterface ( args , options , cb ) ; public removeFlowVpcInterface ( args , optionsOrCb ? , cb ? ) { const command = new RemoveFlowVpcInterfaceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the subscriber and the associated output is removed.
     */ public revokeFlowEntitlement ( args , options ? ) ; public revokeFlowEntitlement ( args , cb ) ; public revokeFlowEntitlement ( args , options , cb ) ; public revokeFlowEntitlement ( args , optionsOrCb ? , cb ? ) { const command = new RevokeFlowEntitlementCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Starts a flow.
     */ public startFlow ( args , options ? ) ; public startFlow ( args , cb ) ; public startFlow ( args , options , cb ) ; public startFlow ( args , optionsOrCb ? , cb ? ) { const command = new StartFlowCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Stops a flow.
     */ public stopFlow ( args , options ? ) ; public stopFlow ( args , cb ) ; public stopFlow ( args , options , cb ) ; public stopFlow ( args , optionsOrCb ? , cb ? ) { const command = new StopFlowCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * 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.
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Deletes specified tags from a resource.
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Updates flow
     */ public updateFlow ( args , options ? ) ; public updateFlow ( args , cb ) ; public updateFlow ( args , options , cb ) ; public updateFlow ( args , optionsOrCb ? , cb ? ) { const command = new UpdateFlowCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * 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.
     */ public updateFlowEntitlement ( args , options ? ) ; public updateFlowEntitlement ( args , cb ) ; public updateFlowEntitlement ( args , options , cb ) ; public updateFlowEntitlement ( args , optionsOrCb ? , cb ? ) { const command = new UpdateFlowEntitlementCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Updates an existing media stream.
     */ public updateFlowMediaStream ( args , options ? ) ; public updateFlowMediaStream ( args , cb ) ; public updateFlowMediaStream ( args , options , cb ) ; public updateFlowMediaStream ( args , optionsOrCb ? , cb ? ) { const command = new UpdateFlowMediaStreamCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Updates an existing flow output.
     */ public updateFlowOutput ( args , options ? ) ; public updateFlowOutput ( args , cb ) ; public updateFlowOutput ( args , options , cb ) ; public updateFlowOutput ( args , optionsOrCb ? , cb ? ) { const command = new UpdateFlowOutputCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * Updates the source of a flow.
     */ public updateFlowSource ( args , options ? ) ; public updateFlowSource ( args , cb ) ; public updateFlowSource ( args , options , cb ) ; public updateFlowSource ( args , optionsOrCb ? , cb ? ) { const command = new UpdateFlowSourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }