Struct rusoto_mediatailor::MediaTailorClient
source · [−]pub struct MediaTailorClient { /* private fields */ }
Expand description
A client for the MediaTailor API.
Implementations
sourceimpl MediaTailorClient
impl MediaTailorClient
sourcepub fn new(region: Region) -> MediaTailorClient
pub fn new(region: Region) -> MediaTailorClient
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,
pub fn new_with_client(client: Client, region: Region) -> MediaTailorClient
Trait Implementations
sourceimpl Clone for MediaTailorClient
impl Clone for MediaTailorClient
sourcefn clone(&self) -> MediaTailorClient
fn clone(&self) -> MediaTailorClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl MediaTailor for MediaTailorClient
impl MediaTailor for MediaTailorClient
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more