logo
pub struct UpdateEncryption {
    pub algorithm: Option<String>,
    pub constant_initialization_vector: Option<String>,
    pub device_id: Option<String>,
    pub key_type: Option<String>,
    pub region: Option<String>,
    pub resource_id: Option<String>,
    pub role_arn: Option<String>,
    pub secret_arn: Option<String>,
    pub url: Option<String>,
}
Expand description

Information about the encryption of the flow.

Fields

algorithm: Option<String>

The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256).

constant_initialization_vector: Option<String>

A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.

device_id: Option<String>

The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.

key_type: Option<String>

The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key).

region: Option<String>

The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.

resource_id: Option<String>

An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.

role_arn: Option<String>

The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).

secret_arn: Option<String>

The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption.

url: Option<String>

The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.

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