Struct aws_sdk_iot::input::UpdateFleetMetricInput
source · #[non_exhaustive]pub struct UpdateFleetMetricInput { /* private fields */ }
Implementations§
source§impl UpdateFleetMetricInput
impl UpdateFleetMetricInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateFleetMetric, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateFleetMetric, AwsResponseRetryClassifier>, 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
.
source§impl 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§
source§impl Clone for UpdateFleetMetricInput
impl Clone for UpdateFleetMetricInput
source§fn clone(&self) -> UpdateFleetMetricInput
fn clone(&self) -> UpdateFleetMetricInput
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 UpdateFleetMetricInput
impl Debug for UpdateFleetMetricInput
source§impl PartialEq<UpdateFleetMetricInput> for UpdateFleetMetricInput
impl PartialEq<UpdateFleetMetricInput> for UpdateFleetMetricInput
source§fn 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 ==
.