amazonka-datasync-2.0: Amazon DataSync SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataSync.Lens

Description

 
Synopsis

Operations

CancelTaskExecution

cancelTaskExecution_taskExecutionArn :: Lens' CancelTaskExecution Text Source #

The Amazon Resource Name (ARN) of the task execution to stop.

CreateAgent

createAgent_agentName :: Lens' CreateAgent (Maybe Text) Source #

The name you configured for your agent. This value is a text reference that is used to identify the agent in the console.

createAgent_securityGroupArns :: Lens' CreateAgent (Maybe (NonEmpty Text)) Source #

The ARNs of the security groups used to protect your data transfer task subnets. See SecurityGroupArns.

createAgent_subnetArns :: Lens' CreateAgent (Maybe (NonEmpty Text)) Source #

The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic network interfaces for each data transfer task. The agent that runs a task must be private. When you start a task that is associated with an agent created in a VPC, or one that has access to an IP address in a VPC, then the task is also private. In this case, DataSync creates four network interfaces for each task in your subnet. For a data transfer to work, the agent must be able to route to all these four network interfaces.

createAgent_tags :: Lens' CreateAgent (Maybe [TagListEntry]) Source #

The key-value pair that represents the tag that you want to associate with the agent. The value can be an empty string. This value helps you manage, filter, and search for your agents.

Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @.

createAgent_vpcEndpointId :: Lens' CreateAgent (Maybe Text) Source #

The ID of the VPC (virtual private cloud) endpoint that the agent has access to. This is the client-side VPC endpoint, also called a PrivateLink. If you don't have a PrivateLink VPC endpoint, see Creating a VPC Endpoint Service Configuration in the Amazon VPC User Guide.

VPC endpoint ID looks like this: vpce-01234d5aff67890e1.

createAgent_activationKey :: Lens' CreateAgent Text Source #

Your agent activation key. You can get the activation key either by sending an HTTP GET request with redirects that enable you to get the agent IP address (port 80). Alternatively, you can get it from the DataSync console.

The redirect URL returned in the response provides you the activation key for your agent in the query string parameter activationKey. It might also include other activation-related parameters; however, these are merely defaults. The arguments you pass to this API call determine the actual configuration of your agent.

For more information, see Activating an Agent in the /DataSync User Guide./

createAgentResponse_agentArn :: Lens' CreateAgentResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the agent. Use the ListAgents operation to return a list of agents for your account and Amazon Web Services Region.

CreateLocationEfs

createLocationEfs_accessPointArn :: Lens' CreateLocationEfs (Maybe Text) Source #

Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.

createLocationEfs_fileSystemAccessRoleArn :: Lens' CreateLocationEfs (Maybe Text) Source #

Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.

createLocationEfs_inTransitEncryption :: Lens' CreateLocationEfs (Maybe EfsInTransitEncryption) Source #

Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.

If you specify an access point using AccessPointArn or an IAM role using FileSystemAccessRoleArn, you must set this parameter to TLS1_2.

createLocationEfs_subdirectory :: Lens' CreateLocationEfs (Maybe Text) Source #

Specifies a mount path for your Amazon EFS file system. This is where DataSync reads or writes data (depending on if this is a source or destination location). By default, DataSync uses the root directory, but you can also include subdirectories.

You must specify a value with forward slashes (for example, /path/to/folder).

createLocationEfs_tags :: Lens' CreateLocationEfs (Maybe [TagListEntry]) Source #

Specifies the key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

createLocationEfs_efsFilesystemArn :: Lens' CreateLocationEfs Text Source #

Specifies the ARN for the Amazon EFS file system.

createLocationEfs_ec2Config :: Lens' CreateLocationEfs Ec2Config Source #

Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.

createLocationEfsResponse_locationArn :: Lens' CreateLocationEfsResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon EFS file system location that you create.

CreateLocationFsxLustre

createLocationFsxLustre_subdirectory :: Lens' CreateLocationFsxLustre (Maybe Text) Source #

A subdirectory in the location's path. This subdirectory in the FSx for Lustre file system is used to read data from the FSx for Lustre source location or write data to the FSx for Lustre destination.

createLocationFsxLustre_tags :: Lens' CreateLocationFsxLustre (Maybe [TagListEntry]) Source #

The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

createLocationFsxLustre_fsxFilesystemArn :: Lens' CreateLocationFsxLustre Text Source #

The Amazon Resource Name (ARN) for the FSx for Lustre file system.

createLocationFsxLustre_securityGroupArns :: Lens' CreateLocationFsxLustre (NonEmpty Text) Source #

The Amazon Resource Names (ARNs) of the security groups that are used to configure the FSx for Lustre file system.

createLocationFsxLustreResponse_locationArn :: Lens' CreateLocationFsxLustreResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the FSx for Lustre file system location that's created.

CreateLocationFsxOntap

createLocationFsxOntap_subdirectory :: Lens' CreateLocationFsxOntap (Maybe Text) Source #

Specifies the junction path (also known as a mount point) in the SVM volume where you're copying data to or from (for example, /vol1).

Don't specify a junction path in the SVM's root volume. For more information, see Managing FSx for ONTAP storage virtual machines in the Amazon FSx for NetApp ONTAP User Guide.

createLocationFsxOntap_tags :: Lens' CreateLocationFsxOntap (Maybe [TagListEntry]) Source #

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.

createLocationFsxOntap_securityGroupArns :: Lens' CreateLocationFsxOntap (NonEmpty Text) Source #

Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.

The security groups must allow outbound traffic on the following ports (depending on the protocol you use):

  • Network File System (NFS): TCP ports 111, 635, and 2049
  • Server Message Block (SMB): TCP port 445

Your file system's security groups must also allow inbound traffic on the same ports.

createLocationFsxOntap_storageVirtualMachineArn :: Lens' CreateLocationFsxOntap Text Source #

Specifies the ARN of the storage virtual machine (SVM) on your file system where you're copying data to or from.

createLocationFsxOntapResponse_locationArn :: Lens' CreateLocationFsxOntapResponse (Maybe Text) Source #

Specifies the ARN of the FSx for ONTAP file system location that you create.

CreateLocationFsxOpenZfs

createLocationFsxOpenZfs_subdirectory :: Lens' CreateLocationFsxOpenZfs (Maybe Text) Source #

A subdirectory in the location's path that must begin with /fsx. DataSync uses this subdirectory to read or write data (depending on whether the file system is a source or destination location).

createLocationFsxOpenZfs_tags :: Lens' CreateLocationFsxOpenZfs (Maybe [TagListEntry]) Source #

The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

createLocationFsxOpenZfs_fsxFilesystemArn :: Lens' CreateLocationFsxOpenZfs Text Source #

The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.

createLocationFsxOpenZfs_protocol :: Lens' CreateLocationFsxOpenZfs FsxProtocol Source #

The type of protocol that DataSync uses to access your file system.

createLocationFsxOpenZfs_securityGroupArns :: Lens' CreateLocationFsxOpenZfs (NonEmpty Text) Source #

The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.

createLocationFsxOpenZfsResponse_locationArn :: Lens' CreateLocationFsxOpenZfsResponse (Maybe Text) Source #

The ARN of the FSx for OpenZFS file system location that you created.

CreateLocationFsxWindows

createLocationFsxWindows_domain :: Lens' CreateLocationFsxWindows (Maybe Text) Source #

Specifies the name of the Windows domain that the FSx for Windows File Server belongs to.

createLocationFsxWindows_subdirectory :: Lens' CreateLocationFsxWindows (Maybe Text) Source #

Specifies a mount path for your file system using forward slashes. This is where DataSync reads or writes data (depending on if this is a source or destination location).

createLocationFsxWindows_tags :: Lens' CreateLocationFsxWindows (Maybe [TagListEntry]) Source #

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.

createLocationFsxWindows_fsxFilesystemArn :: Lens' CreateLocationFsxWindows Text Source #

Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.

createLocationFsxWindows_securityGroupArns :: Lens' CreateLocationFsxWindows (NonEmpty Text) Source #

Specifies the ARNs of the security groups that provide access to your file system's preferred subnet.

If you choose a security group that doesn't allow connections from within itself, do one of the following:

  • Configure the security group to allow it to communicate within itself.
  • Choose a different security group that can communicate with the mount target's security group.

createLocationFsxWindows_user :: Lens' CreateLocationFsxWindows Text Source #

Specifies the user who has the permissions to access files and folders in the file system.

For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user.

createLocationFsxWindows_password :: Lens' CreateLocationFsxWindows Text Source #

Specifies the password of the user who has the permissions to access files and folders in the file system.

createLocationFsxWindowsResponse_locationArn :: Lens' CreateLocationFsxWindowsResponse (Maybe Text) Source #

The ARN of the FSx for Windows File Server file system location you created.

CreateLocationHdfs

createLocationHdfs_blockSize :: Lens' CreateLocationHdfs (Maybe Natural) Source #

The size of data blocks to write into the HDFS cluster. The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).

createLocationHdfs_kerberosKeytab :: Lens' CreateLocationHdfs (Maybe ByteString) Source #

The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. You can load the keytab from a file by providing the file's address. If you're using the CLI, it performs base64 encoding for you. Otherwise, provide the base64-encoded text.

If KERBEROS is specified for AuthenticationType, this parameter is required.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

createLocationHdfs_kerberosKrb5Conf :: Lens' CreateLocationHdfs (Maybe ByteString) Source #

The krb5.conf file that contains the Kerberos configuration information. You can load the krb5.conf file by providing the file's address. If you're using the CLI, it performs the base64 encoding for you. Otherwise, provide the base64-encoded text.

If KERBEROS is specified for AuthenticationType, this parameter is required.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

createLocationHdfs_kerberosPrincipal :: Lens' CreateLocationHdfs (Maybe Text) Source #

The Kerberos principal with access to the files and folders on the HDFS cluster.

If KERBEROS is specified for AuthenticationType, this parameter is required.

createLocationHdfs_kmsKeyProviderUri :: Lens' CreateLocationHdfs (Maybe Text) Source #

The URI of the HDFS cluster's Key Management Server (KMS).

createLocationHdfs_qopConfiguration :: Lens' CreateLocationHdfs (Maybe QopConfiguration) Source #

The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster. If QopConfiguration isn't specified, RpcProtection and DataTransferProtection default to PRIVACY. If you set RpcProtection or DataTransferProtection, the other parameter assumes the same value.

createLocationHdfs_replicationFactor :: Lens' CreateLocationHdfs (Maybe Natural) Source #

The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.

createLocationHdfs_simpleUser :: Lens' CreateLocationHdfs (Maybe Text) Source #

The user name used to identify the client on the host operating system.

If SIMPLE is specified for AuthenticationType, this parameter is required.

createLocationHdfs_subdirectory :: Lens' CreateLocationHdfs (Maybe Text) Source #

A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.

createLocationHdfs_tags :: Lens' CreateLocationHdfs (Maybe [TagListEntry]) Source #

The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

createLocationHdfs_nameNodes :: Lens' CreateLocationHdfs (NonEmpty HdfsNameNode) Source #

The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode.

createLocationHdfs_authenticationType :: Lens' CreateLocationHdfs HdfsAuthenticationType Source #

The type of authentication used to determine the identity of the user.

createLocationHdfs_agentArns :: Lens' CreateLocationHdfs (NonEmpty Text) Source #

The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.

createLocationHdfsResponse_locationArn :: Lens' CreateLocationHdfsResponse (Maybe Text) Source #

The ARN of the source HDFS cluster location that's created.

CreateLocationNfs

createLocationNfs_mountOptions :: Lens' CreateLocationNfs (Maybe NfsMountOptions) Source #

The NFS mount options that DataSync can use to mount your NFS share.

createLocationNfs_tags :: Lens' CreateLocationNfs (Maybe [TagListEntry]) Source #

The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

createLocationNfs_subdirectory :: Lens' CreateLocationNfs Text Source #

The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

To see all the paths exported by your NFS server, run "showmount -e nfs-server-name" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the permissions for all of the files that you want DataSync allow read access for all users. Doing either enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.

For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

createLocationNfs_serverHostname :: Lens' CreateLocationNfs Text Source #

The name of the NFS server. This value is the IP address or Domain Name Service (DNS) name of the NFS server. An agent that is installed on-premises uses this hostname to mount the NFS server in a network.

If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.

This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

createLocationNfs_onPremConfig :: Lens' CreateLocationNfs OnPremConfig Source #

Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.

If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.

createLocationNfsResponse_locationArn :: Lens' CreateLocationNfsResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the source NFS file system location that is created.

CreateLocationObjectStorage

createLocationObjectStorage_accessKey :: Lens' CreateLocationObjectStorage (Maybe Text) Source #

Specifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server.

createLocationObjectStorage_secretKey :: Lens' CreateLocationObjectStorage (Maybe Text) Source #

Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.

createLocationObjectStorage_serverCertificate :: Lens' CreateLocationObjectStorage (Maybe ByteString) Source #

Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem file (for example, file:///home/user/.ssh/storage_sys_certificate.pem). The certificate can be up to 32768 bytes (before Base64 encoding).

To use this parameter, configure ServerProtocol to HTTPS.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

createLocationObjectStorage_serverPort :: Lens' CreateLocationObjectStorage (Maybe Natural) Source #

Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).

createLocationObjectStorage_serverProtocol :: Lens' CreateLocationObjectStorage (Maybe ObjectStorageServerProtocol) Source #

Specifies the protocol that your object storage server uses to communicate.

createLocationObjectStorage_subdirectory :: Lens' CreateLocationObjectStorage (Maybe Text) Source #

Specifies the object prefix for your object storage server. If this is a source location, DataSync only copies objects with this prefix. If this is a destination location, DataSync writes all objects with this prefix.

createLocationObjectStorage_tags :: Lens' CreateLocationObjectStorage (Maybe [TagListEntry]) Source #

Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help you manage, filter, and search for your resources. We recommend creating a name tag for your location.

createLocationObjectStorage_serverHostname :: Lens' CreateLocationObjectStorage Text Source #

Specifies the domain name or IP address of the object storage server. A DataSync agent uses this hostname to mount the object storage server in a network.

createLocationObjectStorage_bucketName :: Lens' CreateLocationObjectStorage Text Source #

Specifies the name of the object storage bucket involved in the transfer.

createLocationObjectStorage_agentArns :: Lens' CreateLocationObjectStorage (NonEmpty Text) Source #

Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.

createLocationObjectStorageResponse_locationArn :: Lens' CreateLocationObjectStorageResponse (Maybe Text) Source #

Specifies the ARN of the object storage system location that you create.

CreateLocationS3

createLocationS3_agentArns :: Lens' CreateLocationS3 (Maybe (NonEmpty Text)) Source #

If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of the DataSync agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.

createLocationS3_s3StorageClass :: Lens' CreateLocationS3 (Maybe S3StorageClass) Source #

The Amazon S3 storage class that you want to store your files in when this location is used as a task destination. For buckets in Amazon Web Services Regions, the storage class defaults to Standard. For buckets on Outposts, the storage class defaults to Amazon Web Services S3 Outposts.

For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.

createLocationS3_subdirectory :: Lens' CreateLocationS3 (Maybe Text) Source #

A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read data from the S3 source location or write data to the S3 destination.

createLocationS3_tags :: Lens' CreateLocationS3 (Maybe [TagListEntry]) Source #

The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

createLocationS3_s3BucketArn :: Lens' CreateLocationS3 Text Source #

The ARN of the Amazon S3 bucket. If the bucket is on an Amazon Web Services Outpost, this must be an access point ARN.

createLocationS3Response_locationArn :: Lens' CreateLocationS3Response (Maybe Text) Source #

The Amazon Resource Name (ARN) of the source Amazon S3 bucket location that is created.

CreateLocationSmb

createLocationSmb_domain :: Lens' CreateLocationSmb (Maybe Text) Source #

The name of the Windows domain that the SMB server belongs to.

createLocationSmb_mountOptions :: Lens' CreateLocationSmb (Maybe SmbMountOptions) Source #

The mount options used by DataSync to access the SMB server.

createLocationSmb_tags :: Lens' CreateLocationSmb (Maybe [TagListEntry]) Source #

The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

createLocationSmb_subdirectory :: Lens' CreateLocationSmb Text Source #

The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination. The SMB path should be a path that's exported by the SMB server, or a subdirectory of that path. The path should be such that it can be mounted by other SMB clients in your network.

Subdirectory must be specified with forward slashes. For example, /path/to/folder.

To transfer all the data in the folder you specified, DataSync needs to have permissions to mount the SMB share, as well as to access all the data in that share. To ensure this, either ensure that the user/password specified belongs to the user who can mount the share, and who has the appropriate permissions for all of the files and directories that you want DataSync to access, or use credentials of a member of the Backup Operators group to mount the share. Doing either enables the agent to access the data. For the agent to access directories, you must additionally enable all execute access.

createLocationSmb_serverHostname :: Lens' CreateLocationSmb Text Source #

The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name of the SMB server. An agent that is installed on-premises uses this hostname to mount the SMB server in a network.

This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

createLocationSmb_user :: Lens' CreateLocationSmb Text Source #

The user who can mount the share, has the permissions to access files and folders in the SMB share.

For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see the User setting for SMB locations.

createLocationSmb_password :: Lens' CreateLocationSmb Text Source #

The password of the user who can mount the share, has the permissions to access files and folders in the SMB share.

createLocationSmb_agentArns :: Lens' CreateLocationSmb (NonEmpty Text) Source #

The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.

createLocationSmbResponse_locationArn :: Lens' CreateLocationSmbResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the source SMB file system location that is created.

CreateTask

createTask_cloudWatchLogGroupArn :: Lens' CreateTask (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events in the task.

createTask_excludes :: Lens' CreateTask (Maybe [FilterRule]) Source #

Specifies a list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.

createTask_includes :: Lens' CreateTask (Maybe [FilterRule]) Source #

Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.

createTask_name :: Lens' CreateTask (Maybe Text) Source #

The name of a task. This value is a text reference that is used to identify the task in the console.

createTask_options :: Lens' CreateTask (Maybe Options) Source #

Specifies the configuration options for a task. Some options include preserving file or object metadata and verifying data integrity.

You can also override these options before starting an individual run of a task (also known as a task execution). For more information, see StartTaskExecution.

createTask_schedule :: Lens' CreateTask (Maybe TaskSchedule) Source #

Specifies a schedule used to periodically transfer files from a source to a destination location. The schedule should be specified in UTC time. For more information, see Scheduling your task.

createTask_tags :: Lens' CreateTask (Maybe [TagListEntry]) Source #

Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task.

Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.

createTask_sourceLocationArn :: Lens' CreateTask Text Source #

The Amazon Resource Name (ARN) of the source location for the task.

createTask_destinationLocationArn :: Lens' CreateTask Text Source #

The Amazon Resource Name (ARN) of an Amazon Web Services storage resource's location.

createTaskResponse_taskArn :: Lens' CreateTaskResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the task.

DeleteAgent

deleteAgent_agentArn :: Lens' DeleteAgent Text Source #

The Amazon Resource Name (ARN) of the agent to delete. Use the ListAgents operation to return a list of agents for your account and Amazon Web Services Region.

DeleteLocation

deleteLocation_locationArn :: Lens' DeleteLocation Text Source #

The Amazon Resource Name (ARN) of the location to delete.

DeleteTask

deleteTask_taskArn :: Lens' DeleteTask Text Source #

Specifies the Amazon Resource Name (ARN) of the task that you want to delete.

DescribeAgent

describeAgent_agentArn :: Lens' DescribeAgent Text Source #

The Amazon Resource Name (ARN) of the agent to describe.

describeAgentResponse_agentArn :: Lens' DescribeAgentResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the agent.

describeAgentResponse_creationTime :: Lens' DescribeAgentResponse (Maybe UTCTime) Source #

The time that the agent was activated (that is, created in your account).

describeAgentResponse_endpointType :: Lens' DescribeAgentResponse (Maybe EndpointType) Source #

The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint, the agent is not accessible over the public internet.

describeAgentResponse_lastConnectionTime :: Lens' DescribeAgentResponse (Maybe UTCTime) Source #

The time that the agent last connected to DataSync.

describeAgentResponse_privateLinkConfig :: Lens' DescribeAgentResponse (Maybe PrivateLinkConfig) Source #

The subnet and the security group that DataSync used to access a VPC endpoint.

describeAgentResponse_status :: Lens' DescribeAgentResponse (Maybe AgentStatus) Source #

The status of the agent. If the status is ONLINE, then the agent is configured properly and is available to use. The Running status is the normal running status for an agent. If the status is OFFLINE, the agent's VM is turned off or the agent is in an unhealthy state. When the issue that caused the unhealthy state is resolved, the agent returns to ONLINE status.

DescribeLocationEfs

describeLocationEfs_locationArn :: Lens' DescribeLocationEfs Text Source #

The Amazon Resource Name (ARN) of the Amazon EFS file system location that you want information about.

describeLocationEfsResponse_accessPointArn :: Lens' DescribeLocationEfsResponse (Maybe Text) Source #

The ARN of the access point that DataSync uses to access the Amazon EFS file system.

describeLocationEfsResponse_fileSystemAccessRoleArn :: Lens' DescribeLocationEfsResponse (Maybe Text) Source #

The Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.

describeLocationEfsResponse_inTransitEncryption :: Lens' DescribeLocationEfsResponse (Maybe EfsInTransitEncryption) Source #

Describes whether DataSync uses Transport Layer Security (TLS) encryption when copying data to or from the Amazon EFS file system.

describeLocationEfsResponse_locationArn :: Lens' DescribeLocationEfsResponse (Maybe Text) Source #

The ARN of the Amazon EFS file system location.

describeLocationEfsResponse_locationUri :: Lens' DescribeLocationEfsResponse (Maybe Text) Source #

The URL of the Amazon EFS file system location.

DescribeLocationFsxLustre

describeLocationFsxLustre_locationArn :: Lens' DescribeLocationFsxLustre Text Source #

The Amazon Resource Name (ARN) of the FSx for Lustre location to describe.

describeLocationFsxLustreResponse_locationArn :: Lens' DescribeLocationFsxLustreResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the FSx for Lustre location that was described.

describeLocationFsxLustreResponse_locationUri :: Lens' DescribeLocationFsxLustreResponse (Maybe Text) Source #

The URI of the FSx for Lustre location that was described.

describeLocationFsxLustreResponse_securityGroupArns :: Lens' DescribeLocationFsxLustreResponse (Maybe (NonEmpty Text)) Source #

The Amazon Resource Names (ARNs) of the security groups that are configured for the FSx for Lustre file system.

DescribeLocationFsxOntap

describeLocationFsxOntap_locationArn :: Lens' DescribeLocationFsxOntap Text Source #

Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP file system location that you want information about.

describeLocationFsxOntapResponse_locationUri :: Lens' DescribeLocationFsxOntapResponse (Maybe Text) Source #

The uniform resource identifier (URI) of the FSx for ONTAP file system location.

describeLocationFsxOntapResponse_securityGroupArns :: Lens' DescribeLocationFsxOntapResponse (Maybe (NonEmpty Text)) Source #

The security groups that DataSync uses to access your FSx for ONTAP file system.

describeLocationFsxOntapResponse_storageVirtualMachineArn :: Lens' DescribeLocationFsxOntapResponse (Maybe Text) Source #

The ARN of the storage virtual machine (SVM) on your FSx for ONTAP file system where you're copying data to or from.

DescribeLocationFsxOpenZfs

describeLocationFsxOpenZfs_locationArn :: Lens' DescribeLocationFsxOpenZfs Text Source #

The Amazon Resource Name (ARN) of the FSx for OpenZFS location to describe.

describeLocationFsxOpenZfsResponse_locationArn :: Lens' DescribeLocationFsxOpenZfsResponse (Maybe Text) Source #

The ARN of the FSx for OpenZFS location that was described.

describeLocationFsxOpenZfsResponse_locationUri :: Lens' DescribeLocationFsxOpenZfsResponse (Maybe Text) Source #

The uniform resource identifier (URI) of the FSx for OpenZFS location that was described.

Example: fsxz://us-west-2.fs-1234567890abcdef02/fsx/folderA/folder

describeLocationFsxOpenZfsResponse_protocol :: Lens' DescribeLocationFsxOpenZfsResponse (Maybe FsxProtocol) Source #

The type of protocol that DataSync uses to access your file system.

describeLocationFsxOpenZfsResponse_securityGroupArns :: Lens' DescribeLocationFsxOpenZfsResponse (Maybe (NonEmpty Text)) Source #

The ARNs of the security groups that are configured for the FSx for OpenZFS file system.

DescribeLocationFsxWindows

describeLocationFsxWindows_locationArn :: Lens' DescribeLocationFsxWindows Text Source #

The Amazon Resource Name (ARN) of the FSx for Windows File Server location to describe.

describeLocationFsxWindowsResponse_creationTime :: Lens' DescribeLocationFsxWindowsResponse (Maybe UTCTime) Source #

The time that the FSx for Windows File Server location was created.

describeLocationFsxWindowsResponse_domain :: Lens' DescribeLocationFsxWindowsResponse (Maybe Text) Source #

The name of the Windows domain that the FSx for Windows File Server belongs to.

describeLocationFsxWindowsResponse_locationArn :: Lens' DescribeLocationFsxWindowsResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the FSx for Windows File Server location that was described.

describeLocationFsxWindowsResponse_locationUri :: Lens' DescribeLocationFsxWindowsResponse (Maybe Text) Source #

The URL of the FSx for Windows File Server location that was described.

describeLocationFsxWindowsResponse_securityGroupArns :: Lens' DescribeLocationFsxWindowsResponse (Maybe (NonEmpty Text)) Source #

The Amazon Resource Names (ARNs) of the security groups that are configured for the FSx for Windows File Server file system.

describeLocationFsxWindowsResponse_user :: Lens' DescribeLocationFsxWindowsResponse (Maybe Text) Source #

The user who has the permissions to access files and folders in the FSx for Windows File Server file system.

DescribeLocationHdfs

describeLocationHdfs_locationArn :: Lens' DescribeLocationHdfs Text Source #

The Amazon Resource Name (ARN) of the HDFS cluster location to describe.

describeLocationHdfsResponse_agentArns :: Lens' DescribeLocationHdfsResponse (Maybe (NonEmpty Text)) Source #

The ARNs of the agents that are used to connect to the HDFS cluster.

describeLocationHdfsResponse_authenticationType :: Lens' DescribeLocationHdfsResponse (Maybe HdfsAuthenticationType) Source #

The type of authentication used to determine the identity of the user.

describeLocationHdfsResponse_blockSize :: Lens' DescribeLocationHdfsResponse (Maybe Natural) Source #

The size of the data blocks to write into the HDFS cluster.

describeLocationHdfsResponse_kerberosPrincipal :: Lens' DescribeLocationHdfsResponse (Maybe Text) Source #

The Kerberos principal with access to the files and folders on the HDFS cluster. This parameter is used if the AuthenticationType is defined as KERBEROS.

describeLocationHdfsResponse_kmsKeyProviderUri :: Lens' DescribeLocationHdfsResponse (Maybe Text) Source #

The URI of the HDFS cluster's Key Management Server (KMS).

describeLocationHdfsResponse_qopConfiguration :: Lens' DescribeLocationHdfsResponse (Maybe QopConfiguration) Source #

The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster.

describeLocationHdfsResponse_replicationFactor :: Lens' DescribeLocationHdfsResponse (Maybe Natural) Source #

The number of DataNodes to replicate the data to when writing to the HDFS cluster.

describeLocationHdfsResponse_simpleUser :: Lens' DescribeLocationHdfsResponse (Maybe Text) Source #

The user name used to identify the client on the host operating system. This parameter is used if the AuthenticationType is defined as SIMPLE.

DescribeLocationNfs

describeLocationNfs_locationArn :: Lens' DescribeLocationNfs Text Source #

The Amazon Resource Name (ARN) of the NFS location to describe.

describeLocationNfsResponse_locationArn :: Lens' DescribeLocationNfsResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the NFS location that was described.

describeLocationNfsResponse_locationUri :: Lens' DescribeLocationNfsResponse (Maybe Text) Source #

The URL of the source NFS location that was described.

describeLocationNfsResponse_mountOptions :: Lens' DescribeLocationNfsResponse (Maybe NfsMountOptions) Source #

The NFS mount options that DataSync used to mount your NFS share.

DescribeLocationObjectStorage

describeLocationObjectStorage_locationArn :: Lens' DescribeLocationObjectStorage Text Source #

The Amazon Resource Name (ARN) of the object storage system location that you want information about.

describeLocationObjectStorageResponse_accessKey :: Lens' DescribeLocationObjectStorageResponse (Maybe Text) Source #

The access key (for example, a user name) required to authenticate with the object storage system.

describeLocationObjectStorageResponse_agentArns :: Lens' DescribeLocationObjectStorageResponse (Maybe (NonEmpty Text)) Source #

The ARNs of the DataSync agents that can securely connect with your location.

describeLocationObjectStorageResponse_serverCertificate :: Lens' DescribeLocationObjectStorageResponse (Maybe ByteString) Source #

The self-signed certificate that DataSync uses to securely authenticate with your object storage system.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

describeLocationObjectStorageResponse_serverPort :: Lens' DescribeLocationObjectStorageResponse (Maybe Natural) Source #

The port that your object storage server accepts inbound network traffic on (for example, port 443).

DescribeLocationS3

describeLocationS3_locationArn :: Lens' DescribeLocationS3 Text Source #

The Amazon Resource Name (ARN) of the Amazon S3 bucket location to describe.

describeLocationS3Response_agentArns :: Lens' DescribeLocationS3Response (Maybe (NonEmpty Text)) Source #

If you are using DataSync on an Amazon Web Services Outpost, the Amazon Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.

describeLocationS3Response_creationTime :: Lens' DescribeLocationS3Response (Maybe UTCTime) Source #

The time that the Amazon S3 bucket location was created.

describeLocationS3Response_locationArn :: Lens' DescribeLocationS3Response (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.

describeLocationS3Response_locationUri :: Lens' DescribeLocationS3Response (Maybe Text) Source #

The URL of the Amazon S3 location that was described.

describeLocationS3Response_s3StorageClass :: Lens' DescribeLocationS3Response (Maybe S3StorageClass) Source #

The Amazon S3 storage class that you chose to store your files in when this location is used as a task destination. For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.

DescribeLocationSmb

describeLocationSmb_locationArn :: Lens' DescribeLocationSmb Text Source #

The Amazon Resource Name (ARN) of the SMB location to describe.

describeLocationSmbResponse_agentArns :: Lens' DescribeLocationSmbResponse (Maybe (NonEmpty Text)) Source #

The Amazon Resource Name (ARN) of the source SMB file system location that is created.

describeLocationSmbResponse_domain :: Lens' DescribeLocationSmbResponse (Maybe Text) Source #

The name of the Windows domain that the SMB server belongs to.

describeLocationSmbResponse_locationArn :: Lens' DescribeLocationSmbResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the SMB location that was described.

describeLocationSmbResponse_locationUri :: Lens' DescribeLocationSmbResponse (Maybe Text) Source #

The URL of the source SMB location that was described.

describeLocationSmbResponse_mountOptions :: Lens' DescribeLocationSmbResponse (Maybe SmbMountOptions) Source #

The mount options that are available for DataSync to use to access an SMB location.

describeLocationSmbResponse_user :: Lens' DescribeLocationSmbResponse (Maybe Text) Source #

The user who can mount the share, has the permissions to access files and folders in the SMB share.

DescribeTask

describeTask_taskArn :: Lens' DescribeTask Text Source #

The Amazon Resource Name (ARN) of the task to describe.

describeTaskResponse_cloudWatchLogGroupArn :: Lens' DescribeTaskResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that was used to monitor and log events in the task.

For more information on these groups, see Working with Log Groups and Log Streams in the Amazon CloudWatch User Guide.

describeTaskResponse_currentTaskExecutionArn :: Lens' DescribeTaskResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the task execution that is transferring files.

describeTaskResponse_destinationLocationArn :: Lens' DescribeTaskResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon Web Services storage resource's location.

describeTaskResponse_destinationNetworkInterfaceArns :: Lens' DescribeTaskResponse (Maybe [Text]) Source #

The Amazon Resource Names (ARNs) of the network interfaces created for your destination location. For more information, see Network interface requirements.

describeTaskResponse_errorCode :: Lens' DescribeTaskResponse (Maybe Text) Source #

Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.

describeTaskResponse_errorDetail :: Lens' DescribeTaskResponse (Maybe Text) Source #

Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.

describeTaskResponse_excludes :: Lens' DescribeTaskResponse (Maybe [FilterRule]) Source #

A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.

describeTaskResponse_includes :: Lens' DescribeTaskResponse (Maybe [FilterRule]) Source #

A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.

describeTaskResponse_name :: Lens' DescribeTaskResponse (Maybe Text) Source #

The name of the task that was described.

describeTaskResponse_options :: Lens' DescribeTaskResponse (Maybe Options) Source #

The configuration options that control the behavior of the StartTaskExecution operation. Some options include preserving file or object metadata and verifying data integrity.

You can override these options for each task execution. For more information, see StartTaskExecution.

describeTaskResponse_schedule :: Lens' DescribeTaskResponse (Maybe TaskSchedule) Source #

The schedule used to periodically transfer files from a source to a destination location.

describeTaskResponse_sourceLocationArn :: Lens' DescribeTaskResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the source file system's location.

describeTaskResponse_sourceNetworkInterfaceArns :: Lens' DescribeTaskResponse (Maybe [Text]) Source #

The Amazon Resource Names (ARNs) of the network interfaces created for your source location. For more information, see Network interface requirements.

describeTaskResponse_status :: Lens' DescribeTaskResponse (Maybe TaskStatus) Source #

The status of the task that was described.

For detailed information about task execution statuses, see Understanding Task Statuses in the DataSync User Guide.

describeTaskResponse_taskArn :: Lens' DescribeTaskResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the task that was described.

DescribeTaskExecution

describeTaskExecution_taskExecutionArn :: Lens' DescribeTaskExecution Text Source #

The Amazon Resource Name (ARN) of the task that is being executed.

describeTaskExecutionResponse_bytesCompressed :: Lens' DescribeTaskExecutionResponse (Maybe Integer) Source #

The physical number of bytes transferred over the network after compression was applied. In most cases, this number is less than BytesTransferred unless the data isn't compressible.

describeTaskExecutionResponse_bytesTransferred :: Lens' DescribeTaskExecutionResponse (Maybe Integer) Source #

The total number of bytes that are involved in the transfer. For the number of bytes sent over the network, see BytesCompressed.

describeTaskExecutionResponse_bytesWritten :: Lens' DescribeTaskExecutionResponse (Maybe Integer) Source #

The number of logical bytes written to the destination Amazon Web Services storage resource.

describeTaskExecutionResponse_estimatedBytesToTransfer :: Lens' DescribeTaskExecutionResponse (Maybe Integer) Source #

The estimated physical number of bytes that is to be transferred over the network.

describeTaskExecutionResponse_estimatedFilesToTransfer :: Lens' DescribeTaskExecutionResponse (Maybe Integer) Source #

The expected number of files that is to be transferred over the network. This value is calculated during the PREPARING phase before the TRANSFERRING phase of the task execution. This value is the expected number of files to be transferred. It's calculated based on comparing the content of the source and destination locations and finding the delta that needs to be transferred.

describeTaskExecutionResponse_excludes :: Lens' DescribeTaskExecutionResponse (Maybe [FilterRule]) Source #

A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.

describeTaskExecutionResponse_filesTransferred :: Lens' DescribeTaskExecutionResponse (Maybe Integer) Source #

The actual number of files that was transferred over the network. This value is calculated and updated on an ongoing basis during the TRANSFERRING phase of the task execution. It's updated periodically when each file is read from the source and sent over the network.

If failures occur during a transfer, this value can be less than EstimatedFilesToTransfer. In some cases, this value can also be greater than EstimatedFilesToTransfer. This element is implementation-specific for some location types, so don't use it as an indicator for a correct file number or to monitor your task execution.

describeTaskExecutionResponse_includes :: Lens' DescribeTaskExecutionResponse (Maybe [FilterRule]) Source #

A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.

describeTaskExecutionResponse_status :: Lens' DescribeTaskExecutionResponse (Maybe TaskExecutionStatus) Source #

The status of the task execution.

For detailed information about task execution statuses, see Understanding Task Statuses in the DataSync User Guide.

describeTaskExecutionResponse_taskExecutionArn :: Lens' DescribeTaskExecutionResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the task execution that was described. TaskExecutionArn is hierarchical and includes TaskArn for the task that was executed.

For example, a TaskExecution value with the ARN arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b executed the task with the ARN arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2.

ListAgents

listAgents_maxResults :: Lens' ListAgents (Maybe Natural) Source #

The maximum number of agents to list.

listAgents_nextToken :: Lens' ListAgents (Maybe Text) Source #

An opaque string that indicates the position at which to begin the next list of agents.

listAgentsResponse_nextToken :: Lens' ListAgentsResponse (Maybe Text) Source #

An opaque string that indicates the position at which to begin returning the next list of agents.

ListLocations

listLocations_filters :: Lens' ListLocations (Maybe [LocationFilter]) Source #

You can use API filters to narrow down the list of resources returned by ListLocations. For example, to retrieve all tasks on a specific source location, you can use ListLocations with filter name LocationType S3 and Operator Equals.

listLocations_maxResults :: Lens' ListLocations (Maybe Natural) Source #

The maximum number of locations to return.

listLocations_nextToken :: Lens' ListLocations (Maybe Text) Source #

An opaque string that indicates the position at which to begin the next list of locations.

listLocationsResponse_nextToken :: Lens' ListLocationsResponse (Maybe Text) Source #

An opaque string that indicates the position at which to begin returning the next list of locations.

ListTagsForResource

listTagsForResource_maxResults :: Lens' ListTagsForResource (Maybe Natural) Source #

Specifies how many results that you want in the response.

listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text) Source #

Specifies an opaque string that indicates the position to begin the next list of results in the response.

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

Specifies the Amazon Resource Name (ARN) of the resource that you want tag information on.

listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text) Source #

The opaque string that indicates the position to begin the next list of results in the response.

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [TagListEntry]) Source #

An array of tags applied to the specified resource.

ListTaskExecutions

listTaskExecutions_maxResults :: Lens' ListTaskExecutions (Maybe Natural) Source #

The maximum number of executed tasks to list.

listTaskExecutions_nextToken :: Lens' ListTaskExecutions (Maybe Text) Source #

An opaque string that indicates the position at which to begin the next list of the executed tasks.

listTaskExecutions_taskArn :: Lens' ListTaskExecutions (Maybe Text) Source #

The Amazon Resource Name (ARN) of the task whose tasks you want to list.

listTaskExecutionsResponse_nextToken :: Lens' ListTaskExecutionsResponse (Maybe Text) Source #

An opaque string that indicates the position at which to begin returning the next list of executed tasks.

ListTasks

listTasks_filters :: Lens' ListTasks (Maybe [TaskFilter]) Source #

You can use API filters to narrow down the list of resources returned by ListTasks. For example, to retrieve all tasks on a specific source location, you can use ListTasks with filter name LocationId and Operator Equals with the ARN for the location.

listTasks_maxResults :: Lens' ListTasks (Maybe Natural) Source #

The maximum number of tasks to return.

listTasks_nextToken :: Lens' ListTasks (Maybe Text) Source #

An opaque string that indicates the position at which to begin the next list of tasks.

listTasksResponse_nextToken :: Lens' ListTasksResponse (Maybe Text) Source #

An opaque string that indicates the position at which to begin returning the next list of tasks.

listTasksResponse_tasks :: Lens' ListTasksResponse (Maybe [TaskListEntry]) Source #

A list of all the tasks that are returned.

listTasksResponse_httpStatus :: Lens' ListTasksResponse Int Source #

The response's http status code.

StartTaskExecution

startTaskExecution_excludes :: Lens' StartTaskExecution (Maybe [FilterRule]) Source #

Specifies a list of filter rules that determines which files to exclude from a task. The list contains a single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2".

startTaskExecution_includes :: Lens' StartTaskExecution (Maybe [FilterRule]) Source #

Specifies a list of filter rules that determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2".

startTaskExecution_tags :: Lens' StartTaskExecution (Maybe [TagListEntry]) Source #

Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.

Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.

startTaskExecution_taskArn :: Lens' StartTaskExecution Text Source #

Specifies the Amazon Resource Name (ARN) of the task that you want to start.

TagResource

tagResource_resourceArn :: Lens' TagResource Text Source #

Specifies the Amazon Resource Name (ARN) of the resource to apply the tag to.

tagResource_tags :: Lens' TagResource [TagListEntry] Source #

Specifies the tags that you want to apply to the resource.

UntagResource

untagResource_resourceArn :: Lens' UntagResource Text Source #

Specifies the Amazon Resource Name (ARN) of the resource to remove the tags from.

untagResource_keys :: Lens' UntagResource (NonEmpty Text) Source #

Specifies the keys in the tags that you want to remove.

UpdateAgent

updateAgent_name :: Lens' UpdateAgent (Maybe Text) Source #

The name that you want to use to configure the agent.

updateAgent_agentArn :: Lens' UpdateAgent Text Source #

The Amazon Resource Name (ARN) of the agent to update.

UpdateLocationHdfs

updateLocationHdfs_agentArns :: Lens' UpdateLocationHdfs (Maybe (NonEmpty Text)) Source #

The ARNs of the agents that are used to connect to the HDFS cluster.

updateLocationHdfs_authenticationType :: Lens' UpdateLocationHdfs (Maybe HdfsAuthenticationType) Source #

The type of authentication used to determine the identity of the user.

updateLocationHdfs_blockSize :: Lens' UpdateLocationHdfs (Maybe Natural) Source #

The size of the data blocks to write into the HDFS cluster.

updateLocationHdfs_kerberosKeytab :: Lens' UpdateLocationHdfs (Maybe ByteString) Source #

The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. You can load the keytab from a file by providing the file's address. If you use the CLI, it performs base64 encoding for you. Otherwise, provide the base64-encoded text.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

updateLocationHdfs_kerberosKrb5Conf :: Lens' UpdateLocationHdfs (Maybe ByteString) Source #

The krb5.conf file that contains the Kerberos configuration information. You can load the krb5.conf file by providing the file's address. If you're using the CLI, it performs the base64 encoding for you. Otherwise, provide the base64-encoded text.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

updateLocationHdfs_kerberosPrincipal :: Lens' UpdateLocationHdfs (Maybe Text) Source #

The Kerberos principal with access to the files and folders on the HDFS cluster.

updateLocationHdfs_kmsKeyProviderUri :: Lens' UpdateLocationHdfs (Maybe Text) Source #

The URI of the HDFS cluster's Key Management Server (KMS).

updateLocationHdfs_nameNodes :: Lens' UpdateLocationHdfs (Maybe (NonEmpty HdfsNameNode)) Source #

The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode.

updateLocationHdfs_qopConfiguration :: Lens' UpdateLocationHdfs (Maybe QopConfiguration) Source #

The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer privacy settings configured on the Hadoop Distributed File System (HDFS) cluster.

updateLocationHdfs_replicationFactor :: Lens' UpdateLocationHdfs (Maybe Natural) Source #

The number of DataNodes to replicate the data to when writing to the HDFS cluster.

updateLocationHdfs_simpleUser :: Lens' UpdateLocationHdfs (Maybe Text) Source #

The user name used to identify the client on the host operating system.

updateLocationHdfs_subdirectory :: Lens' UpdateLocationHdfs (Maybe Text) Source #

A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster.

updateLocationHdfs_locationArn :: Lens' UpdateLocationHdfs Text Source #

The Amazon Resource Name (ARN) of the source HDFS cluster location.

UpdateLocationNfs

updateLocationNfs_subdirectory :: Lens' UpdateLocationNfs (Maybe Text) Source #

The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

To see all the paths exported by your NFS server, run "showmount -e nfs-server-name" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

To transfer all the data in the folder that you specified, DataSync must have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the files you want DataSync to access have permissions that allow read access for all users. Doing either option enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information.

For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

updateLocationNfs_locationArn :: Lens' UpdateLocationNfs Text Source #

The Amazon Resource Name (ARN) of the NFS location to update.

UpdateLocationObjectStorage

updateLocationObjectStorage_accessKey :: Lens' UpdateLocationObjectStorage (Maybe Text) Source #

Specifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server.

updateLocationObjectStorage_agentArns :: Lens' UpdateLocationObjectStorage (Maybe (NonEmpty Text)) Source #

Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.

updateLocationObjectStorage_secretKey :: Lens' UpdateLocationObjectStorage (Maybe Text) Source #

Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.

updateLocationObjectStorage_serverCertificate :: Lens' UpdateLocationObjectStorage (Maybe ByteString) Source #

Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem file (for example, file:///home/user/.ssh/storage_sys_certificate.pem). The certificate can be up to 32768 bytes (before Base64 encoding).

To use this parameter, configure ServerProtocol to HTTPS.

Updating the certificate doesn't interfere with tasks that you have in progress.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

updateLocationObjectStorage_serverPort :: Lens' UpdateLocationObjectStorage (Maybe Natural) Source #

Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).

updateLocationObjectStorage_serverProtocol :: Lens' UpdateLocationObjectStorage (Maybe ObjectStorageServerProtocol) Source #

Specifies the protocol that your object storage server uses to communicate.

updateLocationObjectStorage_subdirectory :: Lens' UpdateLocationObjectStorage (Maybe Text) Source #

Specifies the object prefix for your object storage server. If this is a source location, DataSync only copies objects with this prefix. If this is a destination location, DataSync writes all objects with this prefix.

updateLocationObjectStorage_locationArn :: Lens' UpdateLocationObjectStorage Text Source #

Specifies the ARN of the object storage system location that you're updating.

UpdateLocationSmb

updateLocationSmb_agentArns :: Lens' UpdateLocationSmb (Maybe (NonEmpty Text)) Source #

The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.

updateLocationSmb_domain :: Lens' UpdateLocationSmb (Maybe Text) Source #

The name of the Windows domain that the SMB server belongs to.

updateLocationSmb_password :: Lens' UpdateLocationSmb (Maybe Text) Source #

The password of the user who can mount the share has the permissions to access files and folders in the SMB share.

updateLocationSmb_subdirectory :: Lens' UpdateLocationSmb (Maybe Text) Source #

The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination. The SMB path should be a path that's exported by the SMB server, or a subdirectory of that path. The path should be such that it can be mounted by other SMB clients in your network.

Subdirectory must be specified with forward slashes. For example, /path/to/folder.

To transfer all the data in the folder that you specified, DataSync must have permissions to mount the SMB share and to access all the data in that share. To ensure this, do either of the following:

  • Ensure that the user/password specified belongs to the user who can mount the share and who has the appropriate permissions for all of the files and directories that you want DataSync to access.
  • Use credentials of a member of the Backup Operators group to mount the share.

Doing either of these options enables the agent to access the data. For the agent to access directories, you must also enable all execute access.

updateLocationSmb_user :: Lens' UpdateLocationSmb (Maybe Text) Source #

The user who can mount the share has the permissions to access files and folders in the SMB share.

updateLocationSmb_locationArn :: Lens' UpdateLocationSmb Text Source #

The Amazon Resource Name (ARN) of the SMB location to update.

UpdateTask

updateTask_cloudWatchLogGroupArn :: Lens' UpdateTask (Maybe Text) Source #

The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch log group.

updateTask_excludes :: Lens' UpdateTask (Maybe [FilterRule]) Source #

Specifies a list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.

updateTask_includes :: Lens' UpdateTask (Maybe [FilterRule]) Source #

Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.

updateTask_name :: Lens' UpdateTask (Maybe Text) Source #

The name of the task to update.

updateTask_schedule :: Lens' UpdateTask (Maybe TaskSchedule) Source #

Specifies a schedule used to periodically transfer files from a source to a destination location. You can configure your task to execute hourly, daily, weekly or on specific days of the week. You control when in the day or hour you want the task to execute. The time you specify is UTC time. For more information, see Scheduling your task.

updateTask_taskArn :: Lens' UpdateTask Text Source #

The Amazon Resource Name (ARN) of the resource name of the task to update.

UpdateTaskExecution

updateTaskExecution_taskExecutionArn :: Lens' UpdateTaskExecution Text Source #

The Amazon Resource Name (ARN) of the specific task execution that is being updated.

Types

AgentListEntry

agentListEntry_agentArn :: Lens' AgentListEntry (Maybe Text) Source #

The Amazon Resource Name (ARN) of the agent.

Ec2Config

ec2Config_subnetArn :: Lens' Ec2Config Text Source #

Specifies the ARN of a subnet where DataSync creates the network interfaces for managing traffic during your transfer.

The subnet must be located:

  • In the same virtual private cloud (VPC) as the Amazon EFS file system.
  • In the same Availability Zone as at least one mount target for the Amazon EFS file system.

You don't need to specify a subnet that includes a file system mount target.

ec2Config_securityGroupArns :: Lens' Ec2Config (NonEmpty Text) Source #

Specifies the Amazon Resource Names (ARNs) of the security groups associated with an Amazon EFS file system's mount target.

FilterRule

filterRule_filterType :: Lens' FilterRule (Maybe FilterType) Source #

The type of filter rule to apply. DataSync only supports the SIMPLE_PATTERN rule type.

filterRule_value :: Lens' FilterRule (Maybe Text) Source #

A single filter string that consists of the patterns to include or exclude. The patterns are delimited by "|" (that is, a pipe), for example: /folder1|/folder2

FsxProtocol

fsxProtocol_nfs :: Lens' FsxProtocol (Maybe FsxProtocolNfs) Source #

Specifies the Network File System (NFS) protocol configuration that DataSync uses to access your FSx for OpenZFS file system or FSx for ONTAP file system's storage virtual machine (SVM).

fsxProtocol_smb :: Lens' FsxProtocol (Maybe FsxProtocolSmb) Source #

Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM.

FsxProtocolNfs

FsxProtocolSmb

fsxProtocolSmb_domain :: Lens' FsxProtocolSmb (Maybe Text) Source #

Specifies the fully qualified domain name (FQDN) of the Microsoft Active Directory that your storage virtual machine (SVM) belongs to.

fsxProtocolSmb_password :: Lens' FsxProtocolSmb Text Source #

Specifies the password of a user who has permission to access your SVM.

fsxProtocolSmb_user :: Lens' FsxProtocolSmb Text Source #

Specifies a user name that can mount the location and access the files, folders, and metadata that you need in the SVM.

If you provide a user in your Active Directory, note the following:

  • If you're using Directory Service for Microsoft Active Directory, the user must be a member of the Amazon Web Services Delegated FSx Administrators group.
  • If you're using a self-managed Active Directory, the user must be a member of either the Domain Admins group or a custom group that you specified for file system administration when you created your file system.

Make sure that the user has the permissions it needs to copy the data you want:

  • SE_TCB_NAME: Required to set object ownership and file metadata. With this privilege, you also can copy NTFS discretionary access lists (DACLs).
  • SE_SECURITY_NAME: May be needed to copy NTFS system access control lists (SACLs). This operation specifically requires the Windows privilege, which is granted to members of the Domain Admins group. If you configure your task to copy SACLs, make sure that the user has the required privileges. For information about copying SACLs, see Ownership and permissions-related options.

HdfsNameNode

hdfsNameNode_hostname :: Lens' HdfsNameNode Text Source #

The hostname of the NameNode in the HDFS cluster. This value is the IP address or Domain Name Service (DNS) name of the NameNode. An agent that's installed on-premises uses this hostname to communicate with the NameNode in the network.

hdfsNameNode_port :: Lens' HdfsNameNode Natural Source #

The port that the NameNode uses to listen to client requests.

LocationFilter

locationFilter_name :: Lens' LocationFilter LocationFilterName Source #

The name of the filter being used. Each API call supports a list of filters that are available for it (for example, LocationType for ListLocations).

locationFilter_values :: Lens' LocationFilter [Text] Source #

The values that you want to filter for. For example, you might want to display only Amazon S3 locations.

locationFilter_operator :: Lens' LocationFilter Operator Source #

The operator that is used to compare filter values (for example, Equals or Contains).

LocationListEntry

locationListEntry_locationArn :: Lens' LocationListEntry (Maybe Text) Source #

The Amazon Resource Name (ARN) of the location. For Network File System (NFS) or Amazon EFS, the location is the export path. For Amazon S3, the location is the prefix path that you want to mount and use as the root of the location.

locationListEntry_locationUri :: Lens' LocationListEntry (Maybe Text) Source #

Represents a list of URIs of a location. LocationUri returns an array that contains a list of locations when the ListLocations operation is called.

Format: TYPE://GLOBAL_ID/SUBDIR.

TYPE designates the type of location (for example, nfs or s3).

GLOBAL_ID is the globally unique identifier of the resource that backs the location. An example for EFS is us-east-2.fs-abcd1234. An example for Amazon S3 is the bucket name, such as myBucket. An example for NFS is a valid IPv4 address or a hostname that is compliant with Domain Name Service (DNS).

SUBDIR is a valid file system path, delimited by forward slashes as is the *nix convention. For NFS and Amazon EFS, it's the export path to mount the location. For Amazon S3, it's the prefix path that you mount to and treat as the root of the location.

NfsMountOptions

nfsMountOptions_version :: Lens' NfsMountOptions (Maybe NfsVersion) Source #

Specifies the NFS version that you want DataSync to use when mounting your NFS share. If the server refuses to use the version specified, the task fails.

You can specify the following options:

  • AUTOMATIC (default): DataSync chooses NFS version 4.1.
  • NFS3: Stateless protocol version that allows for asynchronous writes on the server.
  • NFSv4_0: Stateful, firewall-friendly protocol version that supports delegations and pseudo file systems.
  • NFSv4_1: Stateful protocol version that supports sessions, directory delegations, and parallel data processing. NFS version 4.1 also includes all features available in version 4.0.

DataSync currently only supports NFS version 3 with Amazon FSx for NetApp ONTAP locations.

OnPremConfig

onPremConfig_agentArns :: Lens' OnPremConfig (NonEmpty Text) Source #

ARNs of the agents to use for an NFS location.

Options

options_atime :: Lens' Options (Maybe Atime) Source #

Specifies whether to preserve metadata indicating the last time a file was read or written to. If you set Atime to BEST_EFFORT, DataSync attempts to preserve the original Atime attribute on all source files (that is, the version before the PREPARING phase of the task execution).

The behavior of Atime isn't fully standard across platforms, so DataSync can only do this on a best-effort basis.

Default value: BEST_EFFORT

BEST_EFFORT: Attempt to preserve the per-file Atime value (recommended).

NONE: Ignore Atime.

If Atime is set to BEST_EFFORT, Mtime must be set to PRESERVE.

If Atime is set to NONE, Mtime must also be NONE.

options_bytesPerSecond :: Lens' Options (Maybe Integer) Source #

Limits the bandwidth used by a DataSync task. For example, if you want DataSync to use a maximum of 1 MB, set this value to 1048576 (=1024*1024).

options_gid :: Lens' Options (Maybe Gid) Source #

Specifies the POSIX group ID (GID) of the file's owners.

For more information, see Metadata copied by DataSync.

Default value: INT_VALUE. This preserves the integer value of the ID.

INT_VALUE: Preserve the integer value of user ID (UID) and GID (recommended).

NONE: Ignore UID and GID.

options_logLevel :: Lens' Options (Maybe LogLevel) Source #

Specifies the type of logs that DataSync publishes to a Amazon CloudWatch Logs log group. To specify the log group, see CloudWatchLogGroupArn.

If you set LogLevel to OFF, no logs are published. BASIC publishes logs on errors for individual files transferred. TRANSFER publishes logs for every file or object that is transferred and integrity checked.

options_mtime :: Lens' Options (Maybe Mtime) Source #

Specifies whether to preserve metadata indicating the last time that a file was written to before the PREPARING phase of your task execution. This option is required when you need to run the a task more than once.

Default Value: PRESERVE

PRESERVE: Preserve original Mtime (recommended)

NONE: Ignore Mtime.

If Mtime is set to PRESERVE, Atime must be set to BEST_EFFORT.

If Mtime is set to NONE, Atime must also be set to NONE.

options_objectTags :: Lens' Options (Maybe ObjectTags) Source #

Specifies whether object tags are preserved when transferring between object storage systems. If you want your DataSync task to ignore object tags, specify the NONE value.

Default Value: PRESERVE

options_overwriteMode :: Lens' Options (Maybe OverwriteMode) Source #

Specifies whether data at the destination location should be overwritten or preserved. If set to NEVER, a destination file for example will not be replaced by a source file (even if the destination file differs from the source file). If you modify files in the destination and you sync the files, you can use this value to protect against overwriting those changes.

Some storage classes have specific behaviors that can affect your Amazon S3 storage cost. For detailed information, see Considerations when working with Amazon S3 storage classes in DataSync .

options_posixPermissions :: Lens' Options (Maybe PosixPermissions) Source #

Specifies which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file.

For more information, see Metadata copied by DataSync.

Default value: PRESERVE

PRESERVE: Preserve POSIX-style permissions (recommended).

NONE: Ignore permissions.

DataSync can preserve extant permissions of a source location.

options_preserveDeletedFiles :: Lens' Options (Maybe PreserveDeletedFiles) Source #

Specifies whether files in the destination location that don't exist in the source should be preserved. This option can affect your Amazon S3 storage cost. If your task deletes objects, you might incur minimum storage duration charges for certain storage classes. For detailed information, see Considerations when working with Amazon S3 storage classes in DataSync .

Default value: PRESERVE

PRESERVE: Ignore such destination files (recommended).

REMOVE: Delete destination files that aren’t present in the source.

options_preserveDevices :: Lens' Options (Maybe PreserveDevices) Source #

Specifies whether DataSync should preserve the metadata of block and character devices in the source location and recreate the files with that device name and metadata on the destination. DataSync copies only the name and metadata of such devices.

DataSync can't copy the actual contents of these devices because they're nonterminal and don't return an end-of-file (EOF) marker.

Default value: NONE

NONE: Ignore special devices (recommended).

PRESERVE: Preserve character and block device metadata. This option currently isn't supported for Amazon EFS.

options_securityDescriptorCopyFlags :: Lens' Options (Maybe SmbSecurityDescriptorCopyFlags) Source #

Specifies which components of the SMB security descriptor are copied from source to destination objects.

This value is only used for transfers between SMB and Amazon FSx for Windows File Server locations or between two FSx for Windows File Server locations. For more information, see how DataSync handles metadata.

Default value: OWNER_DACL

OWNER_DACL: For each copied object, DataSync copies the following metadata:

  • The object owner.
  • NTFS discretionary access control lists (DACLs), which determine whether to grant access to an object.

    DataSync won't copy NTFS system access control lists (SACLs) with this option.

OWNER_DACL_SACL: For each copied object, DataSync copies the following metadata:

  • The object owner.
  • NTFS discretionary access control lists (DACLs), which determine whether to grant access to an object.
  • SACLs, which are used by administrators to log attempts to access a secured object.

    Copying SACLs requires granting additional permissions to the Windows user that DataSync uses to access your SMB location. For information about choosing a user that ensures sufficient permissions to files, folders, and metadata, see user.

NONE: None of the SMB security descriptor components are copied. Destination objects are owned by the user that was provided for accessing the destination location. DACLs and SACLs are set based on the destination server’s configuration.

options_taskQueueing :: Lens' Options (Maybe TaskQueueing) Source #

Specifies whether tasks should be queued before executing the tasks. The default is ENABLED, which means the tasks will be queued.

If you use the same agent to run multiple tasks, you can enable the tasks to run in series. For more information, see Queueing task executions.

options_transferMode :: Lens' Options (Maybe TransferMode) Source #

Determines whether DataSync transfers only the data and metadata that differ between the source and the destination location or transfers all the content from the source (without comparing what's in the destination).

CHANGED: DataSync copies only data or metadata that is new or different content from the source location to the destination location.

ALL: DataSync copies all source location content to the destination (without comparing what's in the destination).

options_uid :: Lens' Options (Maybe Uid) Source #

Specifies the POSIX user ID (UID) of the file's owner.

For more information, see Metadata copied by DataSync.

Default value: INT_VALUE. This preserves the integer value of the ID.

INT_VALUE: Preserve the integer value of UID and group ID (GID) (recommended).

NONE: Ignore UID and GID.

options_verifyMode :: Lens' Options (Maybe VerifyMode) Source #

Specifies how and when DataSync checks the integrity of your data during a transfer.

Default value: POINT_IN_TIME_CONSISTENT

ONLY_FILES_TRANSFERRED (recommended): DataSync calculates the checksum of transferred files and metadata at the source location. At the end of the transfer, DataSync then compares this checksum to the checksum calculated on those files at the destination.

We recommend this option when transferring to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes. For more information, see Storage class considerations with Amazon S3 locations.

POINT_IN_TIME_CONSISTENT: At the end of the transfer, DataSync scans the entire source and destination to verify that both locations are fully synchronized.

You can't use this option when transferring to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes. For more information, see Storage class considerations with Amazon S3 locations.

NONE: DataSync doesn't run additional verification at the end of the transfer. All data transmissions are still integrity-checked with checksum verification during the transfer.

PrivateLinkConfig

privateLinkConfig_privateLinkEndpoint :: Lens' PrivateLinkConfig (Maybe Text) Source #

The private endpoint that is configured for an agent that has access to IP addresses in a PrivateLink. An agent that is configured with this endpoint will not be accessible over the public internet.

privateLinkConfig_securityGroupArns :: Lens' PrivateLinkConfig (Maybe (NonEmpty Text)) Source #

The Amazon Resource Names (ARNs) of the security groups that are configured for the EC2 resource that hosts an agent activated in a VPC or an agent that has access to a VPC endpoint.

privateLinkConfig_subnetArns :: Lens' PrivateLinkConfig (Maybe (NonEmpty Text)) Source #

The Amazon Resource Names (ARNs) of the subnets that are configured for an agent activated in a VPC or an agent that has access to a VPC endpoint.

privateLinkConfig_vpcEndpointId :: Lens' PrivateLinkConfig (Maybe Text) Source #

The ID of the VPC endpoint that is configured for an agent. An agent that is configured with a VPC endpoint will not be accessible over the public internet.

QopConfiguration

qopConfiguration_dataTransferProtection :: Lens' QopConfiguration (Maybe HdfsDataTransferProtection) Source #

The data transfer protection setting configured on the HDFS cluster. This setting corresponds to your dfs.data.transfer.protection setting in the hdfs-site.xml file on your Hadoop cluster.

qopConfiguration_rpcProtection :: Lens' QopConfiguration (Maybe HdfsRpcProtection) Source #

The RPC protection setting configured on the HDFS cluster. This setting corresponds to your hadoop.rpc.protection setting in your core-site.xml file on your Hadoop cluster.

S3Config

s3Config_bucketAccessRoleArn :: Lens' S3Config Text Source #

The ARN of the IAM role for accessing the S3 bucket.

SmbMountOptions

smbMountOptions_version :: Lens' SmbMountOptions (Maybe SmbVersion) Source #

Specifies the SMB version that you want DataSync to use when mounting your SMB share. If you don't specify a version, DataSync defaults to AUTOMATIC and chooses a version based on negotiation with the SMB server.

TagListEntry

tagListEntry_value :: Lens' TagListEntry (Maybe Text) Source #

The value for an Amazon Web Services resource tag.

tagListEntry_key :: Lens' TagListEntry Text Source #

The key for an Amazon Web Services resource tag.

TaskExecutionListEntry

taskExecutionListEntry_taskExecutionArn :: Lens' TaskExecutionListEntry (Maybe Text) Source #

The Amazon Resource Name (ARN) of the task that was executed.

TaskExecutionResultDetail

taskExecutionResultDetail_errorCode :: Lens' TaskExecutionResultDetail (Maybe Text) Source #

Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.

taskExecutionResultDetail_errorDetail :: Lens' TaskExecutionResultDetail (Maybe Text) Source #

Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.

taskExecutionResultDetail_prepareDuration :: Lens' TaskExecutionResultDetail (Maybe Natural) Source #

The total time in milliseconds that DataSync spent in the PREPARING phase.

taskExecutionResultDetail_totalDuration :: Lens' TaskExecutionResultDetail (Maybe Natural) Source #

The total time in milliseconds that DataSync took to transfer the file from the source to the destination location.

taskExecutionResultDetail_transferDuration :: Lens' TaskExecutionResultDetail (Maybe Natural) Source #

The total time in milliseconds that DataSync spent in the TRANSFERRING phase.

taskExecutionResultDetail_verifyDuration :: Lens' TaskExecutionResultDetail (Maybe Natural) Source #

The total time in milliseconds that DataSync spent in the VERIFYING phase.

TaskFilter

taskFilter_name :: Lens' TaskFilter TaskFilterName Source #

The name of the filter being used. Each API call supports a list of filters that are available for it. For example, LocationId for ListTasks.

taskFilter_values :: Lens' TaskFilter [Text] Source #

The values that you want to filter for. For example, you might want to display only tasks for a specific destination location.

taskFilter_operator :: Lens' TaskFilter Operator Source #

The operator that is used to compare filter values (for example, Equals or Contains).

TaskListEntry

taskListEntry_taskArn :: Lens' TaskListEntry (Maybe Text) Source #

The Amazon Resource Name (ARN) of the task.

TaskSchedule

taskSchedule_scheduleExpression :: Lens' TaskSchedule Text Source #

A cron expression that specifies when DataSync initiates a scheduled transfer from a source to a destination location.