#[non_exhaustive]pub struct DecreaseStreamRetentionPeriodInput {
pub stream_name: Option<String>,
pub retention_period_hours: Option<i32>,
}
Expand description
Represents the input for DecreaseStreamRetentionPeriod
.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
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 to modify.
retention_period_hours: Option<i32>
The new retention period of the stream, in hours. Must be less than the current retention period.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DecreaseStreamRetentionPeriod, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DecreaseStreamRetentionPeriod, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DecreaseStreamRetentionPeriod
>
Creates a new builder-style object to manufacture DecreaseStreamRetentionPeriodInput
The name of the stream to modify.
The new retention period of the stream, in hours. Must be less than the current retention period.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for DecreaseStreamRetentionPeriodInput
impl Sync for DecreaseStreamRetentionPeriodInput
impl Unpin for DecreaseStreamRetentionPeriodInput
Blanket Implementations
Mutably borrows from an owned value. Read more
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