Struct aws_sdk_greengrass::model::BulkDeploymentMetrics
source · [−]#[non_exhaustive]pub struct BulkDeploymentMetrics {
pub invalid_input_records: i32,
pub records_processed: i32,
pub retry_attempts: i32,
}
Expand description
Relevant metrics on input records processed during bulk deployment.
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.invalid_input_records: i32
The total number of records that returned a non-retryable error. For example, this can occur if a group record from the input file uses an invalid format or specifies a nonexistent group version, or if the execution role doesn’t grant permission to deploy a group or group version.
records_processed: i32
The total number of group records from the input file that have been processed so far, or attempted.
retry_attempts: i32
The total number of deployment attempts that returned a retryable error. For example, a retry is triggered if the attempt to deploy a group returns a throttling error. ’‘StartBulkDeployment’’ retries a group deployment up to five times.
Implementations
sourceimpl BulkDeploymentMetrics
impl BulkDeploymentMetrics
sourcepub fn invalid_input_records(&self) -> i32
pub fn invalid_input_records(&self) -> i32
The total number of records that returned a non-retryable error. For example, this can occur if a group record from the input file uses an invalid format or specifies a nonexistent group version, or if the execution role doesn’t grant permission to deploy a group or group version.
sourcepub fn records_processed(&self) -> i32
pub fn records_processed(&self) -> i32
The total number of group records from the input file that have been processed so far, or attempted.
sourcepub fn retry_attempts(&self) -> i32
pub fn retry_attempts(&self) -> i32
The total number of deployment attempts that returned a retryable error. For example, a retry is triggered if the attempt to deploy a group returns a throttling error. ’‘StartBulkDeployment’’ retries a group deployment up to five times.
sourceimpl BulkDeploymentMetrics
impl BulkDeploymentMetrics
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BulkDeploymentMetrics
Trait Implementations
sourceimpl Clone for BulkDeploymentMetrics
impl Clone for BulkDeploymentMetrics
sourcefn clone(&self) -> BulkDeploymentMetrics
fn clone(&self) -> BulkDeploymentMetrics
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 BulkDeploymentMetrics
impl Debug for BulkDeploymentMetrics
sourceimpl PartialEq<BulkDeploymentMetrics> for BulkDeploymentMetrics
impl PartialEq<BulkDeploymentMetrics> for BulkDeploymentMetrics
sourcefn eq(&self, other: &BulkDeploymentMetrics) -> bool
fn eq(&self, other: &BulkDeploymentMetrics) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BulkDeploymentMetrics) -> bool
fn ne(&self, other: &BulkDeploymentMetrics) -> bool
This method tests for !=
.
impl StructuralPartialEq for BulkDeploymentMetrics
Auto Trait Implementations
impl RefUnwindSafe for BulkDeploymentMetrics
impl Send for BulkDeploymentMetrics
impl Sync for BulkDeploymentMetrics
impl Unpin for BulkDeploymentMetrics
impl UnwindSafe for BulkDeploymentMetrics
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> 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