Struct aws_sdk_iot::input::UpdateCustomMetricInput [−][src]
#[non_exhaustive]pub struct UpdateCustomMetricInput {
pub metric_name: Option<String>,
pub display_name: Option<String>,
}
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 custom metric. Cannot be updated.
display_name: Option<String>
Field represents a friendly name in the console for the custom metric, it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateCustomMetric, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateCustomMetric, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateCustomMetric
>
Creates a new builder-style object to manufacture UpdateCustomMetricInput
The name of the custom metric. Cannot be updated.
Field represents a friendly name in the console for the custom metric, it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated.
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 RefUnwindSafe for UpdateCustomMetricInput
impl Send for UpdateCustomMetricInput
impl Sync for UpdateCustomMetricInput
impl Unpin for UpdateCustomMetricInput
impl UnwindSafe for UpdateCustomMetricInput
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