aws_sdk_costexplorer/client/get_anomaly_subscriptions.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetAnomalySubscriptions`](crate::operation::get_anomaly_subscriptions::builders::GetAnomalySubscriptionsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`subscription_arn_list(impl Into<String>)`](crate::operation::get_anomaly_subscriptions::builders::GetAnomalySubscriptionsFluentBuilder::subscription_arn_list) / [`set_subscription_arn_list(Option<Vec::<String>>)`](crate::operation::get_anomaly_subscriptions::builders::GetAnomalySubscriptionsFluentBuilder::set_subscription_arn_list):<br>required: **false**<br><p>A list of cost anomaly subscription ARNs.</p><br>
/// - [`monitor_arn(impl Into<String>)`](crate::operation::get_anomaly_subscriptions::builders::GetAnomalySubscriptionsFluentBuilder::monitor_arn) / [`set_monitor_arn(Option<String>)`](crate::operation::get_anomaly_subscriptions::builders::GetAnomalySubscriptionsFluentBuilder::set_monitor_arn):<br>required: **false**<br><p>Cost anomaly monitor ARNs.</p><br>
/// - [`next_page_token(impl Into<String>)`](crate::operation::get_anomaly_subscriptions::builders::GetAnomalySubscriptionsFluentBuilder::next_page_token) / [`set_next_page_token(Option<String>)`](crate::operation::get_anomaly_subscriptions::builders::GetAnomalySubscriptionsFluentBuilder::set_next_page_token):<br>required: **false**<br><p>The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.</p><br>
/// - [`max_results(i32)`](crate::operation::get_anomaly_subscriptions::builders::GetAnomalySubscriptionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_anomaly_subscriptions::builders::GetAnomalySubscriptionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The number of entries a paginated response contains.</p><br>
/// - On success, responds with [`GetAnomalySubscriptionsOutput`](crate::operation::get_anomaly_subscriptions::GetAnomalySubscriptionsOutput) with field(s):
/// - [`anomaly_subscriptions(Vec::<AnomalySubscription>)`](crate::operation::get_anomaly_subscriptions::GetAnomalySubscriptionsOutput::anomaly_subscriptions): <p>A list of cost anomaly subscriptions that includes the detailed metadata for each one.</p>
/// - [`next_page_token(Option<String>)`](crate::operation::get_anomaly_subscriptions::GetAnomalySubscriptionsOutput::next_page_token): <p>The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.</p>
/// - On failure, responds with [`SdkError<GetAnomalySubscriptionsError>`](crate::operation::get_anomaly_subscriptions::GetAnomalySubscriptionsError)
pub fn get_anomaly_subscriptions(&self) -> crate::operation::get_anomaly_subscriptions::builders::GetAnomalySubscriptionsFluentBuilder {
crate::operation::get_anomaly_subscriptions::builders::GetAnomalySubscriptionsFluentBuilder::new(self.handle.clone())
}
}