public class AmazonElasticTranscoderAsyncClient extends AmazonElasticTranscoderClient implements AmazonElasticTranscoderAsync
The AWS Elastic Transcoder Service.
Constructor and Description |
---|
AmazonElasticTranscoderAsyncClient()
Constructs a new asynchronous client to invoke service methods on
AmazonElasticTranscoder.
|
AmazonElasticTranscoderAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on
AmazonElasticTranscoder using the specified AWS account credentials.
|
AmazonElasticTranscoderAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonElasticTranscoder using the specified AWS account credentials,
executor service, and client configuration options.
|
AmazonElasticTranscoderAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonElasticTranscoder using the specified AWS account credentials
and executor service.
|
AmazonElasticTranscoderAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on
AmazonElasticTranscoder using the specified AWS account credentials provider.
|
AmazonElasticTranscoderAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonElasticTranscoder using the specified AWS account credentials
provider and client configuration options.
|
AmazonElasticTranscoderAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonElasticTranscoder using the specified AWS account credentials
provider, executor service, and client configuration options.
|
AmazonElasticTranscoderAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonElasticTranscoder using the specified AWS account credentials provider
and executor service.
|
AmazonElasticTranscoderAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonElasticTranscoder.
|
Modifier and Type | Method and Description |
---|---|
Future<CancelJobResult> |
cancelJobAsync(CancelJobRequest cancelJobRequest)
The CancelJob operation cancels an unfinished job.
|
Future<CancelJobResult> |
cancelJobAsync(CancelJobRequest cancelJobRequest,
AsyncHandler<CancelJobRequest,CancelJobResult> asyncHandler)
The CancelJob operation cancels an unfinished job.
|
Future<CreateJobResult> |
createJobAsync(CreateJobRequest createJobRequest)
When you create a job, Elastic Transcoder returns JSON data that
includes the values that you specified plus information about the job
that is created.
|
Future<CreateJobResult> |
createJobAsync(CreateJobRequest createJobRequest,
AsyncHandler<CreateJobRequest,CreateJobResult> asyncHandler)
When you create a job, Elastic Transcoder returns JSON data that
includes the values that you specified plus information about the job
that is created.
|
Future<CreatePipelineResult> |
createPipelineAsync(CreatePipelineRequest createPipelineRequest)
The CreatePipeline operation creates a pipeline with settings that you
specify.
|
Future<CreatePipelineResult> |
createPipelineAsync(CreatePipelineRequest createPipelineRequest,
AsyncHandler<CreatePipelineRequest,CreatePipelineResult> asyncHandler)
The CreatePipeline operation creates a pipeline with settings that you
specify.
|
Future<CreatePresetResult> |
createPresetAsync(CreatePresetRequest createPresetRequest)
The CreatePreset operation creates a preset with settings that you
specify.
|
Future<CreatePresetResult> |
createPresetAsync(CreatePresetRequest createPresetRequest,
AsyncHandler<CreatePresetRequest,CreatePresetResult> asyncHandler)
The CreatePreset operation creates a preset with settings that you
specify.
|
Future<DeletePipelineResult> |
deletePipelineAsync(DeletePipelineRequest deletePipelineRequest)
The DeletePipeline operation removes a pipeline.
|
Future<DeletePipelineResult> |
deletePipelineAsync(DeletePipelineRequest deletePipelineRequest,
AsyncHandler<DeletePipelineRequest,DeletePipelineResult> asyncHandler)
The DeletePipeline operation removes a pipeline.
|
Future<DeletePresetResult> |
deletePresetAsync(DeletePresetRequest deletePresetRequest)
The DeletePreset operation removes a preset that you've added in an
AWS region.
|
Future<DeletePresetResult> |
deletePresetAsync(DeletePresetRequest deletePresetRequest,
AsyncHandler<DeletePresetRequest,DeletePresetResult> asyncHandler)
The DeletePreset operation removes a preset that you've added in an
AWS region.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this async client to execute
requests.
|
Future<ListJobsByPipelineResult> |
listJobsByPipelineAsync(ListJobsByPipelineRequest listJobsByPipelineRequest)
The ListJobsByPipeline operation gets a list of the jobs currently in
a pipeline.
|
Future<ListJobsByPipelineResult> |
listJobsByPipelineAsync(ListJobsByPipelineRequest listJobsByPipelineRequest,
AsyncHandler<ListJobsByPipelineRequest,ListJobsByPipelineResult> asyncHandler)
The ListJobsByPipeline operation gets a list of the jobs currently in
a pipeline.
|
Future<ListJobsByStatusResult> |
listJobsByStatusAsync(ListJobsByStatusRequest listJobsByStatusRequest)
The ListJobsByStatus operation gets a list of jobs that have a
specified status.
|
Future<ListJobsByStatusResult> |
listJobsByStatusAsync(ListJobsByStatusRequest listJobsByStatusRequest,
AsyncHandler<ListJobsByStatusRequest,ListJobsByStatusResult> asyncHandler)
The ListJobsByStatus operation gets a list of jobs that have a
specified status.
|
Future<ListPipelinesResult> |
listPipelinesAsync(ListPipelinesRequest listPipelinesRequest)
The ListPipelines operation gets a list of the pipelines associated
with the current AWS account.
|
Future<ListPipelinesResult> |
listPipelinesAsync(ListPipelinesRequest listPipelinesRequest,
AsyncHandler<ListPipelinesRequest,ListPipelinesResult> asyncHandler)
The ListPipelines operation gets a list of the pipelines associated
with the current AWS account.
|
Future<ListPresetsResult> |
listPresetsAsync(ListPresetsRequest listPresetsRequest)
The ListPresets operation gets a list of the default presets included
with Elastic Transcoder and the presets that you've added in an AWS
region.
|
Future<ListPresetsResult> |
listPresetsAsync(ListPresetsRequest listPresetsRequest,
AsyncHandler<ListPresetsRequest,ListPresetsResult> asyncHandler)
The ListPresets operation gets a list of the default presets included
with Elastic Transcoder and the presets that you've added in an AWS
region.
|
Future<ReadJobResult> |
readJobAsync(ReadJobRequest readJobRequest)
The ReadJob operation returns detailed information about a job.
|
Future<ReadJobResult> |
readJobAsync(ReadJobRequest readJobRequest,
AsyncHandler<ReadJobRequest,ReadJobResult> asyncHandler)
The ReadJob operation returns detailed information about a job.
|
Future<ReadPipelineResult> |
readPipelineAsync(ReadPipelineRequest readPipelineRequest)
The ReadPipeline operation gets detailed information about a pipeline.
|
Future<ReadPipelineResult> |
readPipelineAsync(ReadPipelineRequest readPipelineRequest,
AsyncHandler<ReadPipelineRequest,ReadPipelineResult> asyncHandler)
The ReadPipeline operation gets detailed information about a pipeline.
|
Future<ReadPresetResult> |
readPresetAsync(ReadPresetRequest readPresetRequest)
The ReadPreset operation gets detailed information about a preset.
|
Future<ReadPresetResult> |
readPresetAsync(ReadPresetRequest readPresetRequest,
AsyncHandler<ReadPresetRequest,ReadPresetResult> asyncHandler)
The ReadPreset operation gets detailed information about a preset.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
Future<TestRoleResult> |
testRoleAsync(TestRoleRequest testRoleRequest)
The TestRole operation tests the IAM role used to create the pipeline.
|
Future<TestRoleResult> |
testRoleAsync(TestRoleRequest testRoleRequest,
AsyncHandler<TestRoleRequest,TestRoleResult> asyncHandler)
The TestRole operation tests the IAM role used to create the pipeline.
|
Future<UpdatePipelineResult> |
updatePipelineAsync(UpdatePipelineRequest updatePipelineRequest)
Use the
UpdatePipeline operation to update settings for
a pipeline. |
Future<UpdatePipelineResult> |
updatePipelineAsync(UpdatePipelineRequest updatePipelineRequest,
AsyncHandler<UpdatePipelineRequest,UpdatePipelineResult> asyncHandler)
Use the
UpdatePipeline operation to update settings for
a pipeline. |
Future<UpdatePipelineNotificationsResult> |
updatePipelineNotificationsAsync(UpdatePipelineNotificationsRequest updatePipelineNotificationsRequest)
With the UpdatePipelineNotifications operation, you can update Amazon
Simple Notification Service (Amazon SNS) notifications for a pipeline.
|
Future<UpdatePipelineNotificationsResult> |
updatePipelineNotificationsAsync(UpdatePipelineNotificationsRequest updatePipelineNotificationsRequest,
AsyncHandler<UpdatePipelineNotificationsRequest,UpdatePipelineNotificationsResult> asyncHandler)
With the UpdatePipelineNotifications operation, you can update Amazon
Simple Notification Service (Amazon SNS) notifications for a pipeline.
|
Future<UpdatePipelineStatusResult> |
updatePipelineStatusAsync(UpdatePipelineStatusRequest updatePipelineStatusRequest)
The UpdatePipelineStatus operation pauses or reactivates a pipeline,
so that the pipeline stops or restarts the processing of jobs.
|
Future<UpdatePipelineStatusResult> |
updatePipelineStatusAsync(UpdatePipelineStatusRequest updatePipelineStatusRequest,
AsyncHandler<UpdatePipelineStatusRequest,UpdatePipelineStatusResult> asyncHandler)
The UpdatePipelineStatus operation pauses or reactivates a pipeline,
so that the pipeline stops or restarts the processing of jobs.
|
cancelJob, createJob, createPipeline, createPreset, deletePipeline, deletePreset, getCachedResponseMetadata, listJobsByPipeline, listJobsByStatus, listPipelines, listPipelines, listPresets, listPresets, readJob, readPipeline, readPreset, setEndpoint, testRole, testRole, updatePipeline, updatePipelineNotifications, updatePipelineStatus
addRequestHandler, getRequestMetricsCollector, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setRegion, setTimeOffset, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelJob, createJob, createPipeline, createPreset, deletePipeline, deletePreset, getCachedResponseMetadata, listJobsByPipeline, listJobsByStatus, listPipelines, listPipelines, listPresets, listPresets, readJob, readPipeline, readPreset, setEndpoint, setRegion, testRole, testRole, updatePipeline, updatePipelineNotifications, updatePipelineStatus
public AmazonElasticTranscoderAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
public AmazonElasticTranscoderAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling how this
client connects to AmazonElasticTranscoder
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChain
public AmazonElasticTranscoderAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AmazonElasticTranscoderAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will
be executed.public AmazonElasticTranscoderAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).executorService
- The executor service by which all asynchronous requests will
be executed.public AmazonElasticTranscoderAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AmazonElasticTranscoderAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will
be executed.public AmazonElasticTranscoderAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).public AmazonElasticTranscoderAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).executorService
- The executor service by which all asynchronous requests will
be executed.public ExecutorService getExecutorService()
public void shutdown()
shutdown
in interface AmazonElasticTranscoder
shutdown
in class AmazonWebServiceClient
public Future<UpdatePipelineStatusResult> updatePipelineStatusAsync(UpdatePipelineStatusRequest updatePipelineStatusRequest) throws AmazonServiceException, AmazonClientException
The UpdatePipelineStatus operation pauses or reactivates a pipeline, so that the pipeline stops or restarts the processing of jobs.
Changing the pipeline status is useful if you want to cancel one or more jobs. You can't cancel jobs after Elastic Transcoder has started processing them; if you pause the pipeline to which you submitted the jobs, you have more time to get the job IDs for the jobs that you want to cancel, and to send a CancelJob request.
updatePipelineStatusAsync
in interface AmazonElasticTranscoderAsync
updatePipelineStatusRequest
- Container for the necessary
parameters to execute the UpdatePipelineStatus operation on
AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<UpdatePipelineStatusResult> updatePipelineStatusAsync(UpdatePipelineStatusRequest updatePipelineStatusRequest, AsyncHandler<UpdatePipelineStatusRequest,UpdatePipelineStatusResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The UpdatePipelineStatus operation pauses or reactivates a pipeline, so that the pipeline stops or restarts the processing of jobs.
Changing the pipeline status is useful if you want to cancel one or more jobs. You can't cancel jobs after Elastic Transcoder has started processing them; if you pause the pipeline to which you submitted the jobs, you have more time to get the job IDs for the jobs that you want to cancel, and to send a CancelJob request.
updatePipelineStatusAsync
in interface AmazonElasticTranscoderAsync
updatePipelineStatusRequest
- Container for the necessary
parameters to execute the UpdatePipelineStatus operation on
AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<UpdatePipelineNotificationsResult> updatePipelineNotificationsAsync(UpdatePipelineNotificationsRequest updatePipelineNotificationsRequest) throws AmazonServiceException, AmazonClientException
With the UpdatePipelineNotifications operation, you can update Amazon Simple Notification Service (Amazon SNS) notifications for a pipeline.
When you update notifications for a pipeline, Elastic Transcoder returns the values that you specified in the request.
updatePipelineNotificationsAsync
in interface AmazonElasticTranscoderAsync
updatePipelineNotificationsRequest
- Container for the necessary
parameters to execute the UpdatePipelineNotifications operation on
AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<UpdatePipelineNotificationsResult> updatePipelineNotificationsAsync(UpdatePipelineNotificationsRequest updatePipelineNotificationsRequest, AsyncHandler<UpdatePipelineNotificationsRequest,UpdatePipelineNotificationsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
With the UpdatePipelineNotifications operation, you can update Amazon Simple Notification Service (Amazon SNS) notifications for a pipeline.
When you update notifications for a pipeline, Elastic Transcoder returns the values that you specified in the request.
updatePipelineNotificationsAsync
in interface AmazonElasticTranscoderAsync
updatePipelineNotificationsRequest
- Container for the necessary
parameters to execute the UpdatePipelineNotifications operation on
AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<ReadJobResult> readJobAsync(ReadJobRequest readJobRequest) throws AmazonServiceException, AmazonClientException
The ReadJob operation returns detailed information about a job.
readJobAsync
in interface AmazonElasticTranscoderAsync
readJobRequest
- Container for the necessary parameters to
execute the ReadJob operation on AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<ReadJobResult> readJobAsync(ReadJobRequest readJobRequest, AsyncHandler<ReadJobRequest,ReadJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The ReadJob operation returns detailed information about a job.
readJobAsync
in interface AmazonElasticTranscoderAsync
readJobRequest
- Container for the necessary parameters to
execute the ReadJob operation on AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<ListJobsByStatusResult> listJobsByStatusAsync(ListJobsByStatusRequest listJobsByStatusRequest) throws AmazonServiceException, AmazonClientException
The ListJobsByStatus operation gets a list of jobs that have a specified status. The response body contains one element for each job that satisfies the search criteria.
listJobsByStatusAsync
in interface AmazonElasticTranscoderAsync
listJobsByStatusRequest
- Container for the necessary parameters
to execute the ListJobsByStatus operation on AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<ListJobsByStatusResult> listJobsByStatusAsync(ListJobsByStatusRequest listJobsByStatusRequest, AsyncHandler<ListJobsByStatusRequest,ListJobsByStatusResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The ListJobsByStatus operation gets a list of jobs that have a specified status. The response body contains one element for each job that satisfies the search criteria.
listJobsByStatusAsync
in interface AmazonElasticTranscoderAsync
listJobsByStatusRequest
- Container for the necessary parameters
to execute the ListJobsByStatus operation on AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<ReadPresetResult> readPresetAsync(ReadPresetRequest readPresetRequest) throws AmazonServiceException, AmazonClientException
The ReadPreset operation gets detailed information about a preset.
readPresetAsync
in interface AmazonElasticTranscoderAsync
readPresetRequest
- Container for the necessary parameters to
execute the ReadPreset operation on AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<ReadPresetResult> readPresetAsync(ReadPresetRequest readPresetRequest, AsyncHandler<ReadPresetRequest,ReadPresetResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The ReadPreset operation gets detailed information about a preset.
readPresetAsync
in interface AmazonElasticTranscoderAsync
readPresetRequest
- Container for the necessary parameters to
execute the ReadPreset operation on AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<CreatePipelineResult> createPipelineAsync(CreatePipelineRequest createPipelineRequest) throws AmazonServiceException, AmazonClientException
The CreatePipeline operation creates a pipeline with settings that you specify.
createPipelineAsync
in interface AmazonElasticTranscoderAsync
createPipelineRequest
- Container for the necessary parameters to
execute the CreatePipeline operation on AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<CreatePipelineResult> createPipelineAsync(CreatePipelineRequest createPipelineRequest, AsyncHandler<CreatePipelineRequest,CreatePipelineResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The CreatePipeline operation creates a pipeline with settings that you specify.
createPipelineAsync
in interface AmazonElasticTranscoderAsync
createPipelineRequest
- Container for the necessary parameters to
execute the CreatePipeline operation on AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<CancelJobResult> cancelJobAsync(CancelJobRequest cancelJobRequest) throws AmazonServiceException, AmazonClientException
The CancelJob operation cancels an unfinished job.
NOTE:You can only cancel a job that has a status of Submitted. To prevent a pipeline from starting to process a job while you're getting the job identifier, use UpdatePipelineStatus to temporarily pause the pipeline.
cancelJobAsync
in interface AmazonElasticTranscoderAsync
cancelJobRequest
- Container for the necessary parameters to
execute the CancelJob operation on AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<CancelJobResult> cancelJobAsync(CancelJobRequest cancelJobRequest, AsyncHandler<CancelJobRequest,CancelJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The CancelJob operation cancels an unfinished job.
NOTE:You can only cancel a job that has a status of Submitted. To prevent a pipeline from starting to process a job while you're getting the job identifier, use UpdatePipelineStatus to temporarily pause the pipeline.
cancelJobAsync
in interface AmazonElasticTranscoderAsync
cancelJobRequest
- Container for the necessary parameters to
execute the CancelJob operation on AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<UpdatePipelineResult> updatePipelineAsync(UpdatePipelineRequest updatePipelineRequest) throws AmazonServiceException, AmazonClientException
Use the UpdatePipeline
operation to update settings for
a pipeline.
IMPORTANT:When you change pipeline settings, your changes take effect immediately. Jobs that you have already submitted and that Elastic Transcoder has not started to process are affected in addition to jobs that you submit after you change settings.
updatePipelineAsync
in interface AmazonElasticTranscoderAsync
updatePipelineRequest
- Container for the necessary parameters to
execute the UpdatePipeline operation on AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<UpdatePipelineResult> updatePipelineAsync(UpdatePipelineRequest updatePipelineRequest, AsyncHandler<UpdatePipelineRequest,UpdatePipelineResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Use the UpdatePipeline
operation to update settings for
a pipeline.
IMPORTANT:When you change pipeline settings, your changes take effect immediately. Jobs that you have already submitted and that Elastic Transcoder has not started to process are affected in addition to jobs that you submit after you change settings.
updatePipelineAsync
in interface AmazonElasticTranscoderAsync
updatePipelineRequest
- Container for the necessary parameters to
execute the UpdatePipeline operation on AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<ListPresetsResult> listPresetsAsync(ListPresetsRequest listPresetsRequest) throws AmazonServiceException, AmazonClientException
The ListPresets operation gets a list of the default presets included with Elastic Transcoder and the presets that you've added in an AWS region.
listPresetsAsync
in interface AmazonElasticTranscoderAsync
listPresetsRequest
- Container for the necessary parameters to
execute the ListPresets operation on AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<ListPresetsResult> listPresetsAsync(ListPresetsRequest listPresetsRequest, AsyncHandler<ListPresetsRequest,ListPresetsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The ListPresets operation gets a list of the default presets included with Elastic Transcoder and the presets that you've added in an AWS region.
listPresetsAsync
in interface AmazonElasticTranscoderAsync
listPresetsRequest
- Container for the necessary parameters to
execute the ListPresets operation on AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<DeletePipelineResult> deletePipelineAsync(DeletePipelineRequest deletePipelineRequest) throws AmazonServiceException, AmazonClientException
The DeletePipeline operation removes a pipeline.
You can only delete a pipeline that has never been used or that is
not currently in use (doesn't contain any active jobs). If the
pipeline is currently in use, DeletePipeline
returns an
error.
deletePipelineAsync
in interface AmazonElasticTranscoderAsync
deletePipelineRequest
- Container for the necessary parameters to
execute the DeletePipeline operation on AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<DeletePipelineResult> deletePipelineAsync(DeletePipelineRequest deletePipelineRequest, AsyncHandler<DeletePipelineRequest,DeletePipelineResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DeletePipeline operation removes a pipeline.
You can only delete a pipeline that has never been used or that is
not currently in use (doesn't contain any active jobs). If the
pipeline is currently in use, DeletePipeline
returns an
error.
deletePipelineAsync
in interface AmazonElasticTranscoderAsync
deletePipelineRequest
- Container for the necessary parameters to
execute the DeletePipeline operation on AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<TestRoleResult> testRoleAsync(TestRoleRequest testRoleRequest) throws AmazonServiceException, AmazonClientException
The TestRole operation tests the IAM role used to create the pipeline.
The TestRole
action lets you determine whether the IAM
role you are using has sufficient permissions to let Elastic
Transcoder perform tasks associated with the transcoding process. The
action attempts to assume the specified IAM role, checks read access
to the input and output buckets, and tries to send a test notification
to Amazon SNS topics that you specify.
testRoleAsync
in interface AmazonElasticTranscoderAsync
testRoleRequest
- Container for the necessary parameters to
execute the TestRole operation on AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<TestRoleResult> testRoleAsync(TestRoleRequest testRoleRequest, AsyncHandler<TestRoleRequest,TestRoleResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The TestRole operation tests the IAM role used to create the pipeline.
The TestRole
action lets you determine whether the IAM
role you are using has sufficient permissions to let Elastic
Transcoder perform tasks associated with the transcoding process. The
action attempts to assume the specified IAM role, checks read access
to the input and output buckets, and tries to send a test notification
to Amazon SNS topics that you specify.
testRoleAsync
in interface AmazonElasticTranscoderAsync
testRoleRequest
- Container for the necessary parameters to
execute the TestRole operation on AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<ListPipelinesResult> listPipelinesAsync(ListPipelinesRequest listPipelinesRequest) throws AmazonServiceException, AmazonClientException
The ListPipelines operation gets a list of the pipelines associated with the current AWS account.
listPipelinesAsync
in interface AmazonElasticTranscoderAsync
listPipelinesRequest
- Container for the necessary parameters to
execute the ListPipelines operation on AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<ListPipelinesResult> listPipelinesAsync(ListPipelinesRequest listPipelinesRequest, AsyncHandler<ListPipelinesRequest,ListPipelinesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The ListPipelines operation gets a list of the pipelines associated with the current AWS account.
listPipelinesAsync
in interface AmazonElasticTranscoderAsync
listPipelinesRequest
- Container for the necessary parameters to
execute the ListPipelines operation on AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<ReadPipelineResult> readPipelineAsync(ReadPipelineRequest readPipelineRequest) throws AmazonServiceException, AmazonClientException
The ReadPipeline operation gets detailed information about a pipeline.
readPipelineAsync
in interface AmazonElasticTranscoderAsync
readPipelineRequest
- Container for the necessary parameters to
execute the ReadPipeline operation on AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<ReadPipelineResult> readPipelineAsync(ReadPipelineRequest readPipelineRequest, AsyncHandler<ReadPipelineRequest,ReadPipelineResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The ReadPipeline operation gets detailed information about a pipeline.
readPipelineAsync
in interface AmazonElasticTranscoderAsync
readPipelineRequest
- Container for the necessary parameters to
execute the ReadPipeline operation on AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<CreatePresetResult> createPresetAsync(CreatePresetRequest createPresetRequest) throws AmazonServiceException, AmazonClientException
The CreatePreset operation creates a preset with settings that you specify.
IMPORTANT:Elastic Transcoder checks the CreatePreset settings to ensure that they meet Elastic Transcoder requirements and to determine whether they comply with H.264 standards. If your settings are not valid for Elastic Transcoder, Elastic Transcoder returns an HTTP 400 response (ValidationException) and does not create the preset. If the settings are valid for Elastic Transcoder but aren't strictly compliant with the H.264 standard, Elastic Transcoder creates the preset and returns a warning message in the response. This helps you determine whether your settings comply with the H.264 standard while giving you greater flexibility with respect to the video that Elastic Transcoder produces.
Elastic Transcoder uses the H.264 video-compression format. For more information, see the International Telecommunication Union publication Recommendation ITU-T H.264: Advanced video coding for generic audiovisual services .
createPresetAsync
in interface AmazonElasticTranscoderAsync
createPresetRequest
- Container for the necessary parameters to
execute the CreatePreset operation on AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<CreatePresetResult> createPresetAsync(CreatePresetRequest createPresetRequest, AsyncHandler<CreatePresetRequest,CreatePresetResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The CreatePreset operation creates a preset with settings that you specify.
IMPORTANT:Elastic Transcoder checks the CreatePreset settings to ensure that they meet Elastic Transcoder requirements and to determine whether they comply with H.264 standards. If your settings are not valid for Elastic Transcoder, Elastic Transcoder returns an HTTP 400 response (ValidationException) and does not create the preset. If the settings are valid for Elastic Transcoder but aren't strictly compliant with the H.264 standard, Elastic Transcoder creates the preset and returns a warning message in the response. This helps you determine whether your settings comply with the H.264 standard while giving you greater flexibility with respect to the video that Elastic Transcoder produces.
Elastic Transcoder uses the H.264 video-compression format. For more information, see the International Telecommunication Union publication Recommendation ITU-T H.264: Advanced video coding for generic audiovisual services .
createPresetAsync
in interface AmazonElasticTranscoderAsync
createPresetRequest
- Container for the necessary parameters to
execute the CreatePreset operation on AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<DeletePresetResult> deletePresetAsync(DeletePresetRequest deletePresetRequest) throws AmazonServiceException, AmazonClientException
The DeletePreset operation removes a preset that you've added in an AWS region.
NOTE: You can't delete the default presets that are included with Elastic Transcoder.
deletePresetAsync
in interface AmazonElasticTranscoderAsync
deletePresetRequest
- Container for the necessary parameters to
execute the DeletePreset operation on AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<DeletePresetResult> deletePresetAsync(DeletePresetRequest deletePresetRequest, AsyncHandler<DeletePresetRequest,DeletePresetResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DeletePreset operation removes a preset that you've added in an AWS region.
NOTE: You can't delete the default presets that are included with Elastic Transcoder.
deletePresetAsync
in interface AmazonElasticTranscoderAsync
deletePresetRequest
- Container for the necessary parameters to
execute the DeletePreset operation on AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<CreateJobResult> createJobAsync(CreateJobRequest createJobRequest) throws AmazonServiceException, AmazonClientException
When you create a job, Elastic Transcoder returns JSON data that includes the values that you specified plus information about the job that is created.
If you have specified more than one output for your jobs (for example, one output for the Kindle Fire and another output for the Apple iPhone 4s), you currently must use the Elastic Transcoder API to list the jobs (as opposed to the AWS Console).
createJobAsync
in interface AmazonElasticTranscoderAsync
createJobRequest
- Container for the necessary parameters to
execute the CreateJob operation on AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<CreateJobResult> createJobAsync(CreateJobRequest createJobRequest, AsyncHandler<CreateJobRequest,CreateJobResult> asyncHandler) throws AmazonServiceException, AmazonClientException
When you create a job, Elastic Transcoder returns JSON data that includes the values that you specified plus information about the job that is created.
If you have specified more than one output for your jobs (for example, one output for the Kindle Fire and another output for the Apple iPhone 4s), you currently must use the Elastic Transcoder API to list the jobs (as opposed to the AWS Console).
createJobAsync
in interface AmazonElasticTranscoderAsync
createJobRequest
- Container for the necessary parameters to
execute the CreateJob operation on AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<ListJobsByPipelineResult> listJobsByPipelineAsync(ListJobsByPipelineRequest listJobsByPipelineRequest) throws AmazonServiceException, AmazonClientException
The ListJobsByPipeline operation gets a list of the jobs currently in a pipeline.
Elastic Transcoder returns all of the jobs currently in the specified pipeline. The response body contains one element for each job that satisfies the search criteria.
listJobsByPipelineAsync
in interface AmazonElasticTranscoderAsync
listJobsByPipelineRequest
- Container for the necessary
parameters to execute the ListJobsByPipeline operation on
AmazonElasticTranscoder.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.public Future<ListJobsByPipelineResult> listJobsByPipelineAsync(ListJobsByPipelineRequest listJobsByPipelineRequest, AsyncHandler<ListJobsByPipelineRequest,ListJobsByPipelineResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The ListJobsByPipeline operation gets a list of the jobs currently in a pipeline.
Elastic Transcoder returns all of the jobs currently in the specified pipeline. The response body contains one element for each job that satisfies the search criteria.
listJobsByPipelineAsync
in interface AmazonElasticTranscoderAsync
listJobsByPipelineRequest
- Container for the necessary
parameters to execute the ListJobsByPipeline operation on
AmazonElasticTranscoder.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElasticTranscoder indicating
either a problem with the data in the request, or a server side issue.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.