@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_METRICENDPOINT_PREFIXaddFlowOutputs, builder, createFlow, deleteFlow, describeFlow, getCachedResponseMetadata, grantFlowEntitlements, listEntitlements, listFlows, listTagsForResource, removeFlowOutput, revokeFlowEntitlement, startFlow, stopFlow, tagResource, untagResource, updateFlowEntitlement, updateFlowOutput, updateFlowSourceaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFlowOutputs, createFlow, deleteFlow, describeFlow, getCachedResponseMetadata, grantFlowEntitlements, listEntitlements, listFlows, listTagsForResource, removeFlowOutput, revokeFlowEntitlement, startFlow, stopFlow, tagResource, untagResource, updateFlowEntitlement, updateFlowOutput, updateFlowSourcepublic static AWSMediaConnectAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AddFlowOutputsResult> addFlowOutputsAsync(AddFlowOutputsRequest request)
AWSMediaConnectAsyncaddFlowOutputsAsync in interface AWSMediaConnectAsyncrequest - A request to add outputs to the specified flow.public Future<AddFlowOutputsResult> addFlowOutputsAsync(AddFlowOutputsRequest request, AsyncHandler<AddFlowOutputsRequest,AddFlowOutputsResult> asyncHandler)
AWSMediaConnectAsyncaddFlowOutputsAsync in interface AWSMediaConnectAsyncrequest - 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<CreateFlowResult> createFlowAsync(CreateFlowRequest request)
AWSMediaConnectAsynccreateFlowAsync in interface AWSMediaConnectAsyncrequest - Creates a new flow. The request must include one source. The request optionally can include outputs (up to
20) and entitlements (up to 50).public Future<CreateFlowResult> createFlowAsync(CreateFlowRequest request, AsyncHandler<CreateFlowRequest,CreateFlowResult> asyncHandler)
AWSMediaConnectAsynccreateFlowAsync in interface AWSMediaConnectAsyncrequest - Creates a new flow. The request must include one source. The request optionally can include outputs (up to
20) 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)
AWSMediaConnectAsyncdeleteFlowAsync in interface AWSMediaConnectAsyncpublic Future<DeleteFlowResult> deleteFlowAsync(DeleteFlowRequest request, AsyncHandler<DeleteFlowRequest,DeleteFlowResult> asyncHandler)
AWSMediaConnectAsyncdeleteFlowAsync in interface AWSMediaConnectAsyncasyncHandler - 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)
AWSMediaConnectAsyncdescribeFlowAsync in interface AWSMediaConnectAsyncpublic Future<DescribeFlowResult> describeFlowAsync(DescribeFlowRequest request, AsyncHandler<DescribeFlowRequest,DescribeFlowResult> asyncHandler)
AWSMediaConnectAsyncdescribeFlowAsync in interface AWSMediaConnectAsyncasyncHandler - 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)
AWSMediaConnectAsyncgrantFlowEntitlementsAsync in interface AWSMediaConnectAsyncrequest - A request to grant entitlements on a flow.public Future<GrantFlowEntitlementsResult> grantFlowEntitlementsAsync(GrantFlowEntitlementsRequest request, AsyncHandler<GrantFlowEntitlementsRequest,GrantFlowEntitlementsResult> asyncHandler)
AWSMediaConnectAsyncgrantFlowEntitlementsAsync in interface AWSMediaConnectAsyncrequest - 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)
AWSMediaConnectAsynclistEntitlementsAsync in interface AWSMediaConnectAsyncpublic Future<ListEntitlementsResult> listEntitlementsAsync(ListEntitlementsRequest request, AsyncHandler<ListEntitlementsRequest,ListEntitlementsResult> asyncHandler)
AWSMediaConnectAsynclistEntitlementsAsync in interface AWSMediaConnectAsyncasyncHandler - 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)
AWSMediaConnectAsynclistFlowsAsync in interface AWSMediaConnectAsyncpublic Future<ListFlowsResult> listFlowsAsync(ListFlowsRequest request, AsyncHandler<ListFlowsRequest,ListFlowsResult> asyncHandler)
AWSMediaConnectAsynclistFlowsAsync in interface AWSMediaConnectAsyncasyncHandler - 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)
AWSMediaConnectAsynclistTagsForResourceAsync in interface AWSMediaConnectAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSMediaConnectAsynclistTagsForResourceAsync in interface AWSMediaConnectAsyncasyncHandler - 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)
AWSMediaConnectAsyncremoveFlowOutputAsync in interface AWSMediaConnectAsyncpublic Future<RemoveFlowOutputResult> removeFlowOutputAsync(RemoveFlowOutputRequest request, AsyncHandler<RemoveFlowOutputRequest,RemoveFlowOutputResult> asyncHandler)
AWSMediaConnectAsyncremoveFlowOutputAsync in interface AWSMediaConnectAsyncasyncHandler - 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)
AWSMediaConnectAsyncrevokeFlowEntitlementAsync in interface AWSMediaConnectAsyncpublic Future<RevokeFlowEntitlementResult> revokeFlowEntitlementAsync(RevokeFlowEntitlementRequest request, AsyncHandler<RevokeFlowEntitlementRequest,RevokeFlowEntitlementResult> asyncHandler)
AWSMediaConnectAsyncrevokeFlowEntitlementAsync in interface AWSMediaConnectAsyncasyncHandler - 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)
AWSMediaConnectAsyncstartFlowAsync in interface AWSMediaConnectAsyncpublic Future<StartFlowResult> startFlowAsync(StartFlowRequest request, AsyncHandler<StartFlowRequest,StartFlowResult> asyncHandler)
AWSMediaConnectAsyncstartFlowAsync in interface AWSMediaConnectAsyncasyncHandler - 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)
AWSMediaConnectAsyncstopFlowAsync in interface AWSMediaConnectAsyncpublic Future<StopFlowResult> stopFlowAsync(StopFlowRequest request, AsyncHandler<StopFlowRequest,StopFlowResult> asyncHandler)
AWSMediaConnectAsyncstopFlowAsync in interface AWSMediaConnectAsyncasyncHandler - 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)
AWSMediaConnectAsynctagResourceAsync in interface AWSMediaConnectAsyncrequest - 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)
AWSMediaConnectAsynctagResourceAsync in interface AWSMediaConnectAsyncrequest - 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)
AWSMediaConnectAsyncuntagResourceAsync in interface AWSMediaConnectAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSMediaConnectAsyncuntagResourceAsync in interface AWSMediaConnectAsyncasyncHandler - 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)
AWSMediaConnectAsyncupdateFlowEntitlementAsync in interface AWSMediaConnectAsyncrequest - The entitlement fields that you want to update.public Future<UpdateFlowEntitlementResult> updateFlowEntitlementAsync(UpdateFlowEntitlementRequest request, AsyncHandler<UpdateFlowEntitlementRequest,UpdateFlowEntitlementResult> asyncHandler)
AWSMediaConnectAsyncupdateFlowEntitlementAsync in interface AWSMediaConnectAsyncrequest - 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<UpdateFlowOutputResult> updateFlowOutputAsync(UpdateFlowOutputRequest request)
AWSMediaConnectAsyncupdateFlowOutputAsync in interface AWSMediaConnectAsyncrequest - The fields that you want to update in the output.public Future<UpdateFlowOutputResult> updateFlowOutputAsync(UpdateFlowOutputRequest request, AsyncHandler<UpdateFlowOutputRequest,UpdateFlowOutputResult> asyncHandler)
AWSMediaConnectAsyncupdateFlowOutputAsync in interface AWSMediaConnectAsyncrequest - 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)
AWSMediaConnectAsyncupdateFlowSourceAsync in interface AWSMediaConnectAsyncrequest - A request to update the source of a flow.public Future<UpdateFlowSourceResult> updateFlowSourceAsync(UpdateFlowSourceRequest request, AsyncHandler<UpdateFlowSourceRequest,UpdateFlowSourceResult> asyncHandler)
AWSMediaConnectAsyncupdateFlowSourceAsync in interface AWSMediaConnectAsyncrequest - 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 AWSMediaConnectshutdown in class AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.