Interface MediaConvertAsyncClient

  • All Superinterfaces:
    AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

    @Generated("software.amazon.awssdk:codegen")
    @ThreadSafe
    public interface MediaConvertAsyncClient
    extends AwsClient
    Service client for accessing MediaConvert asynchronously. This can be created using the static 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
    • Method Detail

      • associateCertificate

        default CompletableFuture<AssociateCertificateResponse> associateCertificate​(AssociateCertificateRequest associateCertificateRequest)
        Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.
        Parameters:
        associateCertificateRequest -
        Returns:
        A Java Future containing the result of the AssociateCertificate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • associateCertificate

        default CompletableFuture<AssociateCertificateResponse> associateCertificate​(Consumer<AssociateCertificateRequest.Builder> associateCertificateRequest)
        Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.

        This is a convenience which creates an instance of the AssociateCertificateRequest.Builder avoiding the need to create one manually via AssociateCertificateRequest.builder()

        Parameters:
        associateCertificateRequest - A Consumer that will call methods on AssociateCertificateRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the AssociateCertificate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • cancelJob

        default CompletableFuture<CancelJobResponse> cancelJob​(CancelJobRequest cancelJobRequest)
        Permanently cancel a job. Once you have canceled a job, you can't start it again.
        Parameters:
        cancelJobRequest -
        Returns:
        A Java Future containing the result of the CancelJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • cancelJob

        default CompletableFuture<CancelJobResponse> cancelJob​(Consumer<CancelJobRequest.Builder> cancelJobRequest)
        Permanently cancel a job. Once you have canceled a job, you can't start it again.

        This is a convenience which creates an instance of the CancelJobRequest.Builder avoiding the need to create one manually via CancelJobRequest.builder()

        Parameters:
        cancelJobRequest - A Consumer that will call methods on CancelJobRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CancelJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • createJob

        default CompletableFuture<CreateJobResponse> createJob​(CreateJobRequest createJobRequest)
        Create a new transcoding job. For information about jobs and job settings, see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
        Parameters:
        createJobRequest -
        Returns:
        A Java Future containing the result of the CreateJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • createJob

        default CompletableFuture<CreateJobResponse> createJob​(Consumer<CreateJobRequest.Builder> createJobRequest)
        Create a new transcoding job. For information about jobs and job settings, see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html

        This is a convenience which creates an instance of the CreateJobRequest.Builder avoiding the need to create one manually via CreateJobRequest.builder()

        Parameters:
        createJobRequest - A Consumer that will call methods on CreateJobRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • createJobTemplate

        default CompletableFuture<CreateJobTemplateResponse> createJobTemplate​(CreateJobTemplateRequest createJobTemplateRequest)
        Create a new job template. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
        Parameters:
        createJobTemplateRequest -
        Returns:
        A Java Future containing the result of the CreateJobTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • createJobTemplate

        default CompletableFuture<CreateJobTemplateResponse> createJobTemplate​(Consumer<CreateJobTemplateRequest.Builder> createJobTemplateRequest)
        Create a new job template. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html

        This is a convenience which creates an instance of the CreateJobTemplateRequest.Builder avoiding the need to create one manually via CreateJobTemplateRequest.builder()

        Parameters:
        createJobTemplateRequest - A Consumer that will call methods on CreateJobTemplateRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateJobTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • createPreset

        default CompletableFuture<CreatePresetResponse> createPreset​(CreatePresetRequest createPresetRequest)
        Create a new preset. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
        Parameters:
        createPresetRequest -
        Returns:
        A Java Future containing the result of the CreatePreset operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • createPreset

        default CompletableFuture<CreatePresetResponse> createPreset​(Consumer<CreatePresetRequest.Builder> createPresetRequest)
        Create a new preset. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html

        This is a convenience which creates an instance of the CreatePresetRequest.Builder avoiding the need to create one manually via CreatePresetRequest.builder()

        Parameters:
        createPresetRequest - A Consumer that will call methods on CreatePresetRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreatePreset operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • createQueue

        default CompletableFuture<CreateQueueResponse> createQueue​(CreateQueueRequest createQueueRequest)
        Create a new transcoding queue. For information about queues, see Working With Queues in the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html
        Parameters:
        createQueueRequest -
        Returns:
        A Java Future containing the result of the CreateQueue operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • createQueue

        default CompletableFuture<CreateQueueResponse> createQueue​(Consumer<CreateQueueRequest.Builder> createQueueRequest)
        Create a new transcoding queue. For information about queues, see Working With Queues in the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html

        This is a convenience which creates an instance of the CreateQueueRequest.Builder avoiding the need to create one manually via CreateQueueRequest.builder()

        Parameters:
        createQueueRequest - A Consumer that will call methods on CreateQueueRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateQueue operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • deleteJobTemplate

        default CompletableFuture<DeleteJobTemplateResponse> deleteJobTemplate​(DeleteJobTemplateRequest deleteJobTemplateRequest)
        Permanently delete a job template you have created.
        Parameters:
        deleteJobTemplateRequest -
        Returns:
        A Java Future containing the result of the DeleteJobTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • deleteJobTemplate

        default CompletableFuture<DeleteJobTemplateResponse> deleteJobTemplate​(Consumer<DeleteJobTemplateRequest.Builder> deleteJobTemplateRequest)
        Permanently delete a job template you have created.

        This is a convenience which creates an instance of the DeleteJobTemplateRequest.Builder avoiding the need to create one manually via DeleteJobTemplateRequest.builder()

        Parameters:
        deleteJobTemplateRequest - A Consumer that will call methods on DeleteJobTemplateRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteJobTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • deletePolicy

        default CompletableFuture<DeletePolicyResponse> deletePolicy​(DeletePolicyRequest deletePolicyRequest)
        Permanently delete a policy that you created.
        Parameters:
        deletePolicyRequest -
        Returns:
        A Java Future containing the result of the DeletePolicy operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • deletePolicy

        default CompletableFuture<DeletePolicyResponse> deletePolicy​(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest)
        Permanently delete a policy that you created.

        This is a convenience which creates an instance of the DeletePolicyRequest.Builder avoiding the need to create one manually via DeletePolicyRequest.builder()

        Parameters:
        deletePolicyRequest - A Consumer that will call methods on DeletePolicyRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeletePolicy operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • deletePreset

        default CompletableFuture<DeletePresetResponse> deletePreset​(DeletePresetRequest deletePresetRequest)
        Permanently delete a preset you have created.
        Parameters:
        deletePresetRequest -
        Returns:
        A Java Future containing the result of the DeletePreset operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • deletePreset

        default CompletableFuture<DeletePresetResponse> deletePreset​(Consumer<DeletePresetRequest.Builder> deletePresetRequest)
        Permanently delete a preset you have created.

        This is a convenience which creates an instance of the DeletePresetRequest.Builder avoiding the need to create one manually via DeletePresetRequest.builder()

        Parameters:
        deletePresetRequest - A Consumer that will call methods on DeletePresetRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeletePreset operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • deleteQueue

        default CompletableFuture<DeleteQueueResponse> deleteQueue​(DeleteQueueRequest deleteQueueRequest)
        Permanently delete a queue you have created.
        Parameters:
        deleteQueueRequest -
        Returns:
        A Java Future containing the result of the DeleteQueue operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • deleteQueue

        default CompletableFuture<DeleteQueueResponse> deleteQueue​(Consumer<DeleteQueueRequest.Builder> deleteQueueRequest)
        Permanently delete a queue you have created.

        This is a convenience which creates an instance of the DeleteQueueRequest.Builder avoiding the need to create one manually via DeleteQueueRequest.builder()

        Parameters:
        deleteQueueRequest - A Consumer that will call methods on DeleteQueueRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteQueue operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • 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 invoke Throwable.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:
        AWS API Documentation
      • 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.Builder avoiding the need to create one manually via DescribeEndpointsRequest.builder()

        Parameters:
        describeEndpointsRequest - A Consumer that will call methods on DescribeEndpointsRequest.Builder to 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 invoke Throwable.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:
        AWS API Documentation
      • 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 new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         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) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 invoke Throwable.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:
        AWS API Documentation
      • 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 new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.mediaconvert.paginators.DescribeEndpointsPublisher publisher = client.describeEndpointsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         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) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 via DescribeEndpointsRequest.builder()

        Parameters:
        describeEndpointsRequest - A Consumer that will call methods on DescribeEndpointsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • disassociateCertificate

        default CompletableFuture<DisassociateCertificateResponse> disassociateCertificate​(DisassociateCertificateRequest disassociateCertificateRequest)
        Removes an association between the Amazon Resource Name (ARN) of an AWS Certificate Manager (ACM) certificate and an AWS Elemental MediaConvert resource.
        Parameters:
        disassociateCertificateRequest -
        Returns:
        A Java Future containing the result of the DisassociateCertificate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • disassociateCertificate

        default CompletableFuture<DisassociateCertificateResponse> disassociateCertificate​(Consumer<DisassociateCertificateRequest.Builder> disassociateCertificateRequest)
        Removes an association between the Amazon Resource Name (ARN) of an AWS Certificate Manager (ACM) certificate and an AWS Elemental MediaConvert resource.

        This is a convenience which creates an instance of the DisassociateCertificateRequest.Builder avoiding the need to create one manually via DisassociateCertificateRequest.builder()

        Parameters:
        disassociateCertificateRequest - A Consumer that will call methods on DisassociateCertificateRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DisassociateCertificate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • getJob

        default CompletableFuture<GetJobResponse> getJob​(GetJobRequest getJobRequest)
        Retrieve the JSON for a specific transcoding job.
        Parameters:
        getJobRequest -
        Returns:
        A Java Future containing the result of the GetJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • getJob

        default CompletableFuture<GetJobResponse> getJob​(Consumer<GetJobRequest.Builder> getJobRequest)
        Retrieve the JSON for a specific transcoding job.

        This is a convenience which creates an instance of the GetJobRequest.Builder avoiding the need to create one manually via GetJobRequest.builder()

        Parameters:
        getJobRequest - A Consumer that will call methods on GetJobRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • getJobTemplate

        default CompletableFuture<GetJobTemplateResponse> getJobTemplate​(GetJobTemplateRequest getJobTemplateRequest)
        Retrieve the JSON for a specific job template.
        Parameters:
        getJobTemplateRequest -
        Returns:
        A Java Future containing the result of the GetJobTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • getJobTemplate

        default CompletableFuture<GetJobTemplateResponse> getJobTemplate​(Consumer<GetJobTemplateRequest.Builder> getJobTemplateRequest)
        Retrieve the JSON for a specific job template.

        This is a convenience which creates an instance of the GetJobTemplateRequest.Builder avoiding the need to create one manually via GetJobTemplateRequest.builder()

        Parameters:
        getJobTemplateRequest - A Consumer that will call methods on GetJobTemplateRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetJobTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • getPolicy

        default CompletableFuture<GetPolicyResponse> getPolicy​(GetPolicyRequest getPolicyRequest)
        Retrieve the JSON for your policy.
        Parameters:
        getPolicyRequest -
        Returns:
        A Java Future containing the result of the GetPolicy operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • getPolicy

        default CompletableFuture<GetPolicyResponse> getPolicy​(Consumer<GetPolicyRequest.Builder> getPolicyRequest)
        Retrieve the JSON for your policy.

        This is a convenience which creates an instance of the GetPolicyRequest.Builder avoiding the need to create one manually via GetPolicyRequest.builder()

        Parameters:
        getPolicyRequest - A Consumer that will call methods on GetPolicyRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetPolicy operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • getPreset

        default CompletableFuture<GetPresetResponse> getPreset​(GetPresetRequest getPresetRequest)
        Retrieve the JSON for a specific preset.
        Parameters:
        getPresetRequest -
        Returns:
        A Java Future containing the result of the GetPreset operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • getPreset

        default CompletableFuture<GetPresetResponse> getPreset​(Consumer<GetPresetRequest.Builder> getPresetRequest)
        Retrieve the JSON for a specific preset.

        This is a convenience which creates an instance of the GetPresetRequest.Builder avoiding the need to create one manually via GetPresetRequest.builder()

        Parameters:
        getPresetRequest - A Consumer that will call methods on GetPresetRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetPreset operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • getQueue

        default CompletableFuture<GetQueueResponse> getQueue​(GetQueueRequest getQueueRequest)
        Retrieve the JSON for a specific queue.
        Parameters:
        getQueueRequest -
        Returns:
        A Java Future containing the result of the GetQueue operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • getQueue

        default CompletableFuture<GetQueueResponse> getQueue​(Consumer<GetQueueRequest.Builder> getQueueRequest)
        Retrieve the JSON for a specific queue.

        This is a convenience which creates an instance of the GetQueueRequest.Builder avoiding the need to create one manually via GetQueueRequest.builder()

        Parameters:
        getQueueRequest - A Consumer that will call methods on GetQueueRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetQueue operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • listJobTemplates

        default CompletableFuture<ListJobTemplatesResponse> listJobTemplates​(ListJobTemplatesRequest listJobTemplatesRequest)
        Retrieve a JSON array of up to twenty of your job templates. This will return the templates themselves, not just a list of them. To retrieve the next twenty templates, use the nextToken string returned with the array
        Parameters:
        listJobTemplatesRequest -
        Returns:
        A Java Future containing the result of the ListJobTemplates operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • listJobTemplates

        default CompletableFuture<ListJobTemplatesResponse> listJobTemplates​(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest)
        Retrieve a JSON array of up to twenty of your job templates. This will return the templates themselves, not just a list of them. To retrieve the next twenty templates, use the nextToken string returned with the array

        This is a convenience which creates an instance of the ListJobTemplatesRequest.Builder avoiding the need to create one manually via ListJobTemplatesRequest.builder()

        Parameters:
        listJobTemplatesRequest - A Consumer that will call methods on ListJobTemplatesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListJobTemplates operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • 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 new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         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) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 invoke Throwable.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:
        AWS API Documentation
      • 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 new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.mediaconvert.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         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) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 via ListJobTemplatesRequest.builder()

        Parameters:
        listJobTemplatesRequest - A Consumer that will call methods on ListJobTemplatesRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • listJobs

        default CompletableFuture<ListJobsResponse> listJobs​(ListJobsRequest listJobsRequest)
        Retrieve a JSON array of up to twenty of your most recently created jobs. This array includes in-process, completed, and errored jobs. This will return the jobs themselves, not just a list of the jobs. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.
        Parameters:
        listJobsRequest -
        Returns:
        A Java Future containing the result of the ListJobs operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • listJobs

        default CompletableFuture<ListJobsResponse> listJobs​(Consumer<ListJobsRequest.Builder> listJobsRequest)
        Retrieve a JSON array of up to twenty of your most recently created jobs. This array includes in-process, completed, and errored jobs. This will return the jobs themselves, not just a list of the jobs. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.

        This is a convenience which creates an instance of the ListJobsRequest.Builder avoiding the need to create one manually via ListJobsRequest.builder()

        Parameters:
        listJobsRequest - A Consumer that will call methods on ListJobsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListJobs operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • listJobsPaginator

        default ListJobsPublisher listJobsPaginator​(ListJobsRequest listJobsRequest)

        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 new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.mediaconvert.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         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) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 invoke Throwable.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:
        AWS API Documentation
      • listJobsPaginator

        default ListJobsPublisher listJobsPaginator​(Consumer<ListJobsRequest.Builder> listJobsRequest)

        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 new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.mediaconvert.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         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) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 via ListJobsRequest.builder()

        Parameters:
        listJobsRequest - A Consumer that will call methods on ListJobsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • listPresets

        default CompletableFuture<ListPresetsResponse> listPresets​(ListPresetsRequest listPresetsRequest)
        Retrieve a JSON array of up to twenty of your presets. This will return the presets themselves, not just a list of them. To retrieve the next twenty presets, use the nextToken string returned with the array.
        Parameters:
        listPresetsRequest -
        Returns:
        A Java Future containing the result of the ListPresets operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • listPresets

        default CompletableFuture<ListPresetsResponse> listPresets​(Consumer<ListPresetsRequest.Builder> listPresetsRequest)
        Retrieve a JSON array of up to twenty of your presets. This will return the presets themselves, not just a list of them. To retrieve the next twenty presets, use the nextToken string returned with the array.

        This is a convenience which creates an instance of the ListPresetsRequest.Builder avoiding the need to create one manually via ListPresetsRequest.builder()

        Parameters:
        listPresetsRequest - A Consumer that will call methods on ListPresetsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListPresets operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • listPresetsPaginator

        default ListPresetsPublisher listPresetsPaginator​(ListPresetsRequest 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 new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.mediaconvert.paginators.ListPresetsPublisher publisher = client.listPresetsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         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) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 invoke Throwable.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:
        AWS API Documentation
      • 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 new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.mediaconvert.paginators.ListPresetsPublisher publisher = client.listPresetsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         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) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 via ListPresetsRequest.builder()

        Parameters:
        listPresetsRequest - A Consumer that will call methods on ListPresetsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • listQueues

        default CompletableFuture<ListQueuesResponse> listQueues​(ListQueuesRequest listQueuesRequest)
        Retrieve a JSON array of up to twenty of your queues. This will return the queues themselves, not just a list of them. To retrieve the next twenty queues, use the nextToken string returned with the array.
        Parameters:
        listQueuesRequest -
        Returns:
        A Java Future containing the result of the ListQueues operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • listQueues

        default CompletableFuture<ListQueuesResponse> listQueues​(Consumer<ListQueuesRequest.Builder> listQueuesRequest)
        Retrieve a JSON array of up to twenty of your queues. This will return the queues themselves, not just a list of them. To retrieve the next twenty queues, use the nextToken string returned with the array.

        This is a convenience which creates an instance of the ListQueuesRequest.Builder avoiding the need to create one manually via ListQueuesRequest.builder()

        Parameters:
        listQueuesRequest - A Consumer that will call methods on ListQueuesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListQueues operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • listQueuesPaginator

        default ListQueuesPublisher listQueuesPaginator​(ListQueuesRequest 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 new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.mediaconvert.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         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) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 invoke Throwable.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:
        AWS API Documentation
      • 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 new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.mediaconvert.paginators.ListQueuesPublisher publisher = client.listQueuesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         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) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 via ListQueuesRequest.builder()

        Parameters:
        listQueuesRequest - A Consumer that will call methods on ListQueuesRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • listTagsForResource

        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(ListTagsForResourceRequest listTagsForResourceRequest)
        Retrieve the tags for a MediaConvert resource.
        Parameters:
        listTagsForResourceRequest -
        Returns:
        A Java Future containing the result of the ListTagsForResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • listTagsForResource

        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
        Retrieve the tags for a MediaConvert resource.

        This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

        Parameters:
        listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListTagsForResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • 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 invoke Throwable.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:
        AWS API Documentation
      • 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.Builder avoiding the need to create one manually via ListVersionsRequest.builder()

        Parameters:
        listVersionsRequest - A Consumer that will call methods on ListVersionsRequest.Builder to 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 invoke Throwable.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:
        AWS API Documentation
      • listVersionsPaginator

        default ListVersionsPublisher listVersionsPaginator​(ListVersionsRequest 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 new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.mediaconvert.paginators.ListVersionsPublisher publisher = client.listVersionsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         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) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 invoke Throwable.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:
        AWS API Documentation
      • 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 new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.mediaconvert.paginators.ListVersionsPublisher publisher = client.listVersionsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         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) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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.Builder avoiding the need to create one manually via ListVersionsRequest.builder()

        Parameters:
        listVersionsRequest - A Consumer that will call methods on ListVersionsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • probe

        default CompletableFuture<ProbeResponse> probe​(ProbeRequest probeRequest)
        Use Probe to obtain detailed information about your input media files. Probe returns a JSON that includes container, codec, frame rate, resolution, track count, audio layout, captions, and more. You can use this information to learn more about your media files, or to help make decisions while automating your transcoding workflow.
        Parameters:
        probeRequest -
        Returns:
        A Java Future containing the result of the Probe 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 invoke Throwable.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:
        AWS API Documentation
      • probe

        default CompletableFuture<ProbeResponse> probe​(Consumer<ProbeRequest.Builder> probeRequest)
        Use Probe to obtain detailed information about your input media files. Probe returns a JSON that includes container, codec, frame rate, resolution, track count, audio layout, captions, and more. You can use this information to learn more about your media files, or to help make decisions while automating your transcoding workflow.

        This is a convenience which creates an instance of the ProbeRequest.Builder avoiding the need to create one manually via ProbeRequest.builder()

        Parameters:
        probeRequest - A Consumer that will call methods on ProbeRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the Probe 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 invoke Throwable.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:
        AWS API Documentation
      • putPolicy

        default CompletableFuture<PutPolicyResponse> putPolicy​(PutPolicyRequest putPolicyRequest)
        Create or change your policy. For more information about policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
        Parameters:
        putPolicyRequest -
        Returns:
        A Java Future containing the result of the PutPolicy operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • putPolicy

        default CompletableFuture<PutPolicyResponse> putPolicy​(Consumer<PutPolicyRequest.Builder> putPolicyRequest)
        Create or change your policy. For more information about policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html

        This is a convenience which creates an instance of the PutPolicyRequest.Builder avoiding the need to create one manually via PutPolicyRequest.builder()

        Parameters:
        putPolicyRequest - A Consumer that will call methods on PutPolicyRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the PutPolicy operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • searchJobs

        default CompletableFuture<SearchJobsResponse> searchJobs​(SearchJobsRequest 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.
        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 invoke Throwable.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:
        AWS API Documentation
      • 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.Builder avoiding the need to create one manually via SearchJobsRequest.builder()

        Parameters:
        searchJobsRequest - A Consumer that will call methods on SearchJobsRequest.Builder to 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 invoke Throwable.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:
        AWS API Documentation
      • searchJobsPaginator

        default SearchJobsPublisher searchJobsPaginator​(SearchJobsRequest 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 new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.mediaconvert.paginators.SearchJobsPublisher publisher = client.searchJobsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         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) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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 invoke Throwable.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:
        AWS API Documentation
      • 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 new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.mediaconvert.paginators.SearchJobsPublisher publisher = client.searchJobsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         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) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        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.Builder avoiding the need to create one manually via SearchJobsRequest.builder()

        Parameters:
        searchJobsRequest - A Consumer that will call methods on SearchJobsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(TagResourceRequest tagResourceRequest)
        Add tags to a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
        Parameters:
        tagResourceRequest -
        Returns:
        A Java Future containing the result of the TagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(Consumer<TagResourceRequest.Builder> tagResourceRequest)
        Add tags to a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html

        This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

        Parameters:
        tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the TagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(UntagResourceRequest untagResourceRequest)
        Remove tags from a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
        Parameters:
        untagResourceRequest -
        Returns:
        A Java Future containing the result of the UntagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
        Remove tags from a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html

        This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

        Parameters:
        untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UntagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • updateJobTemplate

        default CompletableFuture<UpdateJobTemplateResponse> updateJobTemplate​(UpdateJobTemplateRequest updateJobTemplateRequest)
        Modify one of your existing job templates.
        Parameters:
        updateJobTemplateRequest -
        Returns:
        A Java Future containing the result of the UpdateJobTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • updateJobTemplate

        default CompletableFuture<UpdateJobTemplateResponse> updateJobTemplate​(Consumer<UpdateJobTemplateRequest.Builder> updateJobTemplateRequest)
        Modify one of your existing job templates.

        This is a convenience which creates an instance of the UpdateJobTemplateRequest.Builder avoiding the need to create one manually via UpdateJobTemplateRequest.builder()

        Parameters:
        updateJobTemplateRequest - A Consumer that will call methods on UpdateJobTemplateRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateJobTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • updatePreset

        default CompletableFuture<UpdatePresetResponse> updatePreset​(UpdatePresetRequest updatePresetRequest)
        Modify one of your existing presets.
        Parameters:
        updatePresetRequest -
        Returns:
        A Java Future containing the result of the UpdatePreset operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • updatePreset

        default CompletableFuture<UpdatePresetResponse> updatePreset​(Consumer<UpdatePresetRequest.Builder> updatePresetRequest)
        Modify one of your existing presets.

        This is a convenience which creates an instance of the UpdatePresetRequest.Builder avoiding the need to create one manually via UpdatePresetRequest.builder()

        Parameters:
        updatePresetRequest - A Consumer that will call methods on UpdatePresetRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdatePreset operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • updateQueue

        default CompletableFuture<UpdateQueueResponse> updateQueue​(UpdateQueueRequest updateQueueRequest)
        Modify one of your existing queues.
        Parameters:
        updateQueueRequest -
        Returns:
        A Java Future containing the result of the UpdateQueue operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation
      • updateQueue

        default CompletableFuture<UpdateQueueResponse> updateQueue​(Consumer<UpdateQueueRequest.Builder> updateQueueRequest)
        Modify one of your existing queues.

        This is a convenience which creates an instance of the UpdateQueueRequest.Builder avoiding the need to create one manually via UpdateQueueRequest.builder()

        Parameters:
        updateQueueRequest - A Consumer that will call methods on UpdateQueueRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateQueue operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.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:
        AWS API Documentation