aws_sdk_ses/client/
get_send_quota.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetSendQuota`](crate::operation::get_send_quota::builders::GetSendQuotaFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::get_send_quota::builders::GetSendQuotaFluentBuilder::send) it.
6    /// - On success, responds with [`GetSendQuotaOutput`](crate::operation::get_send_quota::GetSendQuotaOutput) with field(s):
7    ///   - [`max24_hour_send(f64)`](crate::operation::get_send_quota::GetSendQuotaOutput::max24_hour_send): <p>The maximum number of emails the user is allowed to send in a 24-hour interval. A value of -1 signifies an unlimited quota.</p>
8    ///   - [`max_send_rate(f64)`](crate::operation::get_send_quota::GetSendQuotaOutput::max_send_rate): <p>The maximum number of emails that Amazon SES can accept from the user's account per second.</p><note>  <p>The rate at which Amazon SES accepts the user's messages might be less than the maximum send rate.</p> </note>
9    ///   - [`sent_last24_hours(f64)`](crate::operation::get_send_quota::GetSendQuotaOutput::sent_last24_hours): <p>The number of emails sent during the previous 24 hours.</p>
10    /// - On failure, responds with [`SdkError<GetSendQuotaError>`](crate::operation::get_send_quota::GetSendQuotaError)
11    pub fn get_send_quota(&self) -> crate::operation::get_send_quota::builders::GetSendQuotaFluentBuilder {
12        crate::operation::get_send_quota::builders::GetSendQuotaFluentBuilder::new(self.handle.clone())
13    }
14}