[][src]Struct rusoto_mediaconnect::MediaConnectClient

pub struct MediaConnectClient { /* fields omitted */ }

A client for the AWS MediaConnect API.

Methods

impl MediaConnectClient[src]

pub fn new(region: Region) -> MediaConnectClient[src]

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
) -> MediaConnectClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

pub fn new_with_client(client: Client, region: Region) -> MediaConnectClient[src]

Trait Implementations

impl Clone for MediaConnectClient[src]

impl MediaConnect for MediaConnectClient[src]

fn add_flow_outputs<'life0, 'async_trait>(
    &'life0 self,
    input: AddFlowOutputsRequest
) -> Pin<Box<dyn Future<Output = Result<AddFlowOutputsResponse, RusotoError<AddFlowOutputsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Adds outputs to an existing flow. You can create up to 20 outputs per flow.

fn create_flow<'life0, 'async_trait>(
    &'life0 self,
    input: CreateFlowRequest
) -> Pin<Box<dyn Future<Output = Result<CreateFlowResponse, RusotoError<CreateFlowError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a new flow. The request must include one source. The request optionally can include outputs (up to 20) and entitlements (up to 50).

fn delete_flow<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteFlowRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteFlowResponse, RusotoError<DeleteFlowError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a flow. Before you can delete a flow, you must stop the flow.

fn describe_flow<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeFlowRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeFlowResponse, RusotoError<DescribeFlowError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Displays the details of a flow. The response includes the flow ARN, name, and Availability Zone, as well as details about the source, outputs, and entitlements.

fn grant_flow_entitlements<'life0, 'async_trait>(
    &'life0 self,
    input: GrantFlowEntitlementsRequest
) -> Pin<Box<dyn Future<Output = Result<GrantFlowEntitlementsResponse, RusotoError<GrantFlowEntitlementsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Grants entitlements to an existing flow.

fn list_entitlements<'life0, 'async_trait>(
    &'life0 self,
    input: ListEntitlementsRequest
) -> Pin<Box<dyn Future<Output = Result<ListEntitlementsResponse, RusotoError<ListEntitlementsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Displays a list of all entitlements that have been granted to this account. This request returns 20 results per page.

fn list_flows<'life0, 'async_trait>(
    &'life0 self,
    input: ListFlowsRequest
) -> Pin<Box<dyn Future<Output = Result<ListFlowsResponse, RusotoError<ListFlowsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Displays a list of flows that are associated with this account. This request returns a paginated result.

fn list_tags_for_resource<'life0, 'async_trait>(
    &'life0 self,
    input: ListTagsForResourceRequest
) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

List all tags on an AWS Elemental MediaConnect resource

fn remove_flow_output<'life0, 'async_trait>(
    &'life0 self,
    input: RemoveFlowOutputRequest
) -> Pin<Box<dyn Future<Output = Result<RemoveFlowOutputResponse, RusotoError<RemoveFlowOutputError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Removes an output from an existing flow. This request can be made only on an output that does not have an entitlement associated with it. If the output has an entitlement, you must revoke the entitlement instead. When an entitlement is revoked from a flow, the service automatically removes the associated output.

fn revoke_flow_entitlement<'life0, 'async_trait>(
    &'life0 self,
    input: RevokeFlowEntitlementRequest
) -> Pin<Box<dyn Future<Output = Result<RevokeFlowEntitlementResponse, RusotoError<RevokeFlowEntitlementError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the subscriber and the associated output is removed.

fn start_flow<'life0, 'async_trait>(
    &'life0 self,
    input: StartFlowRequest
) -> Pin<Box<dyn Future<Output = Result<StartFlowResponse, RusotoError<StartFlowError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Starts a flow.

fn stop_flow<'life0, 'async_trait>(
    &'life0 self,
    input: StopFlowRequest
) -> Pin<Box<dyn Future<Output = Result<StopFlowResponse, RusotoError<StopFlowError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Stops a flow.

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, 
[src]

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.

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, 
[src]

Deletes specified tags from a resource.

fn update_flow_entitlement<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateFlowEntitlementRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateFlowEntitlementResponse, RusotoError<UpdateFlowEntitlementError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

You can change an entitlement's description, subscribers, and encryption. If you change the subscribers, the service will remove the outputs that are are used by the subscribers that are removed.

fn update_flow_output<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateFlowOutputRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateFlowOutputResponse, RusotoError<UpdateFlowOutputError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates an existing flow output.

fn update_flow_source<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateFlowSourceRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateFlowSourceResponse, RusotoError<UpdateFlowSourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the source of a flow.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.