pub struct MediaPackageClient { /* private fields */ }Expand description
A client for the MediaPackage API.
Implementations§
Source§impl 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,
) -> MediaPackageClientwhere
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> MediaPackageClient
Trait Implementations§
Source§impl Clone for MediaPackageClient
impl Clone for MediaPackageClient
Source§fn clone(&self) -> MediaPackageClient
fn clone(&self) -> MediaPackageClient
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl MediaPackage for MediaPackageClient
impl MediaPackage for MediaPackageClient
Source§fn create_channel<'life0, 'async_trait>(
&'life0 self,
input: CreateChannelRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateChannelResponse, RusotoError<CreateChannelError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Creates a new Channel.
Source§fn create_harvest_job<'life0, 'async_trait>(
&'life0 self,
input: CreateHarvestJobRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateHarvestJobResponse, RusotoError<CreateHarvestJobError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Creates a new HarvestJob record.
Source§fn create_origin_endpoint<'life0, 'async_trait>(
&'life0 self,
input: CreateOriginEndpointRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateOriginEndpointResponse, RusotoError<CreateOriginEndpointError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Creates a new OriginEndpoint record.
Source§fn delete_channel<'life0, 'async_trait>(
&'life0 self,
input: DeleteChannelRequest,
) -> Pin<Box<dyn Future<Output = Result<DeleteChannelResponse, RusotoError<DeleteChannelError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Deletes an existing Channel.
Source§fn delete_origin_endpoint<'life0, 'async_trait>(
&'life0 self,
input: DeleteOriginEndpointRequest,
) -> Pin<Box<dyn Future<Output = Result<DeleteOriginEndpointResponse, RusotoError<DeleteOriginEndpointError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Deletes an existing OriginEndpoint.
Source§fn describe_channel<'life0, 'async_trait>(
&'life0 self,
input: DescribeChannelRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeChannelResponse, RusotoError<DescribeChannelError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Gets details about a Channel.
Source§fn describe_harvest_job<'life0, 'async_trait>(
&'life0 self,
input: DescribeHarvestJobRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeHarvestJobResponse, RusotoError<DescribeHarvestJobError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Gets details about an existing HarvestJob.
Source§fn describe_origin_endpoint<'life0, 'async_trait>(
&'life0 self,
input: DescribeOriginEndpointRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeOriginEndpointResponse, RusotoError<DescribeOriginEndpointError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Gets details about an existing OriginEndpoint.
Source§fn list_channels<'life0, 'async_trait>(
&'life0 self,
input: ListChannelsRequest,
) -> Pin<Box<dyn Future<Output = Result<ListChannelsResponse, RusotoError<ListChannelsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Returns a collection of Channels.
Source§fn list_harvest_jobs<'life0, 'async_trait>(
&'life0 self,
input: ListHarvestJobsRequest,
) -> Pin<Box<dyn Future<Output = Result<ListHarvestJobsResponse, RusotoError<ListHarvestJobsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Returns a collection of HarvestJob records.
Source§fn list_origin_endpoints<'life0, 'async_trait>(
&'life0 self,
input: ListOriginEndpointsRequest,
) -> Pin<Box<dyn Future<Output = Result<ListOriginEndpointsResponse, RusotoError<ListOriginEndpointsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Returns a collection of OriginEndpoint records.
Source§fn rotate_channel_credentials<'life0, 'async_trait>(
&'life0 self,
input: RotateChannelCredentialsRequest,
) -> Pin<Box<dyn Future<Output = Result<RotateChannelCredentialsResponse, RusotoError<RotateChannelCredentialsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Changes the Channel's first IngestEndpoint's username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead
Source§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
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id.
Source§fn update_channel<'life0, 'async_trait>(
&'life0 self,
input: UpdateChannelRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateChannelResponse, RusotoError<UpdateChannelError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Updates an existing Channel.
Source§fn update_origin_endpoint<'life0, 'async_trait>(
&'life0 self,
input: UpdateOriginEndpointRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateOriginEndpointResponse, RusotoError<UpdateOriginEndpointError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Updates an existing OriginEndpoint.