MediaConnect class
API for AWS Elemental MediaConnect
Constructors
- MediaConnect({required String region, AwsClientCredentials? credentials, AwsClientCredentialsProvider? credentialsProvider, Client? client, String? endpointUrl})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addFlowOutputs(
{required String flowArn, required List< AddOutputRequest> outputs}) → Future<AddFlowOutputsResponse> - Adds outputs to an existing flow. You can create up to 50 outputs per flow.
-
addFlowSources(
{required String flowArn, required List< SetSourceRequest> sources}) → Future<AddFlowSourcesResponse> - Adds Sources to flow
-
addFlowVpcInterfaces(
{required String flowArn, required List< VpcInterfaceRequest> vpcInterfaces}) → Future<AddFlowVpcInterfacesResponse> - Adds VPC interfaces to flow
-
close(
) → void - Closes the internal HTTP client if none was provided at creation. If a client was passed as a constructor argument, this becomes a noop.
-
createFlow(
{required String name, String? availabilityZone, List< GrantEntitlementRequest> ? entitlements, List<AddOutputRequest> ? outputs, SetSourceRequest? source, FailoverConfig? sourceFailoverConfig, List<SetSourceRequest> ? sources, List<VpcInterfaceRequest> ? vpcInterfaces}) → Future<CreateFlowResponse> - Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).
-
deleteFlow(
{required String flowArn}) → Future< DeleteFlowResponse> - Deletes a flow. Before you can delete a flow, you must stop the flow.
-
describeFlow(
{required String flowArn}) → Future< DescribeFlowResponse> - 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.
-
describeOffering(
{required String offeringArn}) → Future< DescribeOfferingResponse> - Displays the details of an offering. The response includes the offering description, duration, outbound bandwidth, price, and Amazon Resource Name (ARN).
-
describeReservation(
{required String reservationArn}) → Future< DescribeReservationResponse> - 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).
-
grantFlowEntitlements(
{required List< GrantEntitlementRequest> entitlements, required String flowArn}) → Future<GrantFlowEntitlementsResponse> - Grants entitlements to an existing flow.
-
listEntitlements(
{int? maxResults, String? nextToken}) → Future< ListEntitlementsResponse> - Displays a list of all entitlements that have been granted to this account. This request returns 20 results per page.
-
listFlows(
{int? maxResults, String? nextToken}) → Future< ListFlowsResponse> - Displays a list of flows that are associated with this account. This request returns a paginated result.
-
listOfferings(
{int? maxResults, String? nextToken}) → Future< ListOfferingsResponse> - 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.
-
listReservations(
{int? maxResults, String? nextToken}) → Future< ListReservationsResponse> - 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).
-
listTagsForResource(
{required String resourceArn}) → Future< ListTagsForResourceResponse> - List all tags on an AWS Elemental MediaConnect resource
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
purchaseOffering(
{required String offeringArn, required String reservationName, required String start}) → Future< PurchaseOfferingResponse> - Submits a request to purchase an offering. If you already have an active reservation, you can't purchase another offering.
-
removeFlowOutput(
{required String flowArn, required String outputArn}) → Future< RemoveFlowOutputResponse> - 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.
-
removeFlowSource(
{required String flowArn, required String sourceArn}) → Future< RemoveFlowSourceResponse> - Removes a source from an existing flow. This request can be made only if there is more than one source on the flow.
-
removeFlowVpcInterface(
{required String flowArn, required String vpcInterfaceName}) → Future< RemoveFlowVpcInterfaceResponse> - 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.
-
revokeFlowEntitlement(
{required String entitlementArn, required String flowArn}) → Future< RevokeFlowEntitlementResponse> - Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the subscriber and the associated output is removed.
-
startFlow(
{required String flowArn}) → Future< StartFlowResponse> - Starts a flow.
-
stopFlow(
{required String flowArn}) → Future< StopFlowResponse> - Stops a flow.
-
tagResource(
{required String resourceArn, required Map< String, String> tags}) → Future<void> - 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.
-
toString(
) → String -
A string representation of this object.
inherited
-
untagResource(
{required String resourceArn, required List< String> tagKeys}) → Future<void> - Deletes specified tags from a resource.
-
updateFlow(
{required String flowArn, UpdateFailoverConfig? sourceFailoverConfig}) → Future< UpdateFlowResponse> - Updates flow
-
updateFlowEntitlement(
{required String entitlementArn, required String flowArn, String? description, UpdateEncryption? encryption, EntitlementStatus? entitlementStatus, List< String> ? subscribers}) → Future<UpdateFlowEntitlementResponse> - 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.
-
updateFlowOutput(
{required String flowArn, required String outputArn, List< String> ? cidrAllowList, String? description, String? destination, UpdateEncryption? encryption, int? maxLatency, int? port, Protocol? protocol, String? remoteId, int? smoothingLatency, String? streamId, VpcInterfaceAttachment? vpcInterfaceAttachment}) → Future<UpdateFlowOutputResponse> - Updates an existing flow output.
-
updateFlowSource(
{required String flowArn, required String sourceArn, UpdateEncryption? decryption, String? description, String? entitlementArn, int? ingestPort, int? maxBitrate, int? maxLatency, Protocol? protocol, String? streamId, String? vpcInterfaceName, String? whitelistCidr}) → Future< UpdateFlowSourceResponse> - Updates the source of a flow.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited