Interface MediaConvertClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
AWS Elemental MediaConvert-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateCertificateResponse
associateCertificate
(Consumer<AssociateCertificateRequest.Builder> associateCertificateRequest) Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.default AssociateCertificateResponse
associateCertificate
(AssociateCertificateRequest associateCertificateRequest) Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.static MediaConvertClientBuilder
builder()
Create a builder that can be used to configure and create aMediaConvertClient
.default CancelJobResponse
cancelJob
(Consumer<CancelJobRequest.Builder> cancelJobRequest) Permanently cancel a job.default CancelJobResponse
cancelJob
(CancelJobRequest cancelJobRequest) Permanently cancel a job.static MediaConvertClient
create()
Create aMediaConvertClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateJobResponse
createJob
(Consumer<CreateJobRequest.Builder> createJobRequest) Create a new transcoding job.default CreateJobResponse
createJob
(CreateJobRequest createJobRequest) Create a new transcoding job.default CreateJobTemplateResponse
createJobTemplate
(Consumer<CreateJobTemplateRequest.Builder> createJobTemplateRequest) Create a new job template.default CreateJobTemplateResponse
createJobTemplate
(CreateJobTemplateRequest createJobTemplateRequest) Create a new job template.default CreatePresetResponse
createPreset
(Consumer<CreatePresetRequest.Builder> createPresetRequest) Create a new preset.default CreatePresetResponse
createPreset
(CreatePresetRequest createPresetRequest) Create a new preset.default CreateQueueResponse
createQueue
(Consumer<CreateQueueRequest.Builder> createQueueRequest) Create a new transcoding queue.default CreateQueueResponse
createQueue
(CreateQueueRequest createQueueRequest) Create a new transcoding queue.default DeleteJobTemplateResponse
deleteJobTemplate
(Consumer<DeleteJobTemplateRequest.Builder> deleteJobTemplateRequest) Permanently delete a job template you have created.default DeleteJobTemplateResponse
deleteJobTemplate
(DeleteJobTemplateRequest deleteJobTemplateRequest) Permanently delete a job template you have created.default DeletePolicyResponse
deletePolicy
(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) Permanently delete a policy that you created.default DeletePolicyResponse
deletePolicy
(DeletePolicyRequest deletePolicyRequest) Permanently delete a policy that you created.default DeletePresetResponse
deletePreset
(Consumer<DeletePresetRequest.Builder> deletePresetRequest) Permanently delete a preset you have created.default DeletePresetResponse
deletePreset
(DeletePresetRequest deletePresetRequest) Permanently delete a preset you have created.default DeleteQueueResponse
deleteQueue
(Consumer<DeleteQueueRequest.Builder> deleteQueueRequest) Permanently delete a queue you have created.default DeleteQueueResponse
deleteQueue
(DeleteQueueRequest deleteQueueRequest) Permanently delete a queue you have created.default DescribeEndpointsResponse
describeEndpoints
(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest) Send an request with an empty body to the regional API endpoint to get your account API endpoint.default DescribeEndpointsResponse
describeEndpoints
(DescribeEndpointsRequest describeEndpointsRequest) Send an request with an empty body to the regional API endpoint to get your account API endpoint.default DescribeEndpointsIterable
describeEndpointsPaginator
(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest) Send an request with an empty body to the regional API endpoint to get your account API endpoint.default DescribeEndpointsIterable
describeEndpointsPaginator
(DescribeEndpointsRequest describeEndpointsRequest) Send an request with an empty body to the regional API endpoint to get your account API endpoint.default DisassociateCertificateResponse
disassociateCertificate
(Consumer<DisassociateCertificateRequest.Builder> disassociateCertificateRequest) Removes an association between the Amazon Resource Name (ARN) of an AWS Certificate Manager (ACM) certificate and an AWS Elemental MediaConvert resource.default DisassociateCertificateResponse
disassociateCertificate
(DisassociateCertificateRequest disassociateCertificateRequest) Removes an association between the Amazon Resource Name (ARN) of an AWS Certificate Manager (ACM) certificate and an AWS Elemental MediaConvert resource.default GetJobResponse
getJob
(Consumer<GetJobRequest.Builder> getJobRequest) Retrieve the JSON for a specific transcoding job.default GetJobResponse
getJob
(GetJobRequest getJobRequest) Retrieve the JSON for a specific transcoding job.default GetJobTemplateResponse
getJobTemplate
(Consumer<GetJobTemplateRequest.Builder> getJobTemplateRequest) Retrieve the JSON for a specific job template.default GetJobTemplateResponse
getJobTemplate
(GetJobTemplateRequest getJobTemplateRequest) Retrieve the JSON for a specific job template.default GetPolicyResponse
getPolicy
(Consumer<GetPolicyRequest.Builder> getPolicyRequest) Retrieve the JSON for your policy.default GetPolicyResponse
getPolicy
(GetPolicyRequest getPolicyRequest) Retrieve the JSON for your policy.default GetPresetResponse
getPreset
(Consumer<GetPresetRequest.Builder> getPresetRequest) Retrieve the JSON for a specific preset.default GetPresetResponse
getPreset
(GetPresetRequest getPresetRequest) Retrieve the JSON for a specific preset.default GetQueueResponse
getQueue
(Consumer<GetQueueRequest.Builder> getQueueRequest) Retrieve the JSON for a specific queue.default GetQueueResponse
getQueue
(GetQueueRequest getQueueRequest) Retrieve the JSON for a specific queue.default ListJobsResponse
listJobs
(Consumer<ListJobsRequest.Builder> listJobsRequest) Retrieve a JSON array of up to twenty of your most recently created jobs.default ListJobsResponse
listJobs
(ListJobsRequest listJobsRequest) Retrieve a JSON array of up to twenty of your most recently created jobs.default ListJobsIterable
listJobsPaginator
(Consumer<ListJobsRequest.Builder> listJobsRequest) Retrieve a JSON array of up to twenty of your most recently created jobs.default ListJobsIterable
listJobsPaginator
(ListJobsRequest listJobsRequest) Retrieve a JSON array of up to twenty of your most recently created jobs.default ListJobTemplatesResponse
listJobTemplates
(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest) Retrieve a JSON array of up to twenty of your job templates.default ListJobTemplatesResponse
listJobTemplates
(ListJobTemplatesRequest listJobTemplatesRequest) Retrieve a JSON array of up to twenty of your job templates.default ListJobTemplatesIterable
listJobTemplatesPaginator
(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest) Retrieve a JSON array of up to twenty of your job templates.default ListJobTemplatesIterable
listJobTemplatesPaginator
(ListJobTemplatesRequest listJobTemplatesRequest) Retrieve a JSON array of up to twenty of your job templates.default ListPresetsResponse
listPresets
(Consumer<ListPresetsRequest.Builder> listPresetsRequest) Retrieve a JSON array of up to twenty of your presets.default ListPresetsResponse
listPresets
(ListPresetsRequest listPresetsRequest) Retrieve a JSON array of up to twenty of your presets.default ListPresetsIterable
listPresetsPaginator
(Consumer<ListPresetsRequest.Builder> listPresetsRequest) Retrieve a JSON array of up to twenty of your presets.default ListPresetsIterable
listPresetsPaginator
(ListPresetsRequest listPresetsRequest) Retrieve a JSON array of up to twenty of your presets.default ListQueuesResponse
listQueues
(Consumer<ListQueuesRequest.Builder> listQueuesRequest) Retrieve a JSON array of up to twenty of your queues.default ListQueuesResponse
listQueues
(ListQueuesRequest listQueuesRequest) Retrieve a JSON array of up to twenty of your queues.default ListQueuesIterable
listQueuesPaginator
(Consumer<ListQueuesRequest.Builder> listQueuesRequest) Retrieve a JSON array of up to twenty of your queues.default ListQueuesIterable
listQueuesPaginator
(ListQueuesRequest listQueuesRequest) Retrieve a JSON array of up to twenty of your queues.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieve the tags for a MediaConvert resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Retrieve the tags for a MediaConvert resource.default PutPolicyResponse
putPolicy
(Consumer<PutPolicyRequest.Builder> putPolicyRequest) Create or change your policy.default PutPolicyResponse
putPolicy
(PutPolicyRequest putPolicyRequest) Create or change your policy.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Add tags to a MediaConvert queue, preset, or job template.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Add tags to a MediaConvert queue, preset, or job template.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Remove tags from a MediaConvert queue, preset, or job template.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Remove tags from a MediaConvert queue, preset, or job template.default UpdateJobTemplateResponse
updateJobTemplate
(Consumer<UpdateJobTemplateRequest.Builder> updateJobTemplateRequest) Modify one of your existing job templates.default UpdateJobTemplateResponse
updateJobTemplate
(UpdateJobTemplateRequest updateJobTemplateRequest) Modify one of your existing job templates.default UpdatePresetResponse
updatePreset
(Consumer<UpdatePresetRequest.Builder> updatePresetRequest) Modify one of your existing presets.default UpdatePresetResponse
updatePreset
(UpdatePresetRequest updatePresetRequest) Modify one of your existing presets.default UpdateQueueResponse
updateQueue
(Consumer<UpdateQueueRequest.Builder> updateQueueRequest) Modify one of your existing queues.default UpdateQueueResponse
updateQueue
(UpdateQueueRequest updateQueueRequest) Modify one of your existing queues.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
associateCertificate
default AssociateCertificateResponse associateCertificate(AssociateCertificateRequest associateCertificateRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.- Parameters:
associateCertificateRequest
-- Returns:
- Result of the AssociateCertificate operation returned by the service.
- See Also:
-
associateCertificate
default AssociateCertificateResponse associateCertificate(Consumer<AssociateCertificateRequest.Builder> associateCertificateRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.
This is a convenience which creates an instance of the
AssociateCertificateRequest.Builder
avoiding the need to create one manually viaAssociateCertificateRequest.builder()
- Parameters:
associateCertificateRequest
- AConsumer
that will call methods onAssociateCertificateRequest.Builder
to create a request.- Returns:
- Result of the AssociateCertificate operation returned by the service.
- See Also:
-
cancelJob
default CancelJobResponse cancelJob(CancelJobRequest cancelJobRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Permanently cancel a job. Once you have canceled a job, you can't start it again.- Parameters:
cancelJobRequest
-- Returns:
- Result of the CancelJob operation returned by the service.
- See Also:
-
cancelJob
default CancelJobResponse cancelJob(Consumer<CancelJobRequest.Builder> cancelJobRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Permanently cancel a job. Once you have canceled a job, you can't start it again.
This is a convenience which creates an instance of the
CancelJobRequest.Builder
avoiding the need to create one manually viaCancelJobRequest.builder()
- Parameters:
cancelJobRequest
- AConsumer
that will call methods onCancelJobRequest.Builder
to create a request.- Returns:
- Result of the CancelJob operation returned by the service.
- See Also:
-
createJob
default CreateJobResponse createJob(CreateJobRequest createJobRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException 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:
- Result of the CreateJob operation returned by the service.
- See Also:
-
createJob
default CreateJobResponse createJob(Consumer<CreateJobRequest.Builder> createJobRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Create a new transcoding job. For information about jobs and job settings, see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
This is a convenience which creates an instance of the
CreateJobRequest.Builder
avoiding the need to create one manually viaCreateJobRequest.builder()
- Parameters:
createJobRequest
- AConsumer
that will call methods onCreateJobRequest.Builder
to create a request.- Returns:
- Result of the CreateJob operation returned by the service.
- See Also:
-
createJobTemplate
default CreateJobTemplateResponse createJobTemplate(CreateJobTemplateRequest createJobTemplateRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException 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:
- Result of the CreateJobTemplate operation returned by the service.
- See Also:
-
createJobTemplate
default CreateJobTemplateResponse createJobTemplate(Consumer<CreateJobTemplateRequest.Builder> createJobTemplateRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Create a new job template. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
This is a convenience which creates an instance of the
CreateJobTemplateRequest.Builder
avoiding the need to create one manually viaCreateJobTemplateRequest.builder()
- Parameters:
createJobTemplateRequest
- AConsumer
that will call methods onCreateJobTemplateRequest.Builder
to create a request.- Returns:
- Result of the CreateJobTemplate operation returned by the service.
- See Also:
-
createPreset
default CreatePresetResponse createPreset(CreatePresetRequest createPresetRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException 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:
- Result of the CreatePreset operation returned by the service.
- See Also:
-
createPreset
default CreatePresetResponse createPreset(Consumer<CreatePresetRequest.Builder> createPresetRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Create a new preset. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
This is a convenience which creates an instance of the
CreatePresetRequest.Builder
avoiding the need to create one manually viaCreatePresetRequest.builder()
- Parameters:
createPresetRequest
- AConsumer
that will call methods onCreatePresetRequest.Builder
to create a request.- Returns:
- Result of the CreatePreset operation returned by the service.
- See Also:
-
createQueue
default CreateQueueResponse createQueue(CreateQueueRequest createQueueRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException 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:
- Result of the CreateQueue operation returned by the service.
- See Also:
-
createQueue
default CreateQueueResponse createQueue(Consumer<CreateQueueRequest.Builder> createQueueRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Create a new transcoding queue. For information about queues, see Working With Queues in the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html
This is a convenience which creates an instance of the
CreateQueueRequest.Builder
avoiding the need to create one manually viaCreateQueueRequest.builder()
- Parameters:
createQueueRequest
- AConsumer
that will call methods onCreateQueueRequest.Builder
to create a request.- Returns:
- Result of the CreateQueue operation returned by the service.
- See Also:
-
deleteJobTemplate
default DeleteJobTemplateResponse deleteJobTemplate(DeleteJobTemplateRequest deleteJobTemplateRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Permanently delete a job template you have created.- Parameters:
deleteJobTemplateRequest
-- Returns:
- Result of the DeleteJobTemplate operation returned by the service.
- See Also:
-
deleteJobTemplate
default DeleteJobTemplateResponse deleteJobTemplate(Consumer<DeleteJobTemplateRequest.Builder> deleteJobTemplateRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Permanently delete a job template you have created.
This is a convenience which creates an instance of the
DeleteJobTemplateRequest.Builder
avoiding the need to create one manually viaDeleteJobTemplateRequest.builder()
- Parameters:
deleteJobTemplateRequest
- AConsumer
that will call methods onDeleteJobTemplateRequest.Builder
to create a request.- Returns:
- Result of the DeleteJobTemplate operation returned by the service.
- See Also:
-
deletePolicy
default DeletePolicyResponse deletePolicy(DeletePolicyRequest deletePolicyRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Permanently delete a policy that you created.- Parameters:
deletePolicyRequest
-- Returns:
- Result of the DeletePolicy operation returned by the service.
- See Also:
-
deletePolicy
default DeletePolicyResponse deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Permanently delete a policy that you created.
This is a convenience which creates an instance of the
DeletePolicyRequest.Builder
avoiding the need to create one manually viaDeletePolicyRequest.builder()
- Parameters:
deletePolicyRequest
- AConsumer
that will call methods onDeletePolicyRequest.Builder
to create a request.- Returns:
- Result of the DeletePolicy operation returned by the service.
- See Also:
-
deletePreset
default DeletePresetResponse deletePreset(DeletePresetRequest deletePresetRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Permanently delete a preset you have created.- Parameters:
deletePresetRequest
-- Returns:
- Result of the DeletePreset operation returned by the service.
- See Also:
-
deletePreset
default DeletePresetResponse deletePreset(Consumer<DeletePresetRequest.Builder> deletePresetRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Permanently delete a preset you have created.
This is a convenience which creates an instance of the
DeletePresetRequest.Builder
avoiding the need to create one manually viaDeletePresetRequest.builder()
- Parameters:
deletePresetRequest
- AConsumer
that will call methods onDeletePresetRequest.Builder
to create a request.- Returns:
- Result of the DeletePreset operation returned by the service.
- See Also:
-
deleteQueue
default DeleteQueueResponse deleteQueue(DeleteQueueRequest deleteQueueRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Permanently delete a queue you have created.- Parameters:
deleteQueueRequest
-- Returns:
- Result of the DeleteQueue operation returned by the service.
- See Also:
-
deleteQueue
default DeleteQueueResponse deleteQueue(Consumer<DeleteQueueRequest.Builder> deleteQueueRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Permanently delete a queue you have created.
This is a convenience which creates an instance of the
DeleteQueueRequest.Builder
avoiding the need to create one manually viaDeleteQueueRequest.builder()
- Parameters:
deleteQueueRequest
- AConsumer
that will call methods onDeleteQueueRequest.Builder
to create a request.- Returns:
- Result of the DeleteQueue operation returned by the service.
- See Also:
-
describeEndpoints
default DescribeEndpointsResponse describeEndpoints(DescribeEndpointsRequest describeEndpointsRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Send an request with an empty body to the regional API endpoint to get your account API endpoint.- Parameters:
describeEndpointsRequest
- DescribeEndpointsRequest- Returns:
- Result of the DescribeEndpoints operation returned by the service.
- See Also:
-
describeEndpoints
default DescribeEndpointsResponse describeEndpoints(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Send an request with an empty body to the regional API endpoint to get your account API endpoint.
This is a convenience which creates an instance of the
DescribeEndpointsRequest.Builder
avoiding the need to create one manually viaDescribeEndpointsRequest.builder()
- Parameters:
describeEndpointsRequest
- AConsumer
that will call methods onDescribeEndpointsRequest.Builder
to create a request. DescribeEndpointsRequest- Returns:
- Result of the DescribeEndpoints operation returned by the service.
- See Also:
-
describeEndpointsPaginator
default DescribeEndpointsIterable describeEndpointsPaginator(DescribeEndpointsRequest describeEndpointsRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Send an request with an empty body to the regional API endpoint to get your account API endpoint.
This is a variant of
describeEndpoints(software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsIterable responses = client.describeEndpointsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsIterable responses = client .describeEndpointsPaginator(request); for (software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsIterable responses = client.describeEndpointsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEndpoints(software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsRequest)
operation.- Parameters:
describeEndpointsRequest
- DescribeEndpointsRequest- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeEndpointsPaginator
default DescribeEndpointsIterable describeEndpointsPaginator(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Send an request with an empty body to the regional API endpoint to get your account API endpoint.
This is a variant of
describeEndpoints(software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsIterable responses = client.describeEndpointsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsIterable responses = client .describeEndpointsPaginator(request); for (software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsIterable responses = client.describeEndpointsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEndpoints(software.amazon.awssdk.services.mediaconvert.model.DescribeEndpointsRequest)
operation.This is a convenience which creates an instance of the
DescribeEndpointsRequest.Builder
avoiding the need to create one manually viaDescribeEndpointsRequest.builder()
- Parameters:
describeEndpointsRequest
- AConsumer
that will call methods onDescribeEndpointsRequest.Builder
to create a request. DescribeEndpointsRequest- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
disassociateCertificate
default DisassociateCertificateResponse disassociateCertificate(DisassociateCertificateRequest disassociateCertificateRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException 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:
- Result of the DisassociateCertificate operation returned by the service.
- See Also:
-
disassociateCertificate
default DisassociateCertificateResponse disassociateCertificate(Consumer<DisassociateCertificateRequest.Builder> disassociateCertificateRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Removes an association between the Amazon Resource Name (ARN) of an AWS Certificate Manager (ACM) certificate and an AWS Elemental MediaConvert resource.
This is a convenience which creates an instance of the
DisassociateCertificateRequest.Builder
avoiding the need to create one manually viaDisassociateCertificateRequest.builder()
- Parameters:
disassociateCertificateRequest
- AConsumer
that will call methods onDisassociateCertificateRequest.Builder
to create a request.- Returns:
- Result of the DisassociateCertificate operation returned by the service.
- See Also:
-
getJob
default GetJobResponse getJob(GetJobRequest getJobRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve the JSON for a specific transcoding job.- Parameters:
getJobRequest
-- Returns:
- Result of the GetJob operation returned by the service.
- See Also:
-
getJob
default GetJobResponse getJob(Consumer<GetJobRequest.Builder> getJobRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve the JSON for a specific transcoding job.
This is a convenience which creates an instance of the
GetJobRequest.Builder
avoiding the need to create one manually viaGetJobRequest.builder()
- Parameters:
getJobRequest
- AConsumer
that will call methods onGetJobRequest.Builder
to create a request.- Returns:
- Result of the GetJob operation returned by the service.
- See Also:
-
getJobTemplate
default GetJobTemplateResponse getJobTemplate(GetJobTemplateRequest getJobTemplateRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve the JSON for a specific job template.- Parameters:
getJobTemplateRequest
-- Returns:
- Result of the GetJobTemplate operation returned by the service.
- See Also:
-
getJobTemplate
default GetJobTemplateResponse getJobTemplate(Consumer<GetJobTemplateRequest.Builder> getJobTemplateRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve the JSON for a specific job template.
This is a convenience which creates an instance of the
GetJobTemplateRequest.Builder
avoiding the need to create one manually viaGetJobTemplateRequest.builder()
- Parameters:
getJobTemplateRequest
- AConsumer
that will call methods onGetJobTemplateRequest.Builder
to create a request.- Returns:
- Result of the GetJobTemplate operation returned by the service.
- See Also:
-
getPolicy
default GetPolicyResponse getPolicy(GetPolicyRequest getPolicyRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve the JSON for your policy.- Parameters:
getPolicyRequest
-- Returns:
- Result of the GetPolicy operation returned by the service.
- See Also:
-
getPolicy
default GetPolicyResponse getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve the JSON for your policy.
This is a convenience which creates an instance of the
GetPolicyRequest.Builder
avoiding the need to create one manually viaGetPolicyRequest.builder()
- Parameters:
getPolicyRequest
- AConsumer
that will call methods onGetPolicyRequest.Builder
to create a request.- Returns:
- Result of the GetPolicy operation returned by the service.
- See Also:
-
getPreset
default GetPresetResponse getPreset(GetPresetRequest getPresetRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve the JSON for a specific preset.- Parameters:
getPresetRequest
-- Returns:
- Result of the GetPreset operation returned by the service.
- See Also:
-
getPreset
default GetPresetResponse getPreset(Consumer<GetPresetRequest.Builder> getPresetRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve the JSON for a specific preset.
This is a convenience which creates an instance of the
GetPresetRequest.Builder
avoiding the need to create one manually viaGetPresetRequest.builder()
- Parameters:
getPresetRequest
- AConsumer
that will call methods onGetPresetRequest.Builder
to create a request.- Returns:
- Result of the GetPreset operation returned by the service.
- See Also:
-
getQueue
default GetQueueResponse getQueue(GetQueueRequest getQueueRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve the JSON for a specific queue.- Parameters:
getQueueRequest
-- Returns:
- Result of the GetQueue operation returned by the service.
- See Also:
-
getQueue
default GetQueueResponse getQueue(Consumer<GetQueueRequest.Builder> getQueueRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve the JSON for a specific queue.
This is a convenience which creates an instance of the
GetQueueRequest.Builder
avoiding the need to create one manually viaGetQueueRequest.builder()
- Parameters:
getQueueRequest
- AConsumer
that will call methods onGetQueueRequest.Builder
to create a request.- Returns:
- Result of the GetQueue operation returned by the service.
- See Also:
-
listJobTemplates
default ListJobTemplatesResponse listJobTemplates(ListJobTemplatesRequest listJobTemplatesRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException 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:
- Result of the ListJobTemplates operation returned by the service.
- See Also:
-
listJobTemplates
default ListJobTemplatesResponse listJobTemplates(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve a JSON array of up to twenty of your job templates. This will return the templates themselves, not just a list of them. To retrieve the next twenty templates, use the nextToken string returned with the array
This is a convenience which creates an instance of the
ListJobTemplatesRequest.Builder
avoiding the need to create one manually viaListJobTemplatesRequest.builder()
- Parameters:
listJobTemplatesRequest
- AConsumer
that will call methods onListJobTemplatesRequest.Builder
to create a request.- Returns:
- Result of the ListJobTemplates operation returned by the service.
- See Also:
-
listJobTemplatesPaginator
default ListJobTemplatesIterable listJobTemplatesPaginator(ListJobTemplatesRequest listJobTemplatesRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve a JSON array of up to twenty of your job templates. This will return the templates themselves, not just a list of them. To retrieve the next twenty templates, use the nextToken string returned with the array
This is a variant of
listJobTemplates(software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesIterable responses = client.listJobTemplatesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesIterable responses = client .listJobTemplatesPaginator(request); for (software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesIterable responses = client.listJobTemplatesPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listJobTemplatesPaginator
default ListJobTemplatesIterable listJobTemplatesPaginator(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve a JSON array of up to twenty of your job templates. This will return the templates themselves, not just a list of them. To retrieve the next twenty templates, use the nextToken string returned with the array
This is a variant of
listJobTemplates(software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesIterable responses = client.listJobTemplatesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesIterable responses = client .listJobTemplatesPaginator(request); for (software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesIterable responses = client.listJobTemplatesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobTemplates(software.amazon.awssdk.services.mediaconvert.model.ListJobTemplatesRequest)
operation.This is a convenience which creates an instance of the
ListJobTemplatesRequest.Builder
avoiding the need to create one manually viaListJobTemplatesRequest.builder()
- Parameters:
listJobTemplatesRequest
- AConsumer
that will call methods onListJobTemplatesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listJobs
default ListJobsResponse listJobs(ListJobsRequest listJobsRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException 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:
- Result of the ListJobs operation returned by the service.
- See Also:
-
listJobs
default ListJobsResponse listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve a JSON array of up to twenty of your most recently created jobs. This array includes in-process, completed, and errored jobs. This will return the jobs themselves, not just a list of the jobs. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.
This is a convenience which creates an instance of the
ListJobsRequest.Builder
avoiding the need to create one manually viaListJobsRequest.builder()
- Parameters:
listJobsRequest
- AConsumer
that will call methods onListJobsRequest.Builder
to create a request.- Returns:
- Result of the ListJobs operation returned by the service.
- See Also:
-
listJobsPaginator
default ListJobsIterable listJobsPaginator(ListJobsRequest listJobsRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve a JSON array of up to twenty of your most recently created jobs. This array includes in-process, completed, and errored jobs. This will return the jobs themselves, not just a list of the jobs. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.
This is a variant of
listJobs(software.amazon.awssdk.services.mediaconvert.model.ListJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.mediaconvert.paginators.ListJobsIterable responses = client.listJobsPaginator(request); for (software.amazon.awssdk.services.mediaconvert.model.ListJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listJobsPaginator
default ListJobsIterable listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve a JSON array of up to twenty of your most recently created jobs. This array includes in-process, completed, and errored jobs. This will return the jobs themselves, not just a list of the jobs. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.
This is a variant of
listJobs(software.amazon.awssdk.services.mediaconvert.model.ListJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.mediaconvert.paginators.ListJobsIterable responses = client.listJobsPaginator(request); for (software.amazon.awssdk.services.mediaconvert.model.ListJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.mediaconvert.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.mediaconvert.model.ListJobsRequest)
operation.This is a convenience which creates an instance of the
ListJobsRequest.Builder
avoiding the need to create one manually viaListJobsRequest.builder()
- Parameters:
listJobsRequest
- AConsumer
that will call methods onListJobsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPresets
default ListPresetsResponse listPresets(ListPresetsRequest listPresetsRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException 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:
- Result of the ListPresets operation returned by the service.
- See Also:
-
listPresets
default ListPresetsResponse listPresets(Consumer<ListPresetsRequest.Builder> listPresetsRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve a JSON array of up to twenty of your presets. This will return the presets themselves, not just a list of them. To retrieve the next twenty presets, use the nextToken string returned with the array.
This is a convenience which creates an instance of the
ListPresetsRequest.Builder
avoiding the need to create one manually viaListPresetsRequest.builder()
- Parameters:
listPresetsRequest
- AConsumer
that will call methods onListPresetsRequest.Builder
to create a request.- Returns:
- Result of the ListPresets operation returned by the service.
- See Also:
-
listPresetsPaginator
default ListPresetsIterable listPresetsPaginator(ListPresetsRequest listPresetsRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve a JSON array of up to twenty of your presets. This will return the presets themselves, not just a list of them. To retrieve the next twenty presets, use the nextToken string returned with the array.
This is a variant of
listPresets(software.amazon.awssdk.services.mediaconvert.model.ListPresetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.mediaconvert.paginators.ListPresetsIterable responses = client.listPresetsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.mediaconvert.paginators.ListPresetsIterable responses = client.listPresetsPaginator(request); for (software.amazon.awssdk.services.mediaconvert.model.ListPresetsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.mediaconvert.paginators.ListPresetsIterable responses = client.listPresetsPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listPresetsPaginator
default ListPresetsIterable listPresetsPaginator(Consumer<ListPresetsRequest.Builder> listPresetsRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve a JSON array of up to twenty of your presets. This will return the presets themselves, not just a list of them. To retrieve the next twenty presets, use the nextToken string returned with the array.
This is a variant of
listPresets(software.amazon.awssdk.services.mediaconvert.model.ListPresetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.mediaconvert.paginators.ListPresetsIterable responses = client.listPresetsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.mediaconvert.paginators.ListPresetsIterable responses = client.listPresetsPaginator(request); for (software.amazon.awssdk.services.mediaconvert.model.ListPresetsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.mediaconvert.paginators.ListPresetsIterable responses = client.listPresetsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPresets(software.amazon.awssdk.services.mediaconvert.model.ListPresetsRequest)
operation.This is a convenience which creates an instance of the
ListPresetsRequest.Builder
avoiding the need to create one manually viaListPresetsRequest.builder()
- Parameters:
listPresetsRequest
- AConsumer
that will call methods onListPresetsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listQueues
default ListQueuesResponse listQueues(ListQueuesRequest listQueuesRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException 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:
- Result of the ListQueues operation returned by the service.
- See Also:
-
listQueues
default ListQueuesResponse listQueues(Consumer<ListQueuesRequest.Builder> listQueuesRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve a JSON array of up to twenty of your queues. This will return the queues themselves, not just a list of them. To retrieve the next twenty queues, use the nextToken string returned with the array.
This is a convenience which creates an instance of the
ListQueuesRequest.Builder
avoiding the need to create one manually viaListQueuesRequest.builder()
- Parameters:
listQueuesRequest
- AConsumer
that will call methods onListQueuesRequest.Builder
to create a request.- Returns:
- Result of the ListQueues operation returned by the service.
- See Also:
-
listQueuesPaginator
default ListQueuesIterable listQueuesPaginator(ListQueuesRequest listQueuesRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve a JSON array of up to twenty of your queues. This will return the queues themselves, not just a list of them. To retrieve the next twenty queues, use the nextToken string returned with the array.
This is a variant of
listQueues(software.amazon.awssdk.services.mediaconvert.model.ListQueuesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.mediaconvert.paginators.ListQueuesIterable responses = client.listQueuesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.mediaconvert.paginators.ListQueuesIterable responses = client.listQueuesPaginator(request); for (software.amazon.awssdk.services.mediaconvert.model.ListQueuesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.mediaconvert.paginators.ListQueuesIterable responses = client.listQueuesPaginator(request); responses.iterator().forEachRemaining(....);
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listQueuesPaginator
default ListQueuesIterable listQueuesPaginator(Consumer<ListQueuesRequest.Builder> listQueuesRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve a JSON array of up to twenty of your queues. This will return the queues themselves, not just a list of them. To retrieve the next twenty queues, use the nextToken string returned with the array.
This is a variant of
listQueues(software.amazon.awssdk.services.mediaconvert.model.ListQueuesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.mediaconvert.paginators.ListQueuesIterable responses = client.listQueuesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.mediaconvert.paginators.ListQueuesIterable responses = client.listQueuesPaginator(request); for (software.amazon.awssdk.services.mediaconvert.model.ListQueuesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.mediaconvert.paginators.ListQueuesIterable responses = client.listQueuesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listQueues(software.amazon.awssdk.services.mediaconvert.model.ListQueuesRequest)
operation.This is a convenience which creates an instance of the
ListQueuesRequest.Builder
avoiding the need to create one manually viaListQueuesRequest.builder()
- Parameters:
listQueuesRequest
- AConsumer
that will call methods onListQueuesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve the tags for a MediaConvert resource.- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Retrieve the tags for a MediaConvert resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
putPolicy
default PutPolicyResponse putPolicy(PutPolicyRequest putPolicyRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException 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:
- Result of the PutPolicy operation returned by the service.
- See Also:
-
putPolicy
default PutPolicyResponse putPolicy(Consumer<PutPolicyRequest.Builder> putPolicyRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Create or change your policy. For more information about policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
This is a convenience which creates an instance of the
PutPolicyRequest.Builder
avoiding the need to create one manually viaPutPolicyRequest.builder()
- Parameters:
putPolicyRequest
- AConsumer
that will call methods onPutPolicyRequest.Builder
to create a request.- Returns:
- Result of the PutPolicy operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException 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:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Add tags to a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException 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:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Remove tags from a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateJobTemplate
default UpdateJobTemplateResponse updateJobTemplate(UpdateJobTemplateRequest updateJobTemplateRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Modify one of your existing job templates.- Parameters:
updateJobTemplateRequest
-- Returns:
- Result of the UpdateJobTemplate operation returned by the service.
- See Also:
-
updateJobTemplate
default UpdateJobTemplateResponse updateJobTemplate(Consumer<UpdateJobTemplateRequest.Builder> updateJobTemplateRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Modify one of your existing job templates.
This is a convenience which creates an instance of the
UpdateJobTemplateRequest.Builder
avoiding the need to create one manually viaUpdateJobTemplateRequest.builder()
- Parameters:
updateJobTemplateRequest
- AConsumer
that will call methods onUpdateJobTemplateRequest.Builder
to create a request.- Returns:
- Result of the UpdateJobTemplate operation returned by the service.
- See Also:
-
updatePreset
default UpdatePresetResponse updatePreset(UpdatePresetRequest updatePresetRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Modify one of your existing presets.- Parameters:
updatePresetRequest
-- Returns:
- Result of the UpdatePreset operation returned by the service.
- See Also:
-
updatePreset
default UpdatePresetResponse updatePreset(Consumer<UpdatePresetRequest.Builder> updatePresetRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Modify one of your existing presets.
This is a convenience which creates an instance of the
UpdatePresetRequest.Builder
avoiding the need to create one manually viaUpdatePresetRequest.builder()
- Parameters:
updatePresetRequest
- AConsumer
that will call methods onUpdatePresetRequest.Builder
to create a request.- Returns:
- Result of the UpdatePreset operation returned by the service.
- See Also:
-
updateQueue
default UpdateQueueResponse updateQueue(UpdateQueueRequest updateQueueRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Modify one of your existing queues.- Parameters:
updateQueueRequest
-- Returns:
- Result of the UpdateQueue operation returned by the service.
- See Also:
-
updateQueue
default UpdateQueueResponse updateQueue(Consumer<UpdateQueueRequest.Builder> updateQueueRequest) throws BadRequestException, InternalServerErrorException, ForbiddenException, NotFoundException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException, MediaConvertException Modify one of your existing queues.
This is a convenience which creates an instance of the
UpdateQueueRequest.Builder
avoiding the need to create one manually viaUpdateQueueRequest.builder()
- Parameters:
updateQueueRequest
- AConsumer
that will call methods onUpdateQueueRequest.Builder
to create a request.- Returns:
- Result of the UpdateQueue operation returned by the service.
- See Also:
-
create
Create aMediaConvertClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aMediaConvertClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-