@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface MediaTailorClient extends SdkClient
builder() method.
Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels. With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the AWS Elemental MediaTailor User Guide.
Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).
| 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 MediaTailorClientBuilder |
builder()
Create a builder that can be used to configure and create a
MediaTailorClient. |
static MediaTailorClient |
create()
Create a
MediaTailorClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateChannelResponse |
createChannel(Consumer<CreateChannelRequest.Builder> createChannelRequest)
Creates a channel.
|
default CreateChannelResponse |
createChannel(CreateChannelRequest createChannelRequest)
Creates a channel.
|
default CreateProgramResponse |
createProgram(Consumer<CreateProgramRequest.Builder> createProgramRequest)
Creates a program.
|
default CreateProgramResponse |
createProgram(CreateProgramRequest createProgramRequest)
Creates a program.
|
default CreateSourceLocationResponse |
createSourceLocation(Consumer<CreateSourceLocationRequest.Builder> createSourceLocationRequest)
Creates a source location on a specific channel.
|
default CreateSourceLocationResponse |
createSourceLocation(CreateSourceLocationRequest createSourceLocationRequest)
Creates a source location on a specific channel.
|
default CreateVodSourceResponse |
createVodSource(Consumer<CreateVodSourceRequest.Builder> createVodSourceRequest)
Creates name for a specific VOD source in a source location.
|
default CreateVodSourceResponse |
createVodSource(CreateVodSourceRequest createVodSourceRequest)
Creates name for a specific VOD source in a source location.
|
default DeleteChannelResponse |
deleteChannel(Consumer<DeleteChannelRequest.Builder> deleteChannelRequest)
Deletes a channel.
|
default DeleteChannelResponse |
deleteChannel(DeleteChannelRequest deleteChannelRequest)
Deletes a channel.
|
default DeleteChannelPolicyResponse |
deleteChannelPolicy(Consumer<DeleteChannelPolicyRequest.Builder> deleteChannelPolicyRequest)
Deletes a channel's IAM policy.
|
default DeleteChannelPolicyResponse |
deleteChannelPolicy(DeleteChannelPolicyRequest deleteChannelPolicyRequest)
Deletes a channel's IAM policy.
|
default DeletePlaybackConfigurationResponse |
deletePlaybackConfiguration(Consumer<DeletePlaybackConfigurationRequest.Builder> deletePlaybackConfigurationRequest)
Deletes the playback configuration for the specified name.
|
default DeletePlaybackConfigurationResponse |
deletePlaybackConfiguration(DeletePlaybackConfigurationRequest deletePlaybackConfigurationRequest)
Deletes the playback configuration for the specified name.
|
default DeleteProgramResponse |
deleteProgram(Consumer<DeleteProgramRequest.Builder> deleteProgramRequest)
Deletes a specific program on a specific channel.
|
default DeleteProgramResponse |
deleteProgram(DeleteProgramRequest deleteProgramRequest)
Deletes a specific program on a specific channel.
|
default DeleteSourceLocationResponse |
deleteSourceLocation(Consumer<DeleteSourceLocationRequest.Builder> deleteSourceLocationRequest)
Deletes a source location on a specific channel.
|
default DeleteSourceLocationResponse |
deleteSourceLocation(DeleteSourceLocationRequest deleteSourceLocationRequest)
Deletes a source location on a specific channel.
|
default DeleteVodSourceResponse |
deleteVodSource(Consumer<DeleteVodSourceRequest.Builder> deleteVodSourceRequest)
Deletes a specific VOD source in a specific source location.
|
default DeleteVodSourceResponse |
deleteVodSource(DeleteVodSourceRequest deleteVodSourceRequest)
Deletes a specific VOD source in a specific source location.
|
default DescribeChannelResponse |
describeChannel(Consumer<DescribeChannelRequest.Builder> describeChannelRequest)
Describes the properties of a specific channel.
|
default DescribeChannelResponse |
describeChannel(DescribeChannelRequest describeChannelRequest)
Describes the properties of a specific channel.
|
default DescribeProgramResponse |
describeProgram(Consumer<DescribeProgramRequest.Builder> describeProgramRequest)
Retrieves the properties of the requested program.
|
default DescribeProgramResponse |
describeProgram(DescribeProgramRequest describeProgramRequest)
Retrieves the properties of the requested program.
|
default DescribeSourceLocationResponse |
describeSourceLocation(Consumer<DescribeSourceLocationRequest.Builder> describeSourceLocationRequest)
Retrieves the properties of the requested source location.
|
default DescribeSourceLocationResponse |
describeSourceLocation(DescribeSourceLocationRequest describeSourceLocationRequest)
Retrieves the properties of the requested source location.
|
default DescribeVodSourceResponse |
describeVodSource(Consumer<DescribeVodSourceRequest.Builder> describeVodSourceRequest)
Provides details about a specific VOD source in a specific source location.
|
default DescribeVodSourceResponse |
describeVodSource(DescribeVodSourceRequest describeVodSourceRequest)
Provides details about a specific VOD source in a specific source location.
|
default GetChannelPolicyResponse |
getChannelPolicy(Consumer<GetChannelPolicyRequest.Builder> getChannelPolicyRequest)
Retrieves information about a channel's IAM policy.
|
default GetChannelPolicyResponse |
getChannelPolicy(GetChannelPolicyRequest getChannelPolicyRequest)
Retrieves information about a channel's IAM policy.
|
default GetChannelScheduleResponse |
getChannelSchedule(Consumer<GetChannelScheduleRequest.Builder> getChannelScheduleRequest)
Retrieves information about your channel's schedule.
|
default GetChannelScheduleResponse |
getChannelSchedule(GetChannelScheduleRequest getChannelScheduleRequest)
Retrieves information about your channel's schedule.
|
default GetChannelScheduleIterable |
getChannelSchedulePaginator(Consumer<GetChannelScheduleRequest.Builder> getChannelScheduleRequest)
Retrieves information about your channel's schedule.
|
default GetChannelScheduleIterable |
getChannelSchedulePaginator(GetChannelScheduleRequest getChannelScheduleRequest)
Retrieves information about your channel's schedule.
|
default GetPlaybackConfigurationResponse |
getPlaybackConfiguration(Consumer<GetPlaybackConfigurationRequest.Builder> getPlaybackConfigurationRequest)
Returns the playback configuration for the specified name.
|
default GetPlaybackConfigurationResponse |
getPlaybackConfiguration(GetPlaybackConfigurationRequest getPlaybackConfigurationRequest)
Returns the playback configuration for the specified name.
|
default ListAlertsResponse |
listAlerts(Consumer<ListAlertsRequest.Builder> listAlertsRequest)
Returns a list of alerts for the given resource.
|
default ListAlertsResponse |
listAlerts(ListAlertsRequest listAlertsRequest)
Returns a list of alerts for the given resource.
|
default ListAlertsIterable |
listAlertsPaginator(Consumer<ListAlertsRequest.Builder> listAlertsRequest)
Returns a list of alerts for the given resource.
|
default ListAlertsIterable |
listAlertsPaginator(ListAlertsRequest listAlertsRequest)
Returns a list of alerts for the given resource.
|
default ListChannelsResponse |
listChannels(Consumer<ListChannelsRequest.Builder> listChannelsRequest)
Retrieves a list of channels that are associated with this account.
|
default ListChannelsResponse |
listChannels(ListChannelsRequest listChannelsRequest)
Retrieves a list of channels that are associated with this account.
|
default ListChannelsIterable |
listChannelsPaginator(Consumer<ListChannelsRequest.Builder> listChannelsRequest)
Retrieves a list of channels that are associated with this account.
|
default ListChannelsIterable |
listChannelsPaginator(ListChannelsRequest listChannelsRequest)
Retrieves a list of channels that are associated with this account.
|
default ListPlaybackConfigurationsResponse |
listPlaybackConfigurations()
Returns a list of the playback configurations defined in AWS Elemental MediaTailor.
|
default ListPlaybackConfigurationsResponse |
listPlaybackConfigurations(Consumer<ListPlaybackConfigurationsRequest.Builder> listPlaybackConfigurationsRequest)
Returns a list of the playback configurations defined in AWS Elemental MediaTailor.
|
default ListPlaybackConfigurationsResponse |
listPlaybackConfigurations(ListPlaybackConfigurationsRequest listPlaybackConfigurationsRequest)
Returns a list of the playback configurations defined in AWS Elemental MediaTailor.
|
default ListPlaybackConfigurationsIterable |
listPlaybackConfigurationsPaginator()
Returns a list of the playback configurations defined in AWS Elemental MediaTailor.
|
default ListPlaybackConfigurationsIterable |
listPlaybackConfigurationsPaginator(Consumer<ListPlaybackConfigurationsRequest.Builder> listPlaybackConfigurationsRequest)
Returns a list of the playback configurations defined in AWS Elemental MediaTailor.
|
default ListPlaybackConfigurationsIterable |
listPlaybackConfigurationsPaginator(ListPlaybackConfigurationsRequest listPlaybackConfigurationsRequest)
Returns a list of the playback configurations defined in AWS Elemental MediaTailor.
|
default ListSourceLocationsResponse |
listSourceLocations(Consumer<ListSourceLocationsRequest.Builder> listSourceLocationsRequest)
Retrieves a list of source locations.
|
default ListSourceLocationsResponse |
listSourceLocations(ListSourceLocationsRequest listSourceLocationsRequest)
Retrieves a list of source locations.
|
default ListSourceLocationsIterable |
listSourceLocationsPaginator(Consumer<ListSourceLocationsRequest.Builder> listSourceLocationsRequest)
Retrieves a list of source locations.
|
default ListSourceLocationsIterable |
listSourceLocationsPaginator(ListSourceLocationsRequest listSourceLocationsRequest)
Retrieves a list of source locations.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Returns a list of the tags assigned to the specified playback configuration resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of the tags assigned to the specified playback configuration resource.
|
default ListVodSourcesResponse |
listVodSources(Consumer<ListVodSourcesRequest.Builder> listVodSourcesRequest)
Lists all the VOD sources in a source location.
|
default ListVodSourcesResponse |
listVodSources(ListVodSourcesRequest listVodSourcesRequest)
Lists all the VOD sources in a source location.
|
default ListVodSourcesIterable |
listVodSourcesPaginator(Consumer<ListVodSourcesRequest.Builder> listVodSourcesRequest)
Lists all the VOD sources in a source location.
|
default ListVodSourcesIterable |
listVodSourcesPaginator(ListVodSourcesRequest listVodSourcesRequest)
Lists all the VOD sources in a source location.
|
default PutChannelPolicyResponse |
putChannelPolicy(Consumer<PutChannelPolicyRequest.Builder> putChannelPolicyRequest)
Creates an IAM policy for the channel.
|
default PutChannelPolicyResponse |
putChannelPolicy(PutChannelPolicyRequest putChannelPolicyRequest)
Creates an IAM policy for the channel.
|
default PutPlaybackConfigurationResponse |
putPlaybackConfiguration(Consumer<PutPlaybackConfigurationRequest.Builder> putPlaybackConfigurationRequest)
Adds a new playback configuration to AWS Elemental MediaTailor.
|
default PutPlaybackConfigurationResponse |
putPlaybackConfiguration(PutPlaybackConfigurationRequest putPlaybackConfigurationRequest)
Adds a new playback configuration to AWS Elemental MediaTailor.
|
static ServiceMetadata |
serviceMetadata() |
default StartChannelResponse |
startChannel(Consumer<StartChannelRequest.Builder> startChannelRequest)
Starts a specific channel.
|
default StartChannelResponse |
startChannel(StartChannelRequest startChannelRequest)
Starts a specific channel.
|
default StopChannelResponse |
stopChannel(Consumer<StopChannelRequest.Builder> stopChannelRequest)
Stops a specific channel.
|
default StopChannelResponse |
stopChannel(StopChannelRequest stopChannelRequest)
Stops a specific channel.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds tags to the specified playback configuration resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds tags to the specified playback configuration resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from the specified playback configuration resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from the specified playback configuration resource.
|
default UpdateChannelResponse |
updateChannel(Consumer<UpdateChannelRequest.Builder> updateChannelRequest)
Updates an existing channel.
|
default UpdateChannelResponse |
updateChannel(UpdateChannelRequest updateChannelRequest)
Updates an existing channel.
|
default UpdateSourceLocationResponse |
updateSourceLocation(Consumer<UpdateSourceLocationRequest.Builder> updateSourceLocationRequest)
Updates a source location on a specific channel.
|
default UpdateSourceLocationResponse |
updateSourceLocation(UpdateSourceLocationRequest updateSourceLocationRequest)
Updates a source location on a specific channel.
|
default UpdateVodSourceResponse |
updateVodSource(Consumer<UpdateVodSourceRequest.Builder> updateVodSourceRequest)
Updates a specific VOD source in a specific source location.
|
default UpdateVodSourceResponse |
updateVodSource(UpdateVodSourceRequest updateVodSourceRequest)
Updates a specific VOD source in a specific source location.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static MediaTailorClient create()
MediaTailorClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static MediaTailorClientBuilder builder()
MediaTailorClient.default CreateChannelResponse createChannel(CreateChannelRequest createChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Creates a channel.
createChannelRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateChannelResponse createChannel(Consumer<CreateChannelRequest.Builder> createChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Creates a channel.
This is a convenience which creates an instance of the CreateChannelRequest.Builder avoiding the need to
create one manually via CreateChannelRequest.builder()
createChannelRequest - A Consumer that will call methods on CreateChannelRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateProgramResponse createProgram(CreateProgramRequest createProgramRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Creates a program.
createProgramRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateProgramResponse createProgram(Consumer<CreateProgramRequest.Builder> createProgramRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Creates a program.
This is a convenience which creates an instance of the CreateProgramRequest.Builder avoiding the need to
create one manually via CreateProgramRequest.builder()
createProgramRequest - A Consumer that will call methods on CreateProgramRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSourceLocationResponse createSourceLocation(CreateSourceLocationRequest createSourceLocationRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Creates a source location on a specific channel.
createSourceLocationRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSourceLocationResponse createSourceLocation(Consumer<CreateSourceLocationRequest.Builder> createSourceLocationRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Creates a source location on a specific channel.
This is a convenience which creates an instance of the CreateSourceLocationRequest.Builder avoiding the
need to create one manually via CreateSourceLocationRequest.builder()
createSourceLocationRequest - A Consumer that will call methods on CreateSourceLocationRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateVodSourceResponse createVodSource(CreateVodSourceRequest createVodSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Creates name for a specific VOD source in a source location.
createVodSourceRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateVodSourceResponse createVodSource(Consumer<CreateVodSourceRequest.Builder> createVodSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Creates name for a specific VOD source in a source location.
This is a convenience which creates an instance of the CreateVodSourceRequest.Builder avoiding the need
to create one manually via CreateVodSourceRequest.builder()
createVodSourceRequest - A Consumer that will call methods on CreateVodSourceRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteChannelResponse deleteChannel(DeleteChannelRequest deleteChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Deletes a channel. You must stop the channel before it can be deleted.
deleteChannelRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteChannelResponse deleteChannel(Consumer<DeleteChannelRequest.Builder> deleteChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Deletes a channel. You must stop the channel before it can be deleted.
This is a convenience which creates an instance of the DeleteChannelRequest.Builder avoiding the need to
create one manually via DeleteChannelRequest.builder()
deleteChannelRequest - A Consumer that will call methods on DeleteChannelRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteChannelPolicyResponse deleteChannelPolicy(DeleteChannelPolicyRequest deleteChannelPolicyRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Deletes a channel's IAM policy.
deleteChannelPolicyRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteChannelPolicyResponse deleteChannelPolicy(Consumer<DeleteChannelPolicyRequest.Builder> deleteChannelPolicyRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Deletes a channel's IAM policy.
This is a convenience which creates an instance of the DeleteChannelPolicyRequest.Builder avoiding the
need to create one manually via DeleteChannelPolicyRequest.builder()
deleteChannelPolicyRequest - A Consumer that will call methods on DeleteChannelPolicyRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeletePlaybackConfigurationResponse deletePlaybackConfiguration(DeletePlaybackConfigurationRequest deletePlaybackConfigurationRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Deletes the playback configuration for the specified name.
deletePlaybackConfigurationRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeletePlaybackConfigurationResponse deletePlaybackConfiguration(Consumer<DeletePlaybackConfigurationRequest.Builder> deletePlaybackConfigurationRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Deletes the playback configuration for the specified name.
This is a convenience which creates an instance of the DeletePlaybackConfigurationRequest.Builder
avoiding the need to create one manually via DeletePlaybackConfigurationRequest.builder()
deletePlaybackConfigurationRequest - A Consumer that will call methods on DeletePlaybackConfigurationRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteProgramResponse deleteProgram(DeleteProgramRequest deleteProgramRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Deletes a specific program on a specific channel.
deleteProgramRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteProgramResponse deleteProgram(Consumer<DeleteProgramRequest.Builder> deleteProgramRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Deletes a specific program on a specific channel.
This is a convenience which creates an instance of the DeleteProgramRequest.Builder avoiding the need to
create one manually via DeleteProgramRequest.builder()
deleteProgramRequest - A Consumer that will call methods on DeleteProgramRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSourceLocationResponse deleteSourceLocation(DeleteSourceLocationRequest deleteSourceLocationRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Deletes a source location on a specific channel.
deleteSourceLocationRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSourceLocationResponse deleteSourceLocation(Consumer<DeleteSourceLocationRequest.Builder> deleteSourceLocationRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Deletes a source location on a specific channel.
This is a convenience which creates an instance of the DeleteSourceLocationRequest.Builder avoiding the
need to create one manually via DeleteSourceLocationRequest.builder()
deleteSourceLocationRequest - A Consumer that will call methods on DeleteSourceLocationRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteVodSourceResponse deleteVodSource(DeleteVodSourceRequest deleteVodSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Deletes a specific VOD source in a specific source location.
deleteVodSourceRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteVodSourceResponse deleteVodSource(Consumer<DeleteVodSourceRequest.Builder> deleteVodSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Deletes a specific VOD source in a specific source location.
This is a convenience which creates an instance of the DeleteVodSourceRequest.Builder avoiding the need
to create one manually via DeleteVodSourceRequest.builder()
deleteVodSourceRequest - A Consumer that will call methods on DeleteVodSourceRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeChannelResponse describeChannel(DescribeChannelRequest describeChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Describes the properties of a specific channel.
describeChannelRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeChannelResponse describeChannel(Consumer<DescribeChannelRequest.Builder> describeChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Describes the properties of a specific channel.
This is a convenience which creates an instance of the DescribeChannelRequest.Builder avoiding the need
to create one manually via DescribeChannelRequest.builder()
describeChannelRequest - A Consumer that will call methods on DescribeChannelRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeProgramResponse describeProgram(DescribeProgramRequest describeProgramRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves the properties of the requested program.
describeProgramRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeProgramResponse describeProgram(Consumer<DescribeProgramRequest.Builder> describeProgramRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves the properties of the requested program.
This is a convenience which creates an instance of the DescribeProgramRequest.Builder avoiding the need
to create one manually via DescribeProgramRequest.builder()
describeProgramRequest - A Consumer that will call methods on DescribeProgramRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeSourceLocationResponse describeSourceLocation(DescribeSourceLocationRequest describeSourceLocationRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves the properties of the requested source location.
describeSourceLocationRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeSourceLocationResponse describeSourceLocation(Consumer<DescribeSourceLocationRequest.Builder> describeSourceLocationRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves the properties of the requested source location.
This is a convenience which creates an instance of the DescribeSourceLocationRequest.Builder avoiding the
need to create one manually via DescribeSourceLocationRequest.builder()
describeSourceLocationRequest - A Consumer that will call methods on DescribeSourceLocationRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeVodSourceResponse describeVodSource(DescribeVodSourceRequest describeVodSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Provides details about a specific VOD source in a specific source location.
describeVodSourceRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeVodSourceResponse describeVodSource(Consumer<DescribeVodSourceRequest.Builder> describeVodSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Provides details about a specific VOD source in a specific source location.
This is a convenience which creates an instance of the DescribeVodSourceRequest.Builder avoiding the need
to create one manually via DescribeVodSourceRequest.builder()
describeVodSourceRequest - A Consumer that will call methods on DescribeVodSourceRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetChannelPolicyResponse getChannelPolicy(GetChannelPolicyRequest getChannelPolicyRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves information about a channel's IAM policy.
getChannelPolicyRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetChannelPolicyResponse getChannelPolicy(Consumer<GetChannelPolicyRequest.Builder> getChannelPolicyRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves information about a channel's IAM policy.
This is a convenience which creates an instance of the GetChannelPolicyRequest.Builder avoiding the need
to create one manually via GetChannelPolicyRequest.builder()
getChannelPolicyRequest - A Consumer that will call methods on GetChannelPolicyRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetChannelScheduleResponse getChannelSchedule(GetChannelScheduleRequest getChannelScheduleRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves information about your channel's schedule.
getChannelScheduleRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetChannelScheduleResponse getChannelSchedule(Consumer<GetChannelScheduleRequest.Builder> getChannelScheduleRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves information about your channel's schedule.
This is a convenience which creates an instance of the GetChannelScheduleRequest.Builder avoiding the
need to create one manually via GetChannelScheduleRequest.builder()
getChannelScheduleRequest - A Consumer that will call methods on GetChannelScheduleRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetChannelScheduleIterable getChannelSchedulePaginator(GetChannelScheduleRequest getChannelScheduleRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves information about your channel's schedule.
This is a variant of
getChannelSchedule(software.amazon.awssdk.services.mediatailor.model.GetChannelScheduleRequest)
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.mediatailor.paginators.GetChannelScheduleIterable responses = client.getChannelSchedulePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediatailor.paginators.GetChannelScheduleIterable responses = client
.getChannelSchedulePaginator(request);
for (software.amazon.awssdk.services.mediatailor.model.GetChannelScheduleResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediatailor.paginators.GetChannelScheduleIterable responses = client.getChannelSchedulePaginator(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
getChannelSchedule(software.amazon.awssdk.services.mediatailor.model.GetChannelScheduleRequest)
operation.
getChannelScheduleRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetChannelScheduleIterable getChannelSchedulePaginator(Consumer<GetChannelScheduleRequest.Builder> getChannelScheduleRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves information about your channel's schedule.
This is a variant of
getChannelSchedule(software.amazon.awssdk.services.mediatailor.model.GetChannelScheduleRequest)
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.mediatailor.paginators.GetChannelScheduleIterable responses = client.getChannelSchedulePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediatailor.paginators.GetChannelScheduleIterable responses = client
.getChannelSchedulePaginator(request);
for (software.amazon.awssdk.services.mediatailor.model.GetChannelScheduleResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediatailor.paginators.GetChannelScheduleIterable responses = client.getChannelSchedulePaginator(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
getChannelSchedule(software.amazon.awssdk.services.mediatailor.model.GetChannelScheduleRequest)
operation.
This is a convenience which creates an instance of the GetChannelScheduleRequest.Builder avoiding the
need to create one manually via GetChannelScheduleRequest.builder()
getChannelScheduleRequest - A Consumer that will call methods on GetChannelScheduleRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPlaybackConfigurationResponse getPlaybackConfiguration(GetPlaybackConfigurationRequest getPlaybackConfigurationRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Returns the playback configuration for the specified name.
getPlaybackConfigurationRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPlaybackConfigurationResponse getPlaybackConfiguration(Consumer<GetPlaybackConfigurationRequest.Builder> getPlaybackConfigurationRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Returns the playback configuration for the specified name.
This is a convenience which creates an instance of the GetPlaybackConfigurationRequest.Builder avoiding
the need to create one manually via GetPlaybackConfigurationRequest.builder()
getPlaybackConfigurationRequest - A Consumer that will call methods on GetPlaybackConfigurationRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAlertsResponse listAlerts(ListAlertsRequest listAlertsRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Returns a list of alerts for the given resource.
listAlertsRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAlertsResponse listAlerts(Consumer<ListAlertsRequest.Builder> listAlertsRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Returns a list of alerts for the given resource.
This is a convenience which creates an instance of the ListAlertsRequest.Builder avoiding the need to
create one manually via ListAlertsRequest.builder()
listAlertsRequest - A Consumer that will call methods on ListAlertsRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAlertsIterable listAlertsPaginator(ListAlertsRequest listAlertsRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Returns a list of alerts for the given resource.
This is a variant of listAlerts(software.amazon.awssdk.services.mediatailor.model.ListAlertsRequest)
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.mediatailor.paginators.ListAlertsIterable responses = client.listAlertsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediatailor.paginators.ListAlertsIterable responses = client.listAlertsPaginator(request);
for (software.amazon.awssdk.services.mediatailor.model.ListAlertsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediatailor.paginators.ListAlertsIterable responses = client.listAlertsPaginator(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
listAlerts(software.amazon.awssdk.services.mediatailor.model.ListAlertsRequest) operation.
listAlertsRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAlertsIterable listAlertsPaginator(Consumer<ListAlertsRequest.Builder> listAlertsRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Returns a list of alerts for the given resource.
This is a variant of listAlerts(software.amazon.awssdk.services.mediatailor.model.ListAlertsRequest)
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.mediatailor.paginators.ListAlertsIterable responses = client.listAlertsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediatailor.paginators.ListAlertsIterable responses = client.listAlertsPaginator(request);
for (software.amazon.awssdk.services.mediatailor.model.ListAlertsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediatailor.paginators.ListAlertsIterable responses = client.listAlertsPaginator(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
listAlerts(software.amazon.awssdk.services.mediatailor.model.ListAlertsRequest) operation.
This is a convenience which creates an instance of the ListAlertsRequest.Builder avoiding the need to
create one manually via ListAlertsRequest.builder()
listAlertsRequest - A Consumer that will call methods on ListAlertsRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListChannelsResponse listChannels(ListChannelsRequest listChannelsRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves a list of channels that are associated with this account.
listChannelsRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListChannelsResponse listChannels(Consumer<ListChannelsRequest.Builder> listChannelsRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves a list of channels that are associated with this account.
This is a convenience which creates an instance of the ListChannelsRequest.Builder avoiding the need to
create one manually via ListChannelsRequest.builder()
listChannelsRequest - A Consumer that will call methods on ListChannelsRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListChannelsIterable listChannelsPaginator(ListChannelsRequest listChannelsRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves a list of channels that are associated with this account.
This is a variant of listChannels(software.amazon.awssdk.services.mediatailor.model.ListChannelsRequest)
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.mediatailor.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediatailor.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
for (software.amazon.awssdk.services.mediatailor.model.ListChannelsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediatailor.paginators.ListChannelsIterable responses = client.listChannelsPaginator(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
listChannels(software.amazon.awssdk.services.mediatailor.model.ListChannelsRequest) operation.
listChannelsRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListChannelsIterable listChannelsPaginator(Consumer<ListChannelsRequest.Builder> listChannelsRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves a list of channels that are associated with this account.
This is a variant of listChannels(software.amazon.awssdk.services.mediatailor.model.ListChannelsRequest)
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.mediatailor.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediatailor.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request);
for (software.amazon.awssdk.services.mediatailor.model.ListChannelsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediatailor.paginators.ListChannelsIterable responses = client.listChannelsPaginator(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
listChannels(software.amazon.awssdk.services.mediatailor.model.ListChannelsRequest) operation.
This is a convenience which creates an instance of the ListChannelsRequest.Builder avoiding the need to
create one manually via ListChannelsRequest.builder()
listChannelsRequest - A Consumer that will call methods on ListChannelsRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPlaybackConfigurationsResponse listPlaybackConfigurations() throws AwsServiceException, SdkClientException, MediaTailorException
Returns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.
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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistPlaybackConfigurations(ListPlaybackConfigurationsRequest),
AWS API Documentationdefault ListPlaybackConfigurationsResponse listPlaybackConfigurations(ListPlaybackConfigurationsRequest listPlaybackConfigurationsRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Returns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.
listPlaybackConfigurationsRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPlaybackConfigurationsResponse listPlaybackConfigurations(Consumer<ListPlaybackConfigurationsRequest.Builder> listPlaybackConfigurationsRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Returns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.
This is a convenience which creates an instance of the ListPlaybackConfigurationsRequest.Builder avoiding
the need to create one manually via ListPlaybackConfigurationsRequest.builder()
listPlaybackConfigurationsRequest - A Consumer that will call methods on ListPlaybackConfigurationsRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPlaybackConfigurationsIterable listPlaybackConfigurationsPaginator() throws AwsServiceException, SdkClientException, MediaTailorException
Returns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.
This is a variant of
listPlaybackConfigurations(software.amazon.awssdk.services.mediatailor.model.ListPlaybackConfigurationsRequest)
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.mediatailor.paginators.ListPlaybackConfigurationsIterable responses = client.listPlaybackConfigurationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediatailor.paginators.ListPlaybackConfigurationsIterable responses = client
.listPlaybackConfigurationsPaginator(request);
for (software.amazon.awssdk.services.mediatailor.model.ListPlaybackConfigurationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediatailor.paginators.ListPlaybackConfigurationsIterable responses = client.listPlaybackConfigurationsPaginator(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
listPlaybackConfigurations(software.amazon.awssdk.services.mediatailor.model.ListPlaybackConfigurationsRequest)
operation.
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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistPlaybackConfigurationsPaginator(ListPlaybackConfigurationsRequest),
AWS API Documentationdefault ListPlaybackConfigurationsIterable listPlaybackConfigurationsPaginator(ListPlaybackConfigurationsRequest listPlaybackConfigurationsRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Returns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.
This is a variant of
listPlaybackConfigurations(software.amazon.awssdk.services.mediatailor.model.ListPlaybackConfigurationsRequest)
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.mediatailor.paginators.ListPlaybackConfigurationsIterable responses = client.listPlaybackConfigurationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediatailor.paginators.ListPlaybackConfigurationsIterable responses = client
.listPlaybackConfigurationsPaginator(request);
for (software.amazon.awssdk.services.mediatailor.model.ListPlaybackConfigurationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediatailor.paginators.ListPlaybackConfigurationsIterable responses = client.listPlaybackConfigurationsPaginator(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
listPlaybackConfigurations(software.amazon.awssdk.services.mediatailor.model.ListPlaybackConfigurationsRequest)
operation.
listPlaybackConfigurationsRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPlaybackConfigurationsIterable listPlaybackConfigurationsPaginator(Consumer<ListPlaybackConfigurationsRequest.Builder> listPlaybackConfigurationsRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Returns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.
This is a variant of
listPlaybackConfigurations(software.amazon.awssdk.services.mediatailor.model.ListPlaybackConfigurationsRequest)
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.mediatailor.paginators.ListPlaybackConfigurationsIterable responses = client.listPlaybackConfigurationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediatailor.paginators.ListPlaybackConfigurationsIterable responses = client
.listPlaybackConfigurationsPaginator(request);
for (software.amazon.awssdk.services.mediatailor.model.ListPlaybackConfigurationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediatailor.paginators.ListPlaybackConfigurationsIterable responses = client.listPlaybackConfigurationsPaginator(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
listPlaybackConfigurations(software.amazon.awssdk.services.mediatailor.model.ListPlaybackConfigurationsRequest)
operation.
This is a convenience which creates an instance of the ListPlaybackConfigurationsRequest.Builder avoiding
the need to create one manually via ListPlaybackConfigurationsRequest.builder()
listPlaybackConfigurationsRequest - A Consumer that will call methods on ListPlaybackConfigurationsRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSourceLocationsResponse listSourceLocations(ListSourceLocationsRequest listSourceLocationsRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves a list of source locations.
listSourceLocationsRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSourceLocationsResponse listSourceLocations(Consumer<ListSourceLocationsRequest.Builder> listSourceLocationsRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves a list of source locations.
This is a convenience which creates an instance of the ListSourceLocationsRequest.Builder avoiding the
need to create one manually via ListSourceLocationsRequest.builder()
listSourceLocationsRequest - A Consumer that will call methods on ListSourceLocationsRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSourceLocationsIterable listSourceLocationsPaginator(ListSourceLocationsRequest listSourceLocationsRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves a list of source locations.
This is a variant of
listSourceLocations(software.amazon.awssdk.services.mediatailor.model.ListSourceLocationsRequest)
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.mediatailor.paginators.ListSourceLocationsIterable responses = client.listSourceLocationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediatailor.paginators.ListSourceLocationsIterable responses = client
.listSourceLocationsPaginator(request);
for (software.amazon.awssdk.services.mediatailor.model.ListSourceLocationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediatailor.paginators.ListSourceLocationsIterable responses = client.listSourceLocationsPaginator(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
listSourceLocations(software.amazon.awssdk.services.mediatailor.model.ListSourceLocationsRequest)
operation.
listSourceLocationsRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSourceLocationsIterable listSourceLocationsPaginator(Consumer<ListSourceLocationsRequest.Builder> listSourceLocationsRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Retrieves a list of source locations.
This is a variant of
listSourceLocations(software.amazon.awssdk.services.mediatailor.model.ListSourceLocationsRequest)
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.mediatailor.paginators.ListSourceLocationsIterable responses = client.listSourceLocationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediatailor.paginators.ListSourceLocationsIterable responses = client
.listSourceLocationsPaginator(request);
for (software.amazon.awssdk.services.mediatailor.model.ListSourceLocationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediatailor.paginators.ListSourceLocationsIterable responses = client.listSourceLocationsPaginator(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
listSourceLocations(software.amazon.awssdk.services.mediatailor.model.ListSourceLocationsRequest)
operation.
This is a convenience which creates an instance of the ListSourceLocationsRequest.Builder avoiding the
need to create one manually via ListSourceLocationsRequest.builder()
listSourceLocationsRequest - A Consumer that will call methods on ListSourceLocationsRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws BadRequestException, AwsServiceException, SdkClientException, MediaTailorException
Returns a list of the tags assigned to the specified playback configuration resource.
listTagsForResourceRequest - BadRequestException - Invalid request parameters.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.MediaTailorException - 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 BadRequestException, AwsServiceException, SdkClientException, MediaTailorException
Returns a list of the tags assigned to the specified playback configuration resource.
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.BadRequestException - Invalid request parameters.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListVodSourcesResponse listVodSources(ListVodSourcesRequest listVodSourcesRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Lists all the VOD sources in a source location.
listVodSourcesRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListVodSourcesResponse listVodSources(Consumer<ListVodSourcesRequest.Builder> listVodSourcesRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Lists all the VOD sources in a source location.
This is a convenience which creates an instance of the ListVodSourcesRequest.Builder avoiding the need to
create one manually via ListVodSourcesRequest.builder()
listVodSourcesRequest - A Consumer that will call methods on ListVodSourcesRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListVodSourcesIterable listVodSourcesPaginator(ListVodSourcesRequest listVodSourcesRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Lists all the VOD sources in a source location.
This is a variant of
listVodSources(software.amazon.awssdk.services.mediatailor.model.ListVodSourcesRequest) 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.mediatailor.paginators.ListVodSourcesIterable responses = client.listVodSourcesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediatailor.paginators.ListVodSourcesIterable responses = client
.listVodSourcesPaginator(request);
for (software.amazon.awssdk.services.mediatailor.model.ListVodSourcesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediatailor.paginators.ListVodSourcesIterable responses = client.listVodSourcesPaginator(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
listVodSources(software.amazon.awssdk.services.mediatailor.model.ListVodSourcesRequest) operation.
listVodSourcesRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListVodSourcesIterable listVodSourcesPaginator(Consumer<ListVodSourcesRequest.Builder> listVodSourcesRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Lists all the VOD sources in a source location.
This is a variant of
listVodSources(software.amazon.awssdk.services.mediatailor.model.ListVodSourcesRequest) 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.mediatailor.paginators.ListVodSourcesIterable responses = client.listVodSourcesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.mediatailor.paginators.ListVodSourcesIterable responses = client
.listVodSourcesPaginator(request);
for (software.amazon.awssdk.services.mediatailor.model.ListVodSourcesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.mediatailor.paginators.ListVodSourcesIterable responses = client.listVodSourcesPaginator(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
listVodSources(software.amazon.awssdk.services.mediatailor.model.ListVodSourcesRequest) operation.
This is a convenience which creates an instance of the ListVodSourcesRequest.Builder avoiding the need to
create one manually via ListVodSourcesRequest.builder()
listVodSourcesRequest - A Consumer that will call methods on ListVodSourcesRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutChannelPolicyResponse putChannelPolicy(PutChannelPolicyRequest putChannelPolicyRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Creates an IAM policy for the channel.
putChannelPolicyRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutChannelPolicyResponse putChannelPolicy(Consumer<PutChannelPolicyRequest.Builder> putChannelPolicyRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Creates an IAM policy for the channel.
This is a convenience which creates an instance of the PutChannelPolicyRequest.Builder avoiding the need
to create one manually via PutChannelPolicyRequest.builder()
putChannelPolicyRequest - A Consumer that will call methods on PutChannelPolicyRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutPlaybackConfigurationResponse putPlaybackConfiguration(PutPlaybackConfigurationRequest putPlaybackConfigurationRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Adds a new playback configuration to AWS Elemental MediaTailor.
putPlaybackConfigurationRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutPlaybackConfigurationResponse putPlaybackConfiguration(Consumer<PutPlaybackConfigurationRequest.Builder> putPlaybackConfigurationRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Adds a new playback configuration to AWS Elemental MediaTailor.
This is a convenience which creates an instance of the PutPlaybackConfigurationRequest.Builder avoiding
the need to create one manually via PutPlaybackConfigurationRequest.builder()
putPlaybackConfigurationRequest - A Consumer that will call methods on PutPlaybackConfigurationRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartChannelResponse startChannel(StartChannelRequest startChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Starts a specific channel.
startChannelRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartChannelResponse startChannel(Consumer<StartChannelRequest.Builder> startChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Starts a specific channel.
This is a convenience which creates an instance of the StartChannelRequest.Builder avoiding the need to
create one manually via StartChannelRequest.builder()
startChannelRequest - A Consumer that will call methods on StartChannelRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopChannelResponse stopChannel(StopChannelRequest stopChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Stops a specific channel.
stopChannelRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopChannelResponse stopChannel(Consumer<StopChannelRequest.Builder> stopChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Stops a specific channel.
This is a convenience which creates an instance of the StopChannelRequest.Builder avoiding the need to
create one manually via StopChannelRequest.builder()
stopChannelRequest - A Consumer that will call methods on StopChannelRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws BadRequestException, AwsServiceException, SdkClientException, MediaTailorException
Adds tags to the specified playback configuration resource. You can specify one or more tags to add.
tagResourceRequest - BadRequestException - Invalid request parameters.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.MediaTailorException - 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 BadRequestException, AwsServiceException, SdkClientException, MediaTailorException
Adds tags to the specified playback configuration resource. You can specify one or more tags to add.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.BadRequestException - Invalid request parameters.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws BadRequestException, AwsServiceException, SdkClientException, MediaTailorException
Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.
untagResourceRequest - BadRequestException - Invalid request parameters.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.MediaTailorException - 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 BadRequestException, AwsServiceException, SdkClientException, MediaTailorException
Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.BadRequestException - Invalid request parameters.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateChannelResponse updateChannel(UpdateChannelRequest updateChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Updates an existing channel.
updateChannelRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateChannelResponse updateChannel(Consumer<UpdateChannelRequest.Builder> updateChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Updates an existing channel.
This is a convenience which creates an instance of the UpdateChannelRequest.Builder avoiding the need to
create one manually via UpdateChannelRequest.builder()
updateChannelRequest - A Consumer that will call methods on UpdateChannelRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSourceLocationResponse updateSourceLocation(UpdateSourceLocationRequest updateSourceLocationRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Updates a source location on a specific channel.
updateSourceLocationRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSourceLocationResponse updateSourceLocation(Consumer<UpdateSourceLocationRequest.Builder> updateSourceLocationRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Updates a source location on a specific channel.
This is a convenience which creates an instance of the UpdateSourceLocationRequest.Builder avoiding the
need to create one manually via UpdateSourceLocationRequest.builder()
updateSourceLocationRequest - A Consumer that will call methods on UpdateSourceLocationRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateVodSourceResponse updateVodSource(UpdateVodSourceRequest updateVodSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Updates a specific VOD source in a specific source location.
updateVodSourceRequest - 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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateVodSourceResponse updateVodSource(Consumer<UpdateVodSourceRequest.Builder> updateVodSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException
Updates a specific VOD source in a specific source location.
This is a convenience which creates an instance of the UpdateVodSourceRequest.Builder avoiding the need
to create one manually via UpdateVodSourceRequest.builder()
updateVodSourceRequest - A Consumer that will call methods on UpdateVodSourceRequest.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.MediaTailorException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2021. All rights reserved.