@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface MediaPackageVodClient extends AwsClient
builder() method.
AWS Elemental MediaPackage VOD| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static MediaPackageVodClientBuilder |
builder()
Create a builder that can be used to configure and create a
MediaPackageVodClient. |
default ConfigureLogsResponse |
configureLogs(ConfigureLogsRequest configureLogsRequest)
Changes the packaging group's properities to configure log subscription
|
default ConfigureLogsResponse |
configureLogs(Consumer<ConfigureLogsRequest.Builder> configureLogsRequest)
Changes the packaging group's properities to configure log subscription
|
static MediaPackageVodClient |
create()
Create a
MediaPackageVodClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateAssetResponse |
createAsset(Consumer<CreateAssetRequest.Builder> createAssetRequest)
Creates a new MediaPackage VOD Asset resource.
|
default CreateAssetResponse |
createAsset(CreateAssetRequest createAssetRequest)
Creates a new MediaPackage VOD Asset resource.
|
default CreatePackagingConfigurationResponse |
createPackagingConfiguration(Consumer<CreatePackagingConfigurationRequest.Builder> createPackagingConfigurationRequest)
Creates a new MediaPackage VOD PackagingConfiguration resource.
|
default CreatePackagingConfigurationResponse |
createPackagingConfiguration(CreatePackagingConfigurationRequest createPackagingConfigurationRequest)
Creates a new MediaPackage VOD PackagingConfiguration resource.
|
default CreatePackagingGroupResponse |
createPackagingGroup(Consumer<CreatePackagingGroupRequest.Builder> createPackagingGroupRequest)
Creates a new MediaPackage VOD PackagingGroup resource.
|
default CreatePackagingGroupResponse |
createPackagingGroup(CreatePackagingGroupRequest createPackagingGroupRequest)
Creates a new MediaPackage VOD PackagingGroup resource.
|
default DeleteAssetResponse |
deleteAsset(Consumer<DeleteAssetRequest.Builder> deleteAssetRequest)
Deletes an existing MediaPackage VOD Asset resource.
|
default DeleteAssetResponse |
deleteAsset(DeleteAssetRequest deleteAssetRequest)
Deletes an existing MediaPackage VOD Asset resource.
|
default DeletePackagingConfigurationResponse |
deletePackagingConfiguration(Consumer<DeletePackagingConfigurationRequest.Builder> deletePackagingConfigurationRequest)
Deletes a MediaPackage VOD PackagingConfiguration resource.
|
default DeletePackagingConfigurationResponse |
deletePackagingConfiguration(DeletePackagingConfigurationRequest deletePackagingConfigurationRequest)
Deletes a MediaPackage VOD PackagingConfiguration resource.
|
default DeletePackagingGroupResponse |
deletePackagingGroup(Consumer<DeletePackagingGroupRequest.Builder> deletePackagingGroupRequest)
Deletes a MediaPackage VOD PackagingGroup resource.
|
default DeletePackagingGroupResponse |
deletePackagingGroup(DeletePackagingGroupRequest deletePackagingGroupRequest)
Deletes a MediaPackage VOD PackagingGroup resource.
|
default DescribeAssetResponse |
describeAsset(Consumer<DescribeAssetRequest.Builder> describeAssetRequest)
Returns a description of a MediaPackage VOD Asset resource.
|
default DescribeAssetResponse |
describeAsset(DescribeAssetRequest describeAssetRequest)
Returns a description of a MediaPackage VOD Asset resource.
|
default DescribePackagingConfigurationResponse |
describePackagingConfiguration(Consumer<DescribePackagingConfigurationRequest.Builder> describePackagingConfigurationRequest)
Returns a description of a MediaPackage VOD PackagingConfiguration resource.
|
default DescribePackagingConfigurationResponse |
describePackagingConfiguration(DescribePackagingConfigurationRequest describePackagingConfigurationRequest)
Returns a description of a MediaPackage VOD PackagingConfiguration resource.
|
default DescribePackagingGroupResponse |
describePackagingGroup(Consumer<DescribePackagingGroupRequest.Builder> describePackagingGroupRequest)
Returns a description of a MediaPackage VOD PackagingGroup resource.
|
default DescribePackagingGroupResponse |
describePackagingGroup(DescribePackagingGroupRequest describePackagingGroupRequest)
Returns a description of a MediaPackage VOD PackagingGroup resource.
|
default ListAssetsResponse |
listAssets(Consumer<ListAssetsRequest.Builder> listAssetsRequest)
Returns a collection of MediaPackage VOD Asset resources.
|
default ListAssetsResponse |
listAssets(ListAssetsRequest listAssetsRequest)
Returns a collection of MediaPackage VOD Asset resources.
|
default ListAssetsIterable |
listAssetsPaginator(Consumer<ListAssetsRequest.Builder> listAssetsRequest)
Returns a collection of MediaPackage VOD Asset resources.
|
default ListAssetsIterable |
listAssetsPaginator(ListAssetsRequest listAssetsRequest)
Returns a collection of MediaPackage VOD Asset resources.
|
default ListPackagingConfigurationsResponse |
listPackagingConfigurations(Consumer<ListPackagingConfigurationsRequest.Builder> listPackagingConfigurationsRequest)
Returns a collection of MediaPackage VOD PackagingConfiguration resources.
|
default ListPackagingConfigurationsResponse |
listPackagingConfigurations(ListPackagingConfigurationsRequest listPackagingConfigurationsRequest)
Returns a collection of MediaPackage VOD PackagingConfiguration resources.
|
default ListPackagingConfigurationsIterable |
listPackagingConfigurationsPaginator(Consumer<ListPackagingConfigurationsRequest.Builder> listPackagingConfigurationsRequest)
Returns a collection of MediaPackage VOD PackagingConfiguration resources.
|
default ListPackagingConfigurationsIterable |
listPackagingConfigurationsPaginator(ListPackagingConfigurationsRequest listPackagingConfigurationsRequest)
Returns a collection of MediaPackage VOD PackagingConfiguration resources.
|
default ListPackagingGroupsResponse |
listPackagingGroups(Consumer<ListPackagingGroupsRequest.Builder> listPackagingGroupsRequest)
Returns a collection of MediaPackage VOD PackagingGroup resources.
|
default ListPackagingGroupsResponse |
listPackagingGroups(ListPackagingGroupsRequest listPackagingGroupsRequest)
Returns a collection of MediaPackage VOD PackagingGroup resources.
|
default ListPackagingGroupsIterable |
listPackagingGroupsPaginator(Consumer<ListPackagingGroupsRequest.Builder> listPackagingGroupsRequest)
Returns a collection of MediaPackage VOD PackagingGroup resources.
|
default ListPackagingGroupsIterable |
listPackagingGroupsPaginator(ListPackagingGroupsRequest listPackagingGroupsRequest)
Returns a collection of MediaPackage VOD PackagingGroup resources.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Returns a list of the tags assigned to the specified resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of the tags assigned to the specified resource.
|
default MediaPackageVodServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds tags to the specified resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds tags to the specified resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from the specified resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from the specified resource.
|
default UpdatePackagingGroupResponse |
updatePackagingGroup(Consumer<UpdatePackagingGroupRequest.Builder> updatePackagingGroupRequest)
Updates a specific packaging group.
|
default UpdatePackagingGroupResponse |
updatePackagingGroup(UpdatePackagingGroupRequest updatePackagingGroupRequest)
Updates a specific packaging group.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default ConfigureLogsResponse configureLogs(ConfigureLogsRequest configureLogsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
configureLogsRequest - The option to configure log subscription.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.AwsServiceExceptiondefault ConfigureLogsResponse configureLogs(Consumer<ConfigureLogsRequest.Builder> configureLogsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the ConfigureLogsRequest.Builder avoiding the need to
create one manually via ConfigureLogsRequest.builder()
configureLogsRequest - A Consumer that will call methods on
ConfigureLogsRequest.Builder to create a
request. The option to configure log subscription.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.AwsServiceExceptiondefault CreateAssetResponse createAsset(CreateAssetRequest createAssetRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
createAssetRequest - A new MediaPackage VOD Asset configuration.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.AwsServiceExceptiondefault CreateAssetResponse createAsset(Consumer<CreateAssetRequest.Builder> createAssetRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the CreateAssetRequest.Builder avoiding the need to
create one manually via CreateAssetRequest.builder()
createAssetRequest - A Consumer that will call methods on
CreateAssetRequest.Builder to create a
request. A new MediaPackage VOD Asset configuration.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.AwsServiceExceptiondefault CreatePackagingConfigurationResponse createPackagingConfiguration(CreatePackagingConfigurationRequest createPackagingConfigurationRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
createPackagingConfigurationRequest - A new MediaPackage VOD PackagingConfiguration resource configuration.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.AwsServiceExceptiondefault CreatePackagingConfigurationResponse createPackagingConfiguration(Consumer<CreatePackagingConfigurationRequest.Builder> createPackagingConfigurationRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the CreatePackagingConfigurationRequest.Builder
avoiding the need to create one manually via CreatePackagingConfigurationRequest.builder()
createPackagingConfigurationRequest - A Consumer that will call methods on
CreatePackagingConfigurationRequest.Builder
to create a request. A new MediaPackage VOD PackagingConfiguration resource configuration.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.AwsServiceExceptiondefault CreatePackagingGroupResponse createPackagingGroup(CreatePackagingGroupRequest createPackagingGroupRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
createPackagingGroupRequest - A new MediaPackage VOD PackagingGroup resource configuration.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.AwsServiceExceptiondefault CreatePackagingGroupResponse createPackagingGroup(Consumer<CreatePackagingGroupRequest.Builder> createPackagingGroupRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the CreatePackagingGroupRequest.Builder avoiding the
need to create one manually via CreatePackagingGroupRequest.builder()
createPackagingGroupRequest - A Consumer that will call methods on
CreatePackagingGroupRequest.Builder to
create a request. A new MediaPackage VOD PackagingGroup resource configuration.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.AwsServiceExceptiondefault DeleteAssetResponse deleteAsset(DeleteAssetRequest deleteAssetRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
deleteAssetRequest - 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.AwsServiceExceptiondefault DeleteAssetResponse deleteAsset(Consumer<DeleteAssetRequest.Builder> deleteAssetRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the DeleteAssetRequest.Builder avoiding the need to
create one manually via DeleteAssetRequest.builder()
deleteAssetRequest - A Consumer that will call methods on
DeleteAssetRequest.Builder to create a
request.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.AwsServiceExceptiondefault DeletePackagingConfigurationResponse deletePackagingConfiguration(DeletePackagingConfigurationRequest deletePackagingConfigurationRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
deletePackagingConfigurationRequest - 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.AwsServiceExceptiondefault DeletePackagingConfigurationResponse deletePackagingConfiguration(Consumer<DeletePackagingConfigurationRequest.Builder> deletePackagingConfigurationRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the DeletePackagingConfigurationRequest.Builder
avoiding the need to create one manually via DeletePackagingConfigurationRequest.builder()
deletePackagingConfigurationRequest - A Consumer that will call methods on
DeletePackagingConfigurationRequest.Builder
to create a request.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.AwsServiceExceptiondefault DeletePackagingGroupResponse deletePackagingGroup(DeletePackagingGroupRequest deletePackagingGroupRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
deletePackagingGroupRequest - 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.AwsServiceExceptiondefault DeletePackagingGroupResponse deletePackagingGroup(Consumer<DeletePackagingGroupRequest.Builder> deletePackagingGroupRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the DeletePackagingGroupRequest.Builder avoiding the
need to create one manually via DeletePackagingGroupRequest.builder()
deletePackagingGroupRequest - A Consumer that will call methods on
DeletePackagingGroupRequest.Builder to
create a request.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.AwsServiceExceptiondefault DescribeAssetResponse describeAsset(DescribeAssetRequest describeAssetRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
describeAssetRequest - 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.AwsServiceExceptiondefault DescribeAssetResponse describeAsset(Consumer<DescribeAssetRequest.Builder> describeAssetRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the DescribeAssetRequest.Builder avoiding the need to
create one manually via DescribeAssetRequest.builder()
describeAssetRequest - A Consumer that will call methods on
DescribeAssetRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribePackagingConfigurationResponse describePackagingConfiguration(DescribePackagingConfigurationRequest describePackagingConfigurationRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
describePackagingConfigurationRequest - 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.AwsServiceExceptiondefault DescribePackagingConfigurationResponse describePackagingConfiguration(Consumer<DescribePackagingConfigurationRequest.Builder> describePackagingConfigurationRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the DescribePackagingConfigurationRequest.Builder
avoiding the need to create one manually via DescribePackagingConfigurationRequest.builder()
describePackagingConfigurationRequest - A Consumer that will call methods on
DescribePackagingConfigurationRequest.Builder
to create a request.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.AwsServiceExceptiondefault DescribePackagingGroupResponse describePackagingGroup(DescribePackagingGroupRequest describePackagingGroupRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
describePackagingGroupRequest - 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.AwsServiceExceptiondefault DescribePackagingGroupResponse describePackagingGroup(Consumer<DescribePackagingGroupRequest.Builder> describePackagingGroupRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the DescribePackagingGroupRequest.Builder avoiding the
need to create one manually via DescribePackagingGroupRequest.builder()
describePackagingGroupRequest - A Consumer that will call methods on
DescribePackagingGroupRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListAssetsResponse listAssets(ListAssetsRequest listAssetsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
listAssetsRequest - 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.AwsServiceExceptiondefault ListAssetsResponse listAssets(Consumer<ListAssetsRequest.Builder> listAssetsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the ListAssetsRequest.Builder avoiding the need to
create one manually via ListAssetsRequest.builder()
listAssetsRequest - A Consumer that will call methods on
ListAssetsRequest.Builder to create a
request.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.AwsServiceExceptiondefault 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
software.amazon.awssdk.services.mediapackagevod.paginators.ListAssetsIterable responses = client.listAssetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listAssetsRequest - 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.AwsServiceExceptiondefault 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
software.amazon.awssdk.services.mediapackagevod.paginators.ListAssetsIterable responses = client.listAssetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder avoiding the need to
create one manually via ListAssetsRequest.builder()
listAssetsRequest - A Consumer that will call methods on
ListAssetsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListPackagingConfigurationsResponse listPackagingConfigurations(ListPackagingConfigurationsRequest listPackagingConfigurationsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
listPackagingConfigurationsRequest - 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.AwsServiceExceptiondefault ListPackagingConfigurationsResponse listPackagingConfigurations(Consumer<ListPackagingConfigurationsRequest.Builder> listPackagingConfigurationsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the ListPackagingConfigurationsRequest.Builder
avoiding the need to create one manually via ListPackagingConfigurationsRequest.builder()
listPackagingConfigurationsRequest - A Consumer that will call methods on
ListPackagingConfigurationsRequest.Builder
to create a request.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.AwsServiceExceptiondefault 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
software.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingConfigurationsIterable responses = client.listPackagingConfigurationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listPackagingConfigurationsRequest - 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.AwsServiceExceptiondefault 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
software.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingConfigurationsIterable responses = client.listPackagingConfigurationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder
avoiding the need to create one manually via ListPackagingConfigurationsRequest.builder()
listPackagingConfigurationsRequest - A Consumer that will call methods on
ListPackagingConfigurationsRequest.Builder
to create a request.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.AwsServiceExceptiondefault ListPackagingGroupsResponse listPackagingGroups(ListPackagingGroupsRequest listPackagingGroupsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
listPackagingGroupsRequest - 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.AwsServiceExceptiondefault ListPackagingGroupsResponse listPackagingGroups(Consumer<ListPackagingGroupsRequest.Builder> listPackagingGroupsRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the ListPackagingGroupsRequest.Builder avoiding the
need to create one manually via ListPackagingGroupsRequest.builder()
listPackagingGroupsRequest - A Consumer that will call methods on
ListPackagingGroupsRequest.Builder to create
a request.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.AwsServiceExceptiondefault 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
software.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingGroupsIterable responses = client.listPackagingGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listPackagingGroupsRequest - 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.AwsServiceExceptiondefault 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
software.amazon.awssdk.services.mediapackagevod.paginators.ListPackagingGroupsIterable responses = client.listPackagingGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.Builder avoiding the
need to create one manually via ListPackagingGroupsRequest.builder()
listPackagingGroupsRequest - A Consumer that will call methods on
ListPackagingGroupsRequest.Builder to create
a request.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.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageVodException
listTagsForResourceRequest - 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.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on
ListTagsForResourceRequest.Builder to create
a request.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.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageVodException
tagResourceRequest - 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.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on
TagResourceRequest.Builder to create a
request.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.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageVodException
untagResourceRequest - 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.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on
UntagResourceRequest.Builder to create a
request.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.AwsServiceExceptiondefault UpdatePackagingGroupResponse updatePackagingGroup(UpdatePackagingGroupRequest updatePackagingGroupRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
updatePackagingGroupRequest - A MediaPackage VOD PackagingGroup resource configuration.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.AwsServiceExceptiondefault UpdatePackagingGroupResponse updatePackagingGroup(Consumer<UpdatePackagingGroupRequest.Builder> updatePackagingGroupRequest) throws UnprocessableEntityException, InternalServerErrorException, ForbiddenException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, AwsServiceException, SdkClientException, MediaPackageVodException
This is a convenience which creates an instance of the UpdatePackagingGroupRequest.Builder avoiding the
need to create one manually via UpdatePackagingGroupRequest.builder()
updatePackagingGroupRequest - A Consumer that will call methods on
UpdatePackagingGroupRequest.Builder to
create a request. A MediaPackage VOD PackagingGroup resource configuration.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.AwsServiceExceptionstatic MediaPackageVodClient create()
MediaPackageVodClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static MediaPackageVodClientBuilder builder()
MediaPackageVodClient.static ServiceMetadata serviceMetadata()
default MediaPackageVodServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.