Struct aws_sdk_kinesis::operation::merge_shards::MergeShardsInput
source · #[non_exhaustive]pub struct MergeShardsInput {
pub stream_name: Option<String>,
pub shard_to_merge: Option<String>,
pub adjacent_shard_to_merge: Option<String>,
pub stream_arn: Option<String>,
}Expand description
Represents the input for MergeShards.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.stream_name: Option<String>The name of the stream for the merge.
shard_to_merge: Option<String>The shard ID of the shard to combine with the adjacent shard for the merge.
adjacent_shard_to_merge: Option<String>The shard ID of the adjacent shard for the merge.
stream_arn: Option<String>The ARN of the stream.
Implementations§
source§impl MergeShardsInput
impl MergeShardsInput
sourcepub fn stream_name(&self) -> Option<&str>
pub fn stream_name(&self) -> Option<&str>
The name of the stream for the merge.
sourcepub fn shard_to_merge(&self) -> Option<&str>
pub fn shard_to_merge(&self) -> Option<&str>
The shard ID of the shard to combine with the adjacent shard for the merge.
sourcepub fn adjacent_shard_to_merge(&self) -> Option<&str>
pub fn adjacent_shard_to_merge(&self) -> Option<&str>
The shard ID of the adjacent shard for the merge.
sourcepub fn stream_arn(&self) -> Option<&str>
pub fn stream_arn(&self) -> Option<&str>
The ARN of the stream.
source§impl MergeShardsInput
impl MergeShardsInput
sourcepub fn builder() -> MergeShardsInputBuilder
pub fn builder() -> MergeShardsInputBuilder
Creates a new builder-style object to manufacture MergeShardsInput.
Trait Implementations§
source§impl Clone for MergeShardsInput
impl Clone for MergeShardsInput
source§fn clone(&self) -> MergeShardsInput
fn clone(&self) -> MergeShardsInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MergeShardsInput
impl Debug for MergeShardsInput
source§impl PartialEq for MergeShardsInput
impl PartialEq for MergeShardsInput
source§fn eq(&self, other: &MergeShardsInput) -> bool
fn eq(&self, other: &MergeShardsInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MergeShardsInput
Auto Trait Implementations§
impl RefUnwindSafe for MergeShardsInput
impl Send for MergeShardsInput
impl Sync for MergeShardsInput
impl Unpin for MergeShardsInput
impl UnwindSafe for MergeShardsInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.