@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
addFlowOutputs, builder, createFlow, deleteFlow, describeFlow, getCachedResponseMetadata, grantFlowEntitlements, listEntitlements, listFlows, listTagsForResource, removeFlowOutput, revokeFlowEntitlement, startFlow, stopFlow, tagResource, untagResource, updateFlowEntitlement, updateFlowOutput, updateFlowSource
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
addFlowOutputs, createFlow, deleteFlow, describeFlow, getCachedResponseMetadata, grantFlowEntitlements, listEntitlements, listFlows, listTagsForResource, removeFlowOutput, revokeFlowEntitlement, startFlow, stopFlow, tagResource, untagResource, updateFlowEntitlement, updateFlowOutput, updateFlowSource
public static AWSMediaConnectAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
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<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
20) 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
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)
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<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<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<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<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<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<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 AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.