Struct rusoto_mediapackage::MediaPackageClient
source · [−]pub struct MediaPackageClient { /* private fields */ }
Expand description
A client for the MediaPackage API.
Implementations
sourceimpl MediaPackageClient
impl MediaPackageClient
sourcepub fn new(region: Region) -> MediaPackageClient
pub fn new(region: Region) -> MediaPackageClient
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
) -> MediaPackageClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> MediaPackageClient
Trait Implementations
sourceimpl Clone for MediaPackageClient
impl Clone for MediaPackageClient
sourcefn clone(&self) -> MediaPackageClient
fn clone(&self) -> MediaPackageClient
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 MediaPackage for MediaPackageClient
impl MediaPackage for MediaPackageClient
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 Channel's properities to configure log subscription
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 new Channel.
sourcefn create_harvest_job<'life0, 'async_trait>(
&'life0 self,
input: CreateHarvestJobRequest
) -> Pin<Box<dyn Future<Output = Result<CreateHarvestJobResponse, RusotoError<CreateHarvestJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_harvest_job<'life0, 'async_trait>(
&'life0 self,
input: CreateHarvestJobRequest
) -> Pin<Box<dyn Future<Output = Result<CreateHarvestJobResponse, RusotoError<CreateHarvestJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new HarvestJob record.
sourcefn create_origin_endpoint<'life0, 'async_trait>(
&'life0 self,
input: CreateOriginEndpointRequest
) -> Pin<Box<dyn Future<Output = Result<CreateOriginEndpointResponse, RusotoError<CreateOriginEndpointError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_origin_endpoint<'life0, 'async_trait>(
&'life0 self,
input: CreateOriginEndpointRequest
) -> Pin<Box<dyn Future<Output = Result<CreateOriginEndpointResponse, RusotoError<CreateOriginEndpointError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new OriginEndpoint record.
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 an existing Channel.
sourcefn delete_origin_endpoint<'life0, 'async_trait>(
&'life0 self,
input: DeleteOriginEndpointRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteOriginEndpointResponse, RusotoError<DeleteOriginEndpointError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_origin_endpoint<'life0, 'async_trait>(
&'life0 self,
input: DeleteOriginEndpointRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteOriginEndpointResponse, RusotoError<DeleteOriginEndpointError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes an existing OriginEndpoint.
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,
Gets details about a Channel.
sourcefn describe_harvest_job<'life0, 'async_trait>(
&'life0 self,
input: DescribeHarvestJobRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeHarvestJobResponse, RusotoError<DescribeHarvestJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_harvest_job<'life0, 'async_trait>(
&'life0 self,
input: DescribeHarvestJobRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeHarvestJobResponse, RusotoError<DescribeHarvestJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets details about an existing HarvestJob.
sourcefn describe_origin_endpoint<'life0, 'async_trait>(
&'life0 self,
input: DescribeOriginEndpointRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeOriginEndpointResponse, RusotoError<DescribeOriginEndpointError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_origin_endpoint<'life0, 'async_trait>(
&'life0 self,
input: DescribeOriginEndpointRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeOriginEndpointResponse, RusotoError<DescribeOriginEndpointError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets details about an existing OriginEndpoint.
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,
Returns a collection of Channels.
sourcefn list_harvest_jobs<'life0, 'async_trait>(
&'life0 self,
input: ListHarvestJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListHarvestJobsResponse, RusotoError<ListHarvestJobsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_harvest_jobs<'life0, 'async_trait>(
&'life0 self,
input: ListHarvestJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListHarvestJobsResponse, RusotoError<ListHarvestJobsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a collection of HarvestJob records.
sourcefn list_origin_endpoints<'life0, 'async_trait>(
&'life0 self,
input: ListOriginEndpointsRequest
) -> Pin<Box<dyn Future<Output = Result<ListOriginEndpointsResponse, RusotoError<ListOriginEndpointsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_origin_endpoints<'life0, 'async_trait>(
&'life0 self,
input: ListOriginEndpointsRequest
) -> Pin<Box<dyn Future<Output = Result<ListOriginEndpointsResponse, RusotoError<ListOriginEndpointsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a collection of OriginEndpoint records.
sourcefn rotate_channel_credentials<'life0, 'async_trait>(
&'life0 self,
input: RotateChannelCredentialsRequest
) -> Pin<Box<dyn Future<Output = Result<RotateChannelCredentialsResponse, RusotoError<RotateChannelCredentialsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn rotate_channel_credentials<'life0, 'async_trait>(
&'life0 self,
input: RotateChannelCredentialsRequest
) -> Pin<Box<dyn Future<Output = Result<RotateChannelCredentialsResponse, RusotoError<RotateChannelCredentialsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Changes the Channel's first IngestEndpoint's username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead
sourcefn rotate_ingest_endpoint_credentials<'life0, 'async_trait>(
&'life0 self,
input: RotateIngestEndpointCredentialsRequest
) -> Pin<Box<dyn Future<Output = Result<RotateIngestEndpointCredentialsResponse, RusotoError<RotateIngestEndpointCredentialsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn rotate_ingest_endpoint_credentials<'life0, 'async_trait>(
&'life0 self,
input: RotateIngestEndpointCredentialsRequest
) -> Pin<Box<dyn Future<Output = Result<RotateIngestEndpointCredentialsResponse, RusotoError<RotateIngestEndpointCredentialsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id.
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_origin_endpoint<'life0, 'async_trait>(
&'life0 self,
input: UpdateOriginEndpointRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateOriginEndpointResponse, RusotoError<UpdateOriginEndpointError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_origin_endpoint<'life0, 'async_trait>(
&'life0 self,
input: UpdateOriginEndpointRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateOriginEndpointResponse, RusotoError<UpdateOriginEndpointError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates an existing OriginEndpoint.
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 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,
Auto Trait Implementations
impl !RefUnwindSafe for MediaPackageClient
impl Send for MediaPackageClient
impl Sync for MediaPackageClient
impl Unpin for MediaPackageClient
impl !UnwindSafe for MediaPackageClient
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