pub struct MediaPackageVodClient { /* private fields */ }
Expand description
A client for the MediaPackage Vod API.
Implementations
sourceimpl MediaPackageVodClient
impl MediaPackageVodClient
sourcepub fn new(region: Region) -> MediaPackageVodClient
pub fn new(region: Region) -> MediaPackageVodClient
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
) -> MediaPackageVodClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> MediaPackageVodClient
Trait Implementations
sourceimpl Clone for MediaPackageVodClient
impl Clone for MediaPackageVodClient
sourcefn clone(&self) -> MediaPackageVodClient
fn clone(&self) -> MediaPackageVodClient
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 MediaPackageVod for MediaPackageVodClient
impl MediaPackageVod for MediaPackageVodClient
sourcefn configure_logs<'life0, 'async_trait>(
&'life0 self,
input: ConfigureLogsRequest
) -> Pin<Box<dyn Future<Output = Result<ConfigureLogsResponse, RusotoError<ConfigureLogsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn configure_logs<'life0, 'async_trait>(
&'life0 self,
input: ConfigureLogsRequest
) -> Pin<Box<dyn Future<Output = Result<ConfigureLogsResponse, RusotoError<ConfigureLogsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Changes the packaging group's properities to configure log subscription
sourcefn create_asset<'life0, 'async_trait>(
&'life0 self,
input: CreateAssetRequest
) -> Pin<Box<dyn Future<Output = Result<CreateAssetResponse, RusotoError<CreateAssetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_asset<'life0, 'async_trait>(
&'life0 self,
input: CreateAssetRequest
) -> Pin<Box<dyn Future<Output = Result<CreateAssetResponse, RusotoError<CreateAssetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new MediaPackage VOD Asset resource.
sourcefn create_packaging_configuration<'life0, 'async_trait>(
&'life0 self,
input: CreatePackagingConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<CreatePackagingConfigurationResponse, RusotoError<CreatePackagingConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_packaging_configuration<'life0, 'async_trait>(
&'life0 self,
input: CreatePackagingConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<CreatePackagingConfigurationResponse, RusotoError<CreatePackagingConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new MediaPackage VOD PackagingConfiguration resource.
sourcefn create_packaging_group<'life0, 'async_trait>(
&'life0 self,
input: CreatePackagingGroupRequest
) -> Pin<Box<dyn Future<Output = Result<CreatePackagingGroupResponse, RusotoError<CreatePackagingGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_packaging_group<'life0, 'async_trait>(
&'life0 self,
input: CreatePackagingGroupRequest
) -> Pin<Box<dyn Future<Output = Result<CreatePackagingGroupResponse, RusotoError<CreatePackagingGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new MediaPackage VOD PackagingGroup resource.
sourcefn delete_asset<'life0, 'async_trait>(
&'life0 self,
input: DeleteAssetRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteAssetResponse, RusotoError<DeleteAssetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_asset<'life0, 'async_trait>(
&'life0 self,
input: DeleteAssetRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteAssetResponse, RusotoError<DeleteAssetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes an existing MediaPackage VOD Asset resource.
sourcefn delete_packaging_configuration<'life0, 'async_trait>(
&'life0 self,
input: DeletePackagingConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<DeletePackagingConfigurationResponse, RusotoError<DeletePackagingConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_packaging_configuration<'life0, 'async_trait>(
&'life0 self,
input: DeletePackagingConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<DeletePackagingConfigurationResponse, RusotoError<DeletePackagingConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a MediaPackage VOD PackagingConfiguration resource.
sourcefn delete_packaging_group<'life0, 'async_trait>(
&'life0 self,
input: DeletePackagingGroupRequest
) -> Pin<Box<dyn Future<Output = Result<DeletePackagingGroupResponse, RusotoError<DeletePackagingGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_packaging_group<'life0, 'async_trait>(
&'life0 self,
input: DeletePackagingGroupRequest
) -> Pin<Box<dyn Future<Output = Result<DeletePackagingGroupResponse, RusotoError<DeletePackagingGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a MediaPackage VOD PackagingGroup resource.
sourcefn describe_asset<'life0, 'async_trait>(
&'life0 self,
input: DescribeAssetRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeAssetResponse, RusotoError<DescribeAssetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_asset<'life0, 'async_trait>(
&'life0 self,
input: DescribeAssetRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeAssetResponse, RusotoError<DescribeAssetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a description of a MediaPackage VOD Asset resource.
sourcefn describe_packaging_configuration<'life0, 'async_trait>(
&'life0 self,
input: DescribePackagingConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<DescribePackagingConfigurationResponse, RusotoError<DescribePackagingConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_packaging_configuration<'life0, 'async_trait>(
&'life0 self,
input: DescribePackagingConfigurationRequest
) -> Pin<Box<dyn Future<Output = Result<DescribePackagingConfigurationResponse, RusotoError<DescribePackagingConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a description of a MediaPackage VOD PackagingConfiguration resource.
sourcefn describe_packaging_group<'life0, 'async_trait>(
&'life0 self,
input: DescribePackagingGroupRequest
) -> Pin<Box<dyn Future<Output = Result<DescribePackagingGroupResponse, RusotoError<DescribePackagingGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_packaging_group<'life0, 'async_trait>(
&'life0 self,
input: DescribePackagingGroupRequest
) -> Pin<Box<dyn Future<Output = Result<DescribePackagingGroupResponse, RusotoError<DescribePackagingGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a description of a MediaPackage VOD PackagingGroup resource.
sourcefn list_assets<'life0, 'async_trait>(
&'life0 self,
input: ListAssetsRequest
) -> Pin<Box<dyn Future<Output = Result<ListAssetsResponse, RusotoError<ListAssetsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_assets<'life0, 'async_trait>(
&'life0 self,
input: ListAssetsRequest
) -> Pin<Box<dyn Future<Output = Result<ListAssetsResponse, RusotoError<ListAssetsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a collection of MediaPackage VOD Asset resources.
sourcefn list_packaging_configurations<'life0, 'async_trait>(
&'life0 self,
input: ListPackagingConfigurationsRequest
) -> Pin<Box<dyn Future<Output = Result<ListPackagingConfigurationsResponse, RusotoError<ListPackagingConfigurationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_packaging_configurations<'life0, 'async_trait>(
&'life0 self,
input: ListPackagingConfigurationsRequest
) -> Pin<Box<dyn Future<Output = Result<ListPackagingConfigurationsResponse, RusotoError<ListPackagingConfigurationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a collection of MediaPackage VOD PackagingConfiguration resources.
sourcefn list_packaging_groups<'life0, 'async_trait>(
&'life0 self,
input: ListPackagingGroupsRequest
) -> Pin<Box<dyn Future<Output = Result<ListPackagingGroupsResponse, RusotoError<ListPackagingGroupsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_packaging_groups<'life0, 'async_trait>(
&'life0 self,
input: ListPackagingGroupsRequest
) -> Pin<Box<dyn Future<Output = Result<ListPackagingGroupsResponse, RusotoError<ListPackagingGroupsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a collection of MediaPackage VOD PackagingGroup resources.
Returns a list of the tags assigned to the specified resource.
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 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 resource. You can specify one or more tags to remove.
sourcefn update_packaging_group<'life0, 'async_trait>(
&'life0 self,
input: UpdatePackagingGroupRequest
) -> Pin<Box<dyn Future<Output = Result<UpdatePackagingGroupResponse, RusotoError<UpdatePackagingGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_packaging_group<'life0, 'async_trait>(
&'life0 self,
input: UpdatePackagingGroupRequest
) -> Pin<Box<dyn Future<Output = Result<UpdatePackagingGroupResponse, RusotoError<UpdatePackagingGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates a specific packaging group. You can't change the id attribute or any other system-generated attributes.
Auto Trait Implementations
impl !RefUnwindSafe for MediaPackageVodClient
impl Send for MediaPackageVodClient
impl Sync for MediaPackageVodClient
impl Unpin for MediaPackageVodClient
impl !UnwindSafe for MediaPackageVodClient
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