// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetAppRevenueSummary`](crate::operation::get_app_revenue_summary::builders::GetAppRevenueSummaryFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`app_id(impl Into<String>)`](crate::operation::get_app_revenue_summary::builders::GetAppRevenueSummaryFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::get_app_revenue_summary::builders::GetAppRevenueSummaryFluentBuilder::set_app_id):<br>required: **true**<br>The ID of the app.<br>
/// - [`period(impl Into<String>)`](crate::operation::get_app_revenue_summary::builders::GetAppRevenueSummaryFluentBuilder::period) / [`set_period(Option<String>)`](crate::operation::get_app_revenue_summary::builders::GetAppRevenueSummaryFluentBuilder::set_period):<br>required: **false**<br>The billing period, in "YYYY-MM" form. Defaults to the current month when omitted.<br>
/// - [`group_by(RevenueSummaryDimension)`](crate::operation::get_app_revenue_summary::builders::GetAppRevenueSummaryFluentBuilder::group_by) / [`set_group_by(Option<RevenueSummaryDimension>)`](crate::operation::get_app_revenue_summary::builders::GetAppRevenueSummaryFluentBuilder::set_group_by):<br>required: **false**<br>The breakdown dimension. Defaults to PLAN when omitted.<br>
/// - [`filter_by(RevenueSummaryDimension, Vec::<String>)`](crate::operation::get_app_revenue_summary::builders::GetAppRevenueSummaryFluentBuilder::filter_by) / [`set_filter_by(Option<HashMap::<RevenueSummaryDimension, Vec::<String>>>)`](crate::operation::get_app_revenue_summary::builders::GetAppRevenueSummaryFluentBuilder::set_filter_by):<br>required: **false**<br>Filter constraints keyed by dimension. A filter dimension may differ from groupBy.<br>
/// - [`scope(RequestScope)`](crate::operation::get_app_revenue_summary::builders::GetAppRevenueSummaryFluentBuilder::scope) / [`set_scope(Option<RequestScope>)`](crate::operation::get_app_revenue_summary::builders::GetAppRevenueSummaryFluentBuilder::set_scope):<br>required: **true**<br>Required. The environment: live or sandbox.<br>
/// - On success, responds with [`GetAppRevenueSummaryOutput`](crate::operation::get_app_revenue_summary::GetAppRevenueSummaryOutput) with field(s):
/// - [`app_id(String)`](crate::operation::get_app_revenue_summary::GetAppRevenueSummaryOutput::app_id): The ID of the app.
/// - [`period(String)`](crate::operation::get_app_revenue_summary::GetAppRevenueSummaryOutput::period): The billing period, in "YYYY-MM" form, that the summary covers.
/// - [`currency(Currency)`](crate::operation::get_app_revenue_summary::GetAppRevenueSummaryOutput::currency): The ISO 4217 currency code of the revenue amounts.
/// - [`group_by(RevenueSummaryDimension)`](crate::operation::get_app_revenue_summary::GetAppRevenueSummaryOutput::group_by): The dimension that the summary is grouped by.
/// - [`total_revenue(String)`](crate::operation::get_app_revenue_summary::GetAppRevenueSummaryOutput::total_revenue): The total revenue for the period, as the sum of subscription and usage revenue.
/// - [`subscription_revenue(String)`](crate::operation::get_app_revenue_summary::GetAppRevenueSummaryOutput::subscription_revenue): The subscription revenue for the period.
/// - [`usage_revenue(String)`](crate::operation::get_app_revenue_summary::GetAppRevenueSummaryOutput::usage_revenue): The usage-based revenue for the period.
/// - [`groups(Vec::<RevenueGroup>)`](crate::operation::get_app_revenue_summary::GetAppRevenueSummaryOutput::groups): One row per value of the groupBy dimension (revenue per plan).
/// - [`updated_at(DateTime)`](crate::operation::get_app_revenue_summary::GetAppRevenueSummaryOutput::updated_at): The time the summary was last updated.
/// - On failure, responds with [`SdkError<GetAppRevenueSummaryError>`](crate::operation::get_app_revenue_summary::GetAppRevenueSummaryError)
pub fn get_app_revenue_summary(&self) -> crate::operation::get_app_revenue_summary::builders::GetAppRevenueSummaryFluentBuilder {
crate::operation::get_app_revenue_summary::builders::GetAppRevenueSummaryFluentBuilder::new(self.handle.clone())
}
}