aws_sdk_datasync/client/create_location_fsx_lustre.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateLocationFsxLustre`](crate::operation::create_location_fsx_lustre::builders::CreateLocationFsxLustreFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`fsx_filesystem_arn(impl Into<String>)`](crate::operation::create_location_fsx_lustre::builders::CreateLocationFsxLustreFluentBuilder::fsx_filesystem_arn) / [`set_fsx_filesystem_arn(Option<String>)`](crate::operation::create_location_fsx_lustre::builders::CreateLocationFsxLustreFluentBuilder::set_fsx_filesystem_arn):<br>required: **true**<br><p>Specifies the Amazon Resource Name (ARN) of the FSx for Lustre file system.</p><br>
/// - [`security_group_arns(impl Into<String>)`](crate::operation::create_location_fsx_lustre::builders::CreateLocationFsxLustreFluentBuilder::security_group_arns) / [`set_security_group_arns(Option<Vec::<String>>)`](crate::operation::create_location_fsx_lustre::builders::CreateLocationFsxLustreFluentBuilder::set_security_group_arns):<br>required: **true**<br><p>Specifies the Amazon Resource Names (ARNs) of up to five security groups that provide access to your FSx for Lustre file system.</p> <p>The security groups must be able to access the file system's ports. The file system must also allow access from the security groups. For information about file system access, see the <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/limit-access-security-groups.html"> <i>Amazon FSx for Lustre User Guide</i> </a>.</p><br>
/// - [`subdirectory(impl Into<String>)`](crate::operation::create_location_fsx_lustre::builders::CreateLocationFsxLustreFluentBuilder::subdirectory) / [`set_subdirectory(Option<String>)`](crate::operation::create_location_fsx_lustre::builders::CreateLocationFsxLustreFluentBuilder::set_subdirectory):<br>required: **false**<br><p>Specifies a mount path for your FSx for Lustre file system. The path can include subdirectories.</p> <p>When the location is used as a source, DataSync reads data from the mount path. When the location is used as a destination, DataSync writes data to the mount path. If you don't include this parameter, DataSync uses the file system's root directory (<code>/</code>).</p><br>
/// - [`tags(TagListEntry)`](crate::operation::create_location_fsx_lustre::builders::CreateLocationFsxLustreFluentBuilder::tags) / [`set_tags(Option<Vec::<TagListEntry>>)`](crate::operation::create_location_fsx_lustre::builders::CreateLocationFsxLustreFluentBuilder::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 location.</p><br>
/// - On success, responds with [`CreateLocationFsxLustreOutput`](crate::operation::create_location_fsx_lustre::CreateLocationFsxLustreOutput) with field(s):
/// - [`location_arn(Option<String>)`](crate::operation::create_location_fsx_lustre::CreateLocationFsxLustreOutput::location_arn): <p>The Amazon Resource Name (ARN) of the FSx for Lustre file system location that you created.</p>
/// - On failure, responds with [`SdkError<CreateLocationFsxLustreError>`](crate::operation::create_location_fsx_lustre::CreateLocationFsxLustreError)
pub fn create_location_fsx_lustre(&self) -> crate::operation::create_location_fsx_lustre::builders::CreateLocationFsxLustreFluentBuilder {
crate::operation::create_location_fsx_lustre::builders::CreateLocationFsxLustreFluentBuilder::new(self.handle.clone())
}
}