Struct aws_sdk_cloudwatch::client::fluent_builders::DescribeAlarmHistory [−][src]
pub struct DescribeAlarmHistory<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DescribeAlarmHistory
.
Retrieves the history for the specified alarm. You can filter the results by date range or item type. If an alarm name is not specified, the histories for either all metric alarms or all composite alarms are returned.
CloudWatch retains the history of an alarm even if you delete the alarm.
Implementations
impl<C, M, R> DescribeAlarmHistory<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeAlarmHistory<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeAlarmHistoryOutput, SdkError<DescribeAlarmHistoryError>> where
R::Policy: SmithyRetryPolicy<DescribeAlarmHistoryInputOperationOutputAlias, DescribeAlarmHistoryOutput, DescribeAlarmHistoryError, DescribeAlarmHistoryInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeAlarmHistoryOutput, SdkError<DescribeAlarmHistoryError>> where
R::Policy: SmithyRetryPolicy<DescribeAlarmHistoryInputOperationOutputAlias, DescribeAlarmHistoryOutput, DescribeAlarmHistoryError, DescribeAlarmHistoryInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the alarm.
The name of the alarm.
Appends an item to AlarmTypes
.
To override the contents of this collection use set_alarm_types
.
Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter, only metric alarms are returned.
Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you omit this parameter, only metric alarms are returned.
The type of alarm histories to retrieve.
The type of alarm histories to retrieve.
The starting date to retrieve alarm history.
The starting date to retrieve alarm history.
The ending date to retrieve alarm history.
The maximum number of alarm history records to retrieve.
The maximum number of alarm history records to retrieve.
The token returned by a previous call to indicate that there is more data available.
The token returned by a previous call to indicate that there is more data available.
Specified whether to return the newest or oldest alarm history first. Specify TimestampDescending
to have the newest
event history returned first, and specify TimestampAscending
to have the oldest history returned first.
Specified whether to return the newest or oldest alarm history first. Specify TimestampDescending
to have the newest
event history returned first, and specify TimestampAscending
to have the oldest history returned first.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DescribeAlarmHistory<C, M, R>
impl<C, M, R> Send for DescribeAlarmHistory<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeAlarmHistory<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeAlarmHistory<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DescribeAlarmHistory<C, M, R>
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