aws-sdk-backupexternal 1.0.0

AWS SDK for AWS Backup External
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAgentUpgradeSettings`](crate::operation::get_agent_upgrade_settings::builders::GetAgentUpgradeSettingsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`appliance_arn(impl Into<String>)`](crate::operation::get_agent_upgrade_settings::builders::GetAgentUpgradeSettingsFluentBuilder::appliance_arn) / [`set_appliance_arn(Option<String>)`](crate::operation::get_agent_upgrade_settings::builders::GetAgentUpgradeSettingsFluentBuilder::set_appliance_arn):<br>required: **true**<br>The Amazon Resource Name (ARN) of the appliance.<br>
    /// - On success, responds with [`GetAgentUpgradeSettingsOutput`](crate::operation::get_agent_upgrade_settings::GetAgentUpgradeSettingsOutput) with field(s):
    ///   - [`enable_auto_upgrade(bool)`](crate::operation::get_agent_upgrade_settings::GetAgentUpgradeSettingsOutput::enable_auto_upgrade): Specifies whether automatic agent upgrades are enabled for the appliance.
    ///   - [`start_hour_utc(Option<i32>)`](crate::operation::get_agent_upgrade_settings::GetAgentUpgradeSettingsOutput::start_hour_utc): Hour of day in UTC (0-23 inclusive).
    ///   - [`end_hour_utc(Option<i32>)`](crate::operation::get_agent_upgrade_settings::GetAgentUpgradeSettingsOutput::end_hour_utc): Hour of day in UTC (0-23 inclusive).
    /// - On failure, responds with [`SdkError<GetAgentUpgradeSettingsError>`](crate::operation::get_agent_upgrade_settings::GetAgentUpgradeSettingsError)
    pub fn get_agent_upgrade_settings(&self) -> crate::operation::get_agent_upgrade_settings::builders::GetAgentUpgradeSettingsFluentBuilder {
        crate::operation::get_agent_upgrade_settings::builders::GetAgentUpgradeSettingsFluentBuilder::new(self.handle.clone())
    }
}