Struct aws_sdk_kinesis::input::CreateStreamInput
source · #[non_exhaustive]pub struct CreateStreamInput { /* private fields */ }
Expand description
Represents the input for CreateStream
.
Implementations§
source§impl CreateStreamInput
impl CreateStreamInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateStream, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateStream, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateStream
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateStreamInput
.
source§impl CreateStreamInput
impl CreateStreamInput
sourcepub fn stream_name(&self) -> Option<&str>
pub fn stream_name(&self) -> Option<&str>
A name to identify the stream. The stream name is scoped to the Amazon Web Services account used by the application that creates the stream. It is also scoped by Amazon Web Services Region. That is, two streams in two different Amazon Web Services accounts can have the same name. Two streams in the same Amazon Web Services account but in two different Regions can also have the same name.
sourcepub fn shard_count(&self) -> Option<i32>
pub fn shard_count(&self) -> Option<i32>
The number of shards that the stream will use. The throughput of the stream is a function of the number of shards; more shards are required for greater provisioned throughput.
sourcepub fn stream_mode_details(&self) -> Option<&StreamModeDetails>
pub fn stream_mode_details(&self) -> Option<&StreamModeDetails>
Indicates the capacity mode of the data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
Trait Implementations§
source§impl Clone for CreateStreamInput
impl Clone for CreateStreamInput
source§fn clone(&self) -> CreateStreamInput
fn clone(&self) -> CreateStreamInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateStreamInput
impl Debug for CreateStreamInput
source§impl PartialEq<CreateStreamInput> for CreateStreamInput
impl PartialEq<CreateStreamInput> for CreateStreamInput
source§fn eq(&self, other: &CreateStreamInput) -> bool
fn eq(&self, other: &CreateStreamInput) -> bool
self
and other
values to be equal, and is used
by ==
.