Interface MediaPackageVodAsyncClient

  • All Superinterfaces:
    AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

    @Generated("software.amazon.awssdk:codegen")
    @ThreadSafe
    public interface MediaPackageVodAsyncClient
    extends AwsClient
    Service client for accessing MediaPackage Vod 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 MediaPackage VOD
    • Method Detail

      • configureLogs

        default CompletableFuture<ConfigureLogsResponse> configureLogs​(ConfigureLogsRequest configureLogsRequest)
        Changes the packaging group's properities to configure log subscription
        Parameters:
        configureLogsRequest - The option to configure log subscription.
        Returns:
        A Java Future containing the result of the ConfigureLogs 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • configureLogs

        default CompletableFuture<ConfigureLogsResponse> configureLogs​(Consumer<ConfigureLogsRequest.Builder> configureLogsRequest)
        Changes the packaging group's properities to configure log subscription

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

        Parameters:
        configureLogsRequest - A Consumer that will call methods on ConfigureLogsRequest.Builder to create a request. The option to configure log subscription.
        Returns:
        A Java Future containing the result of the ConfigureLogs 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createAsset

        default CompletableFuture<CreateAssetResponse> createAsset​(CreateAssetRequest createAssetRequest)
        Creates a new MediaPackage VOD Asset resource.
        Parameters:
        createAssetRequest - A new MediaPackage VOD Asset configuration.
        Returns:
        A Java Future containing the result of the CreateAsset 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createAsset

        default CompletableFuture<CreateAssetResponse> createAsset​(Consumer<CreateAssetRequest.Builder> createAssetRequest)
        Creates a new MediaPackage VOD Asset resource.

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

        Parameters:
        createAssetRequest - A Consumer that will call methods on CreateAssetRequest.Builder to create a request. A new MediaPackage VOD Asset configuration.
        Returns:
        A Java Future containing the result of the CreateAsset 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createPackagingConfiguration

        default CompletableFuture<CreatePackagingConfigurationResponse> createPackagingConfiguration​(CreatePackagingConfigurationRequest createPackagingConfigurationRequest)
        Creates a new MediaPackage VOD PackagingConfiguration resource.
        Parameters:
        createPackagingConfigurationRequest - A new MediaPackage VOD PackagingConfiguration resource configuration.
        Returns:
        A Java Future containing the result of the CreatePackagingConfiguration 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createPackagingConfiguration

        default CompletableFuture<CreatePackagingConfigurationResponse> createPackagingConfiguration​(Consumer<CreatePackagingConfigurationRequest.Builder> createPackagingConfigurationRequest)
        Creates a new MediaPackage VOD PackagingConfiguration resource.

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

        Parameters:
        createPackagingConfigurationRequest - A Consumer that will call methods on CreatePackagingConfigurationRequest.Builder to create a request. A new MediaPackage VOD PackagingConfiguration resource configuration.
        Returns:
        A Java Future containing the result of the CreatePackagingConfiguration 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createPackagingGroup

        default CompletableFuture<CreatePackagingGroupResponse> createPackagingGroup​(CreatePackagingGroupRequest createPackagingGroupRequest)
        Creates a new MediaPackage VOD PackagingGroup resource.
        Parameters:
        createPackagingGroupRequest - A new MediaPackage VOD PackagingGroup resource configuration.
        Returns:
        A Java Future containing the result of the CreatePackagingGroup 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createPackagingGroup

        default CompletableFuture<CreatePackagingGroupResponse> createPackagingGroup​(Consumer<CreatePackagingGroupRequest.Builder> createPackagingGroupRequest)
        Creates a new MediaPackage VOD PackagingGroup resource.

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

        Parameters:
        createPackagingGroupRequest - A Consumer that will call methods on CreatePackagingGroupRequest.Builder to create a request. A new MediaPackage VOD PackagingGroup resource configuration.
        Returns:
        A Java Future containing the result of the CreatePackagingGroup 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteAsset

        default CompletableFuture<DeleteAssetResponse> deleteAsset​(DeleteAssetRequest deleteAssetRequest)
        Deletes an existing MediaPackage VOD Asset resource.
        Parameters:
        deleteAssetRequest -
        Returns:
        A Java Future containing the result of the DeleteAsset 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteAsset

        default CompletableFuture<DeleteAssetResponse> deleteAsset​(Consumer<DeleteAssetRequest.Builder> deleteAssetRequest)
        Deletes an existing MediaPackage VOD Asset resource.

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

        Parameters:
        deleteAssetRequest - A Consumer that will call methods on DeleteAssetRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteAsset 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deletePackagingConfiguration

        default CompletableFuture<DeletePackagingConfigurationResponse> deletePackagingConfiguration​(DeletePackagingConfigurationRequest deletePackagingConfigurationRequest)
        Deletes a MediaPackage VOD PackagingConfiguration resource.
        Parameters:
        deletePackagingConfigurationRequest -
        Returns:
        A Java Future containing the result of the DeletePackagingConfiguration 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deletePackagingConfiguration

        default CompletableFuture<DeletePackagingConfigurationResponse> deletePackagingConfiguration​(Consumer<DeletePackagingConfigurationRequest.Builder> deletePackagingConfigurationRequest)
        Deletes a MediaPackage VOD PackagingConfiguration resource.

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

        Parameters:
        deletePackagingConfigurationRequest - A Consumer that will call methods on DeletePackagingConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeletePackagingConfiguration 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deletePackagingGroup

        default CompletableFuture<DeletePackagingGroupResponse> deletePackagingGroup​(DeletePackagingGroupRequest deletePackagingGroupRequest)
        Deletes a MediaPackage VOD PackagingGroup resource.
        Parameters:
        deletePackagingGroupRequest -
        Returns:
        A Java Future containing the result of the DeletePackagingGroup 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deletePackagingGroup

        default CompletableFuture<DeletePackagingGroupResponse> deletePackagingGroup​(Consumer<DeletePackagingGroupRequest.Builder> deletePackagingGroupRequest)
        Deletes a MediaPackage VOD PackagingGroup resource.

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

        Parameters:
        deletePackagingGroupRequest - A Consumer that will call methods on DeletePackagingGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeletePackagingGroup 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeAsset

        default CompletableFuture<DescribeAssetResponse> describeAsset​(DescribeAssetRequest describeAssetRequest)
        Returns a description of a MediaPackage VOD Asset resource.
        Parameters:
        describeAssetRequest -
        Returns:
        A Java Future containing the result of the DescribeAsset 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeAsset

        default CompletableFuture<DescribeAssetResponse> describeAsset​(Consumer<DescribeAssetRequest.Builder> describeAssetRequest)
        Returns a description of a MediaPackage VOD Asset resource.

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

        Parameters:
        describeAssetRequest - A Consumer that will call methods on DescribeAssetRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeAsset 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describePackagingConfiguration

        default CompletableFuture<DescribePackagingConfigurationResponse> describePackagingConfiguration​(DescribePackagingConfigurationRequest describePackagingConfigurationRequest)
        Returns a description of a MediaPackage VOD PackagingConfiguration resource.
        Parameters:
        describePackagingConfigurationRequest -
        Returns:
        A Java Future containing the result of the DescribePackagingConfiguration 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describePackagingConfiguration

        default CompletableFuture<DescribePackagingConfigurationResponse> describePackagingConfiguration​(Consumer<DescribePackagingConfigurationRequest.Builder> describePackagingConfigurationRequest)
        Returns a description of a MediaPackage VOD PackagingConfiguration resource.

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

        Parameters:
        describePackagingConfigurationRequest - A Consumer that will call methods on DescribePackagingConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribePackagingConfiguration 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describePackagingGroup

        default CompletableFuture<DescribePackagingGroupResponse> describePackagingGroup​(DescribePackagingGroupRequest describePackagingGroupRequest)
        Returns a description of a MediaPackage VOD PackagingGroup resource.
        Parameters:
        describePackagingGroupRequest -
        Returns:
        A Java Future containing the result of the DescribePackagingGroup 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describePackagingGroup

        default CompletableFuture<DescribePackagingGroupResponse> describePackagingGroup​(Consumer<DescribePackagingGroupRequest.Builder> describePackagingGroupRequest)
        Returns a description of a MediaPackage VOD PackagingGroup resource.

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

        Parameters:
        describePackagingGroupRequest - A Consumer that will call methods on DescribePackagingGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribePackagingGroup 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAssets

        default CompletableFuture<ListAssetsResponse> listAssets​(ListAssetsRequest listAssetsRequest)
        Returns a collection of MediaPackage VOD Asset resources.
        Parameters:
        listAssetsRequest -
        Returns:
        A Java Future containing the result of the ListAssets 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAssets

        default CompletableFuture<ListAssetsResponse> listAssets​(Consumer<ListAssetsRequest.Builder> listAssetsRequest)
        Returns a collection of MediaPackage VOD Asset resources.

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

        Parameters:
        listAssetsRequest - A Consumer that will call methods on ListAssetsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListAssets 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAssetsPaginator

        default ListAssetsPublisher listAssetsPaginator​(ListAssetsRequest listAssetsRequest)

        This is a variant of listAssets(software.amazon.awssdk.services.mediapackagevod.model.ListAssetsRequest) 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.mediapackagevod.paginators.ListAssetsPublisher publisher = client.listAssetsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.mediapackagevod.paginators.ListAssetsPublisher publisher = client.listAssetsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediapackagevod.model.ListAssetsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.mediapackagevod.model.ListAssetsResponse 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 listAssets(software.amazon.awssdk.services.mediapackagevod.model.ListAssetsRequest) operation.

        Parameters:
        listAssetsRequest -
        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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAssetsPaginator

        default ListAssetsPublisher listAssetsPaginator​(Consumer<ListAssetsRequest.Builder> listAssetsRequest)

        This is a variant of listAssets(software.amazon.awssdk.services.mediapackagevod.model.ListAssetsRequest) 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.mediapackagevod.paginators.ListAssetsPublisher publisher = client.listAssetsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.mediapackagevod.paginators.ListAssetsPublisher publisher = client.listAssetsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediapackagevod.model.ListAssetsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.mediapackagevod.model.ListAssetsResponse 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 listAssets(software.amazon.awssdk.services.mediapackagevod.model.ListAssetsRequest) operation.


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

        Parameters:
        listAssetsRequest - A Consumer that will call methods on ListAssetsRequest.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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listPackagingConfigurations

        default CompletableFuture<ListPackagingConfigurationsResponse> listPackagingConfigurations​(ListPackagingConfigurationsRequest listPackagingConfigurationsRequest)
        Returns a collection of MediaPackage VOD PackagingConfiguration resources.
        Parameters:
        listPackagingConfigurationsRequest -
        Returns:
        A Java Future containing the result of the ListPackagingConfigurations 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listPackagingConfigurations

        default CompletableFuture<ListPackagingConfigurationsResponse> listPackagingConfigurations​(Consumer<ListPackagingConfigurationsRequest.Builder> listPackagingConfigurationsRequest)
        Returns a collection of MediaPackage VOD PackagingConfiguration resources.

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

        Parameters:
        listPackagingConfigurationsRequest - A Consumer that will call methods on ListPackagingConfigurationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListPackagingConfigurations 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listPackagingConfigurationsPaginator

        default ListPackagingConfigurationsPublisher listPackagingConfigurationsPaginator​(ListPackagingConfigurationsRequest listPackagingConfigurationsRequest)

        This is a variant of listPackagingConfigurations(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingConfigurationsRequest) 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.mediapackagevod.paginators.ListPackagingConfigurationsPublisher publisher = client.listPackagingConfigurationsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingConfigurationsPublisher publisher = client.listPackagingConfigurationsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediapackagevod.model.ListPackagingConfigurationsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingConfigurationsResponse 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 listPackagingConfigurations(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingConfigurationsRequest) operation.

        Parameters:
        listPackagingConfigurationsRequest -
        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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listPackagingConfigurationsPaginator

        default ListPackagingConfigurationsPublisher listPackagingConfigurationsPaginator​(Consumer<ListPackagingConfigurationsRequest.Builder> listPackagingConfigurationsRequest)

        This is a variant of listPackagingConfigurations(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingConfigurationsRequest) 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.mediapackagevod.paginators.ListPackagingConfigurationsPublisher publisher = client.listPackagingConfigurationsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingConfigurationsPublisher publisher = client.listPackagingConfigurationsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediapackagevod.model.ListPackagingConfigurationsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingConfigurationsResponse 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 listPackagingConfigurations(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingConfigurationsRequest) operation.


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

        Parameters:
        listPackagingConfigurationsRequest - A Consumer that will call methods on ListPackagingConfigurationsRequest.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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listPackagingGroups

        default CompletableFuture<ListPackagingGroupsResponse> listPackagingGroups​(ListPackagingGroupsRequest listPackagingGroupsRequest)
        Returns a collection of MediaPackage VOD PackagingGroup resources.
        Parameters:
        listPackagingGroupsRequest -
        Returns:
        A Java Future containing the result of the ListPackagingGroups 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listPackagingGroups

        default CompletableFuture<ListPackagingGroupsResponse> listPackagingGroups​(Consumer<ListPackagingGroupsRequest.Builder> listPackagingGroupsRequest)
        Returns a collection of MediaPackage VOD PackagingGroup resources.

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

        Parameters:
        listPackagingGroupsRequest - A Consumer that will call methods on ListPackagingGroupsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListPackagingGroups 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listPackagingGroupsPaginator

        default ListPackagingGroupsPublisher listPackagingGroupsPaginator​(ListPackagingGroupsRequest listPackagingGroupsRequest)

        This is a variant of listPackagingGroups(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingGroupsRequest) 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.mediapackagevod.paginators.ListPackagingGroupsPublisher publisher = client.listPackagingGroupsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingGroupsPublisher publisher = client.listPackagingGroupsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediapackagevod.model.ListPackagingGroupsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingGroupsResponse 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 listPackagingGroups(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingGroupsRequest) operation.

        Parameters:
        listPackagingGroupsRequest -
        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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listPackagingGroupsPaginator

        default ListPackagingGroupsPublisher listPackagingGroupsPaginator​(Consumer<ListPackagingGroupsRequest.Builder> listPackagingGroupsRequest)

        This is a variant of listPackagingGroups(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingGroupsRequest) 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.mediapackagevod.paginators.ListPackagingGroupsPublisher publisher = client.listPackagingGroupsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingGroupsPublisher publisher = client.listPackagingGroupsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediapackagevod.model.ListPackagingGroupsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingGroupsResponse 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 listPackagingGroups(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingGroupsRequest) operation.


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

        Parameters:
        listPackagingGroupsRequest - A Consumer that will call methods on ListPackagingGroupsRequest.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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException 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)
        Returns a list of the tags assigned to the specified 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.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException 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)
        Returns a list of the tags assigned to the specified 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.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException 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)
        Adds tags to the specified resource. You can specify one or more tags to add.
        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.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException 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)
        Adds tags to the specified resource. You can specify one or more tags to add.

        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.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException 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)
        Removes tags from the specified resource. You can specify one or more tags to remove.
        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.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException 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)
        Removes tags from the specified resource. You can specify one or more tags to remove.

        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.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updatePackagingGroup

        default CompletableFuture<UpdatePackagingGroupResponse> updatePackagingGroup​(UpdatePackagingGroupRequest updatePackagingGroupRequest)
        Updates a specific packaging group. You can't change the id attribute or any other system-generated attributes.
        Parameters:
        updatePackagingGroupRequest - A MediaPackage VOD PackagingGroup resource configuration.
        Returns:
        A Java Future containing the result of the UpdatePackagingGroup 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updatePackagingGroup

        default CompletableFuture<UpdatePackagingGroupResponse> updatePackagingGroup​(Consumer<UpdatePackagingGroupRequest.Builder> updatePackagingGroupRequest)
        Updates a specific packaging group. You can't change the id attribute or any other system-generated attributes.

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

        Parameters:
        updatePackagingGroupRequest - A Consumer that will call methods on UpdatePackagingGroupRequest.Builder to create a request. A MediaPackage VOD PackagingGroup resource configuration.
        Returns:
        A Java Future containing the result of the UpdatePackagingGroup 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.
        • UnprocessableEntityException The parameters sent in the request are not valid.
        • InternalServerErrorException An unexpected error occurred.
        • ForbiddenException The client is not authorized to access the requested resource.
        • NotFoundException The requested resource does not exist.
        • ServiceUnavailableException An unexpected error occurred.
        • TooManyRequestsException The client has exceeded their resource or throttling limits.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MediaPackageVodException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation