Interface MediaConvertAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
AWS Elemental MediaConvert-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionassociateCertificate
(Consumer<AssociateCertificateRequest.Builder> associateCertificateRequest) Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.associateCertificate
(AssociateCertificateRequest associateCertificateRequest) Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.builder()
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 MediaConvertAsyncClient
create()
Create aMediaConvertAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and 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.createJobTemplate
(Consumer<CreateJobTemplateRequest.Builder> createJobTemplateRequest) Create a new job template.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.deleteJobTemplate
(Consumer<DeleteJobTemplateRequest.Builder> deleteJobTemplateRequest) Permanently delete a job template you have created.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.describeEndpoints
(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest) Deprecated.DescribeEndpoints and account specific endpoints are no longer required.describeEndpoints
(DescribeEndpointsRequest describeEndpointsRequest) Deprecated.DescribeEndpoints and account specific endpoints are no longer required.default DescribeEndpointsPublisher
describeEndpointsPaginator
(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest) Deprecated.DescribeEndpoints and account specific endpoints are no longer required.default DescribeEndpointsPublisher
describeEndpointsPaginator
(DescribeEndpointsRequest describeEndpointsRequest) Deprecated.DescribeEndpoints and account specific endpoints are no longer required.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.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 ListJobsPublisher
listJobsPaginator
(Consumer<ListJobsRequest.Builder> listJobsRequest) This is a variant oflistJobs(software.amazon.awssdk.services.mediaconvert.model.ListJobsRequest)
operation.default ListJobsPublisher
listJobsPaginator
(ListJobsRequest listJobsRequest) This is a variant oflistJobs(software.amazon.awssdk.services.mediaconvert.model.ListJobsRequest)
operation.listJobTemplates
(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest) Retrieve a JSON array of up to twenty of your job templates.listJobTemplates
(ListJobTemplatesRequest listJobTemplatesRequest) Retrieve a JSON array of up to twenty of your job templates.default ListJobTemplatesPublisher
listJobTemplatesPaginator
(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest) This is a variant oflistJobTemplates(software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesRequest)
operation.default ListJobTemplatesPublisher
listJobTemplatesPaginator
(ListJobTemplatesRequest listJobTemplatesRequest) This is a variant oflistJobTemplates(software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesRequest)
operation.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 ListPresetsPublisher
listPresetsPaginator
(Consumer<ListPresetsRequest.Builder> listPresetsRequest) This is a variant oflistPresets(software.amazon.awssdk.services.mediaconvert.model.ListPresetsRequest)
operation.default ListPresetsPublisher
listPresetsPaginator
(ListPresetsRequest listPresetsRequest) This is a variant oflistPresets(software.amazon.awssdk.services.mediaconvert.model.ListPresetsRequest)
operation.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 ListQueuesPublisher
listQueuesPaginator
(Consumer<ListQueuesRequest.Builder> listQueuesRequest) This is a variant oflistQueues(software.amazon.awssdk.services.mediaconvert.model.ListQueuesRequest)
operation.default ListQueuesPublisher
listQueuesPaginator
(ListQueuesRequest listQueuesRequest) This is a variant oflistQueues(software.amazon.awssdk.services.mediaconvert.model.ListQueuesRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieve the tags for a MediaConvert resource.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.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault 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.updateJobTemplate
(Consumer<UpdateJobTemplateRequest.Builder> updateJobTemplateRequest) Modify one of your existing job templates.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 Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
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:
-
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.Builder
avoiding the need to create one manually viaAssociateCertificateRequest.builder()
- Parameters:
associateCertificateRequest
- AConsumer
that will call methods onAssociateCertificateRequest.Builder
to 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:
-
cancelJob
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:
-
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.Builder
avoiding the need to create one manually viaCancelJobRequest.builder()
- Parameters:
cancelJobRequest
- AConsumer
that will call methods onCancelJobRequest.Builder
to 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:
-
createJob
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:
-
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.Builder
avoiding the need to create one manually viaCreateJobRequest.builder()
- Parameters:
createJobRequest
- AConsumer
that will call methods onCreateJobRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaCreateJobTemplateRequest.builder()
- Parameters:
createJobTemplateRequest
- AConsumer
that will call methods onCreateJobTemplateRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaCreatePresetRequest.builder()
- Parameters:
createPresetRequest
- AConsumer
that will call methods onCreatePresetRequest.Builder
to 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:
-
createQueue
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:
-
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.Builder
avoiding the need to create one manually viaCreateQueueRequest.builder()
- Parameters:
createQueueRequest
- AConsumer
that will call methods onCreateQueueRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaDeleteJobTemplateRequest.builder()
- Parameters:
deleteJobTemplateRequest
- AConsumer
that will call methods onDeleteJobTemplateRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaDeletePolicyRequest.builder()
- Parameters:
deletePolicyRequest
- AConsumer
that will call methods onDeletePolicyRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaDeletePresetRequest.builder()
- Parameters:
deletePresetRequest
- AConsumer
that will call methods onDeletePresetRequest.Builder
to 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:
-
deleteQueue
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:
-
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.Builder
avoiding the need to create one manually viaDeleteQueueRequest.builder()
- Parameters:
deleteQueueRequest
- AConsumer
that will call methods onDeleteQueueRequest.Builder
to 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:
-
describeEndpoints
@Deprecated default CompletableFuture<DescribeEndpointsResponse> describeEndpoints(DescribeEndpointsRequest describeEndpointsRequest) Deprecated.DescribeEndpoints and account specific endpoints are no longer required. We recommend that you send your requests directly to the regional endpoint instead.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:
-
describeEndpoints
@Deprecated default CompletableFuture<DescribeEndpointsResponse> describeEndpoints(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest) Deprecated.DescribeEndpoints and account specific endpoints are no longer required. We recommend that you send your requests directly to the regional endpoint instead.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.Builder
avoiding the need to create one manually viaDescribeEndpointsRequest.builder()
- Parameters:
describeEndpointsRequest
- AConsumer
that will call methods onDescribeEndpointsRequest.Builder
to 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:
-
describeEndpointsPaginator
@Deprecated default DescribeEndpointsPublisher describeEndpointsPaginator(DescribeEndpointsRequest describeEndpointsRequest) Deprecated.DescribeEndpoints and account specific endpoints are no longer required. We recommend that you send your requests directly to the regional endpoint instead.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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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:
-
describeEndpointsPaginator
@Deprecated default DescribeEndpointsPublisher describeEndpointsPaginator(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest) Deprecated.DescribeEndpoints and account specific endpoints are no longer required. We recommend that you send your requests directly to the regional endpoint instead.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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaDescribeEndpointsRequest.builder()
- Parameters:
describeEndpointsRequest
- AConsumer
that will call methods onDescribeEndpointsRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaDisassociateCertificateRequest.builder()
- Parameters:
disassociateCertificateRequest
- AConsumer
that will call methods onDisassociateCertificateRequest.Builder
to 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:
-
getJob
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:
-
getJob
Retrieve the JSON for a specific transcoding job.
This is a convenience which creates an instance of the
GetJobRequest.Builder
avoiding the need to create one manually viaGetJobRequest.builder()
- Parameters:
getJobRequest
- AConsumer
that will call methods onGetJobRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaGetJobTemplateRequest.builder()
- Parameters:
getJobTemplateRequest
- AConsumer
that will call methods onGetJobTemplateRequest.Builder
to 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:
-
getPolicy
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:
-
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.Builder
avoiding the need to create one manually viaGetPolicyRequest.builder()
- Parameters:
getPolicyRequest
- AConsumer
that will call methods onGetPolicyRequest.Builder
to 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:
-
getPreset
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:
-
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.Builder
avoiding the need to create one manually viaGetPresetRequest.builder()
- Parameters:
getPresetRequest
- AConsumer
that will call methods onGetPresetRequest.Builder
to 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:
-
getQueue
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:
-
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.Builder
avoiding the need to create one manually viaGetQueueRequest.builder()
- Parameters:
getQueueRequest
- AConsumer
that will call methods onGetQueueRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaListJobTemplatesRequest.builder()
- Parameters:
listJobTemplatesRequest
- AConsumer
that will call methods onListJobTemplatesRequest.Builder
to 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:
-
listJobTemplatesPaginator
default ListJobTemplatesPublisher listJobTemplatesPaginator(ListJobTemplatesRequest listJobTemplatesRequest) 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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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:
-
listJobTemplatesPaginator
default ListJobTemplatesPublisher listJobTemplatesPaginator(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest) 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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListJobTemplatesRequest.builder()
- Parameters:
listJobTemplatesRequest
- AConsumer
that will call methods onListJobTemplatesRequest.Builder
to 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:
-
listJobs
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:
-
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.Builder
avoiding the need to create one manually viaListJobsRequest.builder()
- Parameters:
listJobsRequest
- AConsumer
that will call methods onListJobsRequest.Builder
to 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:
-
listJobsPaginator
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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:
-
listJobsPaginator
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListJobsRequest.builder()
- Parameters:
listJobsRequest
- AConsumer
that will call methods onListJobsRequest.Builder
to 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:
-
listPresets
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:
-
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.Builder
avoiding the need to create one manually viaListPresetsRequest.builder()
- Parameters:
listPresetsRequest
- AConsumer
that will call methods onListPresetsRequest.Builder
to 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:
-
listPresetsPaginator
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.mediaconvert.paginators.ListPresetsPublisher publisher = client.listPresetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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:
-
listPresetsPaginator
default ListPresetsPublisher listPresetsPaginator(Consumer<ListPresetsRequest.Builder> listPresetsRequest) 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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.mediaconvert.paginators.ListPresetsPublisher publisher = client.listPresetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListPresetsRequest.builder()
- Parameters:
listPresetsRequest
- AConsumer
that will call methods onListPresetsRequest.Builder
to 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:
-
listQueues
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:
-
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.Builder
avoiding the need to create one manually viaListQueuesRequest.builder()
- Parameters:
listQueuesRequest
- AConsumer
that will call methods onListQueuesRequest.Builder
to 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:
-
listQueuesPaginator
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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.mediaconvert.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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:
-
listQueuesPaginator
default ListQueuesPublisher listQueuesPaginator(Consumer<ListQueuesRequest.Builder> listQueuesRequest) 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 newSubscription
i.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 methodsoftware.amazon.awssdk.services.mediaconvert.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListQueuesRequest.builder()
- Parameters:
listQueuesRequest
- AConsumer
that will call methods onListQueuesRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to 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:
-
putPolicy
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:
-
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.Builder
avoiding the need to create one manually viaPutPolicyRequest.builder()
- Parameters:
putPolicyRequest
- AConsumer
that will call methods onPutPolicyRequest.Builder
to 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:
-
tagResource
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:
-
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.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaUpdateJobTemplateRequest.builder()
- Parameters:
updateJobTemplateRequest
- AConsumer
that will call methods onUpdateJobTemplateRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaUpdatePresetRequest.builder()
- Parameters:
updatePresetRequest
- AConsumer
that will call methods onUpdatePresetRequest.Builder
to 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:
-
updateQueue
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:
-
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.Builder
avoiding the need to create one manually viaUpdateQueueRequest.builder()
- Parameters:
updateQueueRequest
- AConsumer
that will call methods onUpdateQueueRequest.Builder
to 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:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aMediaConvertAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aMediaConvertAsyncClient
.
-