Struct rusoto_mediatailor::MediaTailorClient [−][src]
pub struct MediaTailorClient { /* fields omitted */ }
Expand description
A client for the MediaTailor API.
Implementations
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> MediaTailorClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
Trait Implementations
fn create_channel<'life0, 'async_trait>(
&'life0 self,
input: CreateChannelRequest
) -> Pin<Box<dyn Future<Output = Result<CreateChannelResponse, RusotoError<CreateChannelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_channel<'life0, 'async_trait>(
&'life0 self,
input: CreateChannelRequest
) -> Pin<Box<dyn Future<Output = Result<CreateChannelResponse, RusotoError<CreateChannelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a channel.
fn create_program<'life0, 'async_trait>(
&'life0 self,
input: CreateProgramRequest
) -> Pin<Box<dyn Future<Output = Result<CreateProgramResponse, RusotoError<CreateProgramError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_program<'life0, 'async_trait>(
&'life0 self,
input: CreateProgramRequest
) -> Pin<Box<dyn Future<Output = Result<CreateProgramResponse, RusotoError<CreateProgramError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a program.
fn create_source_location<'life0, 'async_trait>(
&'life0 self,
input: CreateSourceLocationRequest
) -> Pin<Box<dyn Future<Output = Result<CreateSourceLocationResponse, RusotoError<CreateSourceLocationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_source_location<'life0, 'async_trait>(
&'life0 self,
input: CreateSourceLocationRequest
) -> Pin<Box<dyn Future<Output = Result<CreateSourceLocationResponse, RusotoError<CreateSourceLocationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a source location on a specific channel.
fn create_vod_source<'life0, 'async_trait>(
&'life0 self,
input: CreateVodSourceRequest
) -> Pin<Box<dyn Future<Output = Result<CreateVodSourceResponse, RusotoError<CreateVodSourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_vod_source<'life0, 'async_trait>(
&'life0 self,
input: CreateVodSourceRequest
) -> Pin<Box<dyn Future<Output = Result<CreateVodSourceResponse, RusotoError<CreateVodSourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates name for a specific VOD source in a source location.
fn delete_channel<'life0, 'async_trait>(
&'life0 self,
input: DeleteChannelRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteChannelResponse, RusotoError<DeleteChannelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_channel<'life0, 'async_trait>(
&'life0 self,
input: DeleteChannelRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteChannelResponse, RusotoError<DeleteChannelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a channel. You must stop the channel before it can be deleted.
fn delete_channel_policy<'life0, 'async_trait>(
&'life0 self,
input: DeleteChannelPolicyRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteChannelPolicyResponse, RusotoError<DeleteChannelPolicyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_channel_policy<'life0, 'async_trait>(
&'life0 self,
input: DeleteChannelPolicyRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteChannelPolicyResponse, RusotoError<DeleteChannelPolicyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a channel's IAM policy.
fn delete_playback_configuration<'life0, 'async_trait>(
&'life0 self,
input: DeletePlaybackConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<DeletePlaybackConfigurationResponse, RusotoError<DeletePlaybackConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_playback_configuration<'life0, 'async_trait>(
&'life0 self,
input: DeletePlaybackConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<DeletePlaybackConfigurationResponse, RusotoError<DeletePlaybackConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes the playback configuration for the specified name.
fn delete_program<'life0, 'async_trait>(
&'life0 self,
input: DeleteProgramRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteProgramResponse, RusotoError<DeleteProgramError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_program<'life0, 'async_trait>(
&'life0 self,
input: DeleteProgramRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteProgramResponse, RusotoError<DeleteProgramError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a specific program on a specific channel.
fn delete_source_location<'life0, 'async_trait>(
&'life0 self,
input: DeleteSourceLocationRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteSourceLocationResponse, RusotoError<DeleteSourceLocationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_source_location<'life0, 'async_trait>(
&'life0 self,
input: DeleteSourceLocationRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteSourceLocationResponse, RusotoError<DeleteSourceLocationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a source location on a specific channel.
fn delete_vod_source<'life0, 'async_trait>(
&'life0 self,
input: DeleteVodSourceRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteVodSourceResponse, RusotoError<DeleteVodSourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_vod_source<'life0, 'async_trait>(
&'life0 self,
input: DeleteVodSourceRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteVodSourceResponse, RusotoError<DeleteVodSourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a specific VOD source in a specific source location.
fn describe_channel<'life0, 'async_trait>(
&'life0 self,
input: DescribeChannelRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeChannelResponse, RusotoError<DescribeChannelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_channel<'life0, 'async_trait>(
&'life0 self,
input: DescribeChannelRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeChannelResponse, RusotoError<DescribeChannelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Describes the properties of a specific channel.
fn describe_program<'life0, 'async_trait>(
&'life0 self,
input: DescribeProgramRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeProgramResponse, RusotoError<DescribeProgramError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_program<'life0, 'async_trait>(
&'life0 self,
input: DescribeProgramRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeProgramResponse, RusotoError<DescribeProgramError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves the properties of the requested program.
fn describe_source_location<'life0, 'async_trait>(
&'life0 self,
input: DescribeSourceLocationRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSourceLocationResponse, RusotoError<DescribeSourceLocationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_source_location<'life0, 'async_trait>(
&'life0 self,
input: DescribeSourceLocationRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSourceLocationResponse, RusotoError<DescribeSourceLocationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves the properties of the requested source location.
fn describe_vod_source<'life0, 'async_trait>(
&'life0 self,
input: DescribeVodSourceRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeVodSourceResponse, RusotoError<DescribeVodSourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_vod_source<'life0, 'async_trait>(
&'life0 self,
input: DescribeVodSourceRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeVodSourceResponse, RusotoError<DescribeVodSourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Provides details about a specific VOD source in a specific source location.
fn get_channel_policy<'life0, 'async_trait>(
&'life0 self,
input: GetChannelPolicyRequest
) -> Pin<Box<dyn Future<Output = Result<GetChannelPolicyResponse, RusotoError<GetChannelPolicyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_channel_policy<'life0, 'async_trait>(
&'life0 self,
input: GetChannelPolicyRequest
) -> Pin<Box<dyn Future<Output = Result<GetChannelPolicyResponse, RusotoError<GetChannelPolicyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves information about a channel's IAM policy.
fn get_channel_schedule<'life0, 'async_trait>(
&'life0 self,
input: GetChannelScheduleRequest
) -> Pin<Box<dyn Future<Output = Result<GetChannelScheduleResponse, RusotoError<GetChannelScheduleError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_channel_schedule<'life0, 'async_trait>(
&'life0 self,
input: GetChannelScheduleRequest
) -> Pin<Box<dyn Future<Output = Result<GetChannelScheduleResponse, RusotoError<GetChannelScheduleError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves information about your channel's schedule.
fn get_playback_configuration<'life0, 'async_trait>(
&'life0 self,
input: GetPlaybackConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<GetPlaybackConfigurationResponse, RusotoError<GetPlaybackConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_playback_configuration<'life0, 'async_trait>(
&'life0 self,
input: GetPlaybackConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<GetPlaybackConfigurationResponse, RusotoError<GetPlaybackConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns the playback configuration for the specified name.
fn list_channels<'life0, 'async_trait>(
&'life0 self,
input: ListChannelsRequest
) -> Pin<Box<dyn Future<Output = Result<ListChannelsResponse, RusotoError<ListChannelsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_channels<'life0, 'async_trait>(
&'life0 self,
input: ListChannelsRequest
) -> Pin<Box<dyn Future<Output = Result<ListChannelsResponse, RusotoError<ListChannelsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves a list of channels that are associated with this account.
fn list_playback_configurations<'life0, 'async_trait>(
&'life0 self,
input: ListPlaybackConfigurationsRequest
) -> Pin<Box<dyn Future<Output = Result<ListPlaybackConfigurationsResponse, RusotoError<ListPlaybackConfigurationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_playback_configurations<'life0, 'async_trait>(
&'life0 self,
input: ListPlaybackConfigurationsRequest
) -> Pin<Box<dyn Future<Output = Result<ListPlaybackConfigurationsResponse, RusotoError<ListPlaybackConfigurationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.
fn list_source_locations<'life0, 'async_trait>(
&'life0 self,
input: ListSourceLocationsRequest
) -> Pin<Box<dyn Future<Output = Result<ListSourceLocationsResponse, RusotoError<ListSourceLocationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_source_locations<'life0, 'async_trait>(
&'life0 self,
input: ListSourceLocationsRequest
) -> Pin<Box<dyn Future<Output = Result<ListSourceLocationsResponse, RusotoError<ListSourceLocationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves a list of source locations.
Returns a list of the tags assigned to the specified playback configuration resource.
fn list_vod_sources<'life0, 'async_trait>(
&'life0 self,
input: ListVodSourcesRequest
) -> Pin<Box<dyn Future<Output = Result<ListVodSourcesResponse, RusotoError<ListVodSourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_vod_sources<'life0, 'async_trait>(
&'life0 self,
input: ListVodSourcesRequest
) -> Pin<Box<dyn Future<Output = Result<ListVodSourcesResponse, RusotoError<ListVodSourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists all the VOD sources in a source location.
fn put_channel_policy<'life0, 'async_trait>(
&'life0 self,
input: PutChannelPolicyRequest
) -> Pin<Box<dyn Future<Output = Result<PutChannelPolicyResponse, RusotoError<PutChannelPolicyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn put_channel_policy<'life0, 'async_trait>(
&'life0 self,
input: PutChannelPolicyRequest
) -> Pin<Box<dyn Future<Output = Result<PutChannelPolicyResponse, RusotoError<PutChannelPolicyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates an IAM policy for the channel.
fn put_playback_configuration<'life0, 'async_trait>(
&'life0 self,
input: PutPlaybackConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<PutPlaybackConfigurationResponse, RusotoError<PutPlaybackConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn put_playback_configuration<'life0, 'async_trait>(
&'life0 self,
input: PutPlaybackConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<PutPlaybackConfigurationResponse, RusotoError<PutPlaybackConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Adds a new playback configuration to AWS Elemental MediaTailor.
fn start_channel<'life0, 'async_trait>(
&'life0 self,
input: StartChannelRequest
) -> Pin<Box<dyn Future<Output = Result<StartChannelResponse, RusotoError<StartChannelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn start_channel<'life0, 'async_trait>(
&'life0 self,
input: StartChannelRequest
) -> Pin<Box<dyn Future<Output = Result<StartChannelResponse, RusotoError<StartChannelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Starts a specific channel.
fn stop_channel<'life0, 'async_trait>(
&'life0 self,
input: StopChannelRequest
) -> Pin<Box<dyn Future<Output = Result<StopChannelResponse, RusotoError<StopChannelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn stop_channel<'life0, 'async_trait>(
&'life0 self,
input: StopChannelRequest
) -> Pin<Box<dyn Future<Output = Result<StopChannelResponse, RusotoError<StopChannelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Stops a specific channel.
fn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Adds tags to the specified playback configuration resource. You can specify one or more tags to add.
fn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.
fn update_channel<'life0, 'async_trait>(
&'life0 self,
input: UpdateChannelRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateChannelResponse, RusotoError<UpdateChannelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_channel<'life0, 'async_trait>(
&'life0 self,
input: UpdateChannelRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateChannelResponse, RusotoError<UpdateChannelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates an existing channel.
fn update_source_location<'life0, 'async_trait>(
&'life0 self,
input: UpdateSourceLocationRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateSourceLocationResponse, RusotoError<UpdateSourceLocationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_source_location<'life0, 'async_trait>(
&'life0 self,
input: UpdateSourceLocationRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateSourceLocationResponse, RusotoError<UpdateSourceLocationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates a source location on a specific channel.
fn update_vod_source<'life0, 'async_trait>(
&'life0 self,
input: UpdateVodSourceRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateVodSourceResponse, RusotoError<UpdateVodSourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_vod_source<'life0, 'async_trait>(
&'life0 self,
input: UpdateVodSourceRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateVodSourceResponse, RusotoError<UpdateVodSourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates a specific VOD source in a specific source location.
Auto Trait Implementations
impl !RefUnwindSafe for MediaTailorClient
impl Send for MediaTailorClient
impl Sync for MediaTailorClient
impl Unpin for MediaTailorClient
impl !UnwindSafe for MediaTailorClient
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self