Interface MediaPackageVodClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface MediaPackageVodClient extends AwsClient
Service client for accessing MediaPackage Vod. This can be created using the staticbuilder()method. AWS Elemental MediaPackage VOD
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
configureLogs
default ConfigureLogsResponse configureLogs(ConfigureLogsRequest configureLogsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Changes the packaging group's properities to configure log subscription- Parameters:
configureLogsRequest- The option to configure log subscription.- Returns:
- Result of the ConfigureLogs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
configureLogs
default ConfigureLogsResponse configureLogs(Consumer<ConfigureLogsRequest.Builder> configureLogsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Changes the packaging group's properities to configure log subscription
This is a convenience which creates an instance of the
ConfigureLogsRequest.Builderavoiding the need to create one manually viaConfigureLogsRequest.builder()- Parameters:
configureLogsRequest- AConsumerthat will call methods onConfigureLogsRequest.Builderto create a request. The option to configure log subscription.- Returns:
- Result of the ConfigureLogs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createAsset
default CreateAssetResponse createAsset(CreateAssetRequest createAssetRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Creates a new MediaPackage VOD Asset resource.- Parameters:
createAssetRequest- A new MediaPackage VOD Asset configuration.- Returns:
- Result of the CreateAsset operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createAsset
default CreateAssetResponse createAsset(Consumer<CreateAssetRequest.Builder> createAssetRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Creates a new MediaPackage VOD Asset resource.
This is a convenience which creates an instance of the
CreateAssetRequest.Builderavoiding the need to create one manually viaCreateAssetRequest.builder()- Parameters:
createAssetRequest- AConsumerthat will call methods onCreateAssetRequest.Builderto create a request. A new MediaPackage VOD Asset configuration.- Returns:
- Result of the CreateAsset operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createPackagingConfiguration
default CreatePackagingConfigurationResponse createPackagingConfiguration(CreatePackagingConfigurationRequest createPackagingConfigurationRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Creates a new MediaPackage VOD PackagingConfiguration resource.- Parameters:
createPackagingConfigurationRequest- A new MediaPackage VOD PackagingConfiguration resource configuration.- Returns:
- Result of the CreatePackagingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createPackagingConfiguration
default CreatePackagingConfigurationResponse createPackagingConfiguration(Consumer<CreatePackagingConfigurationRequest.Builder> createPackagingConfigurationRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Creates a new MediaPackage VOD PackagingConfiguration resource.
This is a convenience which creates an instance of the
CreatePackagingConfigurationRequest.Builderavoiding the need to create one manually viaCreatePackagingConfigurationRequest.builder()- Parameters:
createPackagingConfigurationRequest- AConsumerthat will call methods onCreatePackagingConfigurationRequest.Builderto create a request. A new MediaPackage VOD PackagingConfiguration resource configuration.- Returns:
- Result of the CreatePackagingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createPackagingGroup
default CreatePackagingGroupResponse createPackagingGroup(CreatePackagingGroupRequest createPackagingGroupRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Creates a new MediaPackage VOD PackagingGroup resource.- Parameters:
createPackagingGroupRequest- A new MediaPackage VOD PackagingGroup resource configuration.- Returns:
- Result of the CreatePackagingGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createPackagingGroup
default CreatePackagingGroupResponse createPackagingGroup(Consumer<CreatePackagingGroupRequest.Builder> createPackagingGroupRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Creates a new MediaPackage VOD PackagingGroup resource.
This is a convenience which creates an instance of the
CreatePackagingGroupRequest.Builderavoiding the need to create one manually viaCreatePackagingGroupRequest.builder()- Parameters:
createPackagingGroupRequest- AConsumerthat will call methods onCreatePackagingGroupRequest.Builderto create a request. A new MediaPackage VOD PackagingGroup resource configuration.- Returns:
- Result of the CreatePackagingGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAsset
default DeleteAssetResponse deleteAsset(DeleteAssetRequest deleteAssetRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Deletes an existing MediaPackage VOD Asset resource.- Parameters:
deleteAssetRequest-- Returns:
- Result of the DeleteAsset operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAsset
default DeleteAssetResponse deleteAsset(Consumer<DeleteAssetRequest.Builder> deleteAssetRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Deletes an existing MediaPackage VOD Asset resource.
This is a convenience which creates an instance of the
DeleteAssetRequest.Builderavoiding the need to create one manually viaDeleteAssetRequest.builder()- Parameters:
deleteAssetRequest- AConsumerthat will call methods onDeleteAssetRequest.Builderto create a request.- Returns:
- Result of the DeleteAsset operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deletePackagingConfiguration
default DeletePackagingConfigurationResponse deletePackagingConfiguration(DeletePackagingConfigurationRequest deletePackagingConfigurationRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Deletes a MediaPackage VOD PackagingConfiguration resource.- Parameters:
deletePackagingConfigurationRequest-- Returns:
- Result of the DeletePackagingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deletePackagingConfiguration
default DeletePackagingConfigurationResponse deletePackagingConfiguration(Consumer<DeletePackagingConfigurationRequest.Builder> deletePackagingConfigurationRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Deletes a MediaPackage VOD PackagingConfiguration resource.
This is a convenience which creates an instance of the
DeletePackagingConfigurationRequest.Builderavoiding the need to create one manually viaDeletePackagingConfigurationRequest.builder()- Parameters:
deletePackagingConfigurationRequest- AConsumerthat will call methods onDeletePackagingConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeletePackagingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deletePackagingGroup
default DeletePackagingGroupResponse deletePackagingGroup(DeletePackagingGroupRequest deletePackagingGroupRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Deletes a MediaPackage VOD PackagingGroup resource.- Parameters:
deletePackagingGroupRequest-- Returns:
- Result of the DeletePackagingGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deletePackagingGroup
default DeletePackagingGroupResponse deletePackagingGroup(Consumer<DeletePackagingGroupRequest.Builder> deletePackagingGroupRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Deletes a MediaPackage VOD PackagingGroup resource.
This is a convenience which creates an instance of the
DeletePackagingGroupRequest.Builderavoiding the need to create one manually viaDeletePackagingGroupRequest.builder()- Parameters:
deletePackagingGroupRequest- AConsumerthat will call methods onDeletePackagingGroupRequest.Builderto create a request.- Returns:
- Result of the DeletePackagingGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeAsset
default DescribeAssetResponse describeAsset(DescribeAssetRequest describeAssetRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Returns a description of a MediaPackage VOD Asset resource.- Parameters:
describeAssetRequest-- Returns:
- Result of the DescribeAsset operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describeAsset
default DescribeAssetResponse describeAsset(Consumer<DescribeAssetRequest.Builder> describeAssetRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Returns a description of a MediaPackage VOD Asset resource.
This is a convenience which creates an instance of the
DescribeAssetRequest.Builderavoiding the need to create one manually viaDescribeAssetRequest.builder()- Parameters:
describeAssetRequest- AConsumerthat will call methods onDescribeAssetRequest.Builderto create a request.- Returns:
- Result of the DescribeAsset operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describePackagingConfiguration
default DescribePackagingConfigurationResponse describePackagingConfiguration(DescribePackagingConfigurationRequest describePackagingConfigurationRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Returns a description of a MediaPackage VOD PackagingConfiguration resource.- Parameters:
describePackagingConfigurationRequest-- Returns:
- Result of the DescribePackagingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describePackagingConfiguration
default DescribePackagingConfigurationResponse describePackagingConfiguration(Consumer<DescribePackagingConfigurationRequest.Builder> describePackagingConfigurationRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Returns a description of a MediaPackage VOD PackagingConfiguration resource.
This is a convenience which creates an instance of the
DescribePackagingConfigurationRequest.Builderavoiding the need to create one manually viaDescribePackagingConfigurationRequest.builder()- Parameters:
describePackagingConfigurationRequest- AConsumerthat will call methods onDescribePackagingConfigurationRequest.Builderto create a request.- Returns:
- Result of the DescribePackagingConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describePackagingGroup
default DescribePackagingGroupResponse describePackagingGroup(DescribePackagingGroupRequest describePackagingGroupRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Returns a description of a MediaPackage VOD PackagingGroup resource.- Parameters:
describePackagingGroupRequest-- Returns:
- Result of the DescribePackagingGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
describePackagingGroup
default DescribePackagingGroupResponse describePackagingGroup(Consumer<DescribePackagingGroupRequest.Builder> describePackagingGroupRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Returns a description of a MediaPackage VOD PackagingGroup resource.
This is a convenience which creates an instance of the
DescribePackagingGroupRequest.Builderavoiding the need to create one manually viaDescribePackagingGroupRequest.builder()- Parameters:
describePackagingGroupRequest- AConsumerthat will call methods onDescribePackagingGroupRequest.Builderto create a request.- Returns:
- Result of the DescribePackagingGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssets
default ListAssetsResponse listAssets(ListAssetsRequest listAssetsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Returns a collection of MediaPackage VOD Asset resources.- Parameters:
listAssetsRequest-- Returns:
- Result of the ListAssets operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssets
default ListAssetsResponse listAssets(Consumer<ListAssetsRequest.Builder> listAssetsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Returns a collection of MediaPackage VOD Asset resources.
This is a convenience which creates an instance of the
ListAssetsRequest.Builderavoiding the need to create one manually viaListAssetsRequest.builder()- Parameters:
listAssetsRequest- AConsumerthat will call methods onListAssetsRequest.Builderto create a request.- Returns:
- Result of the ListAssets operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssetsPaginator
default ListAssetsIterable listAssetsPaginator(ListAssetsRequest listAssetsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a variant of
listAssets(software.amazon.awssdk.services.mediapackagevod.model.ListAssetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediapackagevod.paginators.ListAssetsIterable responses = client.listAssetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediapackagevod.paginators.ListAssetsIterable responses = client.listAssetsPaginator(request); for (software.amazon.awssdk.services.mediapackagevod.model.ListAssetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediapackagevod.paginators.ListAssetsIterable responses = client.listAssetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssets(software.amazon.awssdk.services.mediapackagevod.model.ListAssetsRequest)operation.- Parameters:
listAssetsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAssetsPaginator
default ListAssetsIterable listAssetsPaginator(Consumer<ListAssetsRequest.Builder> listAssetsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a variant of
listAssets(software.amazon.awssdk.services.mediapackagevod.model.ListAssetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediapackagevod.paginators.ListAssetsIterable responses = client.listAssetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediapackagevod.paginators.ListAssetsIterable responses = client.listAssetsPaginator(request); for (software.amazon.awssdk.services.mediapackagevod.model.ListAssetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediapackagevod.paginators.ListAssetsIterable responses = client.listAssetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssets(software.amazon.awssdk.services.mediapackagevod.model.ListAssetsRequest)operation.
This is a convenience which creates an instance of the
ListAssetsRequest.Builderavoiding the need to create one manually viaListAssetsRequest.builder()- Parameters:
listAssetsRequest- AConsumerthat will call methods onListAssetsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPackagingConfigurations
default ListPackagingConfigurationsResponse listPackagingConfigurations(ListPackagingConfigurationsRequest listPackagingConfigurationsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Returns a collection of MediaPackage VOD PackagingConfiguration resources.- Parameters:
listPackagingConfigurationsRequest-- Returns:
- Result of the ListPackagingConfigurations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPackagingConfigurations
default ListPackagingConfigurationsResponse listPackagingConfigurations(Consumer<ListPackagingConfigurationsRequest.Builder> listPackagingConfigurationsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Returns a collection of MediaPackage VOD PackagingConfiguration resources.
This is a convenience which creates an instance of the
ListPackagingConfigurationsRequest.Builderavoiding the need to create one manually viaListPackagingConfigurationsRequest.builder()- Parameters:
listPackagingConfigurationsRequest- AConsumerthat will call methods onListPackagingConfigurationsRequest.Builderto create a request.- Returns:
- Result of the ListPackagingConfigurations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPackagingConfigurationsPaginator
default ListPackagingConfigurationsIterable listPackagingConfigurationsPaginator(ListPackagingConfigurationsRequest listPackagingConfigurationsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a variant of
listPackagingConfigurations(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingConfigurationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingConfigurationsIterable responses = client.listPackagingConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingConfigurationsIterable responses = client .listPackagingConfigurationsPaginator(request); for (software.amazon.awssdk.services.mediapackagevod.model.ListPackagingConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingConfigurationsIterable responses = client.listPackagingConfigurationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPackagingConfigurations(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingConfigurationsRequest)operation.- Parameters:
listPackagingConfigurationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPackagingConfigurationsPaginator
default ListPackagingConfigurationsIterable listPackagingConfigurationsPaginator(Consumer<ListPackagingConfigurationsRequest.Builder> listPackagingConfigurationsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a variant of
listPackagingConfigurations(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingConfigurationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingConfigurationsIterable responses = client.listPackagingConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingConfigurationsIterable responses = client .listPackagingConfigurationsPaginator(request); for (software.amazon.awssdk.services.mediapackagevod.model.ListPackagingConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingConfigurationsIterable responses = client.listPackagingConfigurationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPackagingConfigurations(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingConfigurationsRequest)operation.
This is a convenience which creates an instance of the
ListPackagingConfigurationsRequest.Builderavoiding the need to create one manually viaListPackagingConfigurationsRequest.builder()- Parameters:
listPackagingConfigurationsRequest- AConsumerthat will call methods onListPackagingConfigurationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPackagingGroups
default ListPackagingGroupsResponse listPackagingGroups(ListPackagingGroupsRequest listPackagingGroupsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Returns a collection of MediaPackage VOD PackagingGroup resources.- Parameters:
listPackagingGroupsRequest-- Returns:
- Result of the ListPackagingGroups operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPackagingGroups
default ListPackagingGroupsResponse listPackagingGroups(Consumer<ListPackagingGroupsRequest.Builder> listPackagingGroupsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
Returns a collection of MediaPackage VOD PackagingGroup resources.
This is a convenience which creates an instance of the
ListPackagingGroupsRequest.Builderavoiding the need to create one manually viaListPackagingGroupsRequest.builder()- Parameters:
listPackagingGroupsRequest- AConsumerthat will call methods onListPackagingGroupsRequest.Builderto create a request.- Returns:
- Result of the ListPackagingGroups operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPackagingGroupsPaginator
default ListPackagingGroupsIterable listPackagingGroupsPaginator(ListPackagingGroupsRequest listPackagingGroupsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a variant of
listPackagingGroups(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingGroupsIterable responses = client.listPackagingGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingGroupsIterable responses = client .listPackagingGroupsPaginator(request); for (software.amazon.awssdk.services.mediapackagevod.model.ListPackagingGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingGroupsIterable responses = client.listPackagingGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPackagingGroups(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingGroupsRequest)operation.- Parameters:
listPackagingGroupsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPackagingGroupsPaginator
default ListPackagingGroupsIterable listPackagingGroupsPaginator(Consumer<ListPackagingGroupsRequest.Builder> listPackagingGroupsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a variant of
listPackagingGroups(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingGroupsIterable responses = client.listPackagingGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingGroupsIterable responses = client .listPackagingGroupsPaginator(request); for (software.amazon.awssdk.services.mediapackagevod.model.ListPackagingGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingGroupsIterable responses = client.listPackagingGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPackagingGroups(software.amazon.awssdk.services.mediapackagevod.model.ListPackagingGroupsRequest)operation.
This is a convenience which creates an instance of the
ListPackagingGroupsRequest.Builderavoiding the need to create one manually viaListPackagingGroupsRequest.builder()- Parameters:
listPackagingGroupsRequest- AConsumerthat will call methods onListPackagingGroupsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageVodException
Returns a list of the tags assigned to the specified resource.- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageVodException
Returns a list of the tags assigned to the specified resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageVodException
Adds tags to the specified resource. You can specify one or more tags to add.- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageVodException
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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageVodException
Removes tags from the specified resource. You can specify one or more tags to remove.- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageVodException
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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updatePackagingGroup
default UpdatePackagingGroupResponse updatePackagingGroup(UpdatePackagingGroupRequest updatePackagingGroupRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
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:
- Result of the UpdatePackagingGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updatePackagingGroup
default UpdatePackagingGroupResponse updatePackagingGroup(Consumer<UpdatePackagingGroupRequest.Builder> updatePackagingGroupRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
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.Builderavoiding the need to create one manually viaUpdatePackagingGroupRequest.builder()- Parameters:
updatePackagingGroupRequest- AConsumerthat will call methods onUpdatePackagingGroupRequest.Builderto create a request. A MediaPackage VOD PackagingGroup resource configuration.- Returns:
- Result of the UpdatePackagingGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
create
static MediaPackageVodClient create()
Create aMediaPackageVodClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static MediaPackageVodClientBuilder builder()
Create a builder that can be used to configure and create aMediaPackageVodClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default MediaPackageVodServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-