aws_sdk_quicksight/client/
update_self_upgrade.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 [`UpdateSelfUpgrade`](crate::operation::update_self_upgrade::builders::UpdateSelfUpgradeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::update_self_upgrade::builders::UpdateSelfUpgradeFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::update_self_upgrade::builders::UpdateSelfUpgradeFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the self-upgrade request.</p><br>
7    ///   - [`namespace(impl Into<String>)`](crate::operation::update_self_upgrade::builders::UpdateSelfUpgradeFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::update_self_upgrade::builders::UpdateSelfUpgradeFluentBuilder::set_namespace):<br>required: **true**<br><p>The Quick Suite namespace for the self-upgrade request.</p><br>
8    ///   - [`upgrade_request_id(impl Into<String>)`](crate::operation::update_self_upgrade::builders::UpdateSelfUpgradeFluentBuilder::upgrade_request_id) / [`set_upgrade_request_id(Option<String>)`](crate::operation::update_self_upgrade::builders::UpdateSelfUpgradeFluentBuilder::set_upgrade_request_id):<br>required: **true**<br><p>The ID of the self-upgrade request to update.</p><br>
9    ///   - [`action(SelfUpgradeAdminAction)`](crate::operation::update_self_upgrade::builders::UpdateSelfUpgradeFluentBuilder::action) / [`set_action(Option<SelfUpgradeAdminAction>)`](crate::operation::update_self_upgrade::builders::UpdateSelfUpgradeFluentBuilder::set_action):<br>required: **true**<br><p>The action to perform on the self-upgrade request. Valid values are <code>APPROVE</code>, <code>DENY</code>, or <code>VERIFY</code>.</p><br>
10    /// - On success, responds with [`UpdateSelfUpgradeOutput`](crate::operation::update_self_upgrade::UpdateSelfUpgradeOutput) with field(s):
11    ///   - [`self_upgrade_request_detail(Option<SelfUpgradeRequestDetail>)`](crate::operation::update_self_upgrade::UpdateSelfUpgradeOutput::self_upgrade_request_detail): <p>Details of the updated self-upgrade request.</p>
12    ///   - [`request_id(Option<String>)`](crate::operation::update_self_upgrade::UpdateSelfUpgradeOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
13    ///   - [`status(i32)`](crate::operation::update_self_upgrade::UpdateSelfUpgradeOutput::status): <p>The HTTP status of the request.</p>
14    /// - On failure, responds with [`SdkError<UpdateSelfUpgradeError>`](crate::operation::update_self_upgrade::UpdateSelfUpgradeError)
15    pub fn update_self_upgrade(&self) -> crate::operation::update_self_upgrade::builders::UpdateSelfUpgradeFluentBuilder {
16        crate::operation::update_self_upgrade::builders::UpdateSelfUpgradeFluentBuilder::new(self.handle.clone())
17    }
18}