aws_sdk_fsx/client/
disassociate_file_system_aliases.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 [`DisassociateFileSystemAliases`](crate::operation::disassociate_file_system_aliases::builders::DisassociateFileSystemAliasesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`client_request_token(impl Into<String>)`](crate::operation::disassociate_file_system_aliases::builders::DisassociateFileSystemAliasesFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::disassociate_file_system_aliases::builders::DisassociateFileSystemAliasesFluentBuilder::set_client_request_token):<br>required: **false**<br><p>(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.</p><br>
7    ///   - [`file_system_id(impl Into<String>)`](crate::operation::disassociate_file_system_aliases::builders::DisassociateFileSystemAliasesFluentBuilder::file_system_id) / [`set_file_system_id(Option<String>)`](crate::operation::disassociate_file_system_aliases::builders::DisassociateFileSystemAliasesFluentBuilder::set_file_system_id):<br>required: **true**<br><p>Specifies the file system from which to disassociate the DNS aliases.</p><br>
8    ///   - [`aliases(impl Into<String>)`](crate::operation::disassociate_file_system_aliases::builders::DisassociateFileSystemAliasesFluentBuilder::aliases) / [`set_aliases(Option<Vec::<String>>)`](crate::operation::disassociate_file_system_aliases::builders::DisassociateFileSystemAliasesFluentBuilder::set_aliases):<br>required: **true**<br><p>An array of one or more DNS alias names to disassociate, or remove, from the file system.</p><br>
9    /// - On success, responds with [`DisassociateFileSystemAliasesOutput`](crate::operation::disassociate_file_system_aliases::DisassociateFileSystemAliasesOutput) with field(s):
10    ///   - [`aliases(Option<Vec::<Alias>>)`](crate::operation::disassociate_file_system_aliases::DisassociateFileSystemAliasesOutput::aliases): <p>An array of one or more DNS aliases that Amazon FSx is attempting to disassociate from the file system.</p>
11    /// - On failure, responds with [`SdkError<DisassociateFileSystemAliasesError>`](crate::operation::disassociate_file_system_aliases::DisassociateFileSystemAliasesError)
12    pub fn disassociate_file_system_aliases(
13        &self,
14    ) -> crate::operation::disassociate_file_system_aliases::builders::DisassociateFileSystemAliasesFluentBuilder {
15        crate::operation::disassociate_file_system_aliases::builders::DisassociateFileSystemAliasesFluentBuilder::new(self.handle.clone())
16    }
17}