Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elastictranscoder
Interface AmazonElasticTranscoderAsync

All Superinterfaces:
AmazonElasticTranscoder
All Known Implementing Classes:
AmazonElasticTranscoderAsyncClient

public interface AmazonElasticTranscoderAsync
extends AmazonElasticTranscoder

Interface for accessing AmazonElasticTranscoder asynchronously. Each asynchronous method will return a Java Future object, and users are also allowed to provide a callback handler. AWS Elastic Transcoder Service

The AWS Elastic Transcoder Service.


Method Summary
 Future<CancelJobResult> cancelJobAsync(CancelJobRequest cancelJobRequest)
           To cancel a job, send a DELETE request to the /2012-09-25/jobs/[jobId] resource.
 Future<CancelJobResult> cancelJobAsync(CancelJobRequest cancelJobRequest, AsyncHandler<CancelJobRequest,CancelJobResult> asyncHandler)
           To cancel a job, send a DELETE request to the /2012-09-25/jobs/[jobId] resource.
 Future<CreateJobResult> createJobAsync(CreateJobRequest createJobRequest)
           To create a job, send a POST request to the /2012-09-25/jobs resource.
 Future<CreateJobResult> createJobAsync(CreateJobRequest createJobRequest, AsyncHandler<CreateJobRequest,CreateJobResult> asyncHandler)
           To create a job, send a POST request to the /2012-09-25/jobs resource.
 Future<CreatePipelineResult> createPipelineAsync(CreatePipelineRequest createPipelineRequest)
           To create a pipeline, send a POST request to the 2012-09-25/pipelines resource.
 Future<CreatePipelineResult> createPipelineAsync(CreatePipelineRequest createPipelineRequest, AsyncHandler<CreatePipelineRequest,CreatePipelineResult> asyncHandler)
           To create a pipeline, send a POST request to the 2012-09-25/pipelines resource.
 Future<CreatePresetResult> createPresetAsync(CreatePresetRequest createPresetRequest)
           To create a preset, send a POST request to the /2012-09-25/presets resource.
 Future<CreatePresetResult> createPresetAsync(CreatePresetRequest createPresetRequest, AsyncHandler<CreatePresetRequest,CreatePresetResult> asyncHandler)
           To create a preset, send a POST request to the /2012-09-25/presets resource.
 Future<DeletePipelineResult> deletePipelineAsync(DeletePipelineRequest deletePipelineRequest)
           To delete a pipeline, send a DELETE request to the /2012-09-25/pipelines/[pipelineId] resource.
 Future<DeletePipelineResult> deletePipelineAsync(DeletePipelineRequest deletePipelineRequest, AsyncHandler<DeletePipelineRequest,DeletePipelineResult> asyncHandler)
           To delete a pipeline, send a DELETE request to the /2012-09-25/pipelines/[pipelineId] resource.
 Future<DeletePresetResult> deletePresetAsync(DeletePresetRequest deletePresetRequest)
           To delete a preset, send a DELETE request to the /2012-09-25/presets/[presetId] resource.
 Future<DeletePresetResult> deletePresetAsync(DeletePresetRequest deletePresetRequest, AsyncHandler<DeletePresetRequest,DeletePresetResult> asyncHandler)
           To delete a preset, send a DELETE request to the /2012-09-25/presets/[presetId] resource.
 Future<ListJobsByPipelineResult> listJobsByPipelineAsync(ListJobsByPipelineRequest listJobsByPipelineRequest)
           To get a list of the jobs currently in a pipeline, send a GET request to the /2012-09-25/jobsByPipeline/[pipelineId] resource.
 Future<ListJobsByPipelineResult> listJobsByPipelineAsync(ListJobsByPipelineRequest listJobsByPipelineRequest, AsyncHandler<ListJobsByPipelineRequest,ListJobsByPipelineResult> asyncHandler)
           To get a list of the jobs currently in a pipeline, send a GET request to the /2012-09-25/jobsByPipeline/[pipelineId] resource.
 Future<ListJobsByStatusResult> listJobsByStatusAsync(ListJobsByStatusRequest listJobsByStatusRequest)
           To get a list of the jobs that have a specified status, send a GET request to the /2012-09-25/jobsByStatus/[status] resource.
 Future<ListJobsByStatusResult> listJobsByStatusAsync(ListJobsByStatusRequest listJobsByStatusRequest, AsyncHandler<ListJobsByStatusRequest,ListJobsByStatusResult> asyncHandler)
           To get a list of the jobs that have a specified status, send a GET request to the /2012-09-25/jobsByStatus/[status] resource.
 Future<ListPipelinesResult> listPipelinesAsync(ListPipelinesRequest listPipelinesRequest)
           To get a list of the pipelines associated with the current AWS account, send a GET request to the /2012-09-25/pipelines resource.
 Future<ListPipelinesResult> listPipelinesAsync(ListPipelinesRequest listPipelinesRequest, AsyncHandler<ListPipelinesRequest,ListPipelinesResult> asyncHandler)
           To get a list of the pipelines associated with the current AWS account, send a GET request to the /2012-09-25/pipelines resource.
 Future<ListPresetsResult> listPresetsAsync(ListPresetsRequest listPresetsRequest)
           To get a list of all presets associated with the current AWS account, send a GET request to the /2012-09-25/presets resource.
 Future<ListPresetsResult> listPresetsAsync(ListPresetsRequest listPresetsRequest, AsyncHandler<ListPresetsRequest,ListPresetsResult> asyncHandler)
           To get a list of all presets associated with the current AWS account, send a GET request to the /2012-09-25/presets resource.
 Future<ReadJobResult> readJobAsync(ReadJobRequest readJobRequest)
           To get detailed information about a job, send a GET request to the /2012-09-25/jobs/[jobId] resource.
 Future<ReadJobResult> readJobAsync(ReadJobRequest readJobRequest, AsyncHandler<ReadJobRequest,ReadJobResult> asyncHandler)
           To get detailed information about a job, send a GET request to the /2012-09-25/jobs/[jobId] resource.
 Future<ReadPipelineResult> readPipelineAsync(ReadPipelineRequest readPipelineRequest)
           To get detailed information about a pipeline, send a GET request to the /2012-09-25/pipelines/[pipelineId] resource.
 Future<ReadPipelineResult> readPipelineAsync(ReadPipelineRequest readPipelineRequest, AsyncHandler<ReadPipelineRequest,ReadPipelineResult> asyncHandler)
           To get detailed information about a pipeline, send a GET request to the /2012-09-25/pipelines/[pipelineId] resource.
 Future<ReadPresetResult> readPresetAsync(ReadPresetRequest readPresetRequest)
           To get detailed information about a preset, send a GET request to the /2012-09-25/presets/[presetId] resource.
 Future<ReadPresetResult> readPresetAsync(ReadPresetRequest readPresetRequest, AsyncHandler<ReadPresetRequest,ReadPresetResult> asyncHandler)
           To get detailed information about a preset, send a GET request to the /2012-09-25/presets/[presetId] resource.
 Future<TestRoleResult> testRoleAsync(TestRoleRequest testRoleRequest)
           To test the IAM role that's used by Elastic Transcoder to create the pipeline, send a POST request to the /2012-09-25/roleTests resource.
 Future<TestRoleResult> testRoleAsync(TestRoleRequest testRoleRequest, AsyncHandler<TestRoleRequest,TestRoleResult> asyncHandler)
           To test the IAM role that's used by Elastic Transcoder to create the pipeline, send a POST request to the /2012-09-25/roleTests resource.
 Future<UpdatePipelineResult> updatePipelineAsync(UpdatePipelineRequest updatePipelineRequest)
           
 Future<UpdatePipelineResult> updatePipelineAsync(UpdatePipelineRequest updatePipelineRequest, AsyncHandler<UpdatePipelineRequest,UpdatePipelineResult> asyncHandler)
           
 Future<UpdatePipelineNotificationsResult> updatePipelineNotificationsAsync(UpdatePipelineNotificationsRequest updatePipelineNotificationsRequest)
           To update Amazon Simple Notification Service (Amazon SNS) notifications for a pipeline, send a POST request to the /2012-09-25/pipelines/[pipelineId]/notifications resource.
 Future<UpdatePipelineNotificationsResult> updatePipelineNotificationsAsync(UpdatePipelineNotificationsRequest updatePipelineNotificationsRequest, AsyncHandler<UpdatePipelineNotificationsRequest,UpdatePipelineNotificationsResult> asyncHandler)
           To update Amazon Simple Notification Service (Amazon SNS) notifications for a pipeline, send a POST request to the /2012-09-25/pipelines/[pipelineId]/notifications resource.
 Future<UpdatePipelineStatusResult> updatePipelineStatusAsync(UpdatePipelineStatusRequest updatePipelineStatusRequest)
           To pause or reactivate a pipeline, so the pipeline stops or restarts processing jobs, update the status for the pipeline.
 Future<UpdatePipelineStatusResult> updatePipelineStatusAsync(UpdatePipelineStatusRequest updatePipelineStatusRequest, AsyncHandler<UpdatePipelineStatusRequest,UpdatePipelineStatusResult> asyncHandler)
           To pause or reactivate a pipeline, so the pipeline stops or restarts processing jobs, update the status for the pipeline.
 
Methods inherited from interface com.amazonaws.services.elastictranscoder.AmazonElasticTranscoder
cancelJob, cancelJob, createJob, createJob, createPipeline, createPipeline, createPreset, createPreset, deletePipeline, deletePipeline, deletePreset, deletePreset, getCachedResponseMetadata, listJobsByPipeline, listJobsByPipeline, listJobsByStatus, listJobsByStatus, listPipelines, listPipelines, listPresets, listPresets, readJob, readJob, readPipeline, readPipeline, readPreset, readPreset, setEndpoint, setRegion, shutdown, testRole, testRole, updatePipeline, updatePipelineNotifications, updatePipelineNotifications, updatePipelineStatus, updatePipelineStatus
 

Method Detail

updatePipelineStatusAsync

Future<UpdatePipelineStatusResult> updatePipelineStatusAsync(UpdatePipelineStatusRequest updatePipelineStatusRequest)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

To pause or reactivate a pipeline, so the pipeline stops or restarts processing jobs, update the status for the pipeline. Send a POST request to the /2012-09-25/pipelines/[pipelineId]/status resource.

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.

Parameters:
updatePipelineStatusRequest - Container for the necessary parameters to execute the UpdatePipelineStatus operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the UpdatePipelineStatus service method, as returned by AmazonElasticTranscoder.
Throws:
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.

updatePipelineStatusAsync

Future<UpdatePipelineStatusResult> updatePipelineStatusAsync(UpdatePipelineStatusRequest updatePipelineStatusRequest,
                                                             AsyncHandler<UpdatePipelineStatusRequest,UpdatePipelineStatusResult> asyncHandler)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

To pause or reactivate a pipeline, so the pipeline stops or restarts processing jobs, update the status for the pipeline. Send a POST request to the /2012-09-25/pipelines/[pipelineId]/status resource.

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.

Parameters:
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.
Returns:
A Java Future object containing the response from the UpdatePipelineStatus service method, as returned by AmazonElasticTranscoder.
Throws:
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.

updatePipelineNotificationsAsync

Future<UpdatePipelineNotificationsResult> updatePipelineNotificationsAsync(UpdatePipelineNotificationsRequest updatePipelineNotificationsRequest)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

To update Amazon Simple Notification Service (Amazon SNS) notifications for a pipeline, send a POST request to the /2012-09-25/pipelines/[pipelineId]/notifications resource.

When you update notifications for a pipeline, Elastic Transcoder returns the values that you specified in the request.

Parameters:
updatePipelineNotificationsRequest - Container for the necessary parameters to execute the UpdatePipelineNotifications operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the UpdatePipelineNotifications service method, as returned by AmazonElasticTranscoder.
Throws:
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.

updatePipelineNotificationsAsync

Future<UpdatePipelineNotificationsResult> updatePipelineNotificationsAsync(UpdatePipelineNotificationsRequest updatePipelineNotificationsRequest,
                                                                           AsyncHandler<UpdatePipelineNotificationsRequest,UpdatePipelineNotificationsResult> asyncHandler)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

To update Amazon Simple Notification Service (Amazon SNS) notifications for a pipeline, send a POST request to the /2012-09-25/pipelines/[pipelineId]/notifications resource.

When you update notifications for a pipeline, Elastic Transcoder returns the values that you specified in the request.

Parameters:
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.
Returns:
A Java Future object containing the response from the UpdatePipelineNotifications service method, as returned by AmazonElasticTranscoder.
Throws:
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.

readJobAsync

Future<ReadJobResult> readJobAsync(ReadJobRequest readJobRequest)
                                   throws AmazonServiceException,
                                          AmazonClientException

To get detailed information about a job, send a GET request to the /2012-09-25/jobs/[jobId] resource.

Parameters:
readJobRequest - Container for the necessary parameters to execute the ReadJob operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the ReadJob service method, as returned by AmazonElasticTranscoder.
Throws:
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.

readJobAsync

Future<ReadJobResult> readJobAsync(ReadJobRequest readJobRequest,
                                   AsyncHandler<ReadJobRequest,ReadJobResult> asyncHandler)
                                   throws AmazonServiceException,
                                          AmazonClientException

To get detailed information about a job, send a GET request to the /2012-09-25/jobs/[jobId] resource.

Parameters:
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.
Returns:
A Java Future object containing the response from the ReadJob service method, as returned by AmazonElasticTranscoder.
Throws:
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.

listJobsByStatusAsync

Future<ListJobsByStatusResult> listJobsByStatusAsync(ListJobsByStatusRequest listJobsByStatusRequest)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

To get a list of the jobs that have a specified status, send a GET request to the /2012-09-25/jobsByStatus/[status] resource.

Elastic Transcoder returns all of the jobs that have the specified status. The response body contains one element for each job that satisfies the search criteria.

Parameters:
listJobsByStatusRequest - Container for the necessary parameters to execute the ListJobsByStatus operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the ListJobsByStatus service method, as returned by AmazonElasticTranscoder.
Throws:
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.

listJobsByStatusAsync

Future<ListJobsByStatusResult> listJobsByStatusAsync(ListJobsByStatusRequest listJobsByStatusRequest,
                                                     AsyncHandler<ListJobsByStatusRequest,ListJobsByStatusResult> asyncHandler)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

To get a list of the jobs that have a specified status, send a GET request to the /2012-09-25/jobsByStatus/[status] resource.

Elastic Transcoder returns all of the jobs that have the specified status. The response body contains one element for each job that satisfies the search criteria.

Parameters:
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.
Returns:
A Java Future object containing the response from the ListJobsByStatus service method, as returned by AmazonElasticTranscoder.
Throws:
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.

readPresetAsync

Future<ReadPresetResult> readPresetAsync(ReadPresetRequest readPresetRequest)
                                         throws AmazonServiceException,
                                                AmazonClientException

To get detailed information about a preset, send a GET request to the /2012-09-25/presets/[presetId] resource.

Parameters:
readPresetRequest - Container for the necessary parameters to execute the ReadPreset operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the ReadPreset service method, as returned by AmazonElasticTranscoder.
Throws:
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.

readPresetAsync

Future<ReadPresetResult> readPresetAsync(ReadPresetRequest readPresetRequest,
                                         AsyncHandler<ReadPresetRequest,ReadPresetResult> asyncHandler)
                                         throws AmazonServiceException,
                                                AmazonClientException

To get detailed information about a preset, send a GET request to the /2012-09-25/presets/[presetId] resource.

Parameters:
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.
Returns:
A Java Future object containing the response from the ReadPreset service method, as returned by AmazonElasticTranscoder.
Throws:
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.

createPipelineAsync

Future<CreatePipelineResult> createPipelineAsync(CreatePipelineRequest createPipelineRequest)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

To create a pipeline, send a POST request to the 2012-09-25/pipelines resource.

Parameters:
createPipelineRequest - Container for the necessary parameters to execute the CreatePipeline operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the CreatePipeline service method, as returned by AmazonElasticTranscoder.
Throws:
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.

createPipelineAsync

Future<CreatePipelineResult> createPipelineAsync(CreatePipelineRequest createPipelineRequest,
                                                 AsyncHandler<CreatePipelineRequest,CreatePipelineResult> asyncHandler)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

To create a pipeline, send a POST request to the 2012-09-25/pipelines resource.

Parameters:
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.
Returns:
A Java Future object containing the response from the CreatePipeline service method, as returned by AmazonElasticTranscoder.
Throws:
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.

cancelJobAsync

Future<CancelJobResult> cancelJobAsync(CancelJobRequest cancelJobRequest)
                                       throws AmazonServiceException,
                                              AmazonClientException

To cancel a job, send a DELETE request to the /2012-09-25/jobs/[jobId] resource.

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.

Parameters:
cancelJobRequest - Container for the necessary parameters to execute the CancelJob operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the CancelJob service method, as returned by AmazonElasticTranscoder.
Throws:
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.

cancelJobAsync

Future<CancelJobResult> cancelJobAsync(CancelJobRequest cancelJobRequest,
                                       AsyncHandler<CancelJobRequest,CancelJobResult> asyncHandler)
                                       throws AmazonServiceException,
                                              AmazonClientException

To cancel a job, send a DELETE request to the /2012-09-25/jobs/[jobId] resource.

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.

Parameters:
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.
Returns:
A Java Future object containing the response from the CancelJob service method, as returned by AmazonElasticTranscoder.
Throws:
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.

updatePipelineAsync

Future<UpdatePipelineResult> updatePipelineAsync(UpdatePipelineRequest updatePipelineRequest)
                                                 throws AmazonServiceException,
                                                        AmazonClientException
Parameters:
updatePipelineRequest - Container for the necessary parameters to execute the UpdatePipeline operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the UpdatePipeline service method, as returned by AmazonElasticTranscoder.
Throws:
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.

updatePipelineAsync

Future<UpdatePipelineResult> updatePipelineAsync(UpdatePipelineRequest updatePipelineRequest,
                                                 AsyncHandler<UpdatePipelineRequest,UpdatePipelineResult> asyncHandler)
                                                 throws AmazonServiceException,
                                                        AmazonClientException
Parameters:
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.
Returns:
A Java Future object containing the response from the UpdatePipeline service method, as returned by AmazonElasticTranscoder.
Throws:
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.

listPresetsAsync

Future<ListPresetsResult> listPresetsAsync(ListPresetsRequest listPresetsRequest)
                                           throws AmazonServiceException,
                                                  AmazonClientException

To get a list of all presets associated with the current AWS account, send a GET request to the /2012-09-25/presets resource.

Parameters:
listPresetsRequest - Container for the necessary parameters to execute the ListPresets operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the ListPresets service method, as returned by AmazonElasticTranscoder.
Throws:
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.

listPresetsAsync

Future<ListPresetsResult> listPresetsAsync(ListPresetsRequest listPresetsRequest,
                                           AsyncHandler<ListPresetsRequest,ListPresetsResult> asyncHandler)
                                           throws AmazonServiceException,
                                                  AmazonClientException

To get a list of all presets associated with the current AWS account, send a GET request to the /2012-09-25/presets resource.

Parameters:
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.
Returns:
A Java Future object containing the response from the ListPresets service method, as returned by AmazonElasticTranscoder.
Throws:
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.

deletePipelineAsync

Future<DeletePipelineResult> deletePipelineAsync(DeletePipelineRequest deletePipelineRequest)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

To delete a pipeline, send a DELETE request to the /2012-09-25/pipelines/[pipelineId] resource.

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.

Parameters:
deletePipelineRequest - Container for the necessary parameters to execute the DeletePipeline operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the DeletePipeline service method, as returned by AmazonElasticTranscoder.
Throws:
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.

deletePipelineAsync

Future<DeletePipelineResult> deletePipelineAsync(DeletePipelineRequest deletePipelineRequest,
                                                 AsyncHandler<DeletePipelineRequest,DeletePipelineResult> asyncHandler)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

To delete a pipeline, send a DELETE request to the /2012-09-25/pipelines/[pipelineId] resource.

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.

Parameters:
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.
Returns:
A Java Future object containing the response from the DeletePipeline service method, as returned by AmazonElasticTranscoder.
Throws:
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.

testRoleAsync

Future<TestRoleResult> testRoleAsync(TestRoleRequest testRoleRequest)
                                     throws AmazonServiceException,
                                            AmazonClientException

To test the IAM role that's used by Elastic Transcoder to create the pipeline, send a POST request to the /2012-09-25/roleTests resource.

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.

Parameters:
testRoleRequest - Container for the necessary parameters to execute the TestRole operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the TestRole service method, as returned by AmazonElasticTranscoder.
Throws:
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.

testRoleAsync

Future<TestRoleResult> testRoleAsync(TestRoleRequest testRoleRequest,
                                     AsyncHandler<TestRoleRequest,TestRoleResult> asyncHandler)
                                     throws AmazonServiceException,
                                            AmazonClientException

To test the IAM role that's used by Elastic Transcoder to create the pipeline, send a POST request to the /2012-09-25/roleTests resource.

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.

Parameters:
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.
Returns:
A Java Future object containing the response from the TestRole service method, as returned by AmazonElasticTranscoder.
Throws:
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.

listPipelinesAsync

Future<ListPipelinesResult> listPipelinesAsync(ListPipelinesRequest listPipelinesRequest)
                                               throws AmazonServiceException,
                                                      AmazonClientException

To get a list of the pipelines associated with the current AWS account, send a GET request to the /2012-09-25/pipelines resource.

Parameters:
listPipelinesRequest - Container for the necessary parameters to execute the ListPipelines operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the ListPipelines service method, as returned by AmazonElasticTranscoder.
Throws:
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.

listPipelinesAsync

Future<ListPipelinesResult> listPipelinesAsync(ListPipelinesRequest listPipelinesRequest,
                                               AsyncHandler<ListPipelinesRequest,ListPipelinesResult> asyncHandler)
                                               throws AmazonServiceException,
                                                      AmazonClientException

To get a list of the pipelines associated with the current AWS account, send a GET request to the /2012-09-25/pipelines resource.

Parameters:
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.
Returns:
A Java Future object containing the response from the ListPipelines service method, as returned by AmazonElasticTranscoder.
Throws:
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.

readPipelineAsync

Future<ReadPipelineResult> readPipelineAsync(ReadPipelineRequest readPipelineRequest)
                                             throws AmazonServiceException,
                                                    AmazonClientException

To get detailed information about a pipeline, send a GET request to the /2012-09-25/pipelines/[pipelineId] resource.

Parameters:
readPipelineRequest - Container for the necessary parameters to execute the ReadPipeline operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the ReadPipeline service method, as returned by AmazonElasticTranscoder.
Throws:
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.

readPipelineAsync

Future<ReadPipelineResult> readPipelineAsync(ReadPipelineRequest readPipelineRequest,
                                             AsyncHandler<ReadPipelineRequest,ReadPipelineResult> asyncHandler)
                                             throws AmazonServiceException,
                                                    AmazonClientException

To get detailed information about a pipeline, send a GET request to the /2012-09-25/pipelines/[pipelineId] resource.

Parameters:
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.
Returns:
A Java Future object containing the response from the ReadPipeline service method, as returned by AmazonElasticTranscoder.
Throws:
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.

createPresetAsync

Future<CreatePresetResult> createPresetAsync(CreatePresetRequest createPresetRequest)
                                             throws AmazonServiceException,
                                                    AmazonClientException

To create a preset, send a POST request to the /2012-09-25/presets resource.

IMPORTANT:Elastic Transcoder checks the settings that you specify 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 .

Parameters:
createPresetRequest - Container for the necessary parameters to execute the CreatePreset operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the CreatePreset service method, as returned by AmazonElasticTranscoder.
Throws:
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.

createPresetAsync

Future<CreatePresetResult> createPresetAsync(CreatePresetRequest createPresetRequest,
                                             AsyncHandler<CreatePresetRequest,CreatePresetResult> asyncHandler)
                                             throws AmazonServiceException,
                                                    AmazonClientException

To create a preset, send a POST request to the /2012-09-25/presets resource.

IMPORTANT:Elastic Transcoder checks the settings that you specify 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 .

Parameters:
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.
Returns:
A Java Future object containing the response from the CreatePreset service method, as returned by AmazonElasticTranscoder.
Throws:
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.

deletePresetAsync

Future<DeletePresetResult> deletePresetAsync(DeletePresetRequest deletePresetRequest)
                                             throws AmazonServiceException,
                                                    AmazonClientException

To delete a preset, send a DELETE request to the /2012-09-25/presets/[presetId] resource.

NOTE: If the preset has been used, you cannot delete it.

Parameters:
deletePresetRequest - Container for the necessary parameters to execute the DeletePreset operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the DeletePreset service method, as returned by AmazonElasticTranscoder.
Throws:
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.

deletePresetAsync

Future<DeletePresetResult> deletePresetAsync(DeletePresetRequest deletePresetRequest,
                                             AsyncHandler<DeletePresetRequest,DeletePresetResult> asyncHandler)
                                             throws AmazonServiceException,
                                                    AmazonClientException

To delete a preset, send a DELETE request to the /2012-09-25/presets/[presetId] resource.

NOTE: If the preset has been used, you cannot delete it.

Parameters:
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.
Returns:
A Java Future object containing the response from the DeletePreset service method, as returned by AmazonElasticTranscoder.
Throws:
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.

createJobAsync

Future<CreateJobResult> createJobAsync(CreateJobRequest createJobRequest)
                                       throws AmazonServiceException,
                                              AmazonClientException

To create a job, send a POST request to the /2012-09-25/jobs resource.

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).

Parameters:
createJobRequest - Container for the necessary parameters to execute the CreateJob operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the CreateJob service method, as returned by AmazonElasticTranscoder.
Throws:
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.

createJobAsync

Future<CreateJobResult> createJobAsync(CreateJobRequest createJobRequest,
                                       AsyncHandler<CreateJobRequest,CreateJobResult> asyncHandler)
                                       throws AmazonServiceException,
                                              AmazonClientException

To create a job, send a POST request to the /2012-09-25/jobs resource.

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).

Parameters:
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.
Returns:
A Java Future object containing the response from the CreateJob service method, as returned by AmazonElasticTranscoder.
Throws:
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.

listJobsByPipelineAsync

Future<ListJobsByPipelineResult> listJobsByPipelineAsync(ListJobsByPipelineRequest listJobsByPipelineRequest)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

To get a list of the jobs currently in a pipeline, send a GET request to the /2012-09-25/jobsByPipeline/[pipelineId] resource.

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.

Parameters:
listJobsByPipelineRequest - Container for the necessary parameters to execute the ListJobsByPipeline operation on AmazonElasticTranscoder.
Returns:
A Java Future object containing the response from the ListJobsByPipeline service method, as returned by AmazonElasticTranscoder.
Throws:
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.

listJobsByPipelineAsync

Future<ListJobsByPipelineResult> listJobsByPipelineAsync(ListJobsByPipelineRequest listJobsByPipelineRequest,
                                                         AsyncHandler<ListJobsByPipelineRequest,ListJobsByPipelineResult> asyncHandler)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

To get a list of the jobs currently in a pipeline, send a GET request to the /2012-09-25/jobsByPipeline/[pipelineId] resource.

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.

Parameters:
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.
Returns:
A Java Future object containing the response from the ListJobsByPipeline service method, as returned by AmazonElasticTranscoder.
Throws:
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 © 2010 Amazon Web Services, Inc. All Rights Reserved.