Interface MediaTailorClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,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).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic MediaTailorClientBuilder
builder()
Create a builder that can be used to configure and create aMediaTailorClient
.default ConfigureLogsForChannelResponse
configureLogsForChannel
(Consumer<ConfigureLogsForChannelRequest.Builder> configureLogsForChannelRequest) Configures Amazon CloudWatch log settings for a channel.default ConfigureLogsForChannelResponse
configureLogsForChannel
(ConfigureLogsForChannelRequest configureLogsForChannelRequest) Configures Amazon CloudWatch log settings for a channel.configureLogsForPlaybackConfiguration
(Consumer<ConfigureLogsForPlaybackConfigurationRequest.Builder> configureLogsForPlaybackConfigurationRequest) Amazon CloudWatch log settings for a playback configuration.configureLogsForPlaybackConfiguration
(ConfigureLogsForPlaybackConfigurationRequest configureLogsForPlaybackConfigurationRequest) Amazon CloudWatch log settings for a playback configuration.static MediaTailorClient
create()
Create aMediaTailorClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateChannelResponse
createChannel
(Consumer<CreateChannelRequest.Builder> createChannelRequest) Creates a channel.default CreateChannelResponse
createChannel
(CreateChannelRequest createChannelRequest) Creates a channel.default CreateLiveSourceResponse
createLiveSource
(Consumer<CreateLiveSourceRequest.Builder> createLiveSourceRequest) The live source configuration.default CreateLiveSourceResponse
createLiveSource
(CreateLiveSourceRequest createLiveSourceRequest) The live source configuration.default CreatePrefetchScheduleResponse
createPrefetchSchedule
(Consumer<CreatePrefetchScheduleRequest.Builder> createPrefetchScheduleRequest) Creates a prefetch schedule for a playback configuration.default CreatePrefetchScheduleResponse
createPrefetchSchedule
(CreatePrefetchScheduleRequest createPrefetchScheduleRequest) Creates a prefetch schedule for a playback configuration.default CreateProgramResponse
createProgram
(Consumer<CreateProgramRequest.Builder> createProgramRequest) Creates a program within a channel.default CreateProgramResponse
createProgram
(CreateProgramRequest createProgramRequest) Creates a program within a channel.default CreateSourceLocationResponse
createSourceLocation
(Consumer<CreateSourceLocationRequest.Builder> createSourceLocationRequest) Creates a source location.default CreateSourceLocationResponse
createSourceLocation
(CreateSourceLocationRequest createSourceLocationRequest) Creates a source location.default CreateVodSourceResponse
createVodSource
(Consumer<CreateVodSourceRequest.Builder> createVodSourceRequest) The VOD source configuration parameters.default CreateVodSourceResponse
createVodSource
(CreateVodSourceRequest createVodSourceRequest) The VOD source configuration parameters.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) The channel policy to delete.default DeleteChannelPolicyResponse
deleteChannelPolicy
(DeleteChannelPolicyRequest deleteChannelPolicyRequest) The channel policy to delete.default DeleteLiveSourceResponse
deleteLiveSource
(Consumer<DeleteLiveSourceRequest.Builder> deleteLiveSourceRequest) The live source to delete.default DeleteLiveSourceResponse
deleteLiveSource
(DeleteLiveSourceRequest deleteLiveSourceRequest) The live source to delete.deletePlaybackConfiguration
(Consumer<DeletePlaybackConfigurationRequest.Builder> deletePlaybackConfigurationRequest) Deletes a playback configuration.deletePlaybackConfiguration
(DeletePlaybackConfigurationRequest deletePlaybackConfigurationRequest) Deletes a playback configuration.default DeletePrefetchScheduleResponse
deletePrefetchSchedule
(Consumer<DeletePrefetchScheduleRequest.Builder> deletePrefetchScheduleRequest) Deletes a prefetch schedule for a specific playback configuration.default DeletePrefetchScheduleResponse
deletePrefetchSchedule
(DeletePrefetchScheduleRequest deletePrefetchScheduleRequest) Deletes a prefetch schedule for a specific playback configuration.default DeleteProgramResponse
deleteProgram
(Consumer<DeleteProgramRequest.Builder> deleteProgramRequest) Deletes a program within a channel.default DeleteProgramResponse
deleteProgram
(DeleteProgramRequest deleteProgramRequest) Deletes a program within a channel.default DeleteSourceLocationResponse
deleteSourceLocation
(Consumer<DeleteSourceLocationRequest.Builder> deleteSourceLocationRequest) Deletes a source location.default DeleteSourceLocationResponse
deleteSourceLocation
(DeleteSourceLocationRequest deleteSourceLocationRequest) Deletes a source location.default DeleteVodSourceResponse
deleteVodSource
(Consumer<DeleteVodSourceRequest.Builder> deleteVodSourceRequest) The video on demand (VOD) source to delete.default DeleteVodSourceResponse
deleteVodSource
(DeleteVodSourceRequest deleteVodSourceRequest) The video on demand (VOD) source to delete.default DescribeChannelResponse
describeChannel
(Consumer<DescribeChannelRequest.Builder> describeChannelRequest) Describes a channel.default DescribeChannelResponse
describeChannel
(DescribeChannelRequest describeChannelRequest) Describes a channel.default DescribeLiveSourceResponse
describeLiveSource
(Consumer<DescribeLiveSourceRequest.Builder> describeLiveSourceRequest) The live source to describe.default DescribeLiveSourceResponse
describeLiveSource
(DescribeLiveSourceRequest describeLiveSourceRequest) The live source to describe.default DescribeProgramResponse
describeProgram
(Consumer<DescribeProgramRequest.Builder> describeProgramRequest) Describes a program within a channel.default DescribeProgramResponse
describeProgram
(DescribeProgramRequest describeProgramRequest) Describes a program within a channel.default DescribeSourceLocationResponse
describeSourceLocation
(Consumer<DescribeSourceLocationRequest.Builder> describeSourceLocationRequest) Describes a source location.default DescribeSourceLocationResponse
describeSourceLocation
(DescribeSourceLocationRequest describeSourceLocationRequest) Describes a source location.default DescribeVodSourceResponse
describeVodSource
(Consumer<DescribeVodSourceRequest.Builder> describeVodSourceRequest) Provides details about a specific video on demand (VOD) source in a specific source location.default DescribeVodSourceResponse
describeVodSource
(DescribeVodSourceRequest describeVodSourceRequest) Provides details about a specific video on demand (VOD) source in a specific source location.default GetChannelPolicyResponse
getChannelPolicy
(Consumer<GetChannelPolicyRequest.Builder> getChannelPolicyRequest) Returns the channel's IAM policy.default GetChannelPolicyResponse
getChannelPolicy
(GetChannelPolicyRequest getChannelPolicyRequest) Returns the 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) Retrieves a playback configuration.default GetPlaybackConfigurationResponse
getPlaybackConfiguration
(GetPlaybackConfigurationRequest getPlaybackConfigurationRequest) Retrieves a playback configuration.default GetPrefetchScheduleResponse
getPrefetchSchedule
(Consumer<GetPrefetchScheduleRequest.Builder> getPrefetchScheduleRequest) Retrieves a prefetch schedule for a playback configuration.default GetPrefetchScheduleResponse
getPrefetchSchedule
(GetPrefetchScheduleRequest getPrefetchScheduleRequest) Retrieves a prefetch schedule for a playback configuration.default ListAlertsResponse
listAlerts
(Consumer<ListAlertsRequest.Builder> listAlertsRequest) Lists the alerts that are associated with a MediaTailor channel assembly resource.default ListAlertsResponse
listAlerts
(ListAlertsRequest listAlertsRequest) Lists the alerts that are associated with a MediaTailor channel assembly resource.default ListAlertsIterable
listAlertsPaginator
(Consumer<ListAlertsRequest.Builder> listAlertsRequest) Lists the alerts that are associated with a MediaTailor channel assembly resource.default ListAlertsIterable
listAlertsPaginator
(ListAlertsRequest listAlertsRequest) Lists the alerts that are associated with a MediaTailor channel assembly resource.default ListChannelsResponse
listChannels
(Consumer<ListChannelsRequest.Builder> listChannelsRequest) Retrieves information about the channels that are associated with the current AWS account.default ListChannelsResponse
listChannels
(ListChannelsRequest listChannelsRequest) Retrieves information about the channels that are associated with the current AWS account.default ListChannelsIterable
listChannelsPaginator
(Consumer<ListChannelsRequest.Builder> listChannelsRequest) Retrieves information about the channels that are associated with the current AWS account.default ListChannelsIterable
listChannelsPaginator
(ListChannelsRequest listChannelsRequest) Retrieves information about the channels that are associated with the current AWS account.default ListLiveSourcesResponse
listLiveSources
(Consumer<ListLiveSourcesRequest.Builder> listLiveSourcesRequest) Lists the live sources contained in a source location.default ListLiveSourcesResponse
listLiveSources
(ListLiveSourcesRequest listLiveSourcesRequest) Lists the live sources contained in a source location.default ListLiveSourcesIterable
listLiveSourcesPaginator
(Consumer<ListLiveSourcesRequest.Builder> listLiveSourcesRequest) Lists the live sources contained in a source location.default ListLiveSourcesIterable
listLiveSourcesPaginator
(ListLiveSourcesRequest listLiveSourcesRequest) Lists the live sources contained in a source location.Retrieves existing playback configurations.listPlaybackConfigurations
(Consumer<ListPlaybackConfigurationsRequest.Builder> listPlaybackConfigurationsRequest) Retrieves existing playback configurations.listPlaybackConfigurations
(ListPlaybackConfigurationsRequest listPlaybackConfigurationsRequest) Retrieves existing playback configurations.Retrieves existing playback configurations.listPlaybackConfigurationsPaginator
(Consumer<ListPlaybackConfigurationsRequest.Builder> listPlaybackConfigurationsRequest) Retrieves existing playback configurations.listPlaybackConfigurationsPaginator
(ListPlaybackConfigurationsRequest listPlaybackConfigurationsRequest) Retrieves existing playback configurations.default ListPrefetchSchedulesResponse
listPrefetchSchedules
(Consumer<ListPrefetchSchedulesRequest.Builder> listPrefetchSchedulesRequest) Lists the prefetch schedules for a playback configuration.default ListPrefetchSchedulesResponse
listPrefetchSchedules
(ListPrefetchSchedulesRequest listPrefetchSchedulesRequest) Lists the prefetch schedules for a playback configuration.default ListPrefetchSchedulesIterable
listPrefetchSchedulesPaginator
(Consumer<ListPrefetchSchedulesRequest.Builder> listPrefetchSchedulesRequest) Lists the prefetch schedules for a playback configuration.default ListPrefetchSchedulesIterable
listPrefetchSchedulesPaginator
(ListPrefetchSchedulesRequest listPrefetchSchedulesRequest) Lists the prefetch schedules for a playback configuration.default ListSourceLocationsResponse
listSourceLocations
(Consumer<ListSourceLocationsRequest.Builder> listSourceLocationsRequest) Lists the source locations for a channel.default ListSourceLocationsResponse
listSourceLocations
(ListSourceLocationsRequest listSourceLocationsRequest) Lists the source locations for a channel.default ListSourceLocationsIterable
listSourceLocationsPaginator
(Consumer<ListSourceLocationsRequest.Builder> listSourceLocationsRequest) Lists the source locations for a channel.default ListSourceLocationsIterable
listSourceLocationsPaginator
(ListSourceLocationsRequest listSourceLocationsRequest) Lists the source locations for a channel.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) A list of tags that are associated with this resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) A list of tags that are associated with this resource.default ListVodSourcesResponse
listVodSources
(Consumer<ListVodSourcesRequest.Builder> listVodSourcesRequest) Lists the VOD sources contained in a source location.default ListVodSourcesResponse
listVodSources
(ListVodSourcesRequest listVodSourcesRequest) Lists the VOD sources contained in a source location.default ListVodSourcesIterable
listVodSourcesPaginator
(Consumer<ListVodSourcesRequest.Builder> listVodSourcesRequest) Lists the VOD sources contained in a source location.default ListVodSourcesIterable
listVodSourcesPaginator
(ListVodSourcesRequest listVodSourcesRequest) Lists the VOD sources contained 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) Creates a playback configuration.default PutPlaybackConfigurationResponse
putPlaybackConfiguration
(PutPlaybackConfigurationRequest putPlaybackConfigurationRequest) Creates a playback configuration.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default StartChannelResponse
startChannel
(Consumer<StartChannelRequest.Builder> startChannelRequest) Starts a channel.default StartChannelResponse
startChannel
(StartChannelRequest startChannelRequest) Starts a channel.default StopChannelResponse
stopChannel
(Consumer<StopChannelRequest.Builder> stopChannelRequest) Stops a channel.default StopChannelResponse
stopChannel
(StopChannelRequest stopChannelRequest) Stops a channel.default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) The resource to tag.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) The resource to tag.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) The resource to untag.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) The resource to untag.default UpdateChannelResponse
updateChannel
(Consumer<UpdateChannelRequest.Builder> updateChannelRequest) Updates a channel.default UpdateChannelResponse
updateChannel
(UpdateChannelRequest updateChannelRequest) Updates a channel.default UpdateLiveSourceResponse
updateLiveSource
(Consumer<UpdateLiveSourceRequest.Builder> updateLiveSourceRequest) Updates a live source's configuration.default UpdateLiveSourceResponse
updateLiveSource
(UpdateLiveSourceRequest updateLiveSourceRequest) Updates a live source's configuration.default UpdateProgramResponse
updateProgram
(Consumer<UpdateProgramRequest.Builder> updateProgramRequest) Updates a program within a channel.default UpdateProgramResponse
updateProgram
(UpdateProgramRequest updateProgramRequest) Updates a program within a channel.default UpdateSourceLocationResponse
updateSourceLocation
(Consumer<UpdateSourceLocationRequest.Builder> updateSourceLocationRequest) Updates a source location.default UpdateSourceLocationResponse
updateSourceLocation
(UpdateSourceLocationRequest updateSourceLocationRequest) Updates a source location.default UpdateVodSourceResponse
updateVodSource
(Consumer<UpdateVodSourceRequest.Builder> updateVodSourceRequest) Updates a VOD source's configuration.default UpdateVodSourceResponse
updateVodSource
(UpdateVodSourceRequest updateVodSourceRequest) Updates a VOD source's configuration.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
configureLogsForChannel
default ConfigureLogsForChannelResponse configureLogsForChannel(ConfigureLogsForChannelRequest configureLogsForChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException Configures Amazon CloudWatch log settings for a channel.
- Parameters:
configureLogsForChannelRequest
-- Returns:
- Result of the ConfigureLogsForChannel operation returned by the service.
- See Also:
-
configureLogsForChannel
default ConfigureLogsForChannelResponse configureLogsForChannel(Consumer<ConfigureLogsForChannelRequest.Builder> configureLogsForChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException Configures Amazon CloudWatch log settings for a channel.
This is a convenience which creates an instance of the
ConfigureLogsForChannelRequest.Builder
avoiding the need to create one manually viaConfigureLogsForChannelRequest.builder()
- Parameters:
configureLogsForChannelRequest
- AConsumer
that will call methods onConfigureLogsForChannelRequest.Builder
to create a request.- Returns:
- Result of the ConfigureLogsForChannel operation returned by the service.
- See Also:
-
configureLogsForPlaybackConfiguration
default ConfigureLogsForPlaybackConfigurationResponse configureLogsForPlaybackConfiguration(ConfigureLogsForPlaybackConfigurationRequest configureLogsForPlaybackConfigurationRequest) throws AwsServiceException, SdkClientException, MediaTailorException Amazon CloudWatch log settings for a playback configuration.
- Parameters:
configureLogsForPlaybackConfigurationRequest
- Configures Amazon CloudWatch log settings for a playback configuration.- Returns:
- Result of the ConfigureLogsForPlaybackConfiguration operation returned by the service.
- See Also:
-
configureLogsForPlaybackConfiguration
default ConfigureLogsForPlaybackConfigurationResponse configureLogsForPlaybackConfiguration(Consumer<ConfigureLogsForPlaybackConfigurationRequest.Builder> configureLogsForPlaybackConfigurationRequest) throws AwsServiceException, SdkClientException, MediaTailorException Amazon CloudWatch log settings for a playback configuration.
This is a convenience which creates an instance of the
ConfigureLogsForPlaybackConfigurationRequest.Builder
avoiding the need to create one manually viaConfigureLogsForPlaybackConfigurationRequest.builder()
- Parameters:
configureLogsForPlaybackConfigurationRequest
- AConsumer
that will call methods onConfigureLogsForPlaybackConfigurationRequest.Builder
to create a request. Configures Amazon CloudWatch log settings for a playback configuration.- Returns:
- Result of the ConfigureLogsForPlaybackConfiguration operation returned by the service.
- See Also:
-
createChannel
default CreateChannelResponse createChannel(CreateChannelRequest createChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException Creates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
- Parameters:
createChannelRequest
-- Returns:
- Result of the CreateChannel operation returned by the service.
- See Also:
-
createChannel
default CreateChannelResponse createChannel(Consumer<CreateChannelRequest.Builder> createChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException Creates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
This is a convenience which creates an instance of the
CreateChannelRequest.Builder
avoiding the need to create one manually viaCreateChannelRequest.builder()
- Parameters:
createChannelRequest
- AConsumer
that will call methods onCreateChannelRequest.Builder
to create a request.- Returns:
- Result of the CreateChannel operation returned by the service.
- See Also:
-
createLiveSource
default CreateLiveSourceResponse createLiveSource(CreateLiveSourceRequest createLiveSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException The live source configuration.
- Parameters:
createLiveSourceRequest
-- Returns:
- Result of the CreateLiveSource operation returned by the service.
- See Also:
-
createLiveSource
default CreateLiveSourceResponse createLiveSource(Consumer<CreateLiveSourceRequest.Builder> createLiveSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException The live source configuration.
This is a convenience which creates an instance of the
CreateLiveSourceRequest.Builder
avoiding the need to create one manually viaCreateLiveSourceRequest.builder()
- Parameters:
createLiveSourceRequest
- AConsumer
that will call methods onCreateLiveSourceRequest.Builder
to create a request.- Returns:
- Result of the CreateLiveSource operation returned by the service.
- See Also:
-
createPrefetchSchedule
default CreatePrefetchScheduleResponse createPrefetchSchedule(CreatePrefetchScheduleRequest createPrefetchScheduleRequest) throws AwsServiceException, SdkClientException, MediaTailorException Creates a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.
- Parameters:
createPrefetchScheduleRequest
-- Returns:
- Result of the CreatePrefetchSchedule operation returned by the service.
- See Also:
-
createPrefetchSchedule
default CreatePrefetchScheduleResponse createPrefetchSchedule(Consumer<CreatePrefetchScheduleRequest.Builder> createPrefetchScheduleRequest) throws AwsServiceException, SdkClientException, MediaTailorException Creates a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.
This is a convenience which creates an instance of the
CreatePrefetchScheduleRequest.Builder
avoiding the need to create one manually viaCreatePrefetchScheduleRequest.builder()
- Parameters:
createPrefetchScheduleRequest
- AConsumer
that will call methods onCreatePrefetchScheduleRequest.Builder
to create a request.- Returns:
- Result of the CreatePrefetchSchedule operation returned by the service.
- See Also:
-
createProgram
default CreateProgramResponse createProgram(CreateProgramRequest createProgramRequest) throws AwsServiceException, SdkClientException, MediaTailorException Creates a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.
- Parameters:
createProgramRequest
-- Returns:
- Result of the CreateProgram operation returned by the service.
- See Also:
-
createProgram
default CreateProgramResponse createProgram(Consumer<CreateProgramRequest.Builder> createProgramRequest) throws AwsServiceException, SdkClientException, MediaTailorException Creates a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.
This is a convenience which creates an instance of the
CreateProgramRequest.Builder
avoiding the need to create one manually viaCreateProgramRequest.builder()
- Parameters:
createProgramRequest
- AConsumer
that will call methods onCreateProgramRequest.Builder
to create a request.- Returns:
- Result of the CreateProgram operation returned by the service.
- See Also:
-
createSourceLocation
default CreateSourceLocationResponse createSourceLocation(CreateSourceLocationRequest createSourceLocationRequest) throws AwsServiceException, SdkClientException, MediaTailorException Creates a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.
- Parameters:
createSourceLocationRequest
-- Returns:
- Result of the CreateSourceLocation operation returned by the service.
- See Also:
-
createSourceLocation
default CreateSourceLocationResponse createSourceLocation(Consumer<CreateSourceLocationRequest.Builder> createSourceLocationRequest) throws AwsServiceException, SdkClientException, MediaTailorException Creates a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.
This is a convenience which creates an instance of the
CreateSourceLocationRequest.Builder
avoiding the need to create one manually viaCreateSourceLocationRequest.builder()
- Parameters:
createSourceLocationRequest
- AConsumer
that will call methods onCreateSourceLocationRequest.Builder
to create a request.- Returns:
- Result of the CreateSourceLocation operation returned by the service.
- See Also:
-
createVodSource
default CreateVodSourceResponse createVodSource(CreateVodSourceRequest createVodSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException The VOD source configuration parameters.
- Parameters:
createVodSourceRequest
-- Returns:
- Result of the CreateVodSource operation returned by the service.
- See Also:
-
createVodSource
default CreateVodSourceResponse createVodSource(Consumer<CreateVodSourceRequest.Builder> createVodSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException The VOD source configuration parameters.
This is a convenience which creates an instance of the
CreateVodSourceRequest.Builder
avoiding the need to create one manually viaCreateVodSourceRequest.builder()
- Parameters:
createVodSourceRequest
- AConsumer
that will call methods onCreateVodSourceRequest.Builder
to create a request.- Returns:
- Result of the CreateVodSource operation returned by the service.
- See Also:
-
deleteChannel
default DeleteChannelResponse deleteChannel(DeleteChannelRequest deleteChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException Deletes a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
- Parameters:
deleteChannelRequest
-- Returns:
- Result of the DeleteChannel operation returned by the service.
- See Also:
-
deleteChannel
default DeleteChannelResponse deleteChannel(Consumer<DeleteChannelRequest.Builder> deleteChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException Deletes a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
This is a convenience which creates an instance of the
DeleteChannelRequest.Builder
avoiding the need to create one manually viaDeleteChannelRequest.builder()
- Parameters:
deleteChannelRequest
- AConsumer
that will call methods onDeleteChannelRequest.Builder
to create a request.- Returns:
- Result of the DeleteChannel operation returned by the service.
- See Also:
-
deleteChannelPolicy
default DeleteChannelPolicyResponse deleteChannelPolicy(DeleteChannelPolicyRequest deleteChannelPolicyRequest) throws AwsServiceException, SdkClientException, MediaTailorException The channel policy to delete.
- Parameters:
deleteChannelPolicyRequest
-- Returns:
- Result of the DeleteChannelPolicy operation returned by the service.
- See Also:
-
deleteChannelPolicy
default DeleteChannelPolicyResponse deleteChannelPolicy(Consumer<DeleteChannelPolicyRequest.Builder> deleteChannelPolicyRequest) throws AwsServiceException, SdkClientException, MediaTailorException The channel policy to delete.
This is a convenience which creates an instance of the
DeleteChannelPolicyRequest.Builder
avoiding the need to create one manually viaDeleteChannelPolicyRequest.builder()
- Parameters:
deleteChannelPolicyRequest
- AConsumer
that will call methods onDeleteChannelPolicyRequest.Builder
to create a request.- Returns:
- Result of the DeleteChannelPolicy operation returned by the service.
- See Also:
-
deleteLiveSource
default DeleteLiveSourceResponse deleteLiveSource(DeleteLiveSourceRequest deleteLiveSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException The live source to delete.
- Parameters:
deleteLiveSourceRequest
-- Returns:
- Result of the DeleteLiveSource operation returned by the service.
- See Also:
-
deleteLiveSource
default DeleteLiveSourceResponse deleteLiveSource(Consumer<DeleteLiveSourceRequest.Builder> deleteLiveSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException The live source to delete.
This is a convenience which creates an instance of the
DeleteLiveSourceRequest.Builder
avoiding the need to create one manually viaDeleteLiveSourceRequest.builder()
- Parameters:
deleteLiveSourceRequest
- AConsumer
that will call methods onDeleteLiveSourceRequest.Builder
to create a request.- Returns:
- Result of the DeleteLiveSource operation returned by the service.
- See Also:
-
deletePlaybackConfiguration
default DeletePlaybackConfigurationResponse deletePlaybackConfiguration(DeletePlaybackConfigurationRequest deletePlaybackConfigurationRequest) throws AwsServiceException, SdkClientException, MediaTailorException Deletes a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
- Parameters:
deletePlaybackConfigurationRequest
-- Returns:
- Result of the DeletePlaybackConfiguration operation returned by the service.
- See Also:
-
deletePlaybackConfiguration
default DeletePlaybackConfigurationResponse deletePlaybackConfiguration(Consumer<DeletePlaybackConfigurationRequest.Builder> deletePlaybackConfigurationRequest) throws AwsServiceException, SdkClientException, MediaTailorException Deletes a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
This is a convenience which creates an instance of the
DeletePlaybackConfigurationRequest.Builder
avoiding the need to create one manually viaDeletePlaybackConfigurationRequest.builder()
- Parameters:
deletePlaybackConfigurationRequest
- AConsumer
that will call methods onDeletePlaybackConfigurationRequest.Builder
to create a request.- Returns:
- Result of the DeletePlaybackConfiguration operation returned by the service.
- See Also:
-
deletePrefetchSchedule
default DeletePrefetchScheduleResponse deletePrefetchSchedule(DeletePrefetchScheduleRequest deletePrefetchScheduleRequest) throws AwsServiceException, SdkClientException, MediaTailorException Deletes a prefetch schedule for a specific playback configuration. If you call
DeletePrefetchSchedule
on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.- Parameters:
deletePrefetchScheduleRequest
-- Returns:
- Result of the DeletePrefetchSchedule operation returned by the service.
- See Also:
-
deletePrefetchSchedule
default DeletePrefetchScheduleResponse deletePrefetchSchedule(Consumer<DeletePrefetchScheduleRequest.Builder> deletePrefetchScheduleRequest) throws AwsServiceException, SdkClientException, MediaTailorException Deletes a prefetch schedule for a specific playback configuration. If you call
DeletePrefetchSchedule
on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.
This is a convenience which creates an instance of the
DeletePrefetchScheduleRequest.Builder
avoiding the need to create one manually viaDeletePrefetchScheduleRequest.builder()
- Parameters:
deletePrefetchScheduleRequest
- AConsumer
that will call methods onDeletePrefetchScheduleRequest.Builder
to create a request.- Returns:
- Result of the DeletePrefetchSchedule operation returned by the service.
- See Also:
-
deleteProgram
default DeleteProgramResponse deleteProgram(DeleteProgramRequest deleteProgramRequest) throws AwsServiceException, SdkClientException, MediaTailorException Deletes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.
- Parameters:
deleteProgramRequest
-- Returns:
- Result of the DeleteProgram operation returned by the service.
- See Also:
-
deleteProgram
default DeleteProgramResponse deleteProgram(Consumer<DeleteProgramRequest.Builder> deleteProgramRequest) throws AwsServiceException, SdkClientException, MediaTailorException Deletes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.
This is a convenience which creates an instance of the
DeleteProgramRequest.Builder
avoiding the need to create one manually viaDeleteProgramRequest.builder()
- Parameters:
deleteProgramRequest
- AConsumer
that will call methods onDeleteProgramRequest.Builder
to create a request.- Returns:
- Result of the DeleteProgram operation returned by the service.
- See Also:
-
deleteSourceLocation
default DeleteSourceLocationResponse deleteSourceLocation(DeleteSourceLocationRequest deleteSourceLocationRequest) throws AwsServiceException, SdkClientException, MediaTailorException Deletes a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.
- Parameters:
deleteSourceLocationRequest
-- Returns:
- Result of the DeleteSourceLocation operation returned by the service.
- See Also:
-
deleteSourceLocation
default DeleteSourceLocationResponse deleteSourceLocation(Consumer<DeleteSourceLocationRequest.Builder> deleteSourceLocationRequest) throws AwsServiceException, SdkClientException, MediaTailorException Deletes a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.
This is a convenience which creates an instance of the
DeleteSourceLocationRequest.Builder
avoiding the need to create one manually viaDeleteSourceLocationRequest.builder()
- Parameters:
deleteSourceLocationRequest
- AConsumer
that will call methods onDeleteSourceLocationRequest.Builder
to create a request.- Returns:
- Result of the DeleteSourceLocation operation returned by the service.
- See Also:
-
deleteVodSource
default DeleteVodSourceResponse deleteVodSource(DeleteVodSourceRequest deleteVodSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException The video on demand (VOD) source to delete.
- Parameters:
deleteVodSourceRequest
-- Returns:
- Result of the DeleteVodSource operation returned by the service.
- See Also:
-
deleteVodSource
default DeleteVodSourceResponse deleteVodSource(Consumer<DeleteVodSourceRequest.Builder> deleteVodSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException The video on demand (VOD) source to delete.
This is a convenience which creates an instance of the
DeleteVodSourceRequest.Builder
avoiding the need to create one manually viaDeleteVodSourceRequest.builder()
- Parameters:
deleteVodSourceRequest
- AConsumer
that will call methods onDeleteVodSourceRequest.Builder
to create a request.- Returns:
- Result of the DeleteVodSource operation returned by the service.
- See Also:
-
describeChannel
default DescribeChannelResponse describeChannel(DescribeChannelRequest describeChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException Describes a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
- Parameters:
describeChannelRequest
-- Returns:
- Result of the DescribeChannel operation returned by the service.
- See Also:
-
describeChannel
default DescribeChannelResponse describeChannel(Consumer<DescribeChannelRequest.Builder> describeChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException Describes a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
This is a convenience which creates an instance of the
DescribeChannelRequest.Builder
avoiding the need to create one manually viaDescribeChannelRequest.builder()
- Parameters:
describeChannelRequest
- AConsumer
that will call methods onDescribeChannelRequest.Builder
to create a request.- Returns:
- Result of the DescribeChannel operation returned by the service.
- See Also:
-
describeLiveSource
default DescribeLiveSourceResponse describeLiveSource(DescribeLiveSourceRequest describeLiveSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException The live source to describe.
- Parameters:
describeLiveSourceRequest
-- Returns:
- Result of the DescribeLiveSource operation returned by the service.
- See Also:
-
describeLiveSource
default DescribeLiveSourceResponse describeLiveSource(Consumer<DescribeLiveSourceRequest.Builder> describeLiveSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException The live source to describe.
This is a convenience which creates an instance of the
DescribeLiveSourceRequest.Builder
avoiding the need to create one manually viaDescribeLiveSourceRequest.builder()
- Parameters:
describeLiveSourceRequest
- AConsumer
that will call methods onDescribeLiveSourceRequest.Builder
to create a request.- Returns:
- Result of the DescribeLiveSource operation returned by the service.
- See Also:
-
describeProgram
default DescribeProgramResponse describeProgram(DescribeProgramRequest describeProgramRequest) throws AwsServiceException, SdkClientException, MediaTailorException Describes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.
- Parameters:
describeProgramRequest
-- Returns:
- Result of the DescribeProgram operation returned by the service.
- See Also:
-
describeProgram
default DescribeProgramResponse describeProgram(Consumer<DescribeProgramRequest.Builder> describeProgramRequest) throws AwsServiceException, SdkClientException, MediaTailorException Describes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.
This is a convenience which creates an instance of the
DescribeProgramRequest.Builder
avoiding the need to create one manually viaDescribeProgramRequest.builder()
- Parameters:
describeProgramRequest
- AConsumer
that will call methods onDescribeProgramRequest.Builder
to create a request.- Returns:
- Result of the DescribeProgram operation returned by the service.
- See Also:
-
describeSourceLocation
default DescribeSourceLocationResponse describeSourceLocation(DescribeSourceLocationRequest describeSourceLocationRequest) throws AwsServiceException, SdkClientException, MediaTailorException Describes a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.
- Parameters:
describeSourceLocationRequest
-- Returns:
- Result of the DescribeSourceLocation operation returned by the service.
- See Also:
-
describeSourceLocation
default DescribeSourceLocationResponse describeSourceLocation(Consumer<DescribeSourceLocationRequest.Builder> describeSourceLocationRequest) throws AwsServiceException, SdkClientException, MediaTailorException Describes a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.
This is a convenience which creates an instance of the
DescribeSourceLocationRequest.Builder
avoiding the need to create one manually viaDescribeSourceLocationRequest.builder()
- Parameters:
describeSourceLocationRequest
- AConsumer
that will call methods onDescribeSourceLocationRequest.Builder
to create a request.- Returns:
- Result of the DescribeSourceLocation operation returned by the service.
- See Also:
-
describeVodSource
default DescribeVodSourceResponse describeVodSource(DescribeVodSourceRequest describeVodSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException Provides details about a specific video on demand (VOD) source in a specific source location.
- Parameters:
describeVodSourceRequest
-- Returns:
- Result of the DescribeVodSource operation returned by the service.
- See Also:
-
describeVodSource
default DescribeVodSourceResponse describeVodSource(Consumer<DescribeVodSourceRequest.Builder> describeVodSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException Provides details about a specific video on demand (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 viaDescribeVodSourceRequest.builder()
- Parameters:
describeVodSourceRequest
- AConsumer
that will call methods onDescribeVodSourceRequest.Builder
to create a request.- Returns:
- Result of the DescribeVodSource operation returned by the service.
- See Also:
-
getChannelPolicy
default GetChannelPolicyResponse getChannelPolicy(GetChannelPolicyRequest getChannelPolicyRequest) throws AwsServiceException, SdkClientException, MediaTailorException Returns the channel's IAM policy. IAM policies are used to control access to your channel.
- Parameters:
getChannelPolicyRequest
-- Returns:
- Result of the GetChannelPolicy operation returned by the service.
- See Also:
-
getChannelPolicy
default GetChannelPolicyResponse getChannelPolicy(Consumer<GetChannelPolicyRequest.Builder> getChannelPolicyRequest) throws AwsServiceException, SdkClientException, MediaTailorException Returns the channel's IAM policy. IAM policies are used to control access to your channel.
This is a convenience which creates an instance of the
GetChannelPolicyRequest.Builder
avoiding the need to create one manually viaGetChannelPolicyRequest.builder()
- Parameters:
getChannelPolicyRequest
- AConsumer
that will call methods onGetChannelPolicyRequest.Builder
to create a request.- Returns:
- Result of the GetChannelPolicy operation returned by the service.
- See Also:
-
getChannelSchedule
default GetChannelScheduleResponse getChannelSchedule(GetChannelScheduleRequest getChannelScheduleRequest) throws AwsServiceException, SdkClientException, MediaTailorException Retrieves information about your channel's schedule.
- Parameters:
getChannelScheduleRequest
-- Returns:
- Result of the GetChannelSchedule operation returned by the service.
- See Also:
-
getChannelSchedule
default 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 viaGetChannelScheduleRequest.builder()
- Parameters:
getChannelScheduleRequest
- AConsumer
that will call methods onGetChannelScheduleRequest.Builder
to create a request.- Returns:
- Result of the GetChannelSchedule operation returned by the service.
- See Also:
-
getChannelSchedulePaginator
default 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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.GetChannelScheduleIterable responses = client.getChannelSchedulePaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
getChannelScheduleRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getChannelSchedulePaginator
default 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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.GetChannelScheduleIterable responses = client.getChannelSchedulePaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaGetChannelScheduleRequest.builder()
- Parameters:
getChannelScheduleRequest
- AConsumer
that will call methods onGetChannelScheduleRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getPlaybackConfiguration
default GetPlaybackConfigurationResponse getPlaybackConfiguration(GetPlaybackConfigurationRequest getPlaybackConfigurationRequest) throws AwsServiceException, SdkClientException, MediaTailorException Retrieves a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
- Parameters:
getPlaybackConfigurationRequest
-- Returns:
- Result of the GetPlaybackConfiguration operation returned by the service.
- See Also:
-
getPlaybackConfiguration
default GetPlaybackConfigurationResponse getPlaybackConfiguration(Consumer<GetPlaybackConfigurationRequest.Builder> getPlaybackConfigurationRequest) throws AwsServiceException, SdkClientException, MediaTailorException Retrieves a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
This is a convenience which creates an instance of the
GetPlaybackConfigurationRequest.Builder
avoiding the need to create one manually viaGetPlaybackConfigurationRequest.builder()
- Parameters:
getPlaybackConfigurationRequest
- AConsumer
that will call methods onGetPlaybackConfigurationRequest.Builder
to create a request.- Returns:
- Result of the GetPlaybackConfiguration operation returned by the service.
- See Also:
-
getPrefetchSchedule
default GetPrefetchScheduleResponse getPrefetchSchedule(GetPrefetchScheduleRequest getPrefetchScheduleRequest) throws AwsServiceException, SdkClientException, MediaTailorException Retrieves a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.
- Parameters:
getPrefetchScheduleRequest
-- Returns:
- Result of the GetPrefetchSchedule operation returned by the service.
- See Also:
-
getPrefetchSchedule
default GetPrefetchScheduleResponse getPrefetchSchedule(Consumer<GetPrefetchScheduleRequest.Builder> getPrefetchScheduleRequest) throws AwsServiceException, SdkClientException, MediaTailorException Retrieves a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.
This is a convenience which creates an instance of the
GetPrefetchScheduleRequest.Builder
avoiding the need to create one manually viaGetPrefetchScheduleRequest.builder()
- Parameters:
getPrefetchScheduleRequest
- AConsumer
that will call methods onGetPrefetchScheduleRequest.Builder
to create a request.- Returns:
- Result of the GetPrefetchSchedule operation returned by the service.
- See Also:
-
listAlerts
default ListAlertsResponse listAlerts(ListAlertsRequest listAlertsRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the alerts that are associated with a MediaTailor channel assembly resource.
- Parameters:
listAlertsRequest
-- Returns:
- Result of the ListAlerts operation returned by the service.
- See Also:
-
listAlerts
default ListAlertsResponse listAlerts(Consumer<ListAlertsRequest.Builder> listAlertsRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the alerts that are associated with a MediaTailor channel assembly resource.
This is a convenience which creates an instance of the
ListAlertsRequest.Builder
avoiding the need to create one manually viaListAlertsRequest.builder()
- Parameters:
listAlertsRequest
- AConsumer
that will call methods onListAlertsRequest.Builder
to create a request.- Returns:
- Result of the ListAlerts operation returned by the service.
- See Also:
-
listAlertsPaginator
default ListAlertsIterable listAlertsPaginator(ListAlertsRequest listAlertsRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the alerts that are associated with a MediaTailor channel assembly 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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.ListAlertsIterable responses = client.listAlertsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listAlertsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAlertsPaginator
default ListAlertsIterable listAlertsPaginator(Consumer<ListAlertsRequest.Builder> listAlertsRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the alerts that are associated with a MediaTailor channel assembly 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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.ListAlertsIterable responses = client.listAlertsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListAlertsRequest.builder()
- Parameters:
listAlertsRequest
- AConsumer
that will call methods onListAlertsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listChannels
default ListChannelsResponse listChannels(ListChannelsRequest listChannelsRequest) throws AwsServiceException, SdkClientException, MediaTailorException Retrieves information about the channels that are associated with the current AWS account.
- Parameters:
listChannelsRequest
-- Returns:
- Result of the ListChannels operation returned by the service.
- See Also:
-
listChannels
default ListChannelsResponse listChannels(Consumer<ListChannelsRequest.Builder> listChannelsRequest) throws AwsServiceException, SdkClientException, MediaTailorException Retrieves information about the channels that are associated with the current AWS account.
This is a convenience which creates an instance of the
ListChannelsRequest.Builder
avoiding the need to create one manually viaListChannelsRequest.builder()
- Parameters:
listChannelsRequest
- AConsumer
that will call methods onListChannelsRequest.Builder
to create a request.- Returns:
- Result of the ListChannels operation returned by the service.
- See Also:
-
listChannelsPaginator
default ListChannelsIterable listChannelsPaginator(ListChannelsRequest listChannelsRequest) throws AwsServiceException, SdkClientException, MediaTailorException Retrieves information about the channels that are associated with the current AWS 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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listChannelsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listChannelsPaginator
default ListChannelsIterable listChannelsPaginator(Consumer<ListChannelsRequest.Builder> listChannelsRequest) throws AwsServiceException, SdkClientException, MediaTailorException Retrieves information about the channels that are associated with the current AWS 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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.ListChannelsIterable responses = client.listChannelsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListChannelsRequest.builder()
- Parameters:
listChannelsRequest
- AConsumer
that will call methods onListChannelsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listLiveSources
default ListLiveSourcesResponse listLiveSources(ListLiveSourcesRequest listLiveSourcesRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the live sources contained in a source location. A source represents a piece of content.
- Parameters:
listLiveSourcesRequest
-- Returns:
- Result of the ListLiveSources operation returned by the service.
- See Also:
-
listLiveSources
default ListLiveSourcesResponse listLiveSources(Consumer<ListLiveSourcesRequest.Builder> listLiveSourcesRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the live sources contained in a source location. A source represents a piece of content.
This is a convenience which creates an instance of the
ListLiveSourcesRequest.Builder
avoiding the need to create one manually viaListLiveSourcesRequest.builder()
- Parameters:
listLiveSourcesRequest
- AConsumer
that will call methods onListLiveSourcesRequest.Builder
to create a request.- Returns:
- Result of the ListLiveSources operation returned by the service.
- See Also:
-
listLiveSourcesPaginator
default ListLiveSourcesIterable listLiveSourcesPaginator(ListLiveSourcesRequest listLiveSourcesRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the live sources contained in a source location. A source represents a piece of content.
This is a variant of
listLiveSources(software.amazon.awssdk.services.mediatailor.model.ListLiveSourcesRequest)
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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.ListLiveSourcesIterable responses = client.listLiveSourcesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.mediatailor.paginators.ListLiveSourcesIterable responses = client .listLiveSourcesPaginator(request); for (software.amazon.awssdk.services.mediatailor.model.ListLiveSourcesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.mediatailor.paginators.ListLiveSourcesIterable responses = client.listLiveSourcesPaginator(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
listLiveSources(software.amazon.awssdk.services.mediatailor.model.ListLiveSourcesRequest)
operation.- Parameters:
listLiveSourcesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listLiveSourcesPaginator
default ListLiveSourcesIterable listLiveSourcesPaginator(Consumer<ListLiveSourcesRequest.Builder> listLiveSourcesRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the live sources contained in a source location. A source represents a piece of content.
This is a variant of
listLiveSources(software.amazon.awssdk.services.mediatailor.model.ListLiveSourcesRequest)
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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.ListLiveSourcesIterable responses = client.listLiveSourcesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.mediatailor.paginators.ListLiveSourcesIterable responses = client .listLiveSourcesPaginator(request); for (software.amazon.awssdk.services.mediatailor.model.ListLiveSourcesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.mediatailor.paginators.ListLiveSourcesIterable responses = client.listLiveSourcesPaginator(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
listLiveSources(software.amazon.awssdk.services.mediatailor.model.ListLiveSourcesRequest)
operation.This is a convenience which creates an instance of the
ListLiveSourcesRequest.Builder
avoiding the need to create one manually viaListLiveSourcesRequest.builder()
- Parameters:
listLiveSourcesRequest
- AConsumer
that will call methods onListLiveSourcesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPlaybackConfigurations
default ListPlaybackConfigurationsResponse listPlaybackConfigurations(ListPlaybackConfigurationsRequest listPlaybackConfigurationsRequest) throws AwsServiceException, SdkClientException, MediaTailorException Retrieves existing playback configurations. For information about MediaTailor configurations, see Working with Configurations in AWS Elemental MediaTailor.
- Parameters:
listPlaybackConfigurationsRequest
-- Returns:
- Result of the ListPlaybackConfigurations operation returned by the service.
- See Also:
-
listPlaybackConfigurations
default ListPlaybackConfigurationsResponse listPlaybackConfigurations(Consumer<ListPlaybackConfigurationsRequest.Builder> listPlaybackConfigurationsRequest) throws AwsServiceException, SdkClientException, MediaTailorException Retrieves existing playback configurations. For information about MediaTailor configurations, see Working with Configurations in AWS Elemental MediaTailor.
This is a convenience which creates an instance of the
ListPlaybackConfigurationsRequest.Builder
avoiding the need to create one manually viaListPlaybackConfigurationsRequest.builder()
- Parameters:
listPlaybackConfigurationsRequest
- AConsumer
that will call methods onListPlaybackConfigurationsRequest.Builder
to create a request.- Returns:
- Result of the ListPlaybackConfigurations operation returned by the service.
- See Also:
-
listPlaybackConfigurations
default ListPlaybackConfigurationsResponse listPlaybackConfigurations() throws AwsServiceException, SdkClientException, MediaTailorExceptionRetrieves existing playback configurations. For information about MediaTailor configurations, see Working with Configurations in AWS Elemental MediaTailor.
- Returns:
- Result of the ListPlaybackConfigurations operation returned by the service.
- See Also:
-
listPlaybackConfigurationsPaginator
default ListPlaybackConfigurationsIterable listPlaybackConfigurationsPaginator() throws AwsServiceException, SdkClientException, MediaTailorExceptionRetrieves existing playback configurations. For information about MediaTailor configurations, see Working with Configurations in AWS Elemental MediaTailor.
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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.ListPlaybackConfigurationsIterable responses = client.listPlaybackConfigurationsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPlaybackConfigurationsPaginator
default ListPlaybackConfigurationsIterable listPlaybackConfigurationsPaginator(ListPlaybackConfigurationsRequest listPlaybackConfigurationsRequest) throws AwsServiceException, SdkClientException, MediaTailorException Retrieves existing playback configurations. For information about MediaTailor configurations, see Working with Configurations in AWS Elemental MediaTailor.
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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.ListPlaybackConfigurationsIterable responses = client.listPlaybackConfigurationsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listPlaybackConfigurationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPlaybackConfigurationsPaginator
default ListPlaybackConfigurationsIterable listPlaybackConfigurationsPaginator(Consumer<ListPlaybackConfigurationsRequest.Builder> listPlaybackConfigurationsRequest) throws AwsServiceException, SdkClientException, MediaTailorException Retrieves existing playback configurations. For information about MediaTailor configurations, see Working with Configurations in AWS Elemental MediaTailor.
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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.ListPlaybackConfigurationsIterable responses = client.listPlaybackConfigurationsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListPlaybackConfigurationsRequest.builder()
- Parameters:
listPlaybackConfigurationsRequest
- AConsumer
that will call methods onListPlaybackConfigurationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPrefetchSchedules
default ListPrefetchSchedulesResponse listPrefetchSchedules(ListPrefetchSchedulesRequest listPrefetchSchedulesRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the prefetch schedules for a playback configuration.
- Parameters:
listPrefetchSchedulesRequest
-- Returns:
- Result of the ListPrefetchSchedules operation returned by the service.
- See Also:
-
listPrefetchSchedules
default ListPrefetchSchedulesResponse listPrefetchSchedules(Consumer<ListPrefetchSchedulesRequest.Builder> listPrefetchSchedulesRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the prefetch schedules for a playback configuration.
This is a convenience which creates an instance of the
ListPrefetchSchedulesRequest.Builder
avoiding the need to create one manually viaListPrefetchSchedulesRequest.builder()
- Parameters:
listPrefetchSchedulesRequest
- AConsumer
that will call methods onListPrefetchSchedulesRequest.Builder
to create a request.- Returns:
- Result of the ListPrefetchSchedules operation returned by the service.
- See Also:
-
listPrefetchSchedulesPaginator
default ListPrefetchSchedulesIterable listPrefetchSchedulesPaginator(ListPrefetchSchedulesRequest listPrefetchSchedulesRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the prefetch schedules for a playback configuration.
This is a variant of
listPrefetchSchedules(software.amazon.awssdk.services.mediatailor.model.ListPrefetchSchedulesRequest)
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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.ListPrefetchSchedulesIterable responses = client.listPrefetchSchedulesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.mediatailor.paginators.ListPrefetchSchedulesIterable responses = client .listPrefetchSchedulesPaginator(request); for (software.amazon.awssdk.services.mediatailor.model.ListPrefetchSchedulesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.mediatailor.paginators.ListPrefetchSchedulesIterable responses = client.listPrefetchSchedulesPaginator(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
listPrefetchSchedules(software.amazon.awssdk.services.mediatailor.model.ListPrefetchSchedulesRequest)
operation.- Parameters:
listPrefetchSchedulesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPrefetchSchedulesPaginator
default ListPrefetchSchedulesIterable listPrefetchSchedulesPaginator(Consumer<ListPrefetchSchedulesRequest.Builder> listPrefetchSchedulesRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the prefetch schedules for a playback configuration.
This is a variant of
listPrefetchSchedules(software.amazon.awssdk.services.mediatailor.model.ListPrefetchSchedulesRequest)
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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.ListPrefetchSchedulesIterable responses = client.listPrefetchSchedulesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.mediatailor.paginators.ListPrefetchSchedulesIterable responses = client .listPrefetchSchedulesPaginator(request); for (software.amazon.awssdk.services.mediatailor.model.ListPrefetchSchedulesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.mediatailor.paginators.ListPrefetchSchedulesIterable responses = client.listPrefetchSchedulesPaginator(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
listPrefetchSchedules(software.amazon.awssdk.services.mediatailor.model.ListPrefetchSchedulesRequest)
operation.This is a convenience which creates an instance of the
ListPrefetchSchedulesRequest.Builder
avoiding the need to create one manually viaListPrefetchSchedulesRequest.builder()
- Parameters:
listPrefetchSchedulesRequest
- AConsumer
that will call methods onListPrefetchSchedulesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSourceLocations
default ListSourceLocationsResponse listSourceLocations(ListSourceLocationsRequest listSourceLocationsRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the source locations for a channel. A source location defines the host server URL, and contains a list of sources.
- Parameters:
listSourceLocationsRequest
-- Returns:
- Result of the ListSourceLocations operation returned by the service.
- See Also:
-
listSourceLocations
default ListSourceLocationsResponse listSourceLocations(Consumer<ListSourceLocationsRequest.Builder> listSourceLocationsRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the source locations for a channel. A source location defines the host server URL, and contains a list of sources.
This is a convenience which creates an instance of the
ListSourceLocationsRequest.Builder
avoiding the need to create one manually viaListSourceLocationsRequest.builder()
- Parameters:
listSourceLocationsRequest
- AConsumer
that will call methods onListSourceLocationsRequest.Builder
to create a request.- Returns:
- Result of the ListSourceLocations operation returned by the service.
- See Also:
-
listSourceLocationsPaginator
default ListSourceLocationsIterable listSourceLocationsPaginator(ListSourceLocationsRequest listSourceLocationsRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the source locations for a channel. A source location defines the host server URL, and contains a list of sources.
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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.ListSourceLocationsIterable responses = client.listSourceLocationsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listSourceLocationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSourceLocationsPaginator
default ListSourceLocationsIterable listSourceLocationsPaginator(Consumer<ListSourceLocationsRequest.Builder> listSourceLocationsRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the source locations for a channel. A source location defines the host server URL, and contains a list of sources.
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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.ListSourceLocationsIterable responses = client.listSourceLocationsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListSourceLocationsRequest.builder()
- Parameters:
listSourceLocationsRequest
- AConsumer
that will call methods onListSourceLocationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws BadRequestException, AwsServiceException, SdkClientException, MediaTailorException A list of tags that are associated with this resource. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws BadRequestException, AwsServiceException, SdkClientException, MediaTailorException A list of tags that are associated with this resource. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listVodSources
default ListVodSourcesResponse listVodSources(ListVodSourcesRequest listVodSourcesRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the VOD sources contained in a source location. A source represents a piece of content.
- Parameters:
listVodSourcesRequest
-- Returns:
- Result of the ListVodSources operation returned by the service.
- See Also:
-
listVodSources
default ListVodSourcesResponse listVodSources(Consumer<ListVodSourcesRequest.Builder> listVodSourcesRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the VOD sources contained in a source location. A source represents a piece of content.
This is a convenience which creates an instance of the
ListVodSourcesRequest.Builder
avoiding the need to create one manually viaListVodSourcesRequest.builder()
- Parameters:
listVodSourcesRequest
- AConsumer
that will call methods onListVodSourcesRequest.Builder
to create a request.- Returns:
- Result of the ListVodSources operation returned by the service.
- See Also:
-
listVodSourcesPaginator
default ListVodSourcesIterable listVodSourcesPaginator(ListVodSourcesRequest listVodSourcesRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the VOD sources contained in a source location. A source represents a piece of content.
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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.ListVodSourcesIterable responses = client.listVodSourcesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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.- Parameters:
listVodSourcesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listVodSourcesPaginator
default ListVodSourcesIterable listVodSourcesPaginator(Consumer<ListVodSourcesRequest.Builder> listVodSourcesRequest) throws AwsServiceException, SdkClientException, MediaTailorException Lists the VOD sources contained in a source location. A source represents a piece of content.
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 Streamsoftware.amazon.awssdk.services.mediatailor.paginators.ListVodSourcesIterable responses = client.listVodSourcesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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 viaListVodSourcesRequest.builder()
- Parameters:
listVodSourcesRequest
- AConsumer
that will call methods onListVodSourcesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
putChannelPolicy
default PutChannelPolicyResponse putChannelPolicy(PutChannelPolicyRequest putChannelPolicyRequest) throws AwsServiceException, SdkClientException, MediaTailorException Creates an IAM policy for the channel. IAM policies are used to control access to your channel.
- Parameters:
putChannelPolicyRequest
-- Returns:
- Result of the PutChannelPolicy operation returned by the service.
- See Also:
-
putChannelPolicy
default PutChannelPolicyResponse putChannelPolicy(Consumer<PutChannelPolicyRequest.Builder> putChannelPolicyRequest) throws AwsServiceException, SdkClientException, MediaTailorException Creates an IAM policy for the channel. IAM policies are used to control access to your channel.
This is a convenience which creates an instance of the
PutChannelPolicyRequest.Builder
avoiding the need to create one manually viaPutChannelPolicyRequest.builder()
- Parameters:
putChannelPolicyRequest
- AConsumer
that will call methods onPutChannelPolicyRequest.Builder
to create a request.- Returns:
- Result of the PutChannelPolicy operation returned by the service.
- See Also:
-
putPlaybackConfiguration
default PutPlaybackConfigurationResponse putPlaybackConfiguration(PutPlaybackConfigurationRequest putPlaybackConfigurationRequest) throws AwsServiceException, SdkClientException, MediaTailorException Creates a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
- Parameters:
putPlaybackConfigurationRequest
-- Returns:
- Result of the PutPlaybackConfiguration operation returned by the service.
- See Also:
-
putPlaybackConfiguration
default PutPlaybackConfigurationResponse putPlaybackConfiguration(Consumer<PutPlaybackConfigurationRequest.Builder> putPlaybackConfigurationRequest) throws AwsServiceException, SdkClientException, MediaTailorException Creates a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
This is a convenience which creates an instance of the
PutPlaybackConfigurationRequest.Builder
avoiding the need to create one manually viaPutPlaybackConfigurationRequest.builder()
- Parameters:
putPlaybackConfigurationRequest
- AConsumer
that will call methods onPutPlaybackConfigurationRequest.Builder
to create a request.- Returns:
- Result of the PutPlaybackConfiguration operation returned by the service.
- See Also:
-
startChannel
default StartChannelResponse startChannel(StartChannelRequest startChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException Starts a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
- Parameters:
startChannelRequest
-- Returns:
- Result of the StartChannel operation returned by the service.
- See Also:
-
startChannel
default StartChannelResponse startChannel(Consumer<StartChannelRequest.Builder> startChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException Starts a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
This is a convenience which creates an instance of the
StartChannelRequest.Builder
avoiding the need to create one manually viaStartChannelRequest.builder()
- Parameters:
startChannelRequest
- AConsumer
that will call methods onStartChannelRequest.Builder
to create a request.- Returns:
- Result of the StartChannel operation returned by the service.
- See Also:
-
stopChannel
default StopChannelResponse stopChannel(StopChannelRequest stopChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException Stops a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
- Parameters:
stopChannelRequest
-- Returns:
- Result of the StopChannel operation returned by the service.
- See Also:
-
stopChannel
default StopChannelResponse stopChannel(Consumer<StopChannelRequest.Builder> stopChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException Stops a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
This is a convenience which creates an instance of the
StopChannelRequest.Builder
avoiding the need to create one manually viaStopChannelRequest.builder()
- Parameters:
stopChannelRequest
- AConsumer
that will call methods onStopChannelRequest.Builder
to create a request.- Returns:
- Result of the StopChannel operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws BadRequestException, AwsServiceException, SdkClientException, MediaTailorException The resource to tag. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws BadRequestException, AwsServiceException, SdkClientException, MediaTailorException The resource to tag. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws BadRequestException, AwsServiceException, SdkClientException, MediaTailorException The resource to untag.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws BadRequestException, AwsServiceException, SdkClientException, MediaTailorException The resource to untag.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateChannel
default UpdateChannelResponse updateChannel(UpdateChannelRequest updateChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException Updates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
- Parameters:
updateChannelRequest
-- Returns:
- Result of the UpdateChannel operation returned by the service.
- See Also:
-
updateChannel
default UpdateChannelResponse updateChannel(Consumer<UpdateChannelRequest.Builder> updateChannelRequest) throws AwsServiceException, SdkClientException, MediaTailorException Updates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
This is a convenience which creates an instance of the
UpdateChannelRequest.Builder
avoiding the need to create one manually viaUpdateChannelRequest.builder()
- Parameters:
updateChannelRequest
- AConsumer
that will call methods onUpdateChannelRequest.Builder
to create a request.- Returns:
- Result of the UpdateChannel operation returned by the service.
- See Also:
-
updateLiveSource
default UpdateLiveSourceResponse updateLiveSource(UpdateLiveSourceRequest updateLiveSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException Updates a live source's configuration.
- Parameters:
updateLiveSourceRequest
-- Returns:
- Result of the UpdateLiveSource operation returned by the service.
- See Also:
-
updateLiveSource
default UpdateLiveSourceResponse updateLiveSource(Consumer<UpdateLiveSourceRequest.Builder> updateLiveSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException Updates a live source's configuration.
This is a convenience which creates an instance of the
UpdateLiveSourceRequest.Builder
avoiding the need to create one manually viaUpdateLiveSourceRequest.builder()
- Parameters:
updateLiveSourceRequest
- AConsumer
that will call methods onUpdateLiveSourceRequest.Builder
to create a request.- Returns:
- Result of the UpdateLiveSource operation returned by the service.
- See Also:
-
updateProgram
default UpdateProgramResponse updateProgram(UpdateProgramRequest updateProgramRequest) throws AwsServiceException, SdkClientException, MediaTailorException Updates a program within a channel.
- Parameters:
updateProgramRequest
-- Returns:
- Result of the UpdateProgram operation returned by the service.
- See Also:
-
updateProgram
default UpdateProgramResponse updateProgram(Consumer<UpdateProgramRequest.Builder> updateProgramRequest) throws AwsServiceException, SdkClientException, MediaTailorException Updates a program within a channel.
This is a convenience which creates an instance of the
UpdateProgramRequest.Builder
avoiding the need to create one manually viaUpdateProgramRequest.builder()
- Parameters:
updateProgramRequest
- AConsumer
that will call methods onUpdateProgramRequest.Builder
to create a request.- Returns:
- Result of the UpdateProgram operation returned by the service.
- See Also:
-
updateSourceLocation
default UpdateSourceLocationResponse updateSourceLocation(UpdateSourceLocationRequest updateSourceLocationRequest) throws AwsServiceException, SdkClientException, MediaTailorException Updates a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.
- Parameters:
updateSourceLocationRequest
-- Returns:
- Result of the UpdateSourceLocation operation returned by the service.
- See Also:
-
updateSourceLocation
default UpdateSourceLocationResponse updateSourceLocation(Consumer<UpdateSourceLocationRequest.Builder> updateSourceLocationRequest) throws AwsServiceException, SdkClientException, MediaTailorException Updates a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.
This is a convenience which creates an instance of the
UpdateSourceLocationRequest.Builder
avoiding the need to create one manually viaUpdateSourceLocationRequest.builder()
- Parameters:
updateSourceLocationRequest
- AConsumer
that will call methods onUpdateSourceLocationRequest.Builder
to create a request.- Returns:
- Result of the UpdateSourceLocation operation returned by the service.
- See Also:
-
updateVodSource
default UpdateVodSourceResponse updateVodSource(UpdateVodSourceRequest updateVodSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException Updates a VOD source's configuration.
- Parameters:
updateVodSourceRequest
-- Returns:
- Result of the UpdateVodSource operation returned by the service.
- See Also:
-
updateVodSource
default UpdateVodSourceResponse updateVodSource(Consumer<UpdateVodSourceRequest.Builder> updateVodSourceRequest) throws AwsServiceException, SdkClientException, MediaTailorException Updates a VOD source's configuration.
This is a convenience which creates an instance of the
UpdateVodSourceRequest.Builder
avoiding the need to create one manually viaUpdateVodSourceRequest.builder()
- Parameters:
updateVodSourceRequest
- AConsumer
that will call methods onUpdateVodSourceRequest.Builder
to create a request.- Returns:
- Result of the UpdateVodSource operation returned by the service.
- See Also:
-
create
Create aMediaTailorClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aMediaTailorClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-