#[non_exhaustive]pub struct DisableMetricsCollectionInput { /* private fields */ }
Implementations
sourceimpl DisableMetricsCollectionInput
impl DisableMetricsCollectionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisableMetricsCollection, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisableMetricsCollection, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisableMetricsCollection
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DisableMetricsCollectionInput
.
sourceimpl DisableMetricsCollectionInput
impl DisableMetricsCollectionInput
sourcepub fn auto_scaling_group_name(&self) -> Option<&str>
pub fn auto_scaling_group_name(&self) -> Option<&str>
The name of the Auto Scaling group.
sourcepub fn metrics(&self) -> Option<&[String]>
pub fn metrics(&self) -> Option<&[String]>
Identifies the metrics to disable.
You can specify one or more of the following metrics:
-
GroupMinSize
-
GroupMaxSize
-
GroupDesiredCapacity
-
GroupInServiceInstances
-
GroupPendingInstances
-
GroupStandbyInstances
-
GroupTerminatingInstances
-
GroupTotalInstances
-
GroupInServiceCapacity
-
GroupPendingCapacity
-
GroupStandbyCapacity
-
GroupTerminatingCapacity
-
GroupTotalCapacity
-
WarmPoolDesiredCapacity
-
WarmPoolWarmedCapacity
-
WarmPoolPendingCapacity
-
WarmPoolTerminatingCapacity
-
WarmPoolTotalCapacity
-
GroupAndWarmPoolDesiredCapacity
-
GroupAndWarmPoolTotalCapacity
If you omit this property, all metrics are disabled.
For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
Trait Implementations
sourceimpl Clone for DisableMetricsCollectionInput
impl Clone for DisableMetricsCollectionInput
sourcefn clone(&self) -> DisableMetricsCollectionInput
fn clone(&self) -> DisableMetricsCollectionInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more