// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StartResourceProviderAgentUpgrade`](crate::operation::start_resource_provider_agent_upgrade::builders::StartResourceProviderAgentUpgradeFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`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>
/// - On success, responds with [`StartResourceProviderAgentUpgradeOutput`](crate::operation::start_resource_provider_agent_upgrade::StartResourceProviderAgentUpgradeOutput) with field(s):
/// - [`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.
/// - On failure, responds with [`SdkError<StartResourceProviderAgentUpgradeError>`](crate::operation::start_resource_provider_agent_upgrade::StartResourceProviderAgentUpgradeError)
pub fn start_resource_provider_agent_upgrade(
&self,
) -> crate::operation::start_resource_provider_agent_upgrade::builders::StartResourceProviderAgentUpgradeFluentBuilder {
crate::operation::start_resource_provider_agent_upgrade::builders::StartResourceProviderAgentUpgradeFluentBuilder::new(self.handle.clone())
}
}