@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonKinesisVideoArchivedMediaAsyncClient extends AmazonKinesisVideoArchivedMediaClient implements AmazonKinesisVideoArchivedMediaAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
configFactoryclient, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AmazonKinesisVideoArchivedMediaAsyncClientBuilder |
asyncBuilder() |
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<GetMediaForFragmentListResult> |
getMediaForFragmentListAsync(GetMediaForFragmentListRequest request)
Gets media for a list of fragments (specified by fragment number) from the archived data in a Kinesis video
stream.
|
Future<GetMediaForFragmentListResult> |
getMediaForFragmentListAsync(GetMediaForFragmentListRequest request,
AsyncHandler<GetMediaForFragmentListRequest,GetMediaForFragmentListResult> asyncHandler)
Gets media for a list of fragments (specified by fragment number) from the archived data in a Kinesis video
stream.
|
Future<ListFragmentsResult> |
listFragmentsAsync(ListFragmentsRequest request)
Returns a list of Fragment objects from the specified stream and start location within the archived data.
|
Future<ListFragmentsResult> |
listFragmentsAsync(ListFragmentsRequest request,
AsyncHandler<ListFragmentsRequest,ListFragmentsResult> asyncHandler)
Returns a list of Fragment objects from the specified stream and start location within the archived data.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
builder, getCachedResponseMetadata, getMediaForFragmentList, listFragmentsaddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCachedResponseMetadata, getMediaForFragmentList, listFragmentspublic static AmazonKinesisVideoArchivedMediaAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<GetMediaForFragmentListResult> getMediaForFragmentListAsync(GetMediaForFragmentListRequest request)
AmazonKinesisVideoArchivedMediaAsyncGets media for a list of fragments (specified by fragment number) from the archived data in a Kinesis video stream.
This operation is only available for the AWS SDK for Java. It is not supported in AWS SDKs for other languages.
The following limits apply when using the GetMediaForFragmentList API:
A client can call GetMediaForFragmentList up to five times per second per stream.
Kinesis Video Streams sends media data at a rate of up to 25 megabytes per second (or 200 megabits per second)
during a GetMediaForFragmentList session.
getMediaForFragmentListAsync in interface AmazonKinesisVideoArchivedMediaAsyncpublic Future<GetMediaForFragmentListResult> getMediaForFragmentListAsync(GetMediaForFragmentListRequest request, AsyncHandler<GetMediaForFragmentListRequest,GetMediaForFragmentListResult> asyncHandler)
AmazonKinesisVideoArchivedMediaAsyncGets media for a list of fragments (specified by fragment number) from the archived data in a Kinesis video stream.
This operation is only available for the AWS SDK for Java. It is not supported in AWS SDKs for other languages.
The following limits apply when using the GetMediaForFragmentList API:
A client can call GetMediaForFragmentList up to five times per second per stream.
Kinesis Video Streams sends media data at a rate of up to 25 megabytes per second (or 200 megabits per second)
during a GetMediaForFragmentList session.
getMediaForFragmentListAsync in interface AmazonKinesisVideoArchivedMediaAsyncasyncHandler - 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<ListFragmentsResult> listFragmentsAsync(ListFragmentsRequest request)
AmazonKinesisVideoArchivedMediaAsyncReturns a list of Fragment objects from the specified stream and start location within the archived data.
listFragmentsAsync in interface AmazonKinesisVideoArchivedMediaAsyncpublic Future<ListFragmentsResult> listFragmentsAsync(ListFragmentsRequest request, AsyncHandler<ListFragmentsRequest,ListFragmentsResult> asyncHandler)
AmazonKinesisVideoArchivedMediaAsyncReturns a list of Fragment objects from the specified stream and start location within the archived data.
listFragmentsAsync in interface AmazonKinesisVideoArchivedMediaAsyncasyncHandler - 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 AmazonKinesisVideoArchivedMediashutdown in class AmazonWebServiceClientCopyright © 2018. All rights reserved.