Interface MediaConvertAsyncClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface MediaConvertAsyncClient extends AwsClient
Service client for accessing MediaConvert asynchronously. This can be created using the staticbuilder()method. AWS Elemental MediaConvert
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default CompletableFuture<AssociateCertificateResponse>associateCertificate(Consumer<AssociateCertificateRequest.Builder> associateCertificateRequest)Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.default CompletableFuture<AssociateCertificateResponse>associateCertificate(AssociateCertificateRequest associateCertificateRequest)Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.static MediaConvertAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aMediaConvertAsyncClient.default CompletableFuture<CancelJobResponse>cancelJob(Consumer<CancelJobRequest.Builder> cancelJobRequest)Permanently cancel a job.default CompletableFuture<CancelJobResponse>cancelJob(CancelJobRequest cancelJobRequest)Permanently cancel a job.static MediaConvertAsyncClientcreate()Create aMediaConvertAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateJobResponse>createJob(Consumer<CreateJobRequest.Builder> createJobRequest)Create a new transcoding job.default CompletableFuture<CreateJobResponse>createJob(CreateJobRequest createJobRequest)Create a new transcoding job.default CompletableFuture<CreateJobTemplateResponse>createJobTemplate(Consumer<CreateJobTemplateRequest.Builder> createJobTemplateRequest)Create a new job template.default CompletableFuture<CreateJobTemplateResponse>createJobTemplate(CreateJobTemplateRequest createJobTemplateRequest)Create a new job template.default CompletableFuture<CreatePresetResponse>createPreset(Consumer<CreatePresetRequest.Builder> createPresetRequest)Create a new preset.default CompletableFuture<CreatePresetResponse>createPreset(CreatePresetRequest createPresetRequest)Create a new preset.default CompletableFuture<CreateQueueResponse>createQueue(Consumer<CreateQueueRequest.Builder> createQueueRequest)Create a new transcoding queue.default CompletableFuture<CreateQueueResponse>createQueue(CreateQueueRequest createQueueRequest)Create a new transcoding queue.default CompletableFuture<DeleteJobTemplateResponse>deleteJobTemplate(Consumer<DeleteJobTemplateRequest.Builder> deleteJobTemplateRequest)Permanently delete a job template you have created.default CompletableFuture<DeleteJobTemplateResponse>deleteJobTemplate(DeleteJobTemplateRequest deleteJobTemplateRequest)Permanently delete a job template you have created.default CompletableFuture<DeletePolicyResponse>deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest)Permanently delete a policy that you created.default CompletableFuture<DeletePolicyResponse>deletePolicy(DeletePolicyRequest deletePolicyRequest)Permanently delete a policy that you created.default CompletableFuture<DeletePresetResponse>deletePreset(Consumer<DeletePresetRequest.Builder> deletePresetRequest)Permanently delete a preset you have created.default CompletableFuture<DeletePresetResponse>deletePreset(DeletePresetRequest deletePresetRequest)Permanently delete a preset you have created.default CompletableFuture<DeleteQueueResponse>deleteQueue(Consumer<DeleteQueueRequest.Builder> deleteQueueRequest)Permanently delete a queue you have created.default CompletableFuture<DeleteQueueResponse>deleteQueue(DeleteQueueRequest deleteQueueRequest)Permanently delete a queue you have created.default CompletableFuture<DescribeEndpointsResponse>describeEndpoints(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest)Send an request with an empty body to the regional API endpoint to get your account API endpoint.default CompletableFuture<DescribeEndpointsResponse>describeEndpoints(DescribeEndpointsRequest describeEndpointsRequest)Send an request with an empty body to the regional API endpoint to get your account API endpoint.default DescribeEndpointsPublisherdescribeEndpointsPaginator(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest)Send an request with an empty body to the regional API endpoint to get your account API endpoint.default DescribeEndpointsPublisherdescribeEndpointsPaginator(DescribeEndpointsRequest describeEndpointsRequest)Send an request with an empty body to the regional API endpoint to get your account API endpoint.default CompletableFuture<DisassociateCertificateResponse>disassociateCertificate(Consumer<DisassociateCertificateRequest.Builder> disassociateCertificateRequest)Removes an association between the Amazon Resource Name (ARN) of an AWS Certificate Manager (ACM) certificate and an AWS Elemental MediaConvert resource.default CompletableFuture<DisassociateCertificateResponse>disassociateCertificate(DisassociateCertificateRequest disassociateCertificateRequest)Removes an association between the Amazon Resource Name (ARN) of an AWS Certificate Manager (ACM) certificate and an AWS Elemental MediaConvert resource.default CompletableFuture<GetJobResponse>getJob(Consumer<GetJobRequest.Builder> getJobRequest)Retrieve the JSON for a specific transcoding job.default CompletableFuture<GetJobResponse>getJob(GetJobRequest getJobRequest)Retrieve the JSON for a specific transcoding job.default CompletableFuture<GetJobTemplateResponse>getJobTemplate(Consumer<GetJobTemplateRequest.Builder> getJobTemplateRequest)Retrieve the JSON for a specific job template.default CompletableFuture<GetJobTemplateResponse>getJobTemplate(GetJobTemplateRequest getJobTemplateRequest)Retrieve the JSON for a specific job template.default CompletableFuture<GetPolicyResponse>getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest)Retrieve the JSON for your policy.default CompletableFuture<GetPolicyResponse>getPolicy(GetPolicyRequest getPolicyRequest)Retrieve the JSON for your policy.default CompletableFuture<GetPresetResponse>getPreset(Consumer<GetPresetRequest.Builder> getPresetRequest)Retrieve the JSON for a specific preset.default CompletableFuture<GetPresetResponse>getPreset(GetPresetRequest getPresetRequest)Retrieve the JSON for a specific preset.default CompletableFuture<GetQueueResponse>getQueue(Consumer<GetQueueRequest.Builder> getQueueRequest)Retrieve the JSON for a specific queue.default CompletableFuture<GetQueueResponse>getQueue(GetQueueRequest getQueueRequest)Retrieve the JSON for a specific queue.default CompletableFuture<ListJobsResponse>listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest)Retrieve a JSON array of up to twenty of your most recently created jobs.default CompletableFuture<ListJobsResponse>listJobs(ListJobsRequest listJobsRequest)Retrieve a JSON array of up to twenty of your most recently created jobs.default ListJobsPublisherlistJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest)Retrieve a JSON array of up to twenty of your most recently created jobs.default ListJobsPublisherlistJobsPaginator(ListJobsRequest listJobsRequest)Retrieve a JSON array of up to twenty of your most recently created jobs.default CompletableFuture<ListJobTemplatesResponse>listJobTemplates(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest)Retrieve a JSON array of up to twenty of your job templates.default CompletableFuture<ListJobTemplatesResponse>listJobTemplates(ListJobTemplatesRequest listJobTemplatesRequest)Retrieve a JSON array of up to twenty of your job templates.default ListJobTemplatesPublisherlistJobTemplatesPaginator(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest)Retrieve a JSON array of up to twenty of your job templates.default ListJobTemplatesPublisherlistJobTemplatesPaginator(ListJobTemplatesRequest listJobTemplatesRequest)Retrieve a JSON array of up to twenty of your job templates.default CompletableFuture<ListPresetsResponse>listPresets(Consumer<ListPresetsRequest.Builder> listPresetsRequest)Retrieve a JSON array of up to twenty of your presets.default CompletableFuture<ListPresetsResponse>listPresets(ListPresetsRequest listPresetsRequest)Retrieve a JSON array of up to twenty of your presets.default ListPresetsPublisherlistPresetsPaginator(Consumer<ListPresetsRequest.Builder> listPresetsRequest)Retrieve a JSON array of up to twenty of your presets.default ListPresetsPublisherlistPresetsPaginator(ListPresetsRequest listPresetsRequest)Retrieve a JSON array of up to twenty of your presets.default CompletableFuture<ListQueuesResponse>listQueues(Consumer<ListQueuesRequest.Builder> listQueuesRequest)Retrieve a JSON array of up to twenty of your queues.default CompletableFuture<ListQueuesResponse>listQueues(ListQueuesRequest listQueuesRequest)Retrieve a JSON array of up to twenty of your queues.default ListQueuesPublisherlistQueuesPaginator(Consumer<ListQueuesRequest.Builder> listQueuesRequest)Retrieve a JSON array of up to twenty of your queues.default ListQueuesPublisherlistQueuesPaginator(ListQueuesRequest listQueuesRequest)Retrieve a JSON array of up to twenty of your queues.default CompletableFuture<ListTagsForResourceResponse>listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)Retrieve the tags for a MediaConvert resource.default CompletableFuture<ListTagsForResourceResponse>listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)Retrieve the tags for a MediaConvert resource.default CompletableFuture<PutPolicyResponse>putPolicy(Consumer<PutPolicyRequest.Builder> putPolicyRequest)Create or change your policy.default CompletableFuture<PutPolicyResponse>putPolicy(PutPolicyRequest putPolicyRequest)Create or change your policy.default MediaConvertServiceClientConfigurationserviceClientConfiguration()default CompletableFuture<TagResourceResponse>tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)Add tags to a MediaConvert queue, preset, or job template.default CompletableFuture<TagResourceResponse>tagResource(TagResourceRequest tagResourceRequest)Add tags to a MediaConvert queue, preset, or job template.default CompletableFuture<UntagResourceResponse>untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)Remove tags from a MediaConvert queue, preset, or job template.default CompletableFuture<UntagResourceResponse>untagResource(UntagResourceRequest untagResourceRequest)Remove tags from a MediaConvert queue, preset, or job template.default CompletableFuture<UpdateJobTemplateResponse>updateJobTemplate(Consumer<UpdateJobTemplateRequest.Builder> updateJobTemplateRequest)Modify one of your existing job templates.default CompletableFuture<UpdateJobTemplateResponse>updateJobTemplate(UpdateJobTemplateRequest updateJobTemplateRequest)Modify one of your existing job templates.default CompletableFuture<UpdatePresetResponse>updatePreset(Consumer<UpdatePresetRequest.Builder> updatePresetRequest)Modify one of your existing presets.default CompletableFuture<UpdatePresetResponse>updatePreset(UpdatePresetRequest updatePresetRequest)Modify one of your existing presets.default CompletableFuture<UpdateQueueResponse>updateQueue(Consumer<UpdateQueueRequest.Builder> updateQueueRequest)Modify one of your existing queues.default CompletableFuture<UpdateQueueResponse>updateQueue(UpdateQueueRequest updateQueueRequest)Modify one of your existing queues.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
associateCertificate
default CompletableFuture<AssociateCertificateResponse> associateCertificate(AssociateCertificateRequest associateCertificateRequest)
Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.- Parameters:
associateCertificateRequest-- Returns:
- A Java Future containing the result of the AssociateCertificate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and cannot fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested does not exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service could not complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
associateCertificate
default CompletableFuture<AssociateCertificateResponse> associateCertificate(Consumer<AssociateCertificateRequest.Builder> associateCertificateRequest)
Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.
This is a convenience which creates an instance of the
AssociateCertificateRequest.Builderavoiding the need to create one manually viaAssociateCertificateRequest.builder()- Parameters:
associateCertificateRequest- AConsumerthat will call methods onAssociateCertificateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateCertificate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and cannot fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested does not exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service could not complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
cancelJob
default CompletableFuture<CancelJobResponse> cancelJob(CancelJobRequest cancelJobRequest)
Permanently cancel a job. Once you have canceled a job, you can't start it again.- Parameters:
cancelJobRequest-- Returns:
- A Java Future containing the result of the CancelJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
cancelJob
default CompletableFuture<CancelJobResponse> cancelJob(Consumer<CancelJobRequest.Builder> cancelJobRequest)
Permanently cancel a job. Once you have canceled a job, you can't start it again.
This is a convenience which creates an instance of the
CancelJobRequest.Builderavoiding the need to create one manually viaCancelJobRequest.builder()- Parameters:
cancelJobRequest- AConsumerthat will call methods onCancelJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createJob
default CompletableFuture<CreateJobResponse> createJob(CreateJobRequest createJobRequest)
Create a new transcoding job. For information about jobs and job settings, see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html- Parameters:
createJobRequest-- Returns:
- A Java Future containing the result of the CreateJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createJob
default CompletableFuture<CreateJobResponse> createJob(Consumer<CreateJobRequest.Builder> createJobRequest)
Create a new transcoding job. For information about jobs and job settings, see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
This is a convenience which creates an instance of the
CreateJobRequest.Builderavoiding the need to create one manually viaCreateJobRequest.builder()- Parameters:
createJobRequest- AConsumerthat will call methods onCreateJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createJobTemplate
default CompletableFuture<CreateJobTemplateResponse> createJobTemplate(CreateJobTemplateRequest createJobTemplateRequest)
Create a new job template. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html- Parameters:
createJobTemplateRequest-- Returns:
- A Java Future containing the result of the CreateJobTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createJobTemplate
default CompletableFuture<CreateJobTemplateResponse> createJobTemplate(Consumer<CreateJobTemplateRequest.Builder> createJobTemplateRequest)
Create a new job template. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
This is a convenience which creates an instance of the
CreateJobTemplateRequest.Builderavoiding the need to create one manually viaCreateJobTemplateRequest.builder()- Parameters:
createJobTemplateRequest- AConsumerthat will call methods onCreateJobTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateJobTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createPreset
default CompletableFuture<CreatePresetResponse> createPreset(CreatePresetRequest createPresetRequest)
Create a new preset. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html- Parameters:
createPresetRequest-- Returns:
- A Java Future containing the result of the CreatePreset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createPreset
default CompletableFuture<CreatePresetResponse> createPreset(Consumer<CreatePresetRequest.Builder> createPresetRequest)
Create a new preset. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
This is a convenience which creates an instance of the
CreatePresetRequest.Builderavoiding the need to create one manually viaCreatePresetRequest.builder()- Parameters:
createPresetRequest- AConsumerthat will call methods onCreatePresetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreatePreset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createQueue
default CompletableFuture<CreateQueueResponse> createQueue(CreateQueueRequest createQueueRequest)
Create a new transcoding queue. For information about queues, see Working With Queues in the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html- Parameters:
createQueueRequest-- Returns:
- A Java Future containing the result of the CreateQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createQueue
default CompletableFuture<CreateQueueResponse> createQueue(Consumer<CreateQueueRequest.Builder> createQueueRequest)
Create a new transcoding queue. For information about queues, see Working With Queues in the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html
This is a convenience which creates an instance of the
CreateQueueRequest.Builderavoiding the need to create one manually viaCreateQueueRequest.builder()- Parameters:
createQueueRequest- AConsumerthat will call methods onCreateQueueRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteJobTemplate
default CompletableFuture<DeleteJobTemplateResponse> deleteJobTemplate(DeleteJobTemplateRequest deleteJobTemplateRequest)
Permanently delete a job template you have created.- Parameters:
deleteJobTemplateRequest-- Returns:
- A Java Future containing the result of the DeleteJobTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteJobTemplate
default CompletableFuture<DeleteJobTemplateResponse> deleteJobTemplate(Consumer<DeleteJobTemplateRequest.Builder> deleteJobTemplateRequest)
Permanently delete a job template you have created.
This is a convenience which creates an instance of the
DeleteJobTemplateRequest.Builderavoiding the need to create one manually viaDeleteJobTemplateRequest.builder()- Parameters:
deleteJobTemplateRequest- AConsumerthat will call methods onDeleteJobTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteJobTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deletePolicy
default CompletableFuture<DeletePolicyResponse> deletePolicy(DeletePolicyRequest deletePolicyRequest)
Permanently delete a policy that you created.- Parameters:
deletePolicyRequest-- Returns:
- A Java Future containing the result of the DeletePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deletePolicy
default CompletableFuture<DeletePolicyResponse> deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest)
Permanently delete a policy that you created.
This is a convenience which creates an instance of the
DeletePolicyRequest.Builderavoiding the need to create one manually viaDeletePolicyRequest.builder()- Parameters:
deletePolicyRequest- AConsumerthat will call methods onDeletePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeletePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deletePreset
default CompletableFuture<DeletePresetResponse> deletePreset(DeletePresetRequest deletePresetRequest)
Permanently delete a preset you have created.- Parameters:
deletePresetRequest-- Returns:
- A Java Future containing the result of the DeletePreset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deletePreset
default CompletableFuture<DeletePresetResponse> deletePreset(Consumer<DeletePresetRequest.Builder> deletePresetRequest)
Permanently delete a preset you have created.
This is a convenience which creates an instance of the
DeletePresetRequest.Builderavoiding the need to create one manually viaDeletePresetRequest.builder()- Parameters:
deletePresetRequest- AConsumerthat will call methods onDeletePresetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeletePreset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteQueue
default CompletableFuture<DeleteQueueResponse> deleteQueue(DeleteQueueRequest deleteQueueRequest)
Permanently delete a queue you have created.- Parameters:
deleteQueueRequest-- Returns:
- A Java Future containing the result of the DeleteQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteQueue
default CompletableFuture<DeleteQueueResponse> deleteQueue(Consumer<DeleteQueueRequest.Builder> deleteQueueRequest)
Permanently delete a queue you have created.
This is a convenience which creates an instance of the
DeleteQueueRequest.Builderavoiding the need to create one manually viaDeleteQueueRequest.builder()- Parameters:
deleteQueueRequest- AConsumerthat will call methods onDeleteQueueRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeEndpoints
default CompletableFuture<DescribeEndpointsResponse> describeEndpoints(DescribeEndpointsRequest describeEndpointsRequest)
Send an request with an empty body to the regional API endpoint to get your account API endpoint.- Parameters:
describeEndpointsRequest- DescribeEndpointsRequest- Returns:
- A Java Future containing the result of the DescribeEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException BadRequestException
- InternalServerErrorException InternalServiceException
- ForbiddenException AccessDeniedException
- NotFoundException ResourceNotFoundException
- TooManyRequestsException LimitExceededException
- ConflictException ResourceInUseException
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeEndpoints
default CompletableFuture<DescribeEndpointsResponse> describeEndpoints(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest)
Send an request with an empty body to the regional API endpoint to get your account API endpoint.
This is a convenience which creates an instance of the
DescribeEndpointsRequest.Builderavoiding the need to create one manually viaDescribeEndpointsRequest.builder()- Parameters:
describeEndpointsRequest- AConsumerthat will call methods onDescribeEndpointsRequest.Builderto create a request. DescribeEndpointsRequest- Returns:
- A Java Future containing the result of the DescribeEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException BadRequestException
- InternalServerErrorException InternalServiceException
- ForbiddenException AccessDeniedException
- NotFoundException ResourceNotFoundException
- TooManyRequestsException LimitExceededException
- ConflictException ResourceInUseException
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeEndpointsPaginator
default DescribeEndpointsPublisher describeEndpointsPaginator(DescribeEndpointsRequest describeEndpointsRequest)
Send an request with an empty body to the regional API endpoint to get your account API endpoint.
This is a variant of
describeEndpoints(software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEndpoints(software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsRequest)operation.- Parameters:
describeEndpointsRequest- DescribeEndpointsRequest- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException BadRequestException
- InternalServerErrorException InternalServiceException
- ForbiddenException AccessDeniedException
- NotFoundException ResourceNotFoundException
- TooManyRequestsException LimitExceededException
- ConflictException ResourceInUseException
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
describeEndpointsPaginator
default DescribeEndpointsPublisher describeEndpointsPaginator(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest)
Send an request with an empty body to the regional API endpoint to get your account API endpoint.
This is a variant of
describeEndpoints(software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEndpoints(software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsRequest)operation.This is a convenience which creates an instance of the
DescribeEndpointsRequest.Builderavoiding the need to create one manually viaDescribeEndpointsRequest.builder()- Parameters:
describeEndpointsRequest- AConsumerthat will call methods onDescribeEndpointsRequest.Builderto create a request. DescribeEndpointsRequest- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException BadRequestException
- InternalServerErrorException InternalServiceException
- ForbiddenException AccessDeniedException
- NotFoundException ResourceNotFoundException
- TooManyRequestsException LimitExceededException
- ConflictException ResourceInUseException
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
disassociateCertificate
default CompletableFuture<DisassociateCertificateResponse> disassociateCertificate(DisassociateCertificateRequest disassociateCertificateRequest)
Removes an association between the Amazon Resource Name (ARN) of an AWS Certificate Manager (ACM) certificate and an AWS Elemental MediaConvert resource.- Parameters:
disassociateCertificateRequest-- Returns:
- A Java Future containing the result of the DisassociateCertificate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and cannot fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested does not exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service could not complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
disassociateCertificate
default CompletableFuture<DisassociateCertificateResponse> disassociateCertificate(Consumer<DisassociateCertificateRequest.Builder> disassociateCertificateRequest)
Removes an association between the Amazon Resource Name (ARN) of an AWS Certificate Manager (ACM) certificate and an AWS Elemental MediaConvert resource.
This is a convenience which creates an instance of the
DisassociateCertificateRequest.Builderavoiding the need to create one manually viaDisassociateCertificateRequest.builder()- Parameters:
disassociateCertificateRequest- AConsumerthat will call methods onDisassociateCertificateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateCertificate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and cannot fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested does not exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service could not complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getJob
default CompletableFuture<GetJobResponse> getJob(GetJobRequest getJobRequest)
Retrieve the JSON for a specific transcoding job.- Parameters:
getJobRequest-- Returns:
- A Java Future containing the result of the GetJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getJob
default CompletableFuture<GetJobResponse> getJob(Consumer<GetJobRequest.Builder> getJobRequest)
Retrieve the JSON for a specific transcoding job.
This is a convenience which creates an instance of the
GetJobRequest.Builderavoiding the need to create one manually viaGetJobRequest.builder()- Parameters:
getJobRequest- AConsumerthat will call methods onGetJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getJobTemplate
default CompletableFuture<GetJobTemplateResponse> getJobTemplate(GetJobTemplateRequest getJobTemplateRequest)
Retrieve the JSON for a specific job template.- Parameters:
getJobTemplateRequest-- Returns:
- A Java Future containing the result of the GetJobTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getJobTemplate
default CompletableFuture<GetJobTemplateResponse> getJobTemplate(Consumer<GetJobTemplateRequest.Builder> getJobTemplateRequest)
Retrieve the JSON for a specific job template.
This is a convenience which creates an instance of the
GetJobTemplateRequest.Builderavoiding the need to create one manually viaGetJobTemplateRequest.builder()- Parameters:
getJobTemplateRequest- AConsumerthat will call methods onGetJobTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetJobTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getPolicy
default CompletableFuture<GetPolicyResponse> getPolicy(GetPolicyRequest getPolicyRequest)
Retrieve the JSON for your policy.- Parameters:
getPolicyRequest-- Returns:
- A Java Future containing the result of the GetPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getPolicy
default CompletableFuture<GetPolicyResponse> getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest)
Retrieve the JSON for your policy.
This is a convenience which creates an instance of the
GetPolicyRequest.Builderavoiding the need to create one manually viaGetPolicyRequest.builder()- Parameters:
getPolicyRequest- AConsumerthat will call methods onGetPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getPreset
default CompletableFuture<GetPresetResponse> getPreset(GetPresetRequest getPresetRequest)
Retrieve the JSON for a specific preset.- Parameters:
getPresetRequest-- Returns:
- A Java Future containing the result of the GetPreset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getPreset
default CompletableFuture<GetPresetResponse> getPreset(Consumer<GetPresetRequest.Builder> getPresetRequest)
Retrieve the JSON for a specific preset.
This is a convenience which creates an instance of the
GetPresetRequest.Builderavoiding the need to create one manually viaGetPresetRequest.builder()- Parameters:
getPresetRequest- AConsumerthat will call methods onGetPresetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetPreset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getQueue
default CompletableFuture<GetQueueResponse> getQueue(GetQueueRequest getQueueRequest)
Retrieve the JSON for a specific queue.- Parameters:
getQueueRequest-- Returns:
- A Java Future containing the result of the GetQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getQueue
default CompletableFuture<GetQueueResponse> getQueue(Consumer<GetQueueRequest.Builder> getQueueRequest)
Retrieve the JSON for a specific queue.
This is a convenience which creates an instance of the
GetQueueRequest.Builderavoiding the need to create one manually viaGetQueueRequest.builder()- Parameters:
getQueueRequest- AConsumerthat will call methods onGetQueueRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listJobTemplates
default CompletableFuture<ListJobTemplatesResponse> listJobTemplates(ListJobTemplatesRequest listJobTemplatesRequest)
Retrieve a JSON array of up to twenty of your job templates. This will return the templates themselves, not just a list of them. To retrieve the next twenty templates, use the nextToken string returned with the array- Parameters:
listJobTemplatesRequest-- Returns:
- A Java Future containing the result of the ListJobTemplates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listJobTemplates
default CompletableFuture<ListJobTemplatesResponse> listJobTemplates(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest)
Retrieve a JSON array of up to twenty of your job templates. This will return the templates themselves, not just a list of them. To retrieve the next twenty templates, use the nextToken string returned with the array
This is a convenience which creates an instance of the
ListJobTemplatesRequest.Builderavoiding the need to create one manually viaListJobTemplatesRequest.builder()- Parameters:
listJobTemplatesRequest- AConsumerthat will call methods onListJobTemplatesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListJobTemplates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listJobTemplatesPaginator
default ListJobTemplatesPublisher listJobTemplatesPaginator(ListJobTemplatesRequest listJobTemplatesRequest)
Retrieve a JSON array of up to twenty of your job templates. This will return the templates themselves, not just a list of them. To retrieve the next twenty templates, use the nextToken string returned with the array
This is a variant of
listJobTemplates(software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobTemplates(software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesRequest)operation.- Parameters:
listJobTemplatesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listJobTemplatesPaginator
default ListJobTemplatesPublisher listJobTemplatesPaginator(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest)
Retrieve a JSON array of up to twenty of your job templates. This will return the templates themselves, not just a list of them. To retrieve the next twenty templates, use the nextToken string returned with the array
This is a variant of
listJobTemplates(software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobTemplates(software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesRequest)operation.This is a convenience which creates an instance of the
ListJobTemplatesRequest.Builderavoiding the need to create one manually viaListJobTemplatesRequest.builder()- Parameters:
listJobTemplatesRequest- AConsumerthat will call methods onListJobTemplatesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listJobs
default CompletableFuture<ListJobsResponse> listJobs(ListJobsRequest listJobsRequest)
Retrieve a JSON array of up to twenty of your most recently created jobs. This array includes in-process, completed, and errored jobs. This will return the jobs themselves, not just a list of the jobs. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.- Parameters:
listJobsRequest-- Returns:
- A Java Future containing the result of the ListJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listJobs
default CompletableFuture<ListJobsResponse> listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest)
Retrieve a JSON array of up to twenty of your most recently created jobs. This array includes in-process, completed, and errored jobs. This will return the jobs themselves, not just a list of the jobs. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.
This is a convenience which creates an instance of the
ListJobsRequest.Builderavoiding the need to create one manually viaListJobsRequest.builder()- Parameters:
listJobsRequest- AConsumerthat will call methods onListJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listJobsPaginator
default ListJobsPublisher listJobsPaginator(ListJobsRequest listJobsRequest)
Retrieve a JSON array of up to twenty of your most recently created jobs. This array includes in-process, completed, and errored jobs. This will return the jobs themselves, not just a list of the jobs. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.
This is a variant of
listJobs(software.amazon.awssdk.services.mediaconvert.model.ListJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListJobsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.mediaconvert.model.ListJobsRequest)operation.- Parameters:
listJobsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listJobsPaginator
default ListJobsPublisher listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest)
Retrieve a JSON array of up to twenty of your most recently created jobs. This array includes in-process, completed, and errored jobs. This will return the jobs themselves, not just a list of the jobs. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.
This is a variant of
listJobs(software.amazon.awssdk.services.mediaconvert.model.ListJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListJobsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.mediaconvert.model.ListJobsRequest)operation.This is a convenience which creates an instance of the
ListJobsRequest.Builderavoiding the need to create one manually viaListJobsRequest.builder()- Parameters:
listJobsRequest- AConsumerthat will call methods onListJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listPresets
default CompletableFuture<ListPresetsResponse> listPresets(ListPresetsRequest listPresetsRequest)
Retrieve a JSON array of up to twenty of your presets. This will return the presets themselves, not just a list of them. To retrieve the next twenty presets, use the nextToken string returned with the array.- Parameters:
listPresetsRequest-- Returns:
- A Java Future containing the result of the ListPresets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listPresets
default CompletableFuture<ListPresetsResponse> listPresets(Consumer<ListPresetsRequest.Builder> listPresetsRequest)
Retrieve a JSON array of up to twenty of your presets. This will return the presets themselves, not just a list of them. To retrieve the next twenty presets, use the nextToken string returned with the array.
This is a convenience which creates an instance of the
ListPresetsRequest.Builderavoiding the need to create one manually viaListPresetsRequest.builder()- Parameters:
listPresetsRequest- AConsumerthat will call methods onListPresetsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListPresets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listPresetsPaginator
default ListPresetsPublisher listPresetsPaginator(ListPresetsRequest listPresetsRequest)
Retrieve a JSON array of up to twenty of your presets. This will return the presets themselves, not just a list of them. To retrieve the next twenty presets, use the nextToken string returned with the array.
This is a variant of
listPresets(software.amazon.awssdk.services.mediaconvert.model.ListPresetsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListPresetsPublisher publisher = client.listPresetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListPresetsPublisher publisher = client.listPresetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListPresetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListPresetsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPresets(software.amazon.awssdk.services.mediaconvert.model.ListPresetsRequest)operation.- Parameters:
listPresetsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listPresetsPaginator
default ListPresetsPublisher listPresetsPaginator(Consumer<ListPresetsRequest.Builder> listPresetsRequest)
Retrieve a JSON array of up to twenty of your presets. This will return the presets themselves, not just a list of them. To retrieve the next twenty presets, use the nextToken string returned with the array.
This is a variant of
listPresets(software.amazon.awssdk.services.mediaconvert.model.ListPresetsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListPresetsPublisher publisher = client.listPresetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListPresetsPublisher publisher = client.listPresetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListPresetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListPresetsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPresets(software.amazon.awssdk.services.mediaconvert.model.ListPresetsRequest)operation.This is a convenience which creates an instance of the
ListPresetsRequest.Builderavoiding the need to create one manually viaListPresetsRequest.builder()- Parameters:
listPresetsRequest- AConsumerthat will call methods onListPresetsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listQueues
default CompletableFuture<ListQueuesResponse> listQueues(ListQueuesRequest listQueuesRequest)
Retrieve a JSON array of up to twenty of your queues. This will return the queues themselves, not just a list of them. To retrieve the next twenty queues, use the nextToken string returned with the array.- Parameters:
listQueuesRequest-- Returns:
- A Java Future containing the result of the ListQueues operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listQueues
default CompletableFuture<ListQueuesResponse> listQueues(Consumer<ListQueuesRequest.Builder> listQueuesRequest)
Retrieve a JSON array of up to twenty of your queues. This will return the queues themselves, not just a list of them. To retrieve the next twenty queues, use the nextToken string returned with the array.
This is a convenience which creates an instance of the
ListQueuesRequest.Builderavoiding the need to create one manually viaListQueuesRequest.builder()- Parameters:
listQueuesRequest- AConsumerthat will call methods onListQueuesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListQueues operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listQueuesPaginator
default ListQueuesPublisher listQueuesPaginator(ListQueuesRequest listQueuesRequest)
Retrieve a JSON array of up to twenty of your queues. This will return the queues themselves, not just a list of them. To retrieve the next twenty queues, use the nextToken string returned with the array.
This is a variant of
listQueues(software.amazon.awssdk.services.mediaconvert.model.ListQueuesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListQueuesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListQueuesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listQueues(software.amazon.awssdk.services.mediaconvert.model.ListQueuesRequest)operation.- Parameters:
listQueuesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listQueuesPaginator
default ListQueuesPublisher listQueuesPaginator(Consumer<ListQueuesRequest.Builder> listQueuesRequest)
Retrieve a JSON array of up to twenty of your queues. This will return the queues themselves, not just a list of them. To retrieve the next twenty queues, use the nextToken string returned with the array.
This is a variant of
listQueues(software.amazon.awssdk.services.mediaconvert.model.ListQueuesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListQueuesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListQueuesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listQueues(software.amazon.awssdk.services.mediaconvert.model.ListQueuesRequest)operation.This is a convenience which creates an instance of the
ListQueuesRequest.Builderavoiding the need to create one manually viaListQueuesRequest.builder()- Parameters:
listQueuesRequest- AConsumerthat will call methods onListQueuesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Retrieve the tags for a MediaConvert resource.- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Retrieve the tags for a MediaConvert resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putPolicy
default CompletableFuture<PutPolicyResponse> putPolicy(PutPolicyRequest putPolicyRequest)
Create or change your policy. For more information about policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html- Parameters:
putPolicyRequest-- Returns:
- A Java Future containing the result of the PutPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putPolicy
default CompletableFuture<PutPolicyResponse> putPolicy(Consumer<PutPolicyRequest.Builder> putPolicyRequest)
Create or change your policy. For more information about policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
This is a convenience which creates an instance of the
PutPolicyRequest.Builderavoiding the need to create one manually viaPutPolicyRequest.builder()- Parameters:
putPolicyRequest- AConsumerthat will call methods onPutPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Add tags to a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Add tags to a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Remove tags from a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Remove tags from a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateJobTemplate
default CompletableFuture<UpdateJobTemplateResponse> updateJobTemplate(UpdateJobTemplateRequest updateJobTemplateRequest)
Modify one of your existing job templates.- Parameters:
updateJobTemplateRequest-- Returns:
- A Java Future containing the result of the UpdateJobTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateJobTemplate
default CompletableFuture<UpdateJobTemplateResponse> updateJobTemplate(Consumer<UpdateJobTemplateRequest.Builder> updateJobTemplateRequest)
Modify one of your existing job templates.
This is a convenience which creates an instance of the
UpdateJobTemplateRequest.Builderavoiding the need to create one manually viaUpdateJobTemplateRequest.builder()- Parameters:
updateJobTemplateRequest- AConsumerthat will call methods onUpdateJobTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateJobTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updatePreset
default CompletableFuture<UpdatePresetResponse> updatePreset(UpdatePresetRequest updatePresetRequest)
Modify one of your existing presets.- Parameters:
updatePresetRequest-- Returns:
- A Java Future containing the result of the UpdatePreset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updatePreset
default CompletableFuture<UpdatePresetResponse> updatePreset(Consumer<UpdatePresetRequest.Builder> updatePresetRequest)
Modify one of your existing presets.
This is a convenience which creates an instance of the
UpdatePresetRequest.Builderavoiding the need to create one manually viaUpdatePresetRequest.builder()- Parameters:
updatePresetRequest- AConsumerthat will call methods onUpdatePresetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdatePreset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateQueue
default CompletableFuture<UpdateQueueResponse> updateQueue(UpdateQueueRequest updateQueueRequest)
Modify one of your existing queues.- Parameters:
updateQueueRequest-- Returns:
- A Java Future containing the result of the UpdateQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateQueue
default CompletableFuture<UpdateQueueResponse> updateQueue(Consumer<UpdateQueueRequest.Builder> updateQueueRequest)
Modify one of your existing queues.
This is a convenience which creates an instance of the
UpdateQueueRequest.Builderavoiding the need to create one manually viaUpdateQueueRequest.builder()- Parameters:
updateQueueRequest- AConsumerthat will call methods onUpdateQueueRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The service can't process your request because of a problem in the request. Please check your request form and syntax.
- InternalServerErrorException The service encountered an unexpected condition and can't fulfill your request.
- ForbiddenException You don't have permissions for this action with the credentials you sent.
- NotFoundException The resource you requested doesn't exist.
- TooManyRequestsException Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
- ConflictException The service couldn't complete your request because there is a conflict with the current state of the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConvertException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
serviceClientConfiguration
default MediaConvertServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
create
static MediaConvertAsyncClient create()
Create aMediaConvertAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static MediaConvertAsyncClientBuilder builder()
Create a builder that can be used to configure and create aMediaConvertAsyncClient.
-
-