Struct rusoto_kinesisvideo::CreateStreamInput
source · [−]pub struct CreateStreamInput {
pub data_retention_in_hours: Option<i64>,
pub device_name: Option<String>,
pub kms_key_id: Option<String>,
pub media_type: Option<String>,
pub stream_name: String,
pub tags: Option<HashMap<String, String>>,
}
Fields
data_retention_in_hours: Option<i64>
The number of hours that you want to retain the data in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream.
The default value is 0, indicating that the stream does not persist data.
When the DataRetentionInHours
value is 0, consumers can still consume the fragments that remain in the service host buffer, which has a retention time limit of 5 minutes and a retention memory limit of 200 MB. Fragments are removed from the buffer when either limit is reached.
device_name: Option<String>
The name of the device that is writing to the stream.
In the current implementation, Kinesis Video Streams does not use this name.
kms_key_id: Option<String>
The ID of the AWS Key Management Service (AWS KMS) key that you want Kinesis Video Streams to use to encrypt stream data.
If no key ID is specified, the default, Kinesis Video-managed key (aws/kinesisvideo
) is used.
For more information, see DescribeKey.
media_type: Option<String>
The media type of the stream. Consumers of the stream can use this information when processing the stream. For more information about media types, see Media Types. If you choose to specify the MediaType
, see Naming Requirements for guidelines.
Example valid values include "video/h264" and "video/h264,audio/aac".
This parameter is optional; the default value is null
(or empty in JSON).
stream_name: String
A name for the stream that you are creating.
The stream name is an identifier for the stream, and must be unique for each account and region.
A list of tags to associate with the specified stream. Each tag is a key-value pair (the value is optional).
Trait Implementations
sourceimpl Clone for CreateStreamInput
impl Clone for CreateStreamInput
sourcefn clone(&self) -> CreateStreamInput
fn clone(&self) -> CreateStreamInput
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 Debug for CreateStreamInput
impl Debug for CreateStreamInput
sourceimpl Default for CreateStreamInput
impl Default for CreateStreamInput
sourcefn default() -> CreateStreamInput
fn default() -> CreateStreamInput
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateStreamInput> for CreateStreamInput
impl PartialEq<CreateStreamInput> for CreateStreamInput
sourcefn eq(&self, other: &CreateStreamInput) -> bool
fn eq(&self, other: &CreateStreamInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateStreamInput) -> bool
fn ne(&self, other: &CreateStreamInput) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateStreamInput
impl Serialize for CreateStreamInput
impl StructuralPartialEq for CreateStreamInput
Auto Trait Implementations
impl RefUnwindSafe for CreateStreamInput
impl Send for CreateStreamInput
impl Sync for CreateStreamInput
impl Unpin for CreateStreamInput
impl UnwindSafe for CreateStreamInput
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