logo
pub struct GrantEntitlementRequest {
    pub data_transfer_subscriber_fee_percent: Option<i64>,
    pub description: Option<String>,
    pub encryption: Option<Encryption>,
    pub entitlement_status: Option<String>,
    pub name: Option<String>,
    pub subscribers: Vec<String>,
}
Expand description

The entitlements that you want to grant on a flow.

Fields

data_transfer_subscriber_fee_percent: Option<i64>

Percentage from 0-100 of the data transfer cost to be billed to the subscriber.

description: Option<String>

A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the subscriber or end user.

encryption: Option<Encryption>

The type of encryption that will be used on the output that is associated with this entitlement.

entitlement_status: Option<String>

An indication of whether the new entitlement should be enabled or disabled as soon as it is created. If you don’t specify the entitlementStatus field in your request, MediaConnect sets it to ENABLED.

name: Option<String>

The name of the entitlement. This value must be unique within the current flow.

subscribers: Vec<String>

The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flows using your content as the source.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more