// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateApp`](crate::operation::update_app::builders::UpdateAppFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`app_id(impl Into<String>)`](crate::operation::update_app::builders::UpdateAppFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::update_app::builders::UpdateAppFluentBuilder::set_app_id):<br>required: **true**<br>The ID of the app to update. You can identify the app by either its ID or its Amazon Resource Name (ARN). If you provide both, they must refer to the same app.<br>
/// - [`name(impl Into<String>)`](crate::operation::update_app::builders::UpdateAppFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_app::builders::UpdateAppFluentBuilder::set_name):<br>required: **false**<br>A human-readable display name for the app.<br>
/// - [`description(impl Into<String>)`](crate::operation::update_app::builders::UpdateAppFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_app::builders::UpdateAppFluentBuilder::set_description):<br>required: **false**<br>The new description. An empty string clears it; omitting the member keeps the current one.<br>
/// - [`identifier(impl Into<String>)`](crate::operation::update_app::builders::UpdateAppFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::update_app::builders::UpdateAppFluentBuilder::set_identifier):<br>required: **false**<br>The Amazon Resource Name (ARN) of the app. You can identify the app by either its ID or its ARN. If you provide both, they must refer to the same app. A sandbox ARN names the app's sandbox; if you also send scope, the two must name the same environment.<br>
/// - [`scope(RequestScope)`](crate::operation::update_app::builders::UpdateAppFluentBuilder::scope) / [`set_scope(Option<RequestScope>)`](crate::operation::update_app::builders::UpdateAppFluentBuilder::set_scope):<br>required: **false**<br>The environment to act on: live or sandbox. Optional. You can name the environment with this member, with a sandbox resource ARN, or both; if you send both they must name the same environment, or the request is rejected.<br>
/// - [`cost_tracking(CostTrackingConfiguration)`](crate::operation::update_app::builders::UpdateAppFluentBuilder::cost_tracking) / [`set_cost_tracking(Option<CostTrackingConfiguration>)`](crate::operation::update_app::builders::UpdateAppFluentBuilder::set_cost_tracking):<br>required: **false**<br>Optional cost-tracking configuration: the IAM role AWS App Monetization uses to track this app's AWS costs. Passing a role also requires permission for iam:PassRole on it. You can send it with or without a new name or description.<br>
/// - On success, responds with [`UpdateAppOutput`](crate::operation::update_app::UpdateAppOutput) with field(s):
/// - [`app(Option<App>)`](crate::operation::update_app::UpdateAppOutput::app): The updated app.
/// - On failure, responds with [`SdkError<UpdateAppError>`](crate::operation::update_app::UpdateAppError)
pub fn update_app(&self) -> crate::operation::update_app::builders::UpdateAppFluentBuilder {
crate::operation::update_app::builders::UpdateAppFluentBuilder::new(self.handle.clone())
}
}