#[non_exhaustive]pub struct StartFileTransferInput {
pub connector_id: Option<String>,
pub send_file_paths: Option<Vec<String>>,
pub retrieve_file_paths: Option<Vec<String>>,
pub local_directory_path: Option<String>,
pub remote_directory_path: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.connector_id: Option<String>The unique identifier for the connector.
send_file_paths: Option<Vec<String>>One or more source paths for the Amazon S3 storage. Each string represents a source file path for one outbound file transfer. For example, DOC-EXAMPLE-BUCKET/myfile.txt .
Replace DOC-EXAMPLE-BUCKET with one of your actual buckets.
retrieve_file_paths: Option<Vec<String>>One or more source paths for the partner's SFTP server. Each string represents a source file path for one inbound file transfer.
local_directory_path: Option<String>For an inbound transfer, the LocaDirectoryPath specifies the destination for one or more files that are transferred from the partner's SFTP server.
remote_directory_path: Option<String>For an outbound transfer, the RemoteDirectoryPath specifies the destination for one or more files that are transferred to the partner's SFTP server. If you don't specify a RemoteDirectoryPath, the destination for transferred files is the SFTP user's home directory.
Implementations§
source§impl StartFileTransferInput
impl StartFileTransferInput
sourcepub fn connector_id(&self) -> Option<&str>
pub fn connector_id(&self) -> Option<&str>
The unique identifier for the connector.
sourcepub fn send_file_paths(&self) -> &[String]
pub fn send_file_paths(&self) -> &[String]
One or more source paths for the Amazon S3 storage. Each string represents a source file path for one outbound file transfer. For example, DOC-EXAMPLE-BUCKET/myfile.txt .
Replace DOC-EXAMPLE-BUCKET with one of your actual buckets.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .send_file_paths.is_none().
sourcepub fn retrieve_file_paths(&self) -> &[String]
pub fn retrieve_file_paths(&self) -> &[String]
One or more source paths for the partner's SFTP server. Each string represents a source file path for one inbound file transfer.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .retrieve_file_paths.is_none().
sourcepub fn local_directory_path(&self) -> Option<&str>
pub fn local_directory_path(&self) -> Option<&str>
For an inbound transfer, the LocaDirectoryPath specifies the destination for one or more files that are transferred from the partner's SFTP server.
sourcepub fn remote_directory_path(&self) -> Option<&str>
pub fn remote_directory_path(&self) -> Option<&str>
For an outbound transfer, the RemoteDirectoryPath specifies the destination for one or more files that are transferred to the partner's SFTP server. If you don't specify a RemoteDirectoryPath, the destination for transferred files is the SFTP user's home directory.
source§impl StartFileTransferInput
impl StartFileTransferInput
sourcepub fn builder() -> StartFileTransferInputBuilder
pub fn builder() -> StartFileTransferInputBuilder
Creates a new builder-style object to manufacture StartFileTransferInput.
Trait Implementations§
source§impl Clone for StartFileTransferInput
impl Clone for StartFileTransferInput
source§fn clone(&self) -> StartFileTransferInput
fn clone(&self) -> StartFileTransferInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartFileTransferInput
impl Debug for StartFileTransferInput
source§impl PartialEq for StartFileTransferInput
impl PartialEq for StartFileTransferInput
source§fn eq(&self, other: &StartFileTransferInput) -> bool
fn eq(&self, other: &StartFileTransferInput) -> bool
self and other values to be equal, and is used
by ==.