Struct rusoto_mediaconvert::MediaConvertClient
source · [−]pub struct MediaConvertClient { /* private fields */ }
Expand description
A client for the MediaConvert API.
Implementations
sourceimpl MediaConvertClient
impl MediaConvertClient
sourcepub fn new(region: Region) -> MediaConvertClient
pub fn new(region: Region) -> MediaConvertClient
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
) -> MediaConvertClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> MediaConvertClient
Trait Implementations
sourceimpl Clone for MediaConvertClient
impl Clone for MediaConvertClient
sourcefn clone(&self) -> MediaConvertClient
fn clone(&self) -> MediaConvertClient
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 MediaConvert for MediaConvertClient
impl MediaConvert for MediaConvertClient
sourcefn associate_certificate<'life0, 'async_trait>(
&'life0 self,
input: AssociateCertificateRequest
) -> Pin<Box<dyn Future<Output = Result<AssociateCertificateResponse, RusotoError<AssociateCertificateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn associate_certificate<'life0, 'async_trait>(
&'life0 self,
input: AssociateCertificateRequest
) -> Pin<Box<dyn Future<Output = Result<AssociateCertificateResponse, RusotoError<AssociateCertificateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental MediaConvert.
sourcefn cancel_job<'life0, 'async_trait>(
&'life0 self,
input: CancelJobRequest
) -> Pin<Box<dyn Future<Output = Result<CancelJobResponse, RusotoError<CancelJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn cancel_job<'life0, 'async_trait>(
&'life0 self,
input: CancelJobRequest
) -> Pin<Box<dyn Future<Output = Result<CancelJobResponse, RusotoError<CancelJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Permanently cancel a job. Once you have canceled a job, you can't start it again.
sourcefn create_job<'life0, 'async_trait>(
&'life0 self,
input: CreateJobRequest
) -> Pin<Box<dyn Future<Output = Result<CreateJobResponse, RusotoError<CreateJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_job<'life0, 'async_trait>(
&'life0 self,
input: CreateJobRequest
) -> Pin<Box<dyn Future<Output = Result<CreateJobResponse, RusotoError<CreateJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Create a new transcoding job. For information about jobs and job settings, see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
sourcefn create_job_template<'life0, 'async_trait>(
&'life0 self,
input: CreateJobTemplateRequest
) -> Pin<Box<dyn Future<Output = Result<CreateJobTemplateResponse, RusotoError<CreateJobTemplateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_job_template<'life0, 'async_trait>(
&'life0 self,
input: CreateJobTemplateRequest
) -> Pin<Box<dyn Future<Output = Result<CreateJobTemplateResponse, RusotoError<CreateJobTemplateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Create a new job template. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
sourcefn create_preset<'life0, 'async_trait>(
&'life0 self,
input: CreatePresetRequest
) -> Pin<Box<dyn Future<Output = Result<CreatePresetResponse, RusotoError<CreatePresetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_preset<'life0, 'async_trait>(
&'life0 self,
input: CreatePresetRequest
) -> Pin<Box<dyn Future<Output = Result<CreatePresetResponse, RusotoError<CreatePresetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Create a new preset. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
sourcefn create_queue<'life0, 'async_trait>(
&'life0 self,
input: CreateQueueRequest
) -> Pin<Box<dyn Future<Output = Result<CreateQueueResponse, RusotoError<CreateQueueError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_queue<'life0, 'async_trait>(
&'life0 self,
input: CreateQueueRequest
) -> Pin<Box<dyn Future<Output = Result<CreateQueueResponse, RusotoError<CreateQueueError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Create a new transcoding queue. For information about queues, see Working With Queues in the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html
sourcefn delete_job_template<'life0, 'async_trait>(
&'life0 self,
input: DeleteJobTemplateRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteJobTemplateResponse, RusotoError<DeleteJobTemplateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_job_template<'life0, 'async_trait>(
&'life0 self,
input: DeleteJobTemplateRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteJobTemplateResponse, RusotoError<DeleteJobTemplateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Permanently delete a job template you have created.
sourcefn delete_preset<'life0, 'async_trait>(
&'life0 self,
input: DeletePresetRequest
) -> Pin<Box<dyn Future<Output = Result<DeletePresetResponse, RusotoError<DeletePresetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_preset<'life0, 'async_trait>(
&'life0 self,
input: DeletePresetRequest
) -> Pin<Box<dyn Future<Output = Result<DeletePresetResponse, RusotoError<DeletePresetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Permanently delete a preset you have created.
sourcefn delete_queue<'life0, 'async_trait>(
&'life0 self,
input: DeleteQueueRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteQueueResponse, RusotoError<DeleteQueueError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_queue<'life0, 'async_trait>(
&'life0 self,
input: DeleteQueueRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteQueueResponse, RusotoError<DeleteQueueError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Permanently delete a queue you have created.
sourcefn describe_endpoints<'life0, 'async_trait>(
&'life0 self,
input: DescribeEndpointsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeEndpointsResponse, RusotoError<DescribeEndpointsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_endpoints<'life0, 'async_trait>(
&'life0 self,
input: DescribeEndpointsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeEndpointsResponse, RusotoError<DescribeEndpointsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Send an request with an empty body to the regional API endpoint to get your account API endpoint.
sourcefn disassociate_certificate<'life0, 'async_trait>(
&'life0 self,
input: DisassociateCertificateRequest
) -> Pin<Box<dyn Future<Output = Result<DisassociateCertificateResponse, RusotoError<DisassociateCertificateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn disassociate_certificate<'life0, 'async_trait>(
&'life0 self,
input: DisassociateCertificateRequest
) -> Pin<Box<dyn Future<Output = Result<DisassociateCertificateResponse, RusotoError<DisassociateCertificateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes an association between the Amazon Resource Name (ARN) of an AWS Certificate Manager (ACM) certificate and an AWS Elemental MediaConvert resource.
sourcefn get_job<'life0, 'async_trait>(
&'life0 self,
input: GetJobRequest
) -> Pin<Box<dyn Future<Output = Result<GetJobResponse, RusotoError<GetJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_job<'life0, 'async_trait>(
&'life0 self,
input: GetJobRequest
) -> Pin<Box<dyn Future<Output = Result<GetJobResponse, RusotoError<GetJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieve the JSON for a specific completed transcoding job.
sourcefn get_job_template<'life0, 'async_trait>(
&'life0 self,
input: GetJobTemplateRequest
) -> Pin<Box<dyn Future<Output = Result<GetJobTemplateResponse, RusotoError<GetJobTemplateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_job_template<'life0, 'async_trait>(
&'life0 self,
input: GetJobTemplateRequest
) -> Pin<Box<dyn Future<Output = Result<GetJobTemplateResponse, RusotoError<GetJobTemplateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieve the JSON for a specific job template.
sourcefn get_preset<'life0, 'async_trait>(
&'life0 self,
input: GetPresetRequest
) -> Pin<Box<dyn Future<Output = Result<GetPresetResponse, RusotoError<GetPresetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_preset<'life0, 'async_trait>(
&'life0 self,
input: GetPresetRequest
) -> Pin<Box<dyn Future<Output = Result<GetPresetResponse, RusotoError<GetPresetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieve the JSON for a specific preset.
sourcefn get_queue<'life0, 'async_trait>(
&'life0 self,
input: GetQueueRequest
) -> Pin<Box<dyn Future<Output = Result<GetQueueResponse, RusotoError<GetQueueError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_queue<'life0, 'async_trait>(
&'life0 self,
input: GetQueueRequest
) -> Pin<Box<dyn Future<Output = Result<GetQueueResponse, RusotoError<GetQueueError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieve the JSON for a specific queue.
sourcefn list_job_templates<'life0, 'async_trait>(
&'life0 self,
input: ListJobTemplatesRequest
) -> Pin<Box<dyn Future<Output = Result<ListJobTemplatesResponse, RusotoError<ListJobTemplatesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_job_templates<'life0, 'async_trait>(
&'life0 self,
input: ListJobTemplatesRequest
) -> Pin<Box<dyn Future<Output = Result<ListJobTemplatesResponse, RusotoError<ListJobTemplatesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieve a JSON array of up to twenty of your job templates. This will return the templates themselves, not just a list of them. To retrieve the next twenty templates, use the nextToken string returned with the array
sourcefn list_jobs<'life0, 'async_trait>(
&'life0 self,
input: ListJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListJobsResponse, RusotoError<ListJobsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_jobs<'life0, 'async_trait>(
&'life0 self,
input: ListJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListJobsResponse, RusotoError<ListJobsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieve a JSON array of up to twenty of your most recently created jobs. This array includes in-process, completed, and errored jobs. This will return the jobs themselves, not just a list of the jobs. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.
sourcefn list_presets<'life0, 'async_trait>(
&'life0 self,
input: ListPresetsRequest
) -> Pin<Box<dyn Future<Output = Result<ListPresetsResponse, RusotoError<ListPresetsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_presets<'life0, 'async_trait>(
&'life0 self,
input: ListPresetsRequest
) -> Pin<Box<dyn Future<Output = Result<ListPresetsResponse, RusotoError<ListPresetsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieve a JSON array of up to twenty of your presets. This will return the presets themselves, not just a list of them. To retrieve the next twenty presets, use the nextToken string returned with the array.
sourcefn list_queues<'life0, 'async_trait>(
&'life0 self,
input: ListQueuesRequest
) -> Pin<Box<dyn Future<Output = Result<ListQueuesResponse, RusotoError<ListQueuesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_queues<'life0, 'async_trait>(
&'life0 self,
input: ListQueuesRequest
) -> Pin<Box<dyn Future<Output = Result<ListQueuesResponse, RusotoError<ListQueuesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieve a JSON array of up to twenty of your queues. This will return the queues themselves, not just a list of them. To retrieve the next twenty queues, use the nextToken string returned with the array.
Retrieve the tags for a MediaConvert resource.
sourcefn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, 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<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Add tags to a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
sourcefn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, 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<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Remove tags from a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
sourcefn update_job_template<'life0, 'async_trait>(
&'life0 self,
input: UpdateJobTemplateRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateJobTemplateResponse, RusotoError<UpdateJobTemplateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_job_template<'life0, 'async_trait>(
&'life0 self,
input: UpdateJobTemplateRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateJobTemplateResponse, RusotoError<UpdateJobTemplateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Modify one of your existing job templates.
sourcefn update_preset<'life0, 'async_trait>(
&'life0 self,
input: UpdatePresetRequest
) -> Pin<Box<dyn Future<Output = Result<UpdatePresetResponse, RusotoError<UpdatePresetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_preset<'life0, 'async_trait>(
&'life0 self,
input: UpdatePresetRequest
) -> Pin<Box<dyn Future<Output = Result<UpdatePresetResponse, RusotoError<UpdatePresetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Modify one of your existing presets.
sourcefn update_queue<'life0, 'async_trait>(
&'life0 self,
input: UpdateQueueRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateQueueResponse, RusotoError<UpdateQueueError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_queue<'life0, 'async_trait>(
&'life0 self,
input: UpdateQueueRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateQueueResponse, RusotoError<UpdateQueueError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Modify one of your existing queues.
Auto Trait Implementations
impl !RefUnwindSafe for MediaConvertClient
impl Send for MediaConvertClient
impl Sync for MediaConvertClient
impl Unpin for MediaConvertClient
impl !UnwindSafe for MediaConvertClient
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