aws_sdk_datasync/client/
add_storage_system.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AddStorageSystem`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`server_configuration(DiscoveryServerConfiguration)`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::server_configuration) / [`set_server_configuration(Option<DiscoveryServerConfiguration>)`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::set_server_configuration):<br>required: **true**<br><p>Specifies the server name and network port required to connect with the management interface of your on-premises storage system.</p><br>
    ///   - [`system_type(DiscoverySystemType)`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::system_type) / [`set_system_type(Option<DiscoverySystemType>)`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::set_system_type):<br>required: **true**<br><p>Specifies the type of on-premises storage system that you want DataSync Discovery to collect information about.</p><note>  <p>DataSync Discovery currently supports NetApp Fabric-Attached Storage (FAS) and All Flash FAS (AFF) systems running ONTAP 9.7 or later.</p> </note><br>
    ///   - [`agent_arns(impl Into<String>)`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::agent_arns) / [`set_agent_arns(Option<Vec::<String>>)`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::set_agent_arns):<br>required: **true**<br><p>Specifies the Amazon Resource Name (ARN) of the DataSync agent that connects to and reads from your on-premises storage system's management interface. You can only specify one ARN.</p><br>
    ///   - [`cloud_watch_log_group_arn(impl Into<String>)`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::cloud_watch_log_group_arn) / [`set_cloud_watch_log_group_arn(Option<String>)`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::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>
    ///   - [`tags(TagListEntry)`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::tags) / [`set_tags(Option<Vec::<TagListEntry>>)`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::set_tags):<br>required: **false**<br><p>Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your on-premises storage system.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::set_name):<br>required: **false**<br><p>Specifies a familiar name for your on-premises storage system.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::set_client_token):<br>required: **true**<br><p>Specifies a client token to make sure requests with this API operation are idempotent. If you don't specify a client token, DataSync generates one for you automatically.</p><br>
    ///   - [`credentials(Credentials)`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::credentials) / [`set_credentials(Option<Credentials>)`](crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::set_credentials):<br>required: **true**<br><p>Specifies the user name and password for accessing your on-premises storage system's management interface.</p><br>
    /// - On success, responds with [`AddStorageSystemOutput`](crate::operation::add_storage_system::AddStorageSystemOutput) with field(s):
    ///   - [`storage_system_arn(String)`](crate::operation::add_storage_system::AddStorageSystemOutput::storage_system_arn): <p>The ARN of the on-premises storage system that you can use with DataSync Discovery.</p>
    /// - On failure, responds with [`SdkError<AddStorageSystemError>`](crate::operation::add_storage_system::AddStorageSystemError)
    pub fn add_storage_system(&self) -> crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder {
        crate::operation::add_storage_system::builders::AddStorageSystemFluentBuilder::new(self.handle.clone())
    }
}