Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Service Configuration
- Errors
- AgentStatus
- Atime
- EfsInTransitEncryption
- EndpointType
- FilterType
- Gid
- HdfsAuthenticationType
- HdfsDataTransferProtection
- HdfsRpcProtection
- LocationFilterName
- LogLevel
- Mtime
- NfsVersion
- ObjectStorageServerProtocol
- ObjectTags
- Operator
- OverwriteMode
- PhaseStatus
- PosixPermissions
- PreserveDeletedFiles
- PreserveDevices
- S3StorageClass
- SmbSecurityDescriptorCopyFlags
- SmbVersion
- TaskExecutionStatus
- TaskFilterName
- TaskQueueing
- TaskStatus
- TransferMode
- Uid
- VerifyMode
- AgentListEntry
- Ec2Config
- FilterRule
- FsxProtocol
- FsxProtocolNfs
- FsxProtocolSmb
- HdfsNameNode
- LocationFilter
- LocationListEntry
- NfsMountOptions
- OnPremConfig
- Options
- PrivateLinkConfig
- QopConfiguration
- S3Config
- SmbMountOptions
- TagListEntry
- TaskExecutionListEntry
- TaskExecutionResultDetail
- TaskFilter
- TaskListEntry
- TaskSchedule
Synopsis
- defaultService :: Service
- _InternalException :: AsError a => Fold a ServiceError
- _InvalidRequestException :: AsError a => Fold a ServiceError
- newtype AgentStatus where
- AgentStatus' { }
- pattern AgentStatus_OFFLINE :: AgentStatus
- pattern AgentStatus_ONLINE :: AgentStatus
- newtype Atime where
- Atime' { }
- pattern Atime_BEST_EFFORT :: Atime
- pattern Atime_NONE :: Atime
- newtype EfsInTransitEncryption where
- newtype EndpointType where
- EndpointType' { }
- pattern EndpointType_FIPS :: EndpointType
- pattern EndpointType_PRIVATE_LINK :: EndpointType
- pattern EndpointType_PUBLIC :: EndpointType
- newtype FilterType where
- FilterType' { }
- pattern FilterType_SIMPLE_PATTERN :: FilterType
- newtype Gid where
- newtype HdfsAuthenticationType where
- newtype HdfsDataTransferProtection where
- HdfsDataTransferProtection' { }
- pattern HdfsDataTransferProtection_AUTHENTICATION :: HdfsDataTransferProtection
- pattern HdfsDataTransferProtection_DISABLED :: HdfsDataTransferProtection
- pattern HdfsDataTransferProtection_INTEGRITY :: HdfsDataTransferProtection
- pattern HdfsDataTransferProtection_PRIVACY :: HdfsDataTransferProtection
- newtype HdfsRpcProtection where
- HdfsRpcProtection' { }
- pattern HdfsRpcProtection_AUTHENTICATION :: HdfsRpcProtection
- pattern HdfsRpcProtection_DISABLED :: HdfsRpcProtection
- pattern HdfsRpcProtection_INTEGRITY :: HdfsRpcProtection
- pattern HdfsRpcProtection_PRIVACY :: HdfsRpcProtection
- newtype LocationFilterName where
- newtype LogLevel where
- LogLevel' {
- fromLogLevel :: Text
- pattern LogLevel_BASIC :: LogLevel
- pattern LogLevel_OFF :: LogLevel
- pattern LogLevel_TRANSFER :: LogLevel
- LogLevel' {
- newtype Mtime where
- Mtime' { }
- pattern Mtime_NONE :: Mtime
- pattern Mtime_PRESERVE :: Mtime
- newtype NfsVersion where
- NfsVersion' { }
- pattern NfsVersion_AUTOMATIC :: NfsVersion
- pattern NfsVersion_NFS3 :: NfsVersion
- pattern NfsVersion_NFS4_0 :: NfsVersion
- pattern NfsVersion_NFS4_1 :: NfsVersion
- newtype ObjectStorageServerProtocol where
- newtype ObjectTags where
- ObjectTags' { }
- pattern ObjectTags_NONE :: ObjectTags
- pattern ObjectTags_PRESERVE :: ObjectTags
- newtype Operator where
- Operator' {
- fromOperator :: Text
- pattern Operator_BeginsWith :: Operator
- pattern Operator_Contains :: Operator
- pattern Operator_Equals :: Operator
- pattern Operator_GreaterThan :: Operator
- pattern Operator_GreaterThanOrEqual :: Operator
- pattern Operator_In :: Operator
- pattern Operator_LessThan :: Operator
- pattern Operator_LessThanOrEqual :: Operator
- pattern Operator_NotContains :: Operator
- pattern Operator_NotEquals :: Operator
- Operator' {
- newtype OverwriteMode where
- OverwriteMode' { }
- pattern OverwriteMode_ALWAYS :: OverwriteMode
- pattern OverwriteMode_NEVER :: OverwriteMode
- newtype PhaseStatus where
- PhaseStatus' { }
- pattern PhaseStatus_ERROR :: PhaseStatus
- pattern PhaseStatus_PENDING :: PhaseStatus
- pattern PhaseStatus_SUCCESS :: PhaseStatus
- newtype PosixPermissions where
- PosixPermissions' { }
- pattern PosixPermissions_NONE :: PosixPermissions
- pattern PosixPermissions_PRESERVE :: PosixPermissions
- newtype PreserveDeletedFiles where
- newtype PreserveDevices where
- PreserveDevices' { }
- pattern PreserveDevices_NONE :: PreserveDevices
- pattern PreserveDevices_PRESERVE :: PreserveDevices
- newtype S3StorageClass where
- S3StorageClass' { }
- pattern S3StorageClass_DEEP_ARCHIVE :: S3StorageClass
- pattern S3StorageClass_GLACIER :: S3StorageClass
- pattern S3StorageClass_GLACIER_INSTANT_RETRIEVAL :: S3StorageClass
- pattern S3StorageClass_INTELLIGENT_TIERING :: S3StorageClass
- pattern S3StorageClass_ONEZONE_IA :: S3StorageClass
- pattern S3StorageClass_OUTPOSTS :: S3StorageClass
- pattern S3StorageClass_STANDARD :: S3StorageClass
- pattern S3StorageClass_STANDARD_IA :: S3StorageClass
- newtype SmbSecurityDescriptorCopyFlags where
- newtype SmbVersion where
- SmbVersion' { }
- pattern SmbVersion_AUTOMATIC :: SmbVersion
- pattern SmbVersion_SMB2 :: SmbVersion
- pattern SmbVersion_SMB3 :: SmbVersion
- newtype TaskExecutionStatus where
- TaskExecutionStatus' { }
- pattern TaskExecutionStatus_ERROR :: TaskExecutionStatus
- pattern TaskExecutionStatus_LAUNCHING :: TaskExecutionStatus
- pattern TaskExecutionStatus_PREPARING :: TaskExecutionStatus
- pattern TaskExecutionStatus_QUEUED :: TaskExecutionStatus
- pattern TaskExecutionStatus_SUCCESS :: TaskExecutionStatus
- pattern TaskExecutionStatus_TRANSFERRING :: TaskExecutionStatus
- pattern TaskExecutionStatus_VERIFYING :: TaskExecutionStatus
- newtype TaskFilterName where
- TaskFilterName' { }
- pattern TaskFilterName_CreationTime :: TaskFilterName
- pattern TaskFilterName_LocationId :: TaskFilterName
- newtype TaskQueueing where
- TaskQueueing' { }
- pattern TaskQueueing_DISABLED :: TaskQueueing
- pattern TaskQueueing_ENABLED :: TaskQueueing
- newtype TaskStatus where
- TaskStatus' { }
- pattern TaskStatus_AVAILABLE :: TaskStatus
- pattern TaskStatus_CREATING :: TaskStatus
- pattern TaskStatus_QUEUED :: TaskStatus
- pattern TaskStatus_RUNNING :: TaskStatus
- pattern TaskStatus_UNAVAILABLE :: TaskStatus
- newtype TransferMode where
- TransferMode' { }
- pattern TransferMode_ALL :: TransferMode
- pattern TransferMode_CHANGED :: TransferMode
- newtype Uid where
- newtype VerifyMode where
- VerifyMode' { }
- pattern VerifyMode_NONE :: VerifyMode
- pattern VerifyMode_ONLY_FILES_TRANSFERRED :: VerifyMode
- pattern VerifyMode_POINT_IN_TIME_CONSISTENT :: VerifyMode
- data AgentListEntry = AgentListEntry' {}
- newAgentListEntry :: AgentListEntry
- agentListEntry_agentArn :: Lens' AgentListEntry (Maybe Text)
- agentListEntry_name :: Lens' AgentListEntry (Maybe Text)
- agentListEntry_status :: Lens' AgentListEntry (Maybe AgentStatus)
- data Ec2Config = Ec2Config' {}
- newEc2Config :: Text -> NonEmpty Text -> Ec2Config
- ec2Config_subnetArn :: Lens' Ec2Config Text
- ec2Config_securityGroupArns :: Lens' Ec2Config (NonEmpty Text)
- data FilterRule = FilterRule' {
- filterType :: Maybe FilterType
- value :: Maybe Text
- newFilterRule :: FilterRule
- filterRule_filterType :: Lens' FilterRule (Maybe FilterType)
- filterRule_value :: Lens' FilterRule (Maybe Text)
- data FsxProtocol = FsxProtocol' {}
- newFsxProtocol :: FsxProtocol
- fsxProtocol_nfs :: Lens' FsxProtocol (Maybe FsxProtocolNfs)
- fsxProtocol_smb :: Lens' FsxProtocol (Maybe FsxProtocolSmb)
- data FsxProtocolNfs = FsxProtocolNfs' {}
- newFsxProtocolNfs :: FsxProtocolNfs
- fsxProtocolNfs_mountOptions :: Lens' FsxProtocolNfs (Maybe NfsMountOptions)
- data FsxProtocolSmb = FsxProtocolSmb' {}
- newFsxProtocolSmb :: Text -> Text -> FsxProtocolSmb
- fsxProtocolSmb_domain :: Lens' FsxProtocolSmb (Maybe Text)
- fsxProtocolSmb_mountOptions :: Lens' FsxProtocolSmb (Maybe SmbMountOptions)
- fsxProtocolSmb_password :: Lens' FsxProtocolSmb Text
- fsxProtocolSmb_user :: Lens' FsxProtocolSmb Text
- data HdfsNameNode = HdfsNameNode' {}
- newHdfsNameNode :: Text -> Natural -> HdfsNameNode
- hdfsNameNode_hostname :: Lens' HdfsNameNode Text
- hdfsNameNode_port :: Lens' HdfsNameNode Natural
- data LocationFilter = LocationFilter' {}
- newLocationFilter :: LocationFilterName -> Operator -> LocationFilter
- locationFilter_name :: Lens' LocationFilter LocationFilterName
- locationFilter_values :: Lens' LocationFilter [Text]
- locationFilter_operator :: Lens' LocationFilter Operator
- data LocationListEntry = LocationListEntry' {
- locationArn :: Maybe Text
- locationUri :: Maybe Text
- newLocationListEntry :: LocationListEntry
- locationListEntry_locationArn :: Lens' LocationListEntry (Maybe Text)
- locationListEntry_locationUri :: Lens' LocationListEntry (Maybe Text)
- data NfsMountOptions = NfsMountOptions' {}
- newNfsMountOptions :: NfsMountOptions
- nfsMountOptions_version :: Lens' NfsMountOptions (Maybe NfsVersion)
- data OnPremConfig = OnPremConfig' {}
- newOnPremConfig :: NonEmpty Text -> OnPremConfig
- onPremConfig_agentArns :: Lens' OnPremConfig (NonEmpty Text)
- data Options = Options' {
- atime :: Maybe Atime
- bytesPerSecond :: Maybe Integer
- gid :: Maybe Gid
- logLevel :: Maybe LogLevel
- mtime :: Maybe Mtime
- objectTags :: Maybe ObjectTags
- overwriteMode :: Maybe OverwriteMode
- posixPermissions :: Maybe PosixPermissions
- preserveDeletedFiles :: Maybe PreserveDeletedFiles
- preserveDevices :: Maybe PreserveDevices
- securityDescriptorCopyFlags :: Maybe SmbSecurityDescriptorCopyFlags
- taskQueueing :: Maybe TaskQueueing
- transferMode :: Maybe TransferMode
- uid :: Maybe Uid
- verifyMode :: Maybe VerifyMode
- newOptions :: Options
- options_atime :: Lens' Options (Maybe Atime)
- options_bytesPerSecond :: Lens' Options (Maybe Integer)
- options_gid :: Lens' Options (Maybe Gid)
- options_logLevel :: Lens' Options (Maybe LogLevel)
- options_mtime :: Lens' Options (Maybe Mtime)
- options_objectTags :: Lens' Options (Maybe ObjectTags)
- options_overwriteMode :: Lens' Options (Maybe OverwriteMode)
- options_posixPermissions :: Lens' Options (Maybe PosixPermissions)
- options_preserveDeletedFiles :: Lens' Options (Maybe PreserveDeletedFiles)
- options_preserveDevices :: Lens' Options (Maybe PreserveDevices)
- options_securityDescriptorCopyFlags :: Lens' Options (Maybe SmbSecurityDescriptorCopyFlags)
- options_taskQueueing :: Lens' Options (Maybe TaskQueueing)
- options_transferMode :: Lens' Options (Maybe TransferMode)
- options_uid :: Lens' Options (Maybe Uid)
- options_verifyMode :: Lens' Options (Maybe VerifyMode)
- data PrivateLinkConfig = PrivateLinkConfig' {}
- newPrivateLinkConfig :: PrivateLinkConfig
- privateLinkConfig_privateLinkEndpoint :: Lens' PrivateLinkConfig (Maybe Text)
- privateLinkConfig_securityGroupArns :: Lens' PrivateLinkConfig (Maybe (NonEmpty Text))
- privateLinkConfig_subnetArns :: Lens' PrivateLinkConfig (Maybe (NonEmpty Text))
- privateLinkConfig_vpcEndpointId :: Lens' PrivateLinkConfig (Maybe Text)
- data QopConfiguration = QopConfiguration' {}
- newQopConfiguration :: QopConfiguration
- qopConfiguration_dataTransferProtection :: Lens' QopConfiguration (Maybe HdfsDataTransferProtection)
- qopConfiguration_rpcProtection :: Lens' QopConfiguration (Maybe HdfsRpcProtection)
- data S3Config = S3Config' {}
- newS3Config :: Text -> S3Config
- s3Config_bucketAccessRoleArn :: Lens' S3Config Text
- data SmbMountOptions = SmbMountOptions' {}
- newSmbMountOptions :: SmbMountOptions
- smbMountOptions_version :: Lens' SmbMountOptions (Maybe SmbVersion)
- data TagListEntry = TagListEntry' {}
- newTagListEntry :: Text -> TagListEntry
- tagListEntry_value :: Lens' TagListEntry (Maybe Text)
- tagListEntry_key :: Lens' TagListEntry Text
- data TaskExecutionListEntry = TaskExecutionListEntry' {}
- newTaskExecutionListEntry :: TaskExecutionListEntry
- taskExecutionListEntry_status :: Lens' TaskExecutionListEntry (Maybe TaskExecutionStatus)
- taskExecutionListEntry_taskExecutionArn :: Lens' TaskExecutionListEntry (Maybe Text)
- data TaskExecutionResultDetail = TaskExecutionResultDetail' {}
- newTaskExecutionResultDetail :: TaskExecutionResultDetail
- taskExecutionResultDetail_errorCode :: Lens' TaskExecutionResultDetail (Maybe Text)
- taskExecutionResultDetail_errorDetail :: Lens' TaskExecutionResultDetail (Maybe Text)
- taskExecutionResultDetail_prepareDuration :: Lens' TaskExecutionResultDetail (Maybe Natural)
- taskExecutionResultDetail_prepareStatus :: Lens' TaskExecutionResultDetail (Maybe PhaseStatus)
- taskExecutionResultDetail_totalDuration :: Lens' TaskExecutionResultDetail (Maybe Natural)
- taskExecutionResultDetail_transferDuration :: Lens' TaskExecutionResultDetail (Maybe Natural)
- taskExecutionResultDetail_transferStatus :: Lens' TaskExecutionResultDetail (Maybe PhaseStatus)
- taskExecutionResultDetail_verifyDuration :: Lens' TaskExecutionResultDetail (Maybe Natural)
- taskExecutionResultDetail_verifyStatus :: Lens' TaskExecutionResultDetail (Maybe PhaseStatus)
- data TaskFilter = TaskFilter' {}
- newTaskFilter :: TaskFilterName -> Operator -> TaskFilter
- taskFilter_name :: Lens' TaskFilter TaskFilterName
- taskFilter_values :: Lens' TaskFilter [Text]
- taskFilter_operator :: Lens' TaskFilter Operator
- data TaskListEntry = TaskListEntry' {}
- newTaskListEntry :: TaskListEntry
- taskListEntry_name :: Lens' TaskListEntry (Maybe Text)
- taskListEntry_status :: Lens' TaskListEntry (Maybe TaskStatus)
- taskListEntry_taskArn :: Lens' TaskListEntry (Maybe Text)
- data TaskSchedule = TaskSchedule' {}
- newTaskSchedule :: Text -> TaskSchedule
- taskSchedule_scheduleExpression :: Lens' TaskSchedule Text
Service Configuration
defaultService :: Service Source #
API version 2018-11-09
of the Amazon DataSync SDK configuration.
Errors
_InternalException :: AsError a => Fold a ServiceError Source #
This exception is thrown when an error occurs in the DataSync service.
_InvalidRequestException :: AsError a => Fold a ServiceError Source #
This exception is thrown when the client submits a malformed request.
AgentStatus
newtype AgentStatus Source #
pattern AgentStatus_OFFLINE :: AgentStatus | |
pattern AgentStatus_ONLINE :: AgentStatus |
Instances
Atime
pattern Atime_BEST_EFFORT :: Atime | |
pattern Atime_NONE :: Atime |
Instances
EfsInTransitEncryption
newtype EfsInTransitEncryption Source #
pattern EfsInTransitEncryption_NONE :: EfsInTransitEncryption | |
pattern EfsInTransitEncryption_TLS1_2 :: EfsInTransitEncryption |
Instances
EndpointType
newtype EndpointType Source #
pattern EndpointType_FIPS :: EndpointType | |
pattern EndpointType_PRIVATE_LINK :: EndpointType | |
pattern EndpointType_PUBLIC :: EndpointType |
Instances
FilterType
newtype FilterType Source #
pattern FilterType_SIMPLE_PATTERN :: FilterType |
Instances
Gid
pattern Gid_BOTH :: Gid | |
pattern Gid_INT_VALUE :: Gid | |
pattern Gid_NAME :: Gid | |
pattern Gid_NONE :: Gid |
Instances
HdfsAuthenticationType
newtype HdfsAuthenticationType Source #
pattern HdfsAuthenticationType_KERBEROS :: HdfsAuthenticationType | |
pattern HdfsAuthenticationType_SIMPLE :: HdfsAuthenticationType |
Instances
HdfsDataTransferProtection
newtype HdfsDataTransferProtection Source #
Instances
HdfsRpcProtection
newtype HdfsRpcProtection Source #
pattern HdfsRpcProtection_AUTHENTICATION :: HdfsRpcProtection | |
pattern HdfsRpcProtection_DISABLED :: HdfsRpcProtection | |
pattern HdfsRpcProtection_INTEGRITY :: HdfsRpcProtection | |
pattern HdfsRpcProtection_PRIVACY :: HdfsRpcProtection |
Instances
LocationFilterName
newtype LocationFilterName Source #
pattern LocationFilterName_CreationTime :: LocationFilterName | |
pattern LocationFilterName_LocationType :: LocationFilterName | |
pattern LocationFilterName_LocationUri :: LocationFilterName |
Instances
LogLevel
pattern LogLevel_BASIC :: LogLevel | |
pattern LogLevel_OFF :: LogLevel | |
pattern LogLevel_TRANSFER :: LogLevel |
Instances
Mtime
pattern Mtime_NONE :: Mtime | |
pattern Mtime_PRESERVE :: Mtime |
Instances
NfsVersion
newtype NfsVersion Source #
pattern NfsVersion_AUTOMATIC :: NfsVersion | |
pattern NfsVersion_NFS3 :: NfsVersion | |
pattern NfsVersion_NFS4_0 :: NfsVersion | |
pattern NfsVersion_NFS4_1 :: NfsVersion |
Instances
ObjectStorageServerProtocol
newtype ObjectStorageServerProtocol Source #
pattern ObjectStorageServerProtocol_HTTP :: ObjectStorageServerProtocol | |
pattern ObjectStorageServerProtocol_HTTPS :: ObjectStorageServerProtocol |
Instances
ObjectTags
newtype ObjectTags Source #
pattern ObjectTags_NONE :: ObjectTags | |
pattern ObjectTags_PRESERVE :: ObjectTags |
Instances
Operator
pattern Operator_BeginsWith :: Operator | |
pattern Operator_Contains :: Operator | |
pattern Operator_Equals :: Operator | |
pattern Operator_GreaterThan :: Operator | |
pattern Operator_GreaterThanOrEqual :: Operator | |
pattern Operator_In :: Operator | |
pattern Operator_LessThan :: Operator | |
pattern Operator_LessThanOrEqual :: Operator | |
pattern Operator_NotContains :: Operator | |
pattern Operator_NotEquals :: Operator |
Instances
OverwriteMode
newtype OverwriteMode Source #
pattern OverwriteMode_ALWAYS :: OverwriteMode | |
pattern OverwriteMode_NEVER :: OverwriteMode |
Instances
PhaseStatus
newtype PhaseStatus Source #
pattern PhaseStatus_ERROR :: PhaseStatus | |
pattern PhaseStatus_PENDING :: PhaseStatus | |
pattern PhaseStatus_SUCCESS :: PhaseStatus |
Instances
PosixPermissions
newtype PosixPermissions Source #
pattern PosixPermissions_NONE :: PosixPermissions | |
pattern PosixPermissions_PRESERVE :: PosixPermissions |
Instances
PreserveDeletedFiles
newtype PreserveDeletedFiles Source #
pattern PreserveDeletedFiles_PRESERVE :: PreserveDeletedFiles | |
pattern PreserveDeletedFiles_REMOVE :: PreserveDeletedFiles |
Instances
PreserveDevices
newtype PreserveDevices Source #
pattern PreserveDevices_NONE :: PreserveDevices | |
pattern PreserveDevices_PRESERVE :: PreserveDevices |
Instances
S3StorageClass
newtype S3StorageClass Source #
pattern S3StorageClass_DEEP_ARCHIVE :: S3StorageClass | |
pattern S3StorageClass_GLACIER :: S3StorageClass | |
pattern S3StorageClass_GLACIER_INSTANT_RETRIEVAL :: S3StorageClass | |
pattern S3StorageClass_INTELLIGENT_TIERING :: S3StorageClass | |
pattern S3StorageClass_ONEZONE_IA :: S3StorageClass | |
pattern S3StorageClass_OUTPOSTS :: S3StorageClass | |
pattern S3StorageClass_STANDARD :: S3StorageClass | |
pattern S3StorageClass_STANDARD_IA :: S3StorageClass |
Instances
SmbSecurityDescriptorCopyFlags
newtype SmbSecurityDescriptorCopyFlags Source #
Instances
SmbVersion
newtype SmbVersion Source #
pattern SmbVersion_AUTOMATIC :: SmbVersion | |
pattern SmbVersion_SMB2 :: SmbVersion | |
pattern SmbVersion_SMB3 :: SmbVersion |
Instances
TaskExecutionStatus
newtype TaskExecutionStatus Source #
pattern TaskExecutionStatus_ERROR :: TaskExecutionStatus | |
pattern TaskExecutionStatus_LAUNCHING :: TaskExecutionStatus | |
pattern TaskExecutionStatus_PREPARING :: TaskExecutionStatus | |
pattern TaskExecutionStatus_QUEUED :: TaskExecutionStatus | |
pattern TaskExecutionStatus_SUCCESS :: TaskExecutionStatus | |
pattern TaskExecutionStatus_TRANSFERRING :: TaskExecutionStatus | |
pattern TaskExecutionStatus_VERIFYING :: TaskExecutionStatus |
Instances
TaskFilterName
newtype TaskFilterName Source #
pattern TaskFilterName_CreationTime :: TaskFilterName | |
pattern TaskFilterName_LocationId :: TaskFilterName |
Instances
TaskQueueing
newtype TaskQueueing Source #
pattern TaskQueueing_DISABLED :: TaskQueueing | |
pattern TaskQueueing_ENABLED :: TaskQueueing |
Instances
TaskStatus
newtype TaskStatus Source #
pattern TaskStatus_AVAILABLE :: TaskStatus | |
pattern TaskStatus_CREATING :: TaskStatus | |
pattern TaskStatus_QUEUED :: TaskStatus | |
pattern TaskStatus_RUNNING :: TaskStatus | |
pattern TaskStatus_UNAVAILABLE :: TaskStatus |
Instances
TransferMode
newtype TransferMode Source #
pattern TransferMode_ALL :: TransferMode | |
pattern TransferMode_CHANGED :: TransferMode |
Instances
Uid
pattern Uid_BOTH :: Uid | |
pattern Uid_INT_VALUE :: Uid | |
pattern Uid_NAME :: Uid | |
pattern Uid_NONE :: Uid |
Instances
VerifyMode
newtype VerifyMode Source #
pattern VerifyMode_NONE :: VerifyMode | |
pattern VerifyMode_ONLY_FILES_TRANSFERRED :: VerifyMode | |
pattern VerifyMode_POINT_IN_TIME_CONSISTENT :: VerifyMode |
Instances
AgentListEntry
data AgentListEntry Source #
Represents a single entry in a list of agents. AgentListEntry
returns
an array that contains a list of agents when the
ListAgents
operation is called.
See: newAgentListEntry
smart constructor.
Instances
newAgentListEntry :: AgentListEntry Source #
Create a value of AgentListEntry
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:agentArn:AgentListEntry'
, agentListEntry_agentArn
- The Amazon Resource Name (ARN) of the agent.
$sel:name:AgentListEntry'
, agentListEntry_name
- The name of the agent.
$sel:status:AgentListEntry'
, agentListEntry_status
- The status of the agent.
agentListEntry_agentArn :: Lens' AgentListEntry (Maybe Text) Source #
The Amazon Resource Name (ARN) of the agent.
agentListEntry_name :: Lens' AgentListEntry (Maybe Text) Source #
The name of the agent.
agentListEntry_status :: Lens' AgentListEntry (Maybe AgentStatus) Source #
The status of the agent.
Ec2Config
The subnet and security groups that DataSync uses to access your Amazon EFS file system.
See: newEc2Config
smart constructor.
Ec2Config' | |
|
Instances
FromJSON Ec2Config Source # | |
ToJSON Ec2Config Source # | |
Defined in Amazonka.DataSync.Types.Ec2Config | |
Generic Ec2Config Source # | |
Read Ec2Config Source # | |
Show Ec2Config Source # | |
NFData Ec2Config Source # | |
Defined in Amazonka.DataSync.Types.Ec2Config | |
Eq Ec2Config Source # | |
Hashable Ec2Config Source # | |
Defined in Amazonka.DataSync.Types.Ec2Config | |
type Rep Ec2Config Source # | |
Defined in Amazonka.DataSync.Types.Ec2Config type Rep Ec2Config = D1 ('MetaData "Ec2Config" "Amazonka.DataSync.Types.Ec2Config" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "Ec2Config'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subnetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "securityGroupArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)))) |
Create a value of Ec2Config
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:subnetArn:Ec2Config'
, ec2Config_subnetArn
- 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.
$sel:securityGroupArns:Ec2Config'
, ec2Config_securityGroupArns
- Specifies the Amazon Resource Names (ARNs) of the security groups
associated with an Amazon EFS file system's mount target.
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
data FilterRule Source #
Specifies which files, folders, and objects to include or exclude when transferring files from source to destination.
See: newFilterRule
smart constructor.
FilterRule' | |
|
Instances
newFilterRule :: FilterRule Source #
Create a value of FilterRule
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filterType:FilterRule'
, filterRule_filterType
- The type of filter rule to apply. DataSync only supports the
SIMPLE_PATTERN rule type.
$sel:value:FilterRule'
, filterRule_value
- 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
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
data FsxProtocol Source #
Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.
See: newFsxProtocol
smart constructor.
FsxProtocol' | |
|
Instances
newFsxProtocol :: FsxProtocol Source #
Create a value of FsxProtocol
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nfs:FsxProtocol'
, fsxProtocol_nfs
- 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).
$sel:smb:FsxProtocol'
, fsxProtocol_smb
- Specifies the Server Message Block (SMB) protocol configuration that
DataSync uses to access your FSx for ONTAP file system's SVM.
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
data FsxProtocolNfs Source #
Specifies the Network File System (NFS) protocol configuration that DataSync uses to access your Amazon FSx for OpenZFS or Amazon FSx for NetApp ONTAP file system.
See: newFsxProtocolNfs
smart constructor.
Instances
newFsxProtocolNfs :: FsxProtocolNfs Source #
Create a value of FsxProtocolNfs
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:mountOptions:FsxProtocolNfs'
, fsxProtocolNfs_mountOptions
- Undocumented member.
fsxProtocolNfs_mountOptions :: Lens' FsxProtocolNfs (Maybe NfsMountOptions) Source #
Undocumented member.
FsxProtocolSmb
data FsxProtocolSmb Source #
Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your Amazon FSx for NetApp ONTAP file system. For more information, see Accessing FSx for ONTAP file systems.
See: newFsxProtocolSmb
smart constructor.
FsxProtocolSmb' | |
|
Instances
Create a value of FsxProtocolSmb
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domain:FsxProtocolSmb'
, fsxProtocolSmb_domain
- Specifies the fully qualified domain name (FQDN) of the Microsoft Active
Directory that your storage virtual machine (SVM) belongs to.
$sel:mountOptions:FsxProtocolSmb'
, fsxProtocolSmb_mountOptions
- Undocumented member.
$sel:password:FsxProtocolSmb'
, fsxProtocolSmb_password
- Specifies the password of a user who has permission to access your SVM.
$sel:user:FsxProtocolSmb'
, fsxProtocolSmb_user
- 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.
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_mountOptions :: Lens' FsxProtocolSmb (Maybe SmbMountOptions) Source #
Undocumented member.
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
data HdfsNameNode Source #
The NameNode of the Hadoop Distributed File System (HDFS). The NameNode manages the file system's 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.
See: newHdfsNameNode
smart constructor.
HdfsNameNode' | |
|
Instances
Create a value of HdfsNameNode
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:hostname:HdfsNameNode'
, hdfsNameNode_hostname
- 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.
$sel:port:HdfsNameNode'
, hdfsNameNode_port
- The port that the NameNode uses to listen to client requests.
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
data LocationFilter Source #
Narrow down the list of resources returned by ListLocations
. For
example, to see all your Amazon S3 locations, create a filter using
"Name": "LocationType"
, "Operator": "Equals"
, and
"Values": "S3"
.
For more information, see filtering resources.
See: newLocationFilter
smart constructor.
LocationFilter' | |
|
Instances
Create a value of LocationFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:LocationFilter'
, locationFilter_name
- 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
).
$sel:values:LocationFilter'
, locationFilter_values
- The values that you want to filter for. For example, you might want to
display only Amazon S3 locations.
$sel:operator:LocationFilter'
, locationFilter_operator
- The operator that is used to compare filter values (for example,
Equals
or Contains
).
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
data LocationListEntry Source #
Represents a single entry in a list of locations. LocationListEntry
returns an array that contains a list of locations when the
ListLocations
operation is called.
See: newLocationListEntry
smart constructor.
LocationListEntry' | |
|
Instances
newLocationListEntry :: LocationListEntry Source #
Create a value of LocationListEntry
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:locationArn:LocationListEntry'
, locationListEntry_locationArn
- 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.
$sel:locationUri:LocationListEntry'
, locationListEntry_locationUri
- 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.
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
data NfsMountOptions Source #
Specifies how DataSync can access a location using the NFS protocol.
See: newNfsMountOptions
smart constructor.
NfsMountOptions' | |
|
Instances
newNfsMountOptions :: NfsMountOptions Source #
Create a value of NfsMountOptions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:version:NfsMountOptions'
, nfsMountOptions_version
- 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.
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
data OnPremConfig Source #
A list of Amazon Resource Names (ARNs) of agents to use for a Network File System (NFS) location.
See: newOnPremConfig
smart constructor.
Instances
Create a value of OnPremConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:agentArns:OnPremConfig'
, onPremConfig_agentArns
- ARNs of the agents to use for an NFS location.
onPremConfig_agentArns :: Lens' OnPremConfig (NonEmpty Text) Source #
ARNs of the agents to use for an NFS location.
Options
Configures your DataSync task settings. These options include how DataSync handles files, objects, and their associated metadata. You also can specify how DataSync verifies data integrity, set bandwidth limits for your task, among other options.
Each task setting has a default value. Unless you need to, you don't
have to configure any of these Options
before starting your task.
See: newOptions
smart constructor.
Options' | |
|
Instances
newOptions :: Options Source #
Create a value of Options
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:atime:Options'
, options_atime
- 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
.
$sel:bytesPerSecond:Options'
, options_bytesPerSecond
- 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
).
$sel:gid:Options'
, options_gid
- 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.
$sel:logLevel:Options'
, options_logLevel
- 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.
$sel:mtime:Options'
, options_mtime
- 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
.
$sel:objectTags:Options'
, options_objectTags
- 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
$sel:overwriteMode:Options'
, options_overwriteMode
- 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 .
$sel:posixPermissions:Options'
, options_posixPermissions
- 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.
$sel:preserveDeletedFiles:Options'
, options_preserveDeletedFiles
- 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.
$sel:preserveDevices:Options'
, options_preserveDevices
- 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.
$sel:securityDescriptorCopyFlags:Options'
, options_securityDescriptorCopyFlags
- 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.
$sel:taskQueueing:Options'
, options_taskQueueing
- 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.
$sel:transferMode:Options'
, options_transferMode
- 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).
$sel:uid:Options'
, options_uid
- 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.
$sel:verifyMode:Options'
, options_verifyMode
- 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.
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
data PrivateLinkConfig Source #
The VPC endpoint, subnet, and security group that an agent uses to access IP addresses in a VPC (Virtual Private Cloud).
See: newPrivateLinkConfig
smart constructor.
PrivateLinkConfig' | |
|
Instances
newPrivateLinkConfig :: PrivateLinkConfig Source #
Create a value of PrivateLinkConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:privateLinkEndpoint:PrivateLinkConfig'
, privateLinkConfig_privateLinkEndpoint
- 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.
$sel:securityGroupArns:PrivateLinkConfig'
, privateLinkConfig_securityGroupArns
- 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.
$sel:subnetArns:PrivateLinkConfig'
, privateLinkConfig_subnetArns
- 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.
$sel:vpcEndpointId:PrivateLinkConfig'
, privateLinkConfig_vpcEndpointId
- 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.
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
data 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.
See: newQopConfiguration
smart constructor.
QopConfiguration' | |
|
Instances
newQopConfiguration :: QopConfiguration Source #
Create a value of QopConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dataTransferProtection:QopConfiguration'
, qopConfiguration_dataTransferProtection
- 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.
$sel:rpcProtection:QopConfiguration'
, qopConfiguration_rpcProtection
- 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.
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
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role used to access an Amazon S3 bucket.
For detailed information about using such a role, see Creating a Location for Amazon S3 in the DataSync User Guide.
See: newS3Config
smart constructor.
S3Config' | |
|
Instances
FromJSON S3Config Source # | |
ToJSON S3Config Source # | |
Defined in Amazonka.DataSync.Types.S3Config | |
Generic S3Config Source # | |
Read S3Config Source # | |
Show S3Config Source # | |
NFData S3Config Source # | |
Defined in Amazonka.DataSync.Types.S3Config | |
Eq S3Config Source # | |
Hashable S3Config Source # | |
Defined in Amazonka.DataSync.Types.S3Config | |
type Rep S3Config Source # | |
Defined in Amazonka.DataSync.Types.S3Config |
Create a value of S3Config
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:bucketAccessRoleArn:S3Config'
, s3Config_bucketAccessRoleArn
- The ARN of the IAM role for accessing the S3 bucket.
s3Config_bucketAccessRoleArn :: Lens' S3Config Text Source #
The ARN of the IAM role for accessing the S3 bucket.
SmbMountOptions
data SmbMountOptions Source #
Specifies how DataSync can access a location using the SMB protocol.
See: newSmbMountOptions
smart constructor.
SmbMountOptions' | |
|
Instances
newSmbMountOptions :: SmbMountOptions Source #
Create a value of SmbMountOptions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:version:SmbMountOptions'
, smbMountOptions_version
- 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.
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
data TagListEntry Source #
A key-value pair representing a single tag that's been applied to an Amazon Web Services resource.
See: newTagListEntry
smart constructor.
Instances
Create a value of TagListEntry
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:value:TagListEntry'
, tagListEntry_value
- The value for an Amazon Web Services resource tag.
$sel:key:TagListEntry'
, tagListEntry_key
- The key for an Amazon Web Services resource tag.
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
data TaskExecutionListEntry Source #
Represents a single entry in a list of task executions.
TaskExecutionListEntry
returns an array that contains a list of
specific invocations of a task when the
ListTaskExecutions
operation is called.
See: newTaskExecutionListEntry
smart constructor.
TaskExecutionListEntry' | |
|
Instances
newTaskExecutionListEntry :: TaskExecutionListEntry Source #
Create a value of TaskExecutionListEntry
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:TaskExecutionListEntry'
, taskExecutionListEntry_status
- The status of a task execution.
$sel:taskExecutionArn:TaskExecutionListEntry'
, taskExecutionListEntry_taskExecutionArn
- The Amazon Resource Name (ARN) of the task that was executed.
taskExecutionListEntry_status :: Lens' TaskExecutionListEntry (Maybe TaskExecutionStatus) Source #
The status of a task execution.
taskExecutionListEntry_taskExecutionArn :: Lens' TaskExecutionListEntry (Maybe Text) Source #
The Amazon Resource Name (ARN) of the task that was executed.
TaskExecutionResultDetail
data TaskExecutionResultDetail Source #
Describes the detailed result of a TaskExecution
operation. This
result includes the time in milliseconds spent in each phase, the status
of the task execution, and the errors encountered.
See: newTaskExecutionResultDetail
smart constructor.
TaskExecutionResultDetail' | |
|
Instances
newTaskExecutionResultDetail :: TaskExecutionResultDetail Source #
Create a value of TaskExecutionResultDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorCode:TaskExecutionResultDetail'
, taskExecutionResultDetail_errorCode
- Errors that DataSync encountered during execution of the task. You can
use this error code to help troubleshoot issues.
$sel:errorDetail:TaskExecutionResultDetail'
, taskExecutionResultDetail_errorDetail
- Detailed description of an error that was encountered during the task
execution. You can use this information to help troubleshoot issues.
$sel:prepareDuration:TaskExecutionResultDetail'
, taskExecutionResultDetail_prepareDuration
- The total time in milliseconds that DataSync spent in the PREPARING
phase.
$sel:prepareStatus:TaskExecutionResultDetail'
, taskExecutionResultDetail_prepareStatus
- The status of the PREPARING phase.
$sel:totalDuration:TaskExecutionResultDetail'
, taskExecutionResultDetail_totalDuration
- The total time in milliseconds that DataSync took to transfer the file
from the source to the destination location.
$sel:transferDuration:TaskExecutionResultDetail'
, taskExecutionResultDetail_transferDuration
- The total time in milliseconds that DataSync spent in the TRANSFERRING
phase.
$sel:transferStatus:TaskExecutionResultDetail'
, taskExecutionResultDetail_transferStatus
- The status of the TRANSFERRING phase.
$sel:verifyDuration:TaskExecutionResultDetail'
, taskExecutionResultDetail_verifyDuration
- The total time in milliseconds that DataSync spent in the VERIFYING
phase.
$sel:verifyStatus:TaskExecutionResultDetail'
, taskExecutionResultDetail_verifyStatus
- The status of the VERIFYING phase.
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_prepareStatus :: Lens' TaskExecutionResultDetail (Maybe PhaseStatus) Source #
The status of 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_transferStatus :: Lens' TaskExecutionResultDetail (Maybe PhaseStatus) Source #
The status of the TRANSFERRING phase.
taskExecutionResultDetail_verifyDuration :: Lens' TaskExecutionResultDetail (Maybe Natural) Source #
The total time in milliseconds that DataSync spent in the VERIFYING phase.
taskExecutionResultDetail_verifyStatus :: Lens' TaskExecutionResultDetail (Maybe PhaseStatus) Source #
The status of the VERIFYING phase.
TaskFilter
data 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 source location,
you can use ListTasks
with filter name LocationId
and
Operator Equals
with the ARN for the location.
For more information, see filtering DataSync resources.
See: newTaskFilter
smart constructor.
TaskFilter' | |
|
Instances
Create a value of TaskFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:TaskFilter'
, taskFilter_name
- 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
.
$sel:values:TaskFilter'
, taskFilter_values
- The values that you want to filter for. For example, you might want to
display only tasks for a specific destination location.
$sel:operator:TaskFilter'
, taskFilter_operator
- The operator that is used to compare filter values (for example,
Equals
or Contains
).
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
data TaskListEntry Source #
Represents a single entry in a list of tasks. TaskListEntry
returns an
array that contains a list of tasks when the
ListTasks
operation is called. A task includes the source and destination file
systems to sync and the options to use for the tasks.
See: newTaskListEntry
smart constructor.
Instances
newTaskListEntry :: TaskListEntry Source #
Create a value of TaskListEntry
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:TaskListEntry'
, taskListEntry_name
- The name of the task.
$sel:status:TaskListEntry'
, taskListEntry_status
- The status of the task.
$sel:taskArn:TaskListEntry'
, taskListEntry_taskArn
- The Amazon Resource Name (ARN) of the task.
taskListEntry_name :: Lens' TaskListEntry (Maybe Text) Source #
The name of the task.
taskListEntry_status :: Lens' TaskListEntry (Maybe TaskStatus) Source #
The status of the task.
taskListEntry_taskArn :: Lens' TaskListEntry (Maybe Text) Source #
The Amazon Resource Name (ARN) of the task.
TaskSchedule
data TaskSchedule Source #
Specifies the schedule you want your task to use for repeated executions. For more information, see Schedule Expressions for Rules.
See: newTaskSchedule
smart constructor.
TaskSchedule' | |
|
Instances
Create a value of TaskSchedule
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:scheduleExpression:TaskSchedule'
, taskSchedule_scheduleExpression
- A cron expression that specifies when DataSync initiates a scheduled
transfer from a source to a destination location.
taskSchedule_scheduleExpression :: Lens' TaskSchedule Text Source #
A cron expression that specifies when DataSync initiates a scheduled transfer from a source to a destination location.