Skip to main content

aws_sdk_backupexternal/client/
start_resource_provider_agent_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 [`StartResourceProviderAgentUpgrade`](crate::operation::start_resource_provider_agent_upgrade::builders::StartResourceProviderAgentUpgradeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::start_resource_provider_agent_upgrade::builders::StartResourceProviderAgentUpgradeFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::start_resource_provider_agent_upgrade::builders::StartResourceProviderAgentUpgradeFluentBuilder::set_arn):<br>required: **true**<br>The Amazon Resource Name (ARN) of the resource provider.<br>
7    /// - On success, responds with [`StartResourceProviderAgentUpgradeOutput`](crate::operation::start_resource_provider_agent_upgrade::StartResourceProviderAgentUpgradeOutput) with field(s):
8    ///   - [`upgrade_started_at(Option<DateTime>)`](crate::operation::start_resource_provider_agent_upgrade::StartResourceProviderAgentUpgradeOutput::upgrade_started_at): The date and time that the resource provider's agent upgrade started.
9    /// - On failure, responds with [`SdkError<StartResourceProviderAgentUpgradeError>`](crate::operation::start_resource_provider_agent_upgrade::StartResourceProviderAgentUpgradeError)
10    pub fn start_resource_provider_agent_upgrade(
11        &self,
12    ) -> crate::operation::start_resource_provider_agent_upgrade::builders::StartResourceProviderAgentUpgradeFluentBuilder {
13        crate::operation::start_resource_provider_agent_upgrade::builders::StartResourceProviderAgentUpgradeFluentBuilder::new(self.handle.clone())
14    }
15}