Struct aws_sdk_iot::output::DescribeFleetMetricOutput
source · [−]#[non_exhaustive]pub struct DescribeFleetMetricOutput {Show 13 fields
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 creation_date: Option<DateTime>,
pub last_modified_date: Option<DateTime>,
pub unit: Option<FleetMetricUnit>,
pub version: i64,
pub metric_arn: 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 fleet metric to describe.
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 fleet metric description.
query_version: Option<String>
The query version.
index_name: Option<String>
The name of the index to search.
creation_date: Option<DateTime>
The date when the fleet metric is created.
last_modified_date: Option<DateTime>
The date when the fleet metric is last modified.
unit: Option<FleetMetricUnit>
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.
version: i64
The version of the fleet metric.
metric_arn: Option<String>
The ARN of the fleet metric to describe.
Implementations
sourceimpl DescribeFleetMetricOutput
impl DescribeFleetMetricOutput
sourcepub fn metric_name(&self) -> Option<&str>
pub fn metric_name(&self) -> Option<&str>
The name of the fleet metric to describe.
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 fleet metric description.
sourcepub fn query_version(&self) -> Option<&str>
pub fn query_version(&self) -> Option<&str>
The query version.
sourcepub fn index_name(&self) -> Option<&str>
pub fn index_name(&self) -> Option<&str>
The name of the index to search.
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
The date when the fleet metric is created.
sourcepub fn last_modified_date(&self) -> Option<&DateTime>
pub fn last_modified_date(&self) -> Option<&DateTime>
The date when the fleet metric is last modified.
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 metric_arn(&self) -> Option<&str>
pub fn metric_arn(&self) -> Option<&str>
The ARN of the fleet metric to describe.
sourceimpl DescribeFleetMetricOutput
impl DescribeFleetMetricOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeFleetMetricOutput
Trait Implementations
sourceimpl Clone for DescribeFleetMetricOutput
impl Clone for DescribeFleetMetricOutput
sourcefn clone(&self) -> DescribeFleetMetricOutput
fn clone(&self) -> DescribeFleetMetricOutput
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 DescribeFleetMetricOutput
impl Debug for DescribeFleetMetricOutput
sourceimpl PartialEq<DescribeFleetMetricOutput> for DescribeFleetMetricOutput
impl PartialEq<DescribeFleetMetricOutput> for DescribeFleetMetricOutput
sourcefn eq(&self, other: &DescribeFleetMetricOutput) -> bool
fn eq(&self, other: &DescribeFleetMetricOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeFleetMetricOutput) -> bool
fn ne(&self, other: &DescribeFleetMetricOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeFleetMetricOutput
Auto Trait Implementations
impl RefUnwindSafe for DescribeFleetMetricOutput
impl Send for DescribeFleetMetricOutput
impl Sync for DescribeFleetMetricOutput
impl Unpin for DescribeFleetMetricOutput
impl UnwindSafe for DescribeFleetMetricOutput
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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