#[non_exhaustive]pub struct AmazonopensearchserviceRetryOptions {
pub duration_in_seconds: Option<i32>,
}
Expand description
Configures retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon OpenSearch Service.
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.duration_in_seconds: Option<i32>
After an initial failure to deliver to Amazon OpenSearch Service, the total amount of time during which Kinesis Data Firehose retries delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value of 0 (zero) results in no retries.
Implementations§
source§impl AmazonopensearchserviceRetryOptions
impl AmazonopensearchserviceRetryOptions
sourcepub fn duration_in_seconds(&self) -> Option<i32>
pub fn duration_in_seconds(&self) -> Option<i32>
After an initial failure to deliver to Amazon OpenSearch Service, the total amount of time during which Kinesis Data Firehose retries delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value of 0 (zero) results in no retries.
source§impl AmazonopensearchserviceRetryOptions
impl AmazonopensearchserviceRetryOptions
sourcepub fn builder() -> AmazonopensearchserviceRetryOptionsBuilder
pub fn builder() -> AmazonopensearchserviceRetryOptionsBuilder
Creates a new builder-style object to manufacture AmazonopensearchserviceRetryOptions
.
Trait Implementations§
source§impl Clone for AmazonopensearchserviceRetryOptions
impl Clone for AmazonopensearchserviceRetryOptions
source§fn clone(&self) -> AmazonopensearchserviceRetryOptions
fn clone(&self) -> AmazonopensearchserviceRetryOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AmazonopensearchserviceRetryOptions
impl PartialEq for AmazonopensearchserviceRetryOptions
source§fn eq(&self, other: &AmazonopensearchserviceRetryOptions) -> bool
fn eq(&self, other: &AmazonopensearchserviceRetryOptions) -> bool
self
and other
values to be equal, and is used
by ==
.