Struct aws_sdk_iot::input::UpdateFleetMetricInput
source · [−]#[non_exhaustive]pub struct UpdateFleetMetricInput {
pub metric_name: Option<String>,
pub query_string: Option<String>,
pub aggregation_type: Option<AggregationType>,
pub period: Option<i32>,
pub aggregation_field: Option<String>,
pub description: Option<String>,
pub query_version: Option<String>,
pub index_name: Option<String>,
pub unit: Option<FleetMetricUnit>,
pub expected_version: Option<i64>,
}
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.metric_name: Option<String>
The name of the fleet metric to update.
query_string: Option<String>
The search query string.
aggregation_type: Option<AggregationType>
The type of the aggregation query.
period: Option<i32>
The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.
aggregation_field: Option<String>
The field to aggregate.
description: Option<String>
The description of the fleet metric.
query_version: Option<String>
The version of the query.
index_name: Option<String>
The name of the index to search.
unit: Option<FleetMetricUnit>
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.
expected_version: Option<i64>
The expected version of the fleet metric record in the registry.
Implementations
sourceimpl UpdateFleetMetricInput
impl UpdateFleetMetricInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateFleetMetric, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateFleetMetric, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateFleetMetric
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateFleetMetricInput
sourceimpl UpdateFleetMetricInput
impl UpdateFleetMetricInput
sourcepub fn metric_name(&self) -> Option<&str>
pub fn metric_name(&self) -> Option<&str>
The name of the fleet metric to update.
sourcepub fn query_string(&self) -> Option<&str>
pub fn query_string(&self) -> Option<&str>
The search query string.
sourcepub fn aggregation_type(&self) -> Option<&AggregationType>
pub fn aggregation_type(&self) -> Option<&AggregationType>
The type of the aggregation query.
sourcepub fn period(&self) -> Option<i32>
pub fn period(&self) -> Option<i32>
The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.
sourcepub fn aggregation_field(&self) -> Option<&str>
pub fn aggregation_field(&self) -> Option<&str>
The field to aggregate.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the fleet metric.
sourcepub fn query_version(&self) -> Option<&str>
pub fn query_version(&self) -> Option<&str>
The version of the query.
sourcepub fn index_name(&self) -> Option<&str>
pub fn index_name(&self) -> Option<&str>
The name of the index to search.
sourcepub fn unit(&self) -> Option<&FleetMetricUnit>
pub fn unit(&self) -> Option<&FleetMetricUnit>
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.
sourcepub fn expected_version(&self) -> Option<i64>
pub fn expected_version(&self) -> Option<i64>
The expected version of the fleet metric record in the registry.
Trait Implementations
sourceimpl Clone for UpdateFleetMetricInput
impl Clone for UpdateFleetMetricInput
sourcefn clone(&self) -> UpdateFleetMetricInput
fn clone(&self) -> UpdateFleetMetricInput
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 UpdateFleetMetricInput
impl Debug for UpdateFleetMetricInput
sourceimpl PartialEq<UpdateFleetMetricInput> for UpdateFleetMetricInput
impl PartialEq<UpdateFleetMetricInput> for UpdateFleetMetricInput
sourcefn eq(&self, other: &UpdateFleetMetricInput) -> bool
fn eq(&self, other: &UpdateFleetMetricInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateFleetMetricInput) -> bool
fn ne(&self, other: &UpdateFleetMetricInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateFleetMetricInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateFleetMetricInput
impl Send for UpdateFleetMetricInput
impl Sync for UpdateFleetMetricInput
impl Unpin for UpdateFleetMetricInput
impl UnwindSafe for UpdateFleetMetricInput
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