Interface MediaConvertAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
AWS Elemental MediaConvert-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue 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 MediaConvertAsyncClientcreate()Create aMediaConvertAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateJobResponse> createJob(Consumer<CreateJobRequest.Builder> createJobRequest) Create a new transcoding job.default CompletableFuture<CreateJobResponse> createJob(CreateJobRequest createJobRequest) Create a new transcoding job.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 DescribeEndpointsPublisherdescribeEndpointsPaginator(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest) Deprecated.DescribeEndpoints and account specific endpoints are no longer required.default DescribeEndpointsPublisherdescribeEndpointsPaginator(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 ListJobsPublisherlistJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest) This is a variant oflistJobs(software.amazon.awssdk.services.mediaconvert.model.ListJobsRequest)operation.default ListJobsPublisherlistJobsPaginator(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 ListJobTemplatesPublisherlistJobTemplatesPaginator(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest) This is a variant oflistJobTemplates(software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesRequest)operation.default ListJobTemplatesPublisherlistJobTemplatesPaginator(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 ListPresetsPublisherlistPresetsPaginator(Consumer<ListPresetsRequest.Builder> listPresetsRequest) This is a variant oflistPresets(software.amazon.awssdk.services.mediaconvert.model.ListPresetsRequest)operation.default ListPresetsPublisherlistPresetsPaginator(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 ListQueuesPublisherlistQueuesPaginator(Consumer<ListQueuesRequest.Builder> listQueuesRequest) This is a variant oflistQueues(software.amazon.awssdk.services.mediaconvert.model.ListQueuesRequest)operation.default ListQueuesPublisherlistQueuesPaginator(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<ListVersionsResponse> listVersions(Consumer<ListVersionsRequest.Builder> listVersionsRequest) Retrieve a JSON array of all available Job engine versions and the date they expire.default CompletableFuture<ListVersionsResponse> listVersions(ListVersionsRequest listVersionsRequest) Retrieve a JSON array of all available Job engine versions and the date they expire.default ListVersionsPublisherlistVersionsPaginator(Consumer<ListVersionsRequest.Builder> listVersionsRequest) This is a variant oflistVersions(software.amazon.awssdk.services.mediaconvert.model.ListVersionsRequest)operation.default ListVersionsPublisherlistVersionsPaginator(ListVersionsRequest listVersionsRequest) This is a variant oflistVersions(software.amazon.awssdk.services.mediaconvert.model.ListVersionsRequest)operation.default CompletableFuture<PutPolicyResponse> putPolicy(Consumer<PutPolicyRequest.Builder> putPolicyRequest) Create or change your policy.default CompletableFuture<PutPolicyResponse> putPolicy(PutPolicyRequest putPolicyRequest) Create or change your policy.default CompletableFuture<SearchJobsResponse> searchJobs(Consumer<SearchJobsRequest.Builder> searchJobsRequest) Retrieve a JSON array that includes job details for up to twenty of your most recent jobs.default CompletableFuture<SearchJobsResponse> searchJobs(SearchJobsRequest searchJobsRequest) Retrieve a JSON array that includes job details for up to twenty of your most recent jobs.default SearchJobsPublishersearchJobsPaginator(Consumer<SearchJobsRequest.Builder> searchJobsRequest) This is a variant ofsearchJobs(software.amazon.awssdk.services.mediaconvert.model.SearchJobsRequest)operation.default SearchJobsPublishersearchJobsPaginator(SearchJobsRequest searchJobsRequest) This is a variant ofsearchJobs(software.amazon.awssdk.services.mediaconvert.model.SearchJobsRequest)operation.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
closeMethods 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaAssociateCertificateRequest.builder()- Parameters:
associateCertificateRequest- AConsumerthat will call methods onAssociateCertificateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateCertificate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaCancelJobRequest.builder()- Parameters:
cancelJobRequest- AConsumerthat will call methods onCancelJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaCreateJobRequest.builder()- Parameters:
createJobRequest- AConsumerthat will call methods onCreateJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaCreateJobTemplateRequest.builder()- Parameters:
createJobTemplateRequest- AConsumerthat will call methods onCreateJobTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateJobTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaCreatePresetRequest.builder()- Parameters:
createPresetRequest- AConsumerthat will call methods onCreatePresetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreatePreset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaCreateQueueRequest.builder()- Parameters:
createQueueRequest- AConsumerthat will call methods onCreateQueueRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaDeleteJobTemplateRequest.builder()- Parameters:
deleteJobTemplateRequest- AConsumerthat will call methods onDeleteJobTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteJobTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaDeletePolicyRequest.builder()- Parameters:
deletePolicyRequest- AConsumerthat will call methods onDeletePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeletePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaDeletePresetRequest.builder()- Parameters:
deletePresetRequest- AConsumerthat will call methods onDeletePresetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeletePreset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaDeleteQueueRequest.builder()- Parameters:
deleteQueueRequest- AConsumerthat will call methods onDeleteQueueRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 a request with an empty body to the regional API endpoint to get your account API endpoint. Note that DescribeEndpoints is no longer required. We recommend that you send your requests directly to the regional endpoint instead.- Parameters:
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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(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 a request with an empty body to the regional API endpoint to get your account API endpoint. Note that DescribeEndpoints is no longer required. We recommend that you send your requests directly to the regional endpoint instead.
This is a convenience which creates an instance of the
DescribeEndpointsRequest.Builderavoiding the need to create one manually viaDescribeEndpointsRequest.builder()- Parameters:
describeEndpointsRequest- AConsumerthat will call methods onDescribeEndpointsRequest.Builderto create a request.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEndpoints(software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsRequest)operation.- Parameters:
describeEndpointsRequest-- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEndpoints(software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsRequest)operation.
This is a convenience which creates an instance of the
DescribeEndpointsRequest.Builderavoiding the need to create one manually viaDescribeEndpointsRequest.builder()- Parameters:
describeEndpointsRequest- AConsumerthat will call methods onDescribeEndpointsRequest.Builderto create a request.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaDisassociateCertificateRequest.builder()- Parameters:
disassociateCertificateRequest- AConsumerthat will call methods onDisassociateCertificateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateCertificate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaGetJobRequest.builder()- Parameters:
getJobRequest- AConsumerthat will call methods onGetJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaGetJobTemplateRequest.builder()- Parameters:
getJobTemplateRequest- AConsumerthat will call methods onGetJobTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetJobTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaGetPolicyRequest.builder()- Parameters:
getPolicyRequest- AConsumerthat will call methods onGetPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaGetPresetRequest.builder()- Parameters:
getPresetRequest- AConsumerthat will call methods onGetPresetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetPreset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaGetQueueRequest.builder()- Parameters:
getQueueRequest- AConsumerthat will call methods onGetQueueRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListJobTemplatesRequest.builder()- Parameters:
listJobTemplatesRequest- AConsumerthat will call methods onListJobTemplatesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListJobTemplates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobTemplates(software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesRequest)operation.- Parameters:
listJobTemplatesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobTemplates(software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesRequest)operation.
This is a convenience which creates an instance of the
ListJobTemplatesRequest.Builderavoiding the need to create one manually viaListJobTemplatesRequest.builder()- Parameters:
listJobTemplatesRequest- AConsumerthat will call methods onListJobTemplatesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListJobsRequest.builder()- Parameters:
listJobsRequest- AConsumerthat will call methods onListJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListJobsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.mediaconvert.model.ListJobsRequest)operation.- Parameters:
listJobsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListJobsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.mediaconvert.model.ListJobsRequest)operation.
This is a convenience which creates an instance of the
ListJobsRequest.Builderavoiding the need to create one manually viaListJobsRequest.builder()- Parameters:
listJobsRequest- AConsumerthat will call methods onListJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListPresetsRequest.builder()- Parameters:
listPresetsRequest- AConsumerthat will call methods onListPresetsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListPresets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListPresetsPublisher publisher = client.listPresetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListPresetsPublisher publisher = client.listPresetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListPresetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListPresetsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPresets(software.amazon.awssdk.services.mediaconvert.model.ListPresetsRequest)operation.- Parameters:
listPresetsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListPresetsPublisher publisher = client.listPresetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListPresetsPublisher publisher = client.listPresetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListPresetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListPresetsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPresets(software.amazon.awssdk.services.mediaconvert.model.ListPresetsRequest)operation.
This is a convenience which creates an instance of the
ListPresetsRequest.Builderavoiding the need to create one manually viaListPresetsRequest.builder()- Parameters:
listPresetsRequest- AConsumerthat will call methods onListPresetsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListQueuesRequest.builder()- Parameters:
listQueuesRequest- AConsumerthat will call methods onListQueuesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListQueues operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListQueuesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListQueuesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listQueues(software.amazon.awssdk.services.mediaconvert.model.ListQueuesRequest)operation.- Parameters:
listQueuesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListQueuesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListQueuesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listQueues(software.amazon.awssdk.services.mediaconvert.model.ListQueuesRequest)operation.
This is a convenience which creates an instance of the
ListQueuesRequest.Builderavoiding the need to create one manually viaListQueuesRequest.builder()- Parameters:
listQueuesRequest- AConsumerthat will call methods onListQueuesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listVersions
default CompletableFuture<ListVersionsResponse> listVersions(ListVersionsRequest listVersionsRequest) Retrieve a JSON array of all available Job engine versions and the date they expire.- Parameters:
listVersionsRequest-- Returns:
- A Java Future containing the result of the ListVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listVersions
default CompletableFuture<ListVersionsResponse> listVersions(Consumer<ListVersionsRequest.Builder> listVersionsRequest) Retrieve a JSON array of all available Job engine versions and the date they expire.
This is a convenience which creates an instance of the
ListVersionsRequest.Builderavoiding the need to create one manually viaListVersionsRequest.builder()- Parameters:
listVersionsRequest- AConsumerthat will call methods onListVersionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listVersionsPaginator
This is a variant of
listVersions(software.amazon.awssdk.services.mediaconvert.model.ListVersionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListVersionsPublisher publisher = client.listVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListVersionsPublisher publisher = client.listVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListVersionsResponse 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
listVersions(software.amazon.awssdk.services.mediaconvert.model.ListVersionsRequest)operation.- Parameters:
listVersionsRequest-- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listVersionsPaginator
default ListVersionsPublisher listVersionsPaginator(Consumer<ListVersionsRequest.Builder> listVersionsRequest) This is a variant of
listVersions(software.amazon.awssdk.services.mediaconvert.model.ListVersionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.ListVersionsPublisher publisher = client.listVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.ListVersionsPublisher publisher = client.listVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.ListVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.ListVersionsResponse 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
listVersions(software.amazon.awssdk.services.mediaconvert.model.ListVersionsRequest)operation.
This is a convenience which creates an instance of the
ListVersionsRequest.Builderavoiding the need to create one manually viaListVersionsRequest.builder()- Parameters:
listVersionsRequest- AConsumerthat will call methods onListVersionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaPutPolicyRequest.builder()- Parameters:
putPolicyRequest- AConsumerthat will call methods onPutPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
searchJobs
Retrieve a JSON array that includes job details for up to twenty of your most recent jobs. Optionally filter results further according to input file, queue, or status. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.- Parameters:
searchJobsRequest-- Returns:
- A Java Future containing the result of the SearchJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
searchJobs
default CompletableFuture<SearchJobsResponse> searchJobs(Consumer<SearchJobsRequest.Builder> searchJobsRequest) Retrieve a JSON array that includes job details for up to twenty of your most recent jobs. Optionally filter results further according to input file, queue, or status. 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
SearchJobsRequest.Builderavoiding the need to create one manually viaSearchJobsRequest.builder()- Parameters:
searchJobsRequest- AConsumerthat will call methods onSearchJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SearchJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
searchJobsPaginator
This is a variant of
searchJobs(software.amazon.awssdk.services.mediaconvert.model.SearchJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.SearchJobsPublisher publisher = client.searchJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.SearchJobsPublisher publisher = client.searchJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.SearchJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.SearchJobsResponse 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
searchJobs(software.amazon.awssdk.services.mediaconvert.model.SearchJobsRequest)operation.- Parameters:
searchJobsRequest-- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
searchJobsPaginator
default SearchJobsPublisher searchJobsPaginator(Consumer<SearchJobsRequest.Builder> searchJobsRequest) This is a variant of
searchJobs(software.amazon.awssdk.services.mediaconvert.model.SearchJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconvert.paginators.SearchJobsPublisher publisher = client.searchJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconvert.paginators.SearchJobsPublisher publisher = client.searchJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconvert.model.SearchJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconvert.model.SearchJobsResponse 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
searchJobs(software.amazon.awssdk.services.mediaconvert.model.SearchJobsRequest)operation.
This is a convenience which creates an instance of the
SearchJobsRequest.Builderavoiding the need to create one manually viaSearchJobsRequest.builder()- Parameters:
searchJobsRequest- AConsumerthat will call methods onSearchJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaUpdateJobTemplateRequest.builder()- Parameters:
updateJobTemplateRequest- AConsumerthat will call methods onUpdateJobTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateJobTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaUpdatePresetRequest.builder()- Parameters:
updatePresetRequest- AConsumerthat will call methods onUpdatePresetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdatePreset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaUpdateQueueRequest.builder()- Parameters:
updateQueueRequest- AConsumerthat will call methods onUpdateQueueRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateQueue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aMediaConvertAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aMediaConvertAsyncClient.
-