@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSMediaConnectAsyncClient extends AWSMediaConnectClient implements AWSMediaConnectAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
API for AWS Elemental MediaConnect
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
addFlowMediaStreams, addFlowOutputs, addFlowSources, addFlowVpcInterfaces, builder, createFlow, deleteFlow, describeFlow, describeOffering, describeReservation, getCachedResponseMetadata, grantFlowEntitlements, listEntitlements, listFlows, listOfferings, listReservations, listTagsForResource, purchaseOffering, removeFlowMediaStream, removeFlowOutput, removeFlowSource, removeFlowVpcInterface, revokeFlowEntitlement, startFlow, stopFlow, tagResource, untagResource, updateFlow, updateFlowEntitlement, updateFlowMediaStream, updateFlowOutput, updateFlowSource, waiters
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFlowMediaStreams, addFlowOutputs, addFlowSources, addFlowVpcInterfaces, createFlow, deleteFlow, describeFlow, describeOffering, describeReservation, getCachedResponseMetadata, grantFlowEntitlements, listEntitlements, listFlows, listOfferings, listReservations, listTagsForResource, purchaseOffering, removeFlowMediaStream, removeFlowOutput, removeFlowSource, removeFlowVpcInterface, revokeFlowEntitlement, startFlow, stopFlow, tagResource, untagResource, updateFlow, updateFlowEntitlement, updateFlowMediaStream, updateFlowOutput, updateFlowSource, waiters
public static AWSMediaConnectAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AddFlowMediaStreamsResult> addFlowMediaStreamsAsync(AddFlowMediaStreamsRequest request)
AWSMediaConnectAsync
addFlowMediaStreamsAsync
in interface AWSMediaConnectAsync
request
- A request to add media streams to the flow.public Future<AddFlowMediaStreamsResult> addFlowMediaStreamsAsync(AddFlowMediaStreamsRequest request, AsyncHandler<AddFlowMediaStreamsRequest,AddFlowMediaStreamsResult> asyncHandler)
AWSMediaConnectAsync
addFlowMediaStreamsAsync
in interface AWSMediaConnectAsync
request
- A request to add media streams to the flow.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AddFlowOutputsResult> addFlowOutputsAsync(AddFlowOutputsRequest request)
AWSMediaConnectAsync
addFlowOutputsAsync
in interface AWSMediaConnectAsync
request
- A request to add outputs to the specified flow.public Future<AddFlowOutputsResult> addFlowOutputsAsync(AddFlowOutputsRequest request, AsyncHandler<AddFlowOutputsRequest,AddFlowOutputsResult> asyncHandler)
AWSMediaConnectAsync
addFlowOutputsAsync
in interface AWSMediaConnectAsync
request
- A request to add outputs to the specified flow.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AddFlowSourcesResult> addFlowSourcesAsync(AddFlowSourcesRequest request)
AWSMediaConnectAsync
addFlowSourcesAsync
in interface AWSMediaConnectAsync
request
- A request to add sources to the flow.public Future<AddFlowSourcesResult> addFlowSourcesAsync(AddFlowSourcesRequest request, AsyncHandler<AddFlowSourcesRequest,AddFlowSourcesResult> asyncHandler)
AWSMediaConnectAsync
addFlowSourcesAsync
in interface AWSMediaConnectAsync
request
- A request to add sources to the flow.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AddFlowVpcInterfacesResult> addFlowVpcInterfacesAsync(AddFlowVpcInterfacesRequest request)
AWSMediaConnectAsync
addFlowVpcInterfacesAsync
in interface AWSMediaConnectAsync
request
- A request to add VPC interfaces to the flow.public Future<AddFlowVpcInterfacesResult> addFlowVpcInterfacesAsync(AddFlowVpcInterfacesRequest request, AsyncHandler<AddFlowVpcInterfacesRequest,AddFlowVpcInterfacesResult> asyncHandler)
AWSMediaConnectAsync
addFlowVpcInterfacesAsync
in interface AWSMediaConnectAsync
request
- A request to add VPC interfaces to the flow.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateFlowResult> createFlowAsync(CreateFlowRequest request)
AWSMediaConnectAsync
createFlowAsync
in interface AWSMediaConnectAsync
request
- 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 Future<CreateFlowResult> createFlowAsync(CreateFlowRequest request, AsyncHandler<CreateFlowRequest,CreateFlowResult> asyncHandler)
AWSMediaConnectAsync
createFlowAsync
in interface AWSMediaConnectAsync
request
- Creates a new flow. The request must include one source. The request optionally can include outputs (up to
50) and entitlements (up to 50).asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteFlowResult> deleteFlowAsync(DeleteFlowRequest request)
AWSMediaConnectAsync
deleteFlowAsync
in interface AWSMediaConnectAsync
public Future<DeleteFlowResult> deleteFlowAsync(DeleteFlowRequest request, AsyncHandler<DeleteFlowRequest,DeleteFlowResult> asyncHandler)
AWSMediaConnectAsync
deleteFlowAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeFlowResult> describeFlowAsync(DescribeFlowRequest request)
AWSMediaConnectAsync
describeFlowAsync
in interface AWSMediaConnectAsync
public Future<DescribeFlowResult> describeFlowAsync(DescribeFlowRequest request, AsyncHandler<DescribeFlowRequest,DescribeFlowResult> asyncHandler)
AWSMediaConnectAsync
describeFlowAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeOfferingResult> describeOfferingAsync(DescribeOfferingRequest request)
AWSMediaConnectAsync
describeOfferingAsync
in interface AWSMediaConnectAsync
public Future<DescribeOfferingResult> describeOfferingAsync(DescribeOfferingRequest request, AsyncHandler<DescribeOfferingRequest,DescribeOfferingResult> asyncHandler)
AWSMediaConnectAsync
describeOfferingAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeReservationResult> describeReservationAsync(DescribeReservationRequest request)
AWSMediaConnectAsync
describeReservationAsync
in interface AWSMediaConnectAsync
public Future<DescribeReservationResult> describeReservationAsync(DescribeReservationRequest request, AsyncHandler<DescribeReservationRequest,DescribeReservationResult> asyncHandler)
AWSMediaConnectAsync
describeReservationAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GrantFlowEntitlementsResult> grantFlowEntitlementsAsync(GrantFlowEntitlementsRequest request)
AWSMediaConnectAsync
grantFlowEntitlementsAsync
in interface AWSMediaConnectAsync
request
- A request to grant entitlements on a flow.public Future<GrantFlowEntitlementsResult> grantFlowEntitlementsAsync(GrantFlowEntitlementsRequest request, AsyncHandler<GrantFlowEntitlementsRequest,GrantFlowEntitlementsResult> asyncHandler)
AWSMediaConnectAsync
grantFlowEntitlementsAsync
in interface AWSMediaConnectAsync
request
- A request to grant entitlements on a flow.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEntitlementsResult> listEntitlementsAsync(ListEntitlementsRequest request)
AWSMediaConnectAsync
listEntitlementsAsync
in interface AWSMediaConnectAsync
public Future<ListEntitlementsResult> listEntitlementsAsync(ListEntitlementsRequest request, AsyncHandler<ListEntitlementsRequest,ListEntitlementsResult> asyncHandler)
AWSMediaConnectAsync
listEntitlementsAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListFlowsResult> listFlowsAsync(ListFlowsRequest request)
AWSMediaConnectAsync
listFlowsAsync
in interface AWSMediaConnectAsync
public Future<ListFlowsResult> listFlowsAsync(ListFlowsRequest request, AsyncHandler<ListFlowsRequest,ListFlowsResult> asyncHandler)
AWSMediaConnectAsync
listFlowsAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListOfferingsResult> listOfferingsAsync(ListOfferingsRequest request)
AWSMediaConnectAsync
listOfferingsAsync
in interface AWSMediaConnectAsync
public Future<ListOfferingsResult> listOfferingsAsync(ListOfferingsRequest request, AsyncHandler<ListOfferingsRequest,ListOfferingsResult> asyncHandler)
AWSMediaConnectAsync
listOfferingsAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListReservationsResult> listReservationsAsync(ListReservationsRequest request)
AWSMediaConnectAsync
listReservationsAsync
in interface AWSMediaConnectAsync
public Future<ListReservationsResult> listReservationsAsync(ListReservationsRequest request, AsyncHandler<ListReservationsRequest,ListReservationsResult> asyncHandler)
AWSMediaConnectAsync
listReservationsAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSMediaConnectAsync
listTagsForResourceAsync
in interface AWSMediaConnectAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSMediaConnectAsync
listTagsForResourceAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PurchaseOfferingResult> purchaseOfferingAsync(PurchaseOfferingRequest request)
AWSMediaConnectAsync
purchaseOfferingAsync
in interface AWSMediaConnectAsync
request
- A request to purchase a offering.public Future<PurchaseOfferingResult> purchaseOfferingAsync(PurchaseOfferingRequest request, AsyncHandler<PurchaseOfferingRequest,PurchaseOfferingResult> asyncHandler)
AWSMediaConnectAsync
purchaseOfferingAsync
in interface AWSMediaConnectAsync
request
- A request to purchase a offering.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RemoveFlowMediaStreamResult> removeFlowMediaStreamAsync(RemoveFlowMediaStreamRequest request)
AWSMediaConnectAsync
removeFlowMediaStreamAsync
in interface AWSMediaConnectAsync
public Future<RemoveFlowMediaStreamResult> removeFlowMediaStreamAsync(RemoveFlowMediaStreamRequest request, AsyncHandler<RemoveFlowMediaStreamRequest,RemoveFlowMediaStreamResult> asyncHandler)
AWSMediaConnectAsync
removeFlowMediaStreamAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RemoveFlowOutputResult> removeFlowOutputAsync(RemoveFlowOutputRequest request)
AWSMediaConnectAsync
removeFlowOutputAsync
in interface AWSMediaConnectAsync
public Future<RemoveFlowOutputResult> removeFlowOutputAsync(RemoveFlowOutputRequest request, AsyncHandler<RemoveFlowOutputRequest,RemoveFlowOutputResult> asyncHandler)
AWSMediaConnectAsync
removeFlowOutputAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RemoveFlowSourceResult> removeFlowSourceAsync(RemoveFlowSourceRequest request)
AWSMediaConnectAsync
removeFlowSourceAsync
in interface AWSMediaConnectAsync
public Future<RemoveFlowSourceResult> removeFlowSourceAsync(RemoveFlowSourceRequest request, AsyncHandler<RemoveFlowSourceRequest,RemoveFlowSourceResult> asyncHandler)
AWSMediaConnectAsync
removeFlowSourceAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RemoveFlowVpcInterfaceResult> removeFlowVpcInterfaceAsync(RemoveFlowVpcInterfaceRequest request)
AWSMediaConnectAsync
removeFlowVpcInterfaceAsync
in interface AWSMediaConnectAsync
public Future<RemoveFlowVpcInterfaceResult> removeFlowVpcInterfaceAsync(RemoveFlowVpcInterfaceRequest request, AsyncHandler<RemoveFlowVpcInterfaceRequest,RemoveFlowVpcInterfaceResult> asyncHandler)
AWSMediaConnectAsync
removeFlowVpcInterfaceAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RevokeFlowEntitlementResult> revokeFlowEntitlementAsync(RevokeFlowEntitlementRequest request)
AWSMediaConnectAsync
revokeFlowEntitlementAsync
in interface AWSMediaConnectAsync
public Future<RevokeFlowEntitlementResult> revokeFlowEntitlementAsync(RevokeFlowEntitlementRequest request, AsyncHandler<RevokeFlowEntitlementRequest,RevokeFlowEntitlementResult> asyncHandler)
AWSMediaConnectAsync
revokeFlowEntitlementAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartFlowResult> startFlowAsync(StartFlowRequest request)
AWSMediaConnectAsync
startFlowAsync
in interface AWSMediaConnectAsync
public Future<StartFlowResult> startFlowAsync(StartFlowRequest request, AsyncHandler<StartFlowRequest,StartFlowResult> asyncHandler)
AWSMediaConnectAsync
startFlowAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopFlowResult> stopFlowAsync(StopFlowRequest request)
AWSMediaConnectAsync
stopFlowAsync
in interface AWSMediaConnectAsync
public Future<StopFlowResult> stopFlowAsync(StopFlowRequest request, AsyncHandler<StopFlowRequest,StopFlowResult> asyncHandler)
AWSMediaConnectAsync
stopFlowAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSMediaConnectAsync
tagResourceAsync
in interface AWSMediaConnectAsync
request
- 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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSMediaConnectAsync
tagResourceAsync
in interface AWSMediaConnectAsync
request
- 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.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSMediaConnectAsync
untagResourceAsync
in interface AWSMediaConnectAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSMediaConnectAsync
untagResourceAsync
in interface AWSMediaConnectAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateFlowResult> updateFlowAsync(UpdateFlowRequest request)
AWSMediaConnectAsync
updateFlowAsync
in interface AWSMediaConnectAsync
request
- A request to update flow.public Future<UpdateFlowResult> updateFlowAsync(UpdateFlowRequest request, AsyncHandler<UpdateFlowRequest,UpdateFlowResult> asyncHandler)
AWSMediaConnectAsync
updateFlowAsync
in interface AWSMediaConnectAsync
request
- A request to update flow.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateFlowEntitlementResult> updateFlowEntitlementAsync(UpdateFlowEntitlementRequest request)
AWSMediaConnectAsync
updateFlowEntitlementAsync
in interface AWSMediaConnectAsync
request
- The entitlement fields that you want to update.public Future<UpdateFlowEntitlementResult> updateFlowEntitlementAsync(UpdateFlowEntitlementRequest request, AsyncHandler<UpdateFlowEntitlementRequest,UpdateFlowEntitlementResult> asyncHandler)
AWSMediaConnectAsync
updateFlowEntitlementAsync
in interface AWSMediaConnectAsync
request
- The entitlement fields that you want to update.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateFlowMediaStreamResult> updateFlowMediaStreamAsync(UpdateFlowMediaStreamRequest request)
AWSMediaConnectAsync
updateFlowMediaStreamAsync
in interface AWSMediaConnectAsync
request
- The fields that you want to update in the media stream.public Future<UpdateFlowMediaStreamResult> updateFlowMediaStreamAsync(UpdateFlowMediaStreamRequest request, AsyncHandler<UpdateFlowMediaStreamRequest,UpdateFlowMediaStreamResult> asyncHandler)
AWSMediaConnectAsync
updateFlowMediaStreamAsync
in interface AWSMediaConnectAsync
request
- The fields that you want to update in the media stream.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateFlowOutputResult> updateFlowOutputAsync(UpdateFlowOutputRequest request)
AWSMediaConnectAsync
updateFlowOutputAsync
in interface AWSMediaConnectAsync
request
- The fields that you want to update in the output.public Future<UpdateFlowOutputResult> updateFlowOutputAsync(UpdateFlowOutputRequest request, AsyncHandler<UpdateFlowOutputRequest,UpdateFlowOutputResult> asyncHandler)
AWSMediaConnectAsync
updateFlowOutputAsync
in interface AWSMediaConnectAsync
request
- The fields that you want to update in the output.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateFlowSourceResult> updateFlowSourceAsync(UpdateFlowSourceRequest request)
AWSMediaConnectAsync
updateFlowSourceAsync
in interface AWSMediaConnectAsync
request
- A request to update the source of a flow.public Future<UpdateFlowSourceResult> updateFlowSourceAsync(UpdateFlowSourceRequest request, AsyncHandler<UpdateFlowSourceRequest,UpdateFlowSourceResult> asyncHandler)
AWSMediaConnectAsync
updateFlowSourceAsync
in interface AWSMediaConnectAsync
request
- A request to update the source of a flow.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSMediaConnect
shutdown
in class AWSMediaConnectClient