aws_sdk_datasync/client/
update_storage_system.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateStorageSystem`](crate::operation::update_storage_system::builders::UpdateStorageSystemFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`storage_system_arn(impl Into<String>)`](crate::operation::update_storage_system::builders::UpdateStorageSystemFluentBuilder::storage_system_arn) / [`set_storage_system_arn(Option<String>)`](crate::operation::update_storage_system::builders::UpdateStorageSystemFluentBuilder::set_storage_system_arn):<br>required: **true**<br><p>Specifies the ARN of the on-premises storage system that you want reconfigure.</p><br>
    ///   - [`server_configuration(DiscoveryServerConfiguration)`](crate::operation::update_storage_system::builders::UpdateStorageSystemFluentBuilder::server_configuration) / [`set_server_configuration(Option<DiscoveryServerConfiguration>)`](crate::operation::update_storage_system::builders::UpdateStorageSystemFluentBuilder::set_server_configuration):<br>required: **false**<br><p>Specifies the server name and network port required to connect with your on-premises storage system's management interface.</p><br>
    ///   - [`agent_arns(impl Into<String>)`](crate::operation::update_storage_system::builders::UpdateStorageSystemFluentBuilder::agent_arns) / [`set_agent_arns(Option<Vec::<String>>)`](crate::operation::update_storage_system::builders::UpdateStorageSystemFluentBuilder::set_agent_arns):<br>required: **false**<br><p>Specifies the Amazon Resource Name (ARN) of the DataSync agent that connects to and reads your on-premises storage system. You can only specify one ARN.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_storage_system::builders::UpdateStorageSystemFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_storage_system::builders::UpdateStorageSystemFluentBuilder::set_name):<br>required: **false**<br><p>Specifies a familiar name for your on-premises storage system.</p><br>
    ///   - [`cloud_watch_log_group_arn(impl Into<String>)`](crate::operation::update_storage_system::builders::UpdateStorageSystemFluentBuilder::cloud_watch_log_group_arn) / [`set_cloud_watch_log_group_arn(Option<String>)`](crate::operation::update_storage_system::builders::UpdateStorageSystemFluentBuilder::set_cloud_watch_log_group_arn):<br>required: **false**<br><p>Specifies the ARN of the Amazon CloudWatch log group for monitoring and logging discovery job events.</p><br>
    ///   - [`credentials(Credentials)`](crate::operation::update_storage_system::builders::UpdateStorageSystemFluentBuilder::credentials) / [`set_credentials(Option<Credentials>)`](crate::operation::update_storage_system::builders::UpdateStorageSystemFluentBuilder::set_credentials):<br>required: **false**<br><p>Specifies the user name and password for accessing your on-premises storage system's management interface.</p><br>
    /// - On success, responds with [`UpdateStorageSystemOutput`](crate::operation::update_storage_system::UpdateStorageSystemOutput)
    /// - On failure, responds with [`SdkError<UpdateStorageSystemError>`](crate::operation::update_storage_system::UpdateStorageSystemError)
    pub fn update_storage_system(&self) -> crate::operation::update_storage_system::builders::UpdateStorageSystemFluentBuilder {
        crate::operation::update_storage_system::builders::UpdateStorageSystemFluentBuilder::new(self.handle.clone())
    }
}