@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonKinesisVideoArchivedMedia
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonKinesisVideoArchivedMedia
instead.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetMediaForFragmentListResult |
getMediaForFragmentList(GetMediaForFragmentListRequest getMediaForFragmentListRequest)
Gets media for a list of fragments (specified by fragment number) from the archived data in a Kinesis video
stream.
|
ListFragmentsResult |
listFragments(ListFragmentsRequest listFragmentsRequest)
Returns a list of Fragment objects from the specified stream and start location within the archived data.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
static final String ENDPOINT_PREFIX
GetMediaForFragmentListResult getMediaForFragmentList(GetMediaForFragmentListRequest getMediaForFragmentListRequest)
Gets 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.
getMediaForFragmentListRequest
- ResourceNotFoundException
- Kinesis Video Streams can't find the stream that you specified.InvalidArgumentException
- A specified parameter exceeds its restrictions, is not supported, or can't be used.ClientLimitExceededException
- Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client
calls. Try making the call later.NotAuthorizedException
- Status Code: 403, The caller is not authorized to perform an operation on the given stream, or the token
has expired.ListFragmentsResult listFragments(ListFragmentsRequest listFragmentsRequest)
Returns a list of Fragment objects from the specified stream and start location within the archived data.
listFragmentsRequest
- ResourceNotFoundException
- Kinesis Video Streams can't find the stream that you specified.InvalidArgumentException
- A specified parameter exceeds its restrictions, is not supported, or can't be used.ClientLimitExceededException
- Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client
calls. Try making the call later.NotAuthorizedException
- Status Code: 403, The caller is not authorized to perform an operation on the given stream, or the token
has expired.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.Copyright © 2018. All rights reserved.