aws_sdk_apigateway/client/
update_account.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 [`UpdateAccount`](crate::operation::update_account::builders::UpdateAccountFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`patch_operations(PatchOperation)`](crate::operation::update_account::builders::UpdateAccountFluentBuilder::patch_operations) / [`set_patch_operations(Option<Vec::<PatchOperation>>)`](crate::operation::update_account::builders::UpdateAccountFluentBuilder::set_patch_operations):<br>required: **false**<br><p>For more information about supported patch operations, see <a href="https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html">Patch Operations</a>.</p><br>
7    /// - On success, responds with [`UpdateAccountOutput`](crate::operation::update_account::UpdateAccountOutput) with field(s):
8    ///   - [`cloudwatch_role_arn(Option<String>)`](crate::operation::update_account::UpdateAccountOutput::cloudwatch_role_arn): <p>The ARN of an Amazon CloudWatch role for the current Account.</p>
9    ///   - [`throttle_settings(Option<ThrottleSettings>)`](crate::operation::update_account::UpdateAccountOutput::throttle_settings): <p>Specifies the API request limits configured for the current Account.</p>
10    ///   - [`features(Option<Vec::<String>>)`](crate::operation::update_account::UpdateAccountOutput::features): <p>A list of features supported for the account. When usage plans are enabled, the features list will include an entry of <code>"UsagePlans"</code>.</p>
11    ///   - [`api_key_version(Option<String>)`](crate::operation::update_account::UpdateAccountOutput::api_key_version): <p>The version of the API keys used for the account.</p>
12    /// - On failure, responds with [`SdkError<UpdateAccountError>`](crate::operation::update_account::UpdateAccountError)
13    pub fn update_account(&self) -> crate::operation::update_account::builders::UpdateAccountFluentBuilder {
14        crate::operation::update_account::builders::UpdateAccountFluentBuilder::new(self.handle.clone())
15    }
16}