-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon DataSync SDK.
--
-- Derived from API version 2018-11-09 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- The types from this library are intended to be used with
-- amazonka, which provides mechanisms for specifying AuthN/AuthZ
-- information, sending requests, and receiving responses.
--
-- It is recommended to use generic lenses or optics from packages such
-- as generic-lens or optics to modify optional fields and
-- deconstruct responses.
--
-- Generated lenses can be found in Amazonka.DataSync.Lens and are
-- suitable for use with a lens package such as lens or
-- lens-family-core.
--
-- See Amazonka.DataSync and the AWS documentation to get
-- started.
@package amazonka-datasync
@version 2.0
module Amazonka.DataSync.Types.AgentStatus
newtype AgentStatus
AgentStatus' :: Text -> AgentStatus
[fromAgentStatus] :: AgentStatus -> Text
pattern AgentStatus_OFFLINE :: AgentStatus
pattern AgentStatus_ONLINE :: AgentStatus
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance GHC.Generics.Generic Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance GHC.Classes.Ord Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance GHC.Classes.Eq Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance GHC.Read.Read Amazonka.DataSync.Types.AgentStatus.AgentStatus
instance GHC.Show.Show Amazonka.DataSync.Types.AgentStatus.AgentStatus
module Amazonka.DataSync.Types.AgentListEntry
-- | 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.
data AgentListEntry
AgentListEntry' :: Maybe Text -> Maybe Text -> Maybe AgentStatus -> AgentListEntry
-- | The Amazon Resource Name (ARN) of the agent.
[$sel:agentArn:AgentListEntry'] :: AgentListEntry -> Maybe Text
-- | The name of the agent.
[$sel:name:AgentListEntry'] :: AgentListEntry -> Maybe Text
-- | The status of the agent.
[$sel:status:AgentListEntry'] :: AgentListEntry -> Maybe AgentStatus
-- | 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.
newAgentListEntry :: AgentListEntry
-- | The Amazon Resource Name (ARN) of the agent.
agentListEntry_agentArn :: Lens' AgentListEntry (Maybe Text)
-- | The name of the agent.
agentListEntry_name :: Lens' AgentListEntry (Maybe Text)
-- | The status of the agent.
agentListEntry_status :: Lens' AgentListEntry (Maybe AgentStatus)
instance GHC.Generics.Generic Amazonka.DataSync.Types.AgentListEntry.AgentListEntry
instance GHC.Show.Show Amazonka.DataSync.Types.AgentListEntry.AgentListEntry
instance GHC.Read.Read Amazonka.DataSync.Types.AgentListEntry.AgentListEntry
instance GHC.Classes.Eq Amazonka.DataSync.Types.AgentListEntry.AgentListEntry
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.AgentListEntry.AgentListEntry
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.AgentListEntry.AgentListEntry
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.AgentListEntry.AgentListEntry
module Amazonka.DataSync.Types.Atime
newtype Atime
Atime' :: Text -> Atime
[fromAtime] :: Atime -> Text
pattern Atime_BEST_EFFORT :: Atime
pattern Atime_NONE :: Atime
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.Atime.Atime
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.Atime.Atime
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.Atime.Atime
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.Atime.Atime
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.Atime.Atime
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.Atime.Atime
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.Atime.Atime
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.Atime.Atime
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.Atime.Atime
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.Atime.Atime
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.Atime.Atime
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.Atime.Atime
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.Atime.Atime
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.Atime.Atime
instance GHC.Generics.Generic Amazonka.DataSync.Types.Atime.Atime
instance GHC.Classes.Ord Amazonka.DataSync.Types.Atime.Atime
instance GHC.Classes.Eq Amazonka.DataSync.Types.Atime.Atime
instance GHC.Read.Read Amazonka.DataSync.Types.Atime.Atime
instance GHC.Show.Show Amazonka.DataSync.Types.Atime.Atime
module Amazonka.DataSync.Types.Ec2Config
-- | The subnet and security groups that DataSync uses to access your
-- Amazon EFS file system.
--
-- See: newEc2Config smart constructor.
data Ec2Config
Ec2Config' :: Text -> NonEmpty Text -> Ec2Config
-- | 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:subnetArn:Ec2Config'] :: Ec2Config -> Text
-- | Specifies the Amazon Resource Names (ARNs) of the security groups
-- associated with an Amazon EFS file system's mount target.
[$sel:securityGroupArns:Ec2Config'] :: Ec2Config -> 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.
newEc2Config :: Text -> NonEmpty Text -> Ec2Config
-- | 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_subnetArn :: Lens' Ec2Config Text
-- | Specifies the Amazon Resource Names (ARNs) of the security groups
-- associated with an Amazon EFS file system's mount target.
ec2Config_securityGroupArns :: Lens' Ec2Config (NonEmpty Text)
instance GHC.Generics.Generic Amazonka.DataSync.Types.Ec2Config.Ec2Config
instance GHC.Show.Show Amazonka.DataSync.Types.Ec2Config.Ec2Config
instance GHC.Read.Read Amazonka.DataSync.Types.Ec2Config.Ec2Config
instance GHC.Classes.Eq Amazonka.DataSync.Types.Ec2Config.Ec2Config
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.Ec2Config.Ec2Config
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.Ec2Config.Ec2Config
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.Ec2Config.Ec2Config
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.Ec2Config.Ec2Config
module Amazonka.DataSync.Types.EfsInTransitEncryption
newtype EfsInTransitEncryption
EfsInTransitEncryption' :: Text -> EfsInTransitEncryption
[fromEfsInTransitEncryption] :: EfsInTransitEncryption -> Text
pattern EfsInTransitEncryption_NONE :: EfsInTransitEncryption
pattern EfsInTransitEncryption_TLS1_2 :: EfsInTransitEncryption
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance GHC.Generics.Generic Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance GHC.Classes.Ord Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance GHC.Classes.Eq Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance GHC.Read.Read Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
instance GHC.Show.Show Amazonka.DataSync.Types.EfsInTransitEncryption.EfsInTransitEncryption
module Amazonka.DataSync.Types.EndpointType
newtype EndpointType
EndpointType' :: Text -> EndpointType
[fromEndpointType] :: EndpointType -> Text
pattern EndpointType_FIPS :: EndpointType
pattern EndpointType_PRIVATE_LINK :: EndpointType
pattern EndpointType_PUBLIC :: EndpointType
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.EndpointType.EndpointType
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.EndpointType.EndpointType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.EndpointType.EndpointType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.EndpointType.EndpointType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.EndpointType.EndpointType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.EndpointType.EndpointType
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.EndpointType.EndpointType
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.EndpointType.EndpointType
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.EndpointType.EndpointType
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.EndpointType.EndpointType
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.EndpointType.EndpointType
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.EndpointType.EndpointType
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.EndpointType.EndpointType
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.EndpointType.EndpointType
instance GHC.Generics.Generic Amazonka.DataSync.Types.EndpointType.EndpointType
instance GHC.Classes.Ord Amazonka.DataSync.Types.EndpointType.EndpointType
instance GHC.Classes.Eq Amazonka.DataSync.Types.EndpointType.EndpointType
instance GHC.Read.Read Amazonka.DataSync.Types.EndpointType.EndpointType
instance GHC.Show.Show Amazonka.DataSync.Types.EndpointType.EndpointType
module Amazonka.DataSync.Types.FilterType
newtype FilterType
FilterType' :: Text -> FilterType
[fromFilterType] :: FilterType -> Text
pattern FilterType_SIMPLE_PATTERN :: FilterType
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.FilterType.FilterType
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.FilterType.FilterType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.FilterType.FilterType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.FilterType.FilterType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.FilterType.FilterType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.FilterType.FilterType
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.FilterType.FilterType
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.FilterType.FilterType
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.FilterType.FilterType
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.FilterType.FilterType
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.FilterType.FilterType
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.FilterType.FilterType
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.FilterType.FilterType
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.FilterType.FilterType
instance GHC.Generics.Generic Amazonka.DataSync.Types.FilterType.FilterType
instance GHC.Classes.Ord Amazonka.DataSync.Types.FilterType.FilterType
instance GHC.Classes.Eq Amazonka.DataSync.Types.FilterType.FilterType
instance GHC.Read.Read Amazonka.DataSync.Types.FilterType.FilterType
instance GHC.Show.Show Amazonka.DataSync.Types.FilterType.FilterType
module Amazonka.DataSync.Types.FilterRule
-- | Specifies which files, folders, and objects to include or exclude when
-- transferring files from source to destination.
--
-- See: newFilterRule smart constructor.
data FilterRule
FilterRule' :: Maybe FilterType -> Maybe Text -> FilterRule
-- | The type of filter rule to apply. DataSync only supports the
-- SIMPLE_PATTERN rule type.
[$sel:filterType:FilterRule'] :: FilterRule -> Maybe FilterType
-- | 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
[$sel:value:FilterRule'] :: FilterRule -> Maybe Text
-- | 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
newFilterRule :: FilterRule
-- | The type of filter rule to apply. DataSync only supports the
-- SIMPLE_PATTERN rule type.
filterRule_filterType :: Lens' FilterRule (Maybe FilterType)
-- | 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_value :: Lens' FilterRule (Maybe Text)
instance GHC.Generics.Generic Amazonka.DataSync.Types.FilterRule.FilterRule
instance GHC.Show.Show Amazonka.DataSync.Types.FilterRule.FilterRule
instance GHC.Read.Read Amazonka.DataSync.Types.FilterRule.FilterRule
instance GHC.Classes.Eq Amazonka.DataSync.Types.FilterRule.FilterRule
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.FilterRule.FilterRule
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.FilterRule.FilterRule
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.FilterRule.FilterRule
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.FilterRule.FilterRule
module Amazonka.DataSync.Types.Gid
newtype Gid
Gid' :: Text -> Gid
[fromGid] :: Gid -> Text
pattern Gid_BOTH :: Gid
pattern Gid_INT_VALUE :: Gid
pattern Gid_NAME :: Gid
pattern Gid_NONE :: Gid
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.Gid.Gid
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.Gid.Gid
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.Gid.Gid
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.Gid.Gid
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.Gid.Gid
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.Gid.Gid
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.Gid.Gid
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.Gid.Gid
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.Gid.Gid
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.Gid.Gid
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.Gid.Gid
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.Gid.Gid
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.Gid.Gid
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.Gid.Gid
instance GHC.Generics.Generic Amazonka.DataSync.Types.Gid.Gid
instance GHC.Classes.Ord Amazonka.DataSync.Types.Gid.Gid
instance GHC.Classes.Eq Amazonka.DataSync.Types.Gid.Gid
instance GHC.Read.Read Amazonka.DataSync.Types.Gid.Gid
instance GHC.Show.Show Amazonka.DataSync.Types.Gid.Gid
module Amazonka.DataSync.Types.HdfsAuthenticationType
newtype HdfsAuthenticationType
HdfsAuthenticationType' :: Text -> HdfsAuthenticationType
[fromHdfsAuthenticationType] :: HdfsAuthenticationType -> Text
pattern HdfsAuthenticationType_KERBEROS :: HdfsAuthenticationType
pattern HdfsAuthenticationType_SIMPLE :: HdfsAuthenticationType
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance GHC.Generics.Generic Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance GHC.Classes.Ord Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance GHC.Classes.Eq Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance GHC.Read.Read Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
instance GHC.Show.Show Amazonka.DataSync.Types.HdfsAuthenticationType.HdfsAuthenticationType
module Amazonka.DataSync.Types.HdfsDataTransferProtection
newtype HdfsDataTransferProtection
HdfsDataTransferProtection' :: Text -> HdfsDataTransferProtection
[fromHdfsDataTransferProtection] :: HdfsDataTransferProtection -> Text
pattern HdfsDataTransferProtection_AUTHENTICATION :: HdfsDataTransferProtection
pattern HdfsDataTransferProtection_DISABLED :: HdfsDataTransferProtection
pattern HdfsDataTransferProtection_INTEGRITY :: HdfsDataTransferProtection
pattern HdfsDataTransferProtection_PRIVACY :: HdfsDataTransferProtection
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance GHC.Generics.Generic Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance GHC.Classes.Ord Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance GHC.Classes.Eq Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance GHC.Read.Read Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
instance GHC.Show.Show Amazonka.DataSync.Types.HdfsDataTransferProtection.HdfsDataTransferProtection
module Amazonka.DataSync.Types.HdfsNameNode
-- | 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.
data HdfsNameNode
HdfsNameNode' :: Text -> Natural -> HdfsNameNode
-- | 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:hostname:HdfsNameNode'] :: HdfsNameNode -> Text
-- | The port that the NameNode uses to listen to client requests.
[$sel:port:HdfsNameNode'] :: HdfsNameNode -> Natural
-- | 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.
newHdfsNameNode :: Text -> Natural -> HdfsNameNode
-- | 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_hostname :: Lens' HdfsNameNode Text
-- | The port that the NameNode uses to listen to client requests.
hdfsNameNode_port :: Lens' HdfsNameNode Natural
instance GHC.Generics.Generic Amazonka.DataSync.Types.HdfsNameNode.HdfsNameNode
instance GHC.Show.Show Amazonka.DataSync.Types.HdfsNameNode.HdfsNameNode
instance GHC.Read.Read Amazonka.DataSync.Types.HdfsNameNode.HdfsNameNode
instance GHC.Classes.Eq Amazonka.DataSync.Types.HdfsNameNode.HdfsNameNode
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.HdfsNameNode.HdfsNameNode
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.HdfsNameNode.HdfsNameNode
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.HdfsNameNode.HdfsNameNode
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.HdfsNameNode.HdfsNameNode
module Amazonka.DataSync.Types.HdfsRpcProtection
newtype HdfsRpcProtection
HdfsRpcProtection' :: Text -> HdfsRpcProtection
[fromHdfsRpcProtection] :: HdfsRpcProtection -> Text
pattern HdfsRpcProtection_AUTHENTICATION :: HdfsRpcProtection
pattern HdfsRpcProtection_DISABLED :: HdfsRpcProtection
pattern HdfsRpcProtection_INTEGRITY :: HdfsRpcProtection
pattern HdfsRpcProtection_PRIVACY :: HdfsRpcProtection
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance GHC.Generics.Generic Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance GHC.Classes.Ord Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance GHC.Classes.Eq Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance GHC.Read.Read Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
instance GHC.Show.Show Amazonka.DataSync.Types.HdfsRpcProtection.HdfsRpcProtection
module Amazonka.DataSync.Types.LocationFilterName
newtype LocationFilterName
LocationFilterName' :: Text -> LocationFilterName
[fromLocationFilterName] :: LocationFilterName -> Text
pattern LocationFilterName_CreationTime :: LocationFilterName
pattern LocationFilterName_LocationType :: LocationFilterName
pattern LocationFilterName_LocationUri :: LocationFilterName
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance GHC.Generics.Generic Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance GHC.Classes.Ord Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance GHC.Classes.Eq Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance GHC.Read.Read Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
instance GHC.Show.Show Amazonka.DataSync.Types.LocationFilterName.LocationFilterName
module Amazonka.DataSync.Types.LocationListEntry
-- | 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.
data LocationListEntry
LocationListEntry' :: Maybe Text -> Maybe Text -> LocationListEntry
-- | 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:locationArn:LocationListEntry'] :: LocationListEntry -> Maybe Text
-- | 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.
[$sel:locationUri:LocationListEntry'] :: LocationListEntry -> Maybe Text
-- | 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.
newLocationListEntry :: LocationListEntry
-- | 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_locationArn :: Lens' LocationListEntry (Maybe Text)
-- | 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_locationUri :: Lens' LocationListEntry (Maybe Text)
instance GHC.Generics.Generic Amazonka.DataSync.Types.LocationListEntry.LocationListEntry
instance GHC.Show.Show Amazonka.DataSync.Types.LocationListEntry.LocationListEntry
instance GHC.Read.Read Amazonka.DataSync.Types.LocationListEntry.LocationListEntry
instance GHC.Classes.Eq Amazonka.DataSync.Types.LocationListEntry.LocationListEntry
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.LocationListEntry.LocationListEntry
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.LocationListEntry.LocationListEntry
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.LocationListEntry.LocationListEntry
module Amazonka.DataSync.Types.LogLevel
newtype LogLevel
LogLevel' :: Text -> LogLevel
[fromLogLevel] :: LogLevel -> Text
pattern LogLevel_BASIC :: LogLevel
pattern LogLevel_OFF :: LogLevel
pattern LogLevel_TRANSFER :: LogLevel
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.LogLevel.LogLevel
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.LogLevel.LogLevel
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.LogLevel.LogLevel
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.LogLevel.LogLevel
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.LogLevel.LogLevel
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.LogLevel.LogLevel
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.LogLevel.LogLevel
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.LogLevel.LogLevel
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.LogLevel.LogLevel
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.LogLevel.LogLevel
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.LogLevel.LogLevel
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.LogLevel.LogLevel
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.LogLevel.LogLevel
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.LogLevel.LogLevel
instance GHC.Generics.Generic Amazonka.DataSync.Types.LogLevel.LogLevel
instance GHC.Classes.Ord Amazonka.DataSync.Types.LogLevel.LogLevel
instance GHC.Classes.Eq Amazonka.DataSync.Types.LogLevel.LogLevel
instance GHC.Read.Read Amazonka.DataSync.Types.LogLevel.LogLevel
instance GHC.Show.Show Amazonka.DataSync.Types.LogLevel.LogLevel
module Amazonka.DataSync.Types.Mtime
newtype Mtime
Mtime' :: Text -> Mtime
[fromMtime] :: Mtime -> Text
pattern Mtime_NONE :: Mtime
pattern Mtime_PRESERVE :: Mtime
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.Mtime.Mtime
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.Mtime.Mtime
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.Mtime.Mtime
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.Mtime.Mtime
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.Mtime.Mtime
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.Mtime.Mtime
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.Mtime.Mtime
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.Mtime.Mtime
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.Mtime.Mtime
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.Mtime.Mtime
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.Mtime.Mtime
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.Mtime.Mtime
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.Mtime.Mtime
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.Mtime.Mtime
instance GHC.Generics.Generic Amazonka.DataSync.Types.Mtime.Mtime
instance GHC.Classes.Ord Amazonka.DataSync.Types.Mtime.Mtime
instance GHC.Classes.Eq Amazonka.DataSync.Types.Mtime.Mtime
instance GHC.Read.Read Amazonka.DataSync.Types.Mtime.Mtime
instance GHC.Show.Show Amazonka.DataSync.Types.Mtime.Mtime
module Amazonka.DataSync.Types.NfsVersion
newtype NfsVersion
NfsVersion' :: Text -> NfsVersion
[fromNfsVersion] :: NfsVersion -> Text
pattern NfsVersion_AUTOMATIC :: NfsVersion
pattern NfsVersion_NFS3 :: NfsVersion
pattern NfsVersion_NFS4_0 :: NfsVersion
pattern NfsVersion_NFS4_1 :: NfsVersion
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance GHC.Generics.Generic Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance GHC.Classes.Ord Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance GHC.Classes.Eq Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance GHC.Read.Read Amazonka.DataSync.Types.NfsVersion.NfsVersion
instance GHC.Show.Show Amazonka.DataSync.Types.NfsVersion.NfsVersion
module Amazonka.DataSync.Types.NfsMountOptions
-- | Specifies how DataSync can access a location using the NFS protocol.
--
-- See: newNfsMountOptions smart constructor.
data NfsMountOptions
NfsMountOptions' :: Maybe NfsVersion -> NfsMountOptions
-- | 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.
[$sel:version:NfsMountOptions'] :: NfsMountOptions -> Maybe NfsVersion
-- | 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.
newNfsMountOptions :: NfsMountOptions
-- | 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)
instance GHC.Generics.Generic Amazonka.DataSync.Types.NfsMountOptions.NfsMountOptions
instance GHC.Show.Show Amazonka.DataSync.Types.NfsMountOptions.NfsMountOptions
instance GHC.Read.Read Amazonka.DataSync.Types.NfsMountOptions.NfsMountOptions
instance GHC.Classes.Eq Amazonka.DataSync.Types.NfsMountOptions.NfsMountOptions
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.NfsMountOptions.NfsMountOptions
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.NfsMountOptions.NfsMountOptions
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.NfsMountOptions.NfsMountOptions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.NfsMountOptions.NfsMountOptions
module Amazonka.DataSync.Types.FsxProtocolNfs
-- | 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.
data FsxProtocolNfs
FsxProtocolNfs' :: Maybe NfsMountOptions -> FsxProtocolNfs
[$sel:mountOptions:FsxProtocolNfs'] :: FsxProtocolNfs -> Maybe NfsMountOptions
-- | 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.
newFsxProtocolNfs :: FsxProtocolNfs
-- | Undocumented member.
fsxProtocolNfs_mountOptions :: Lens' FsxProtocolNfs (Maybe NfsMountOptions)
instance GHC.Generics.Generic Amazonka.DataSync.Types.FsxProtocolNfs.FsxProtocolNfs
instance GHC.Show.Show Amazonka.DataSync.Types.FsxProtocolNfs.FsxProtocolNfs
instance GHC.Read.Read Amazonka.DataSync.Types.FsxProtocolNfs.FsxProtocolNfs
instance GHC.Classes.Eq Amazonka.DataSync.Types.FsxProtocolNfs.FsxProtocolNfs
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.FsxProtocolNfs.FsxProtocolNfs
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.FsxProtocolNfs.FsxProtocolNfs
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.FsxProtocolNfs.FsxProtocolNfs
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.FsxProtocolNfs.FsxProtocolNfs
module Amazonka.DataSync.Types.ObjectStorageServerProtocol
newtype ObjectStorageServerProtocol
ObjectStorageServerProtocol' :: Text -> ObjectStorageServerProtocol
[fromObjectStorageServerProtocol] :: ObjectStorageServerProtocol -> Text
pattern ObjectStorageServerProtocol_HTTP :: ObjectStorageServerProtocol
pattern ObjectStorageServerProtocol_HTTPS :: ObjectStorageServerProtocol
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance GHC.Generics.Generic Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance GHC.Classes.Ord Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance GHC.Classes.Eq Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance GHC.Read.Read Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
instance GHC.Show.Show Amazonka.DataSync.Types.ObjectStorageServerProtocol.ObjectStorageServerProtocol
module Amazonka.DataSync.Types.ObjectTags
newtype ObjectTags
ObjectTags' :: Text -> ObjectTags
[fromObjectTags] :: ObjectTags -> Text
pattern ObjectTags_NONE :: ObjectTags
pattern ObjectTags_PRESERVE :: ObjectTags
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance GHC.Generics.Generic Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance GHC.Classes.Ord Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance GHC.Classes.Eq Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance GHC.Read.Read Amazonka.DataSync.Types.ObjectTags.ObjectTags
instance GHC.Show.Show Amazonka.DataSync.Types.ObjectTags.ObjectTags
module Amazonka.DataSync.Types.OnPremConfig
-- | A list of Amazon Resource Names (ARNs) of agents to use for a Network
-- File System (NFS) location.
--
-- See: newOnPremConfig smart constructor.
data OnPremConfig
OnPremConfig' :: NonEmpty Text -> OnPremConfig
-- | ARNs of the agents to use for an NFS location.
[$sel:agentArns:OnPremConfig'] :: OnPremConfig -> NonEmpty Text
-- | 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.
newOnPremConfig :: NonEmpty Text -> OnPremConfig
-- | ARNs of the agents to use for an NFS location.
onPremConfig_agentArns :: Lens' OnPremConfig (NonEmpty Text)
instance GHC.Generics.Generic Amazonka.DataSync.Types.OnPremConfig.OnPremConfig
instance GHC.Show.Show Amazonka.DataSync.Types.OnPremConfig.OnPremConfig
instance GHC.Read.Read Amazonka.DataSync.Types.OnPremConfig.OnPremConfig
instance GHC.Classes.Eq Amazonka.DataSync.Types.OnPremConfig.OnPremConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.OnPremConfig.OnPremConfig
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.OnPremConfig.OnPremConfig
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.OnPremConfig.OnPremConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.OnPremConfig.OnPremConfig
module Amazonka.DataSync.Types.Operator
newtype Operator
Operator' :: Text -> Operator
[fromOperator] :: Operator -> 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
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.Operator.Operator
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.Operator.Operator
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.Operator.Operator
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.Operator.Operator
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.Operator.Operator
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.Operator.Operator
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.Operator.Operator
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.Operator.Operator
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.Operator.Operator
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.Operator.Operator
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.Operator.Operator
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.Operator.Operator
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.Operator.Operator
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.Operator.Operator
instance GHC.Generics.Generic Amazonka.DataSync.Types.Operator.Operator
instance GHC.Classes.Ord Amazonka.DataSync.Types.Operator.Operator
instance GHC.Classes.Eq Amazonka.DataSync.Types.Operator.Operator
instance GHC.Read.Read Amazonka.DataSync.Types.Operator.Operator
instance GHC.Show.Show Amazonka.DataSync.Types.Operator.Operator
module Amazonka.DataSync.Types.LocationFilter
-- | 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.
data LocationFilter
LocationFilter' :: LocationFilterName -> [Text] -> Operator -> LocationFilter
-- | 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:name:LocationFilter'] :: LocationFilter -> LocationFilterName
-- | The values that you want to filter for. For example, you might want to
-- display only Amazon S3 locations.
[$sel:values:LocationFilter'] :: LocationFilter -> [Text]
-- | The operator that is used to compare filter values (for example,
-- Equals or Contains).
[$sel:operator:LocationFilter'] :: LocationFilter -> Operator
-- | 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).
newLocationFilter :: LocationFilterName -> Operator -> LocationFilter
-- | 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_name :: Lens' LocationFilter LocationFilterName
-- | The values that you want to filter for. For example, you might want to
-- display only Amazon S3 locations.
locationFilter_values :: Lens' LocationFilter [Text]
-- | The operator that is used to compare filter values (for example,
-- Equals or Contains).
locationFilter_operator :: Lens' LocationFilter Operator
instance GHC.Generics.Generic Amazonka.DataSync.Types.LocationFilter.LocationFilter
instance GHC.Show.Show Amazonka.DataSync.Types.LocationFilter.LocationFilter
instance GHC.Read.Read Amazonka.DataSync.Types.LocationFilter.LocationFilter
instance GHC.Classes.Eq Amazonka.DataSync.Types.LocationFilter.LocationFilter
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.LocationFilter.LocationFilter
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.LocationFilter.LocationFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.LocationFilter.LocationFilter
module Amazonka.DataSync.Types.OverwriteMode
newtype OverwriteMode
OverwriteMode' :: Text -> OverwriteMode
[fromOverwriteMode] :: OverwriteMode -> Text
pattern OverwriteMode_ALWAYS :: OverwriteMode
pattern OverwriteMode_NEVER :: OverwriteMode
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance GHC.Generics.Generic Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance GHC.Classes.Ord Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance GHC.Classes.Eq Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance GHC.Read.Read Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
instance GHC.Show.Show Amazonka.DataSync.Types.OverwriteMode.OverwriteMode
module Amazonka.DataSync.Types.PhaseStatus
newtype PhaseStatus
PhaseStatus' :: Text -> PhaseStatus
[fromPhaseStatus] :: PhaseStatus -> Text
pattern PhaseStatus_ERROR :: PhaseStatus
pattern PhaseStatus_PENDING :: PhaseStatus
pattern PhaseStatus_SUCCESS :: PhaseStatus
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance GHC.Generics.Generic Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance GHC.Classes.Ord Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance GHC.Classes.Eq Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance GHC.Read.Read Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
instance GHC.Show.Show Amazonka.DataSync.Types.PhaseStatus.PhaseStatus
module Amazonka.DataSync.Types.PosixPermissions
newtype PosixPermissions
PosixPermissions' :: Text -> PosixPermissions
[fromPosixPermissions] :: PosixPermissions -> Text
pattern PosixPermissions_NONE :: PosixPermissions
pattern PosixPermissions_PRESERVE :: PosixPermissions
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance GHC.Generics.Generic Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance GHC.Classes.Ord Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance GHC.Classes.Eq Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance GHC.Read.Read Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
instance GHC.Show.Show Amazonka.DataSync.Types.PosixPermissions.PosixPermissions
module Amazonka.DataSync.Types.PreserveDeletedFiles
newtype PreserveDeletedFiles
PreserveDeletedFiles' :: Text -> PreserveDeletedFiles
[fromPreserveDeletedFiles] :: PreserveDeletedFiles -> Text
pattern PreserveDeletedFiles_PRESERVE :: PreserveDeletedFiles
pattern PreserveDeletedFiles_REMOVE :: PreserveDeletedFiles
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance GHC.Generics.Generic Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance GHC.Classes.Ord Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance GHC.Classes.Eq Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance GHC.Read.Read Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
instance GHC.Show.Show Amazonka.DataSync.Types.PreserveDeletedFiles.PreserveDeletedFiles
module Amazonka.DataSync.Types.PreserveDevices
newtype PreserveDevices
PreserveDevices' :: Text -> PreserveDevices
[fromPreserveDevices] :: PreserveDevices -> Text
pattern PreserveDevices_NONE :: PreserveDevices
pattern PreserveDevices_PRESERVE :: PreserveDevices
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance GHC.Generics.Generic Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance GHC.Classes.Ord Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance GHC.Classes.Eq Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance GHC.Read.Read Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
instance GHC.Show.Show Amazonka.DataSync.Types.PreserveDevices.PreserveDevices
module Amazonka.DataSync.Types.PrivateLinkConfig
-- | 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.
data PrivateLinkConfig
PrivateLinkConfig' :: Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe Text -> PrivateLinkConfig
-- | 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:privateLinkEndpoint:PrivateLinkConfig'] :: PrivateLinkConfig -> Maybe Text
-- | 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:securityGroupArns:PrivateLinkConfig'] :: PrivateLinkConfig -> Maybe (NonEmpty Text)
-- | 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:subnetArns:PrivateLinkConfig'] :: PrivateLinkConfig -> Maybe (NonEmpty Text)
-- | 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.
[$sel:vpcEndpointId:PrivateLinkConfig'] :: PrivateLinkConfig -> Maybe Text
-- | 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.
newPrivateLinkConfig :: PrivateLinkConfig
-- | 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_privateLinkEndpoint :: Lens' PrivateLinkConfig (Maybe Text)
-- | 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_securityGroupArns :: Lens' PrivateLinkConfig (Maybe (NonEmpty Text))
-- | 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_subnetArns :: Lens' PrivateLinkConfig (Maybe (NonEmpty Text))
-- | 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_vpcEndpointId :: Lens' PrivateLinkConfig (Maybe Text)
instance GHC.Generics.Generic Amazonka.DataSync.Types.PrivateLinkConfig.PrivateLinkConfig
instance GHC.Show.Show Amazonka.DataSync.Types.PrivateLinkConfig.PrivateLinkConfig
instance GHC.Read.Read Amazonka.DataSync.Types.PrivateLinkConfig.PrivateLinkConfig
instance GHC.Classes.Eq Amazonka.DataSync.Types.PrivateLinkConfig.PrivateLinkConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.PrivateLinkConfig.PrivateLinkConfig
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.PrivateLinkConfig.PrivateLinkConfig
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.PrivateLinkConfig.PrivateLinkConfig
module Amazonka.DataSync.Types.QopConfiguration
-- | 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.
data QopConfiguration
QopConfiguration' :: Maybe HdfsDataTransferProtection -> Maybe HdfsRpcProtection -> QopConfiguration
-- | 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:dataTransferProtection:QopConfiguration'] :: QopConfiguration -> Maybe HdfsDataTransferProtection
-- | 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.
[$sel:rpcProtection:QopConfiguration'] :: QopConfiguration -> Maybe HdfsRpcProtection
-- | 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.
newQopConfiguration :: QopConfiguration
-- | 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_dataTransferProtection :: Lens' QopConfiguration (Maybe HdfsDataTransferProtection)
-- | 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_rpcProtection :: Lens' QopConfiguration (Maybe HdfsRpcProtection)
instance GHC.Generics.Generic Amazonka.DataSync.Types.QopConfiguration.QopConfiguration
instance GHC.Show.Show Amazonka.DataSync.Types.QopConfiguration.QopConfiguration
instance GHC.Read.Read Amazonka.DataSync.Types.QopConfiguration.QopConfiguration
instance GHC.Classes.Eq Amazonka.DataSync.Types.QopConfiguration.QopConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.QopConfiguration.QopConfiguration
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.QopConfiguration.QopConfiguration
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.QopConfiguration.QopConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.QopConfiguration.QopConfiguration
module Amazonka.DataSync.Types.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.
data S3Config
S3Config' :: Text -> S3Config
-- | The ARN of the IAM role for accessing the S3 bucket.
[$sel:bucketAccessRoleArn:S3Config'] :: S3Config -> Text
-- | 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.
newS3Config :: Text -> S3Config
-- | The ARN of the IAM role for accessing the S3 bucket.
s3Config_bucketAccessRoleArn :: Lens' S3Config Text
instance GHC.Generics.Generic Amazonka.DataSync.Types.S3Config.S3Config
instance GHC.Show.Show Amazonka.DataSync.Types.S3Config.S3Config
instance GHC.Read.Read Amazonka.DataSync.Types.S3Config.S3Config
instance GHC.Classes.Eq Amazonka.DataSync.Types.S3Config.S3Config
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.S3Config.S3Config
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.S3Config.S3Config
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.S3Config.S3Config
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.S3Config.S3Config
module Amazonka.DataSync.Types.S3StorageClass
newtype S3StorageClass
S3StorageClass' :: Text -> S3StorageClass
[fromS3StorageClass] :: S3StorageClass -> Text
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
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance GHC.Generics.Generic Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance GHC.Classes.Ord Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance GHC.Classes.Eq Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance GHC.Read.Read Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
instance GHC.Show.Show Amazonka.DataSync.Types.S3StorageClass.S3StorageClass
module Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags
newtype SmbSecurityDescriptorCopyFlags
SmbSecurityDescriptorCopyFlags' :: Text -> SmbSecurityDescriptorCopyFlags
[fromSmbSecurityDescriptorCopyFlags] :: SmbSecurityDescriptorCopyFlags -> Text
pattern SmbSecurityDescriptorCopyFlags_NONE :: SmbSecurityDescriptorCopyFlags
pattern SmbSecurityDescriptorCopyFlags_OWNER_DACL :: SmbSecurityDescriptorCopyFlags
pattern SmbSecurityDescriptorCopyFlags_OWNER_DACL_SACL :: SmbSecurityDescriptorCopyFlags
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance GHC.Generics.Generic Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance GHC.Classes.Ord Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance GHC.Classes.Eq Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance GHC.Read.Read Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
instance GHC.Show.Show Amazonka.DataSync.Types.SmbSecurityDescriptorCopyFlags.SmbSecurityDescriptorCopyFlags
module Amazonka.DataSync.Types.SmbVersion
newtype SmbVersion
SmbVersion' :: Text -> SmbVersion
[fromSmbVersion] :: SmbVersion -> Text
pattern SmbVersion_AUTOMATIC :: SmbVersion
pattern SmbVersion_SMB2 :: SmbVersion
pattern SmbVersion_SMB3 :: SmbVersion
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance GHC.Generics.Generic Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance GHC.Classes.Ord Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance GHC.Classes.Eq Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance GHC.Read.Read Amazonka.DataSync.Types.SmbVersion.SmbVersion
instance GHC.Show.Show Amazonka.DataSync.Types.SmbVersion.SmbVersion
module Amazonka.DataSync.Types.SmbMountOptions
-- | Specifies how DataSync can access a location using the SMB protocol.
--
-- See: newSmbMountOptions smart constructor.
data SmbMountOptions
SmbMountOptions' :: Maybe SmbVersion -> SmbMountOptions
-- | 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.
[$sel:version:SmbMountOptions'] :: SmbMountOptions -> Maybe SmbVersion
-- | 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.
newSmbMountOptions :: SmbMountOptions
-- | 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)
instance GHC.Generics.Generic Amazonka.DataSync.Types.SmbMountOptions.SmbMountOptions
instance GHC.Show.Show Amazonka.DataSync.Types.SmbMountOptions.SmbMountOptions
instance GHC.Read.Read Amazonka.DataSync.Types.SmbMountOptions.SmbMountOptions
instance GHC.Classes.Eq Amazonka.DataSync.Types.SmbMountOptions.SmbMountOptions
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.SmbMountOptions.SmbMountOptions
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.SmbMountOptions.SmbMountOptions
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.SmbMountOptions.SmbMountOptions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.SmbMountOptions.SmbMountOptions
module Amazonka.DataSync.Types.FsxProtocolSmb
-- | 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.
data FsxProtocolSmb
FsxProtocolSmb' :: Maybe Text -> Maybe SmbMountOptions -> Sensitive Text -> Text -> FsxProtocolSmb
-- | Specifies the fully qualified domain name (FQDN) of the Microsoft
-- Active Directory that your storage virtual machine (SVM) belongs to.
[$sel:domain:FsxProtocolSmb'] :: FsxProtocolSmb -> Maybe Text
[$sel:mountOptions:FsxProtocolSmb'] :: FsxProtocolSmb -> Maybe SmbMountOptions
-- | Specifies the password of a user who has permission to access your
-- SVM.
[$sel:password:FsxProtocolSmb'] :: FsxProtocolSmb -> Sensitive Text
-- | 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.
--
[$sel:user:FsxProtocolSmb'] :: FsxProtocolSmb -> Text
-- | 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.
--
newFsxProtocolSmb :: Text -> Text -> FsxProtocolSmb
-- | Specifies the fully qualified domain name (FQDN) of the Microsoft
-- Active Directory that your storage virtual machine (SVM) belongs to.
fsxProtocolSmb_domain :: Lens' FsxProtocolSmb (Maybe Text)
-- | Undocumented member.
fsxProtocolSmb_mountOptions :: Lens' FsxProtocolSmb (Maybe SmbMountOptions)
-- | Specifies the password of a user who has permission to access your
-- SVM.
fsxProtocolSmb_password :: Lens' FsxProtocolSmb Text
-- | 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_user :: Lens' FsxProtocolSmb Text
instance GHC.Generics.Generic Amazonka.DataSync.Types.FsxProtocolSmb.FsxProtocolSmb
instance GHC.Show.Show Amazonka.DataSync.Types.FsxProtocolSmb.FsxProtocolSmb
instance GHC.Classes.Eq Amazonka.DataSync.Types.FsxProtocolSmb.FsxProtocolSmb
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.FsxProtocolSmb.FsxProtocolSmb
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.FsxProtocolSmb.FsxProtocolSmb
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.FsxProtocolSmb.FsxProtocolSmb
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.FsxProtocolSmb.FsxProtocolSmb
module Amazonka.DataSync.Types.FsxProtocol
-- | Specifies the data transfer protocol that DataSync uses to access your
-- Amazon FSx file system.
--
-- See: newFsxProtocol smart constructor.
data FsxProtocol
FsxProtocol' :: Maybe FsxProtocolNfs -> Maybe FsxProtocolSmb -> FsxProtocol
-- | 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:nfs:FsxProtocol'] :: FsxProtocol -> Maybe FsxProtocolNfs
-- | Specifies the Server Message Block (SMB) protocol configuration that
-- DataSync uses to access your FSx for ONTAP file system's SVM.
[$sel:smb:FsxProtocol'] :: FsxProtocol -> Maybe FsxProtocolSmb
-- | 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.
newFsxProtocol :: FsxProtocol
-- | 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_nfs :: Lens' FsxProtocol (Maybe FsxProtocolNfs)
-- | Specifies the Server Message Block (SMB) protocol configuration that
-- DataSync uses to access your FSx for ONTAP file system's SVM.
fsxProtocol_smb :: Lens' FsxProtocol (Maybe FsxProtocolSmb)
instance GHC.Generics.Generic Amazonka.DataSync.Types.FsxProtocol.FsxProtocol
instance GHC.Show.Show Amazonka.DataSync.Types.FsxProtocol.FsxProtocol
instance GHC.Classes.Eq Amazonka.DataSync.Types.FsxProtocol.FsxProtocol
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.FsxProtocol.FsxProtocol
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.FsxProtocol.FsxProtocol
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.FsxProtocol.FsxProtocol
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.FsxProtocol.FsxProtocol
module Amazonka.DataSync.Types.TagListEntry
-- | A key-value pair representing a single tag that's been applied to an
-- Amazon Web Services resource.
--
-- See: newTagListEntry smart constructor.
data TagListEntry
TagListEntry' :: Maybe Text -> Text -> TagListEntry
-- | The value for an Amazon Web Services resource tag.
[$sel:value:TagListEntry'] :: TagListEntry -> Maybe Text
-- | The key for an Amazon Web Services resource tag.
[$sel:key:TagListEntry'] :: TagListEntry -> Text
-- | 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.
newTagListEntry :: Text -> TagListEntry
-- | The value for an Amazon Web Services resource tag.
tagListEntry_value :: Lens' TagListEntry (Maybe Text)
-- | The key for an Amazon Web Services resource tag.
tagListEntry_key :: Lens' TagListEntry Text
instance GHC.Generics.Generic Amazonka.DataSync.Types.TagListEntry.TagListEntry
instance GHC.Show.Show Amazonka.DataSync.Types.TagListEntry.TagListEntry
instance GHC.Read.Read Amazonka.DataSync.Types.TagListEntry.TagListEntry
instance GHC.Classes.Eq Amazonka.DataSync.Types.TagListEntry.TagListEntry
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.TagListEntry.TagListEntry
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.TagListEntry.TagListEntry
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.TagListEntry.TagListEntry
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.TagListEntry.TagListEntry
module Amazonka.DataSync.Types.TaskExecutionResultDetail
-- | 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.
data TaskExecutionResultDetail
TaskExecutionResultDetail' :: Maybe Text -> Maybe Text -> Maybe Natural -> Maybe PhaseStatus -> Maybe Natural -> Maybe Natural -> Maybe PhaseStatus -> Maybe Natural -> Maybe PhaseStatus -> TaskExecutionResultDetail
-- | Errors that DataSync encountered during execution of the task. You can
-- use this error code to help troubleshoot issues.
[$sel:errorCode:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe Text
-- | Detailed description of an error that was encountered during the task
-- execution. You can use this information to help troubleshoot issues.
[$sel:errorDetail:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe Text
-- | The total time in milliseconds that DataSync spent in the PREPARING
-- phase.
[$sel:prepareDuration:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe Natural
-- | The status of the PREPARING phase.
[$sel:prepareStatus:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe PhaseStatus
-- | The total time in milliseconds that DataSync took to transfer the file
-- from the source to the destination location.
[$sel:totalDuration:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe Natural
-- | The total time in milliseconds that DataSync spent in the TRANSFERRING
-- phase.
[$sel:transferDuration:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe Natural
-- | The status of the TRANSFERRING phase.
[$sel:transferStatus:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe PhaseStatus
-- | The total time in milliseconds that DataSync spent in the VERIFYING
-- phase.
[$sel:verifyDuration:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe Natural
-- | The status of the VERIFYING phase.
[$sel:verifyStatus:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe PhaseStatus
-- | 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.
newTaskExecutionResultDetail :: TaskExecutionResultDetail
-- | Errors that DataSync encountered during execution of the task. You can
-- use this error code to help troubleshoot issues.
taskExecutionResultDetail_errorCode :: Lens' TaskExecutionResultDetail (Maybe Text)
-- | Detailed description of an error that was encountered during the task
-- execution. You can use this information to help troubleshoot issues.
taskExecutionResultDetail_errorDetail :: Lens' TaskExecutionResultDetail (Maybe Text)
-- | The total time in milliseconds that DataSync spent in the PREPARING
-- phase.
taskExecutionResultDetail_prepareDuration :: Lens' TaskExecutionResultDetail (Maybe Natural)
-- | The status of the PREPARING phase.
taskExecutionResultDetail_prepareStatus :: Lens' TaskExecutionResultDetail (Maybe PhaseStatus)
-- | The total time in milliseconds that DataSync took to transfer the file
-- from the source to the destination location.
taskExecutionResultDetail_totalDuration :: Lens' TaskExecutionResultDetail (Maybe Natural)
-- | The total time in milliseconds that DataSync spent in the TRANSFERRING
-- phase.
taskExecutionResultDetail_transferDuration :: Lens' TaskExecutionResultDetail (Maybe Natural)
-- | The status of the TRANSFERRING phase.
taskExecutionResultDetail_transferStatus :: Lens' TaskExecutionResultDetail (Maybe PhaseStatus)
-- | The total time in milliseconds that DataSync spent in the VERIFYING
-- phase.
taskExecutionResultDetail_verifyDuration :: Lens' TaskExecutionResultDetail (Maybe Natural)
-- | The status of the VERIFYING phase.
taskExecutionResultDetail_verifyStatus :: Lens' TaskExecutionResultDetail (Maybe PhaseStatus)
instance GHC.Generics.Generic Amazonka.DataSync.Types.TaskExecutionResultDetail.TaskExecutionResultDetail
instance GHC.Show.Show Amazonka.DataSync.Types.TaskExecutionResultDetail.TaskExecutionResultDetail
instance GHC.Read.Read Amazonka.DataSync.Types.TaskExecutionResultDetail.TaskExecutionResultDetail
instance GHC.Classes.Eq Amazonka.DataSync.Types.TaskExecutionResultDetail.TaskExecutionResultDetail
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.TaskExecutionResultDetail.TaskExecutionResultDetail
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.TaskExecutionResultDetail.TaskExecutionResultDetail
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.TaskExecutionResultDetail.TaskExecutionResultDetail
module Amazonka.DataSync.Types.TaskExecutionStatus
newtype TaskExecutionStatus
TaskExecutionStatus' :: Text -> TaskExecutionStatus
[fromTaskExecutionStatus] :: TaskExecutionStatus -> Text
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
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance GHC.Generics.Generic Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance GHC.Classes.Ord Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance GHC.Classes.Eq Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance GHC.Read.Read Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
instance GHC.Show.Show Amazonka.DataSync.Types.TaskExecutionStatus.TaskExecutionStatus
module Amazonka.DataSync.Types.TaskExecutionListEntry
-- | 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.
data TaskExecutionListEntry
TaskExecutionListEntry' :: Maybe TaskExecutionStatus -> Maybe Text -> TaskExecutionListEntry
-- | The status of a task execution.
[$sel:status:TaskExecutionListEntry'] :: TaskExecutionListEntry -> Maybe TaskExecutionStatus
-- | The Amazon Resource Name (ARN) of the task that was executed.
[$sel:taskExecutionArn:TaskExecutionListEntry'] :: TaskExecutionListEntry -> Maybe Text
-- | 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.
newTaskExecutionListEntry :: TaskExecutionListEntry
-- | The status of a task execution.
taskExecutionListEntry_status :: Lens' TaskExecutionListEntry (Maybe TaskExecutionStatus)
-- | The Amazon Resource Name (ARN) of the task that was executed.
taskExecutionListEntry_taskExecutionArn :: Lens' TaskExecutionListEntry (Maybe Text)
instance GHC.Generics.Generic Amazonka.DataSync.Types.TaskExecutionListEntry.TaskExecutionListEntry
instance GHC.Show.Show Amazonka.DataSync.Types.TaskExecutionListEntry.TaskExecutionListEntry
instance GHC.Read.Read Amazonka.DataSync.Types.TaskExecutionListEntry.TaskExecutionListEntry
instance GHC.Classes.Eq Amazonka.DataSync.Types.TaskExecutionListEntry.TaskExecutionListEntry
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.TaskExecutionListEntry.TaskExecutionListEntry
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.TaskExecutionListEntry.TaskExecutionListEntry
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.TaskExecutionListEntry.TaskExecutionListEntry
module Amazonka.DataSync.Types.TaskFilterName
newtype TaskFilterName
TaskFilterName' :: Text -> TaskFilterName
[fromTaskFilterName] :: TaskFilterName -> Text
pattern TaskFilterName_CreationTime :: TaskFilterName
pattern TaskFilterName_LocationId :: TaskFilterName
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance GHC.Generics.Generic Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance GHC.Classes.Ord Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance GHC.Classes.Eq Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance GHC.Read.Read Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
instance GHC.Show.Show Amazonka.DataSync.Types.TaskFilterName.TaskFilterName
module Amazonka.DataSync.Types.TaskFilter
-- | 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.
data TaskFilter
TaskFilter' :: TaskFilterName -> [Text] -> Operator -> TaskFilter
-- | 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:name:TaskFilter'] :: TaskFilter -> TaskFilterName
-- | The values that you want to filter for. For example, you might want to
-- display only tasks for a specific destination location.
[$sel:values:TaskFilter'] :: TaskFilter -> [Text]
-- | The operator that is used to compare filter values (for example,
-- Equals or Contains).
[$sel:operator:TaskFilter'] :: TaskFilter -> Operator
-- | 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).
newTaskFilter :: TaskFilterName -> Operator -> TaskFilter
-- | 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_name :: Lens' TaskFilter TaskFilterName
-- | The values that you want to filter for. For example, you might want to
-- display only tasks for a specific destination location.
taskFilter_values :: Lens' TaskFilter [Text]
-- | The operator that is used to compare filter values (for example,
-- Equals or Contains).
taskFilter_operator :: Lens' TaskFilter Operator
instance GHC.Generics.Generic Amazonka.DataSync.Types.TaskFilter.TaskFilter
instance GHC.Show.Show Amazonka.DataSync.Types.TaskFilter.TaskFilter
instance GHC.Read.Read Amazonka.DataSync.Types.TaskFilter.TaskFilter
instance GHC.Classes.Eq Amazonka.DataSync.Types.TaskFilter.TaskFilter
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.TaskFilter.TaskFilter
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.TaskFilter.TaskFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.TaskFilter.TaskFilter
module Amazonka.DataSync.Types.TaskQueueing
newtype TaskQueueing
TaskQueueing' :: Text -> TaskQueueing
[fromTaskQueueing] :: TaskQueueing -> Text
pattern TaskQueueing_DISABLED :: TaskQueueing
pattern TaskQueueing_ENABLED :: TaskQueueing
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance GHC.Generics.Generic Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance GHC.Classes.Ord Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance GHC.Classes.Eq Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance GHC.Read.Read Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
instance GHC.Show.Show Amazonka.DataSync.Types.TaskQueueing.TaskQueueing
module Amazonka.DataSync.Types.TaskSchedule
-- | Specifies the schedule you want your task to use for repeated
-- executions. For more information, see Schedule Expressions for
-- Rules.
--
-- See: newTaskSchedule smart constructor.
data TaskSchedule
TaskSchedule' :: Text -> TaskSchedule
-- | A cron expression that specifies when DataSync initiates a scheduled
-- transfer from a source to a destination location.
[$sel:scheduleExpression:TaskSchedule'] :: TaskSchedule -> Text
-- | 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.
newTaskSchedule :: Text -> TaskSchedule
-- | A cron expression that specifies when DataSync initiates a scheduled
-- transfer from a source to a destination location.
taskSchedule_scheduleExpression :: Lens' TaskSchedule Text
instance GHC.Generics.Generic Amazonka.DataSync.Types.TaskSchedule.TaskSchedule
instance GHC.Show.Show Amazonka.DataSync.Types.TaskSchedule.TaskSchedule
instance GHC.Read.Read Amazonka.DataSync.Types.TaskSchedule.TaskSchedule
instance GHC.Classes.Eq Amazonka.DataSync.Types.TaskSchedule.TaskSchedule
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.TaskSchedule.TaskSchedule
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.TaskSchedule.TaskSchedule
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.TaskSchedule.TaskSchedule
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.TaskSchedule.TaskSchedule
module Amazonka.DataSync.Types.TaskStatus
newtype TaskStatus
TaskStatus' :: Text -> TaskStatus
[fromTaskStatus] :: TaskStatus -> Text
pattern TaskStatus_AVAILABLE :: TaskStatus
pattern TaskStatus_CREATING :: TaskStatus
pattern TaskStatus_QUEUED :: TaskStatus
pattern TaskStatus_RUNNING :: TaskStatus
pattern TaskStatus_UNAVAILABLE :: TaskStatus
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance GHC.Generics.Generic Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance GHC.Classes.Ord Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance GHC.Classes.Eq Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance GHC.Read.Read Amazonka.DataSync.Types.TaskStatus.TaskStatus
instance GHC.Show.Show Amazonka.DataSync.Types.TaskStatus.TaskStatus
module Amazonka.DataSync.Types.TaskListEntry
-- | 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.
data TaskListEntry
TaskListEntry' :: Maybe Text -> Maybe TaskStatus -> Maybe Text -> TaskListEntry
-- | The name of the task.
[$sel:name:TaskListEntry'] :: TaskListEntry -> Maybe Text
-- | The status of the task.
[$sel:status:TaskListEntry'] :: TaskListEntry -> Maybe TaskStatus
-- | The Amazon Resource Name (ARN) of the task.
[$sel:taskArn:TaskListEntry'] :: TaskListEntry -> Maybe Text
-- | 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.
newTaskListEntry :: TaskListEntry
-- | The name of the task.
taskListEntry_name :: Lens' TaskListEntry (Maybe Text)
-- | The status of the task.
taskListEntry_status :: Lens' TaskListEntry (Maybe TaskStatus)
-- | The Amazon Resource Name (ARN) of the task.
taskListEntry_taskArn :: Lens' TaskListEntry (Maybe Text)
instance GHC.Generics.Generic Amazonka.DataSync.Types.TaskListEntry.TaskListEntry
instance GHC.Show.Show Amazonka.DataSync.Types.TaskListEntry.TaskListEntry
instance GHC.Read.Read Amazonka.DataSync.Types.TaskListEntry.TaskListEntry
instance GHC.Classes.Eq Amazonka.DataSync.Types.TaskListEntry.TaskListEntry
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.TaskListEntry.TaskListEntry
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.TaskListEntry.TaskListEntry
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.TaskListEntry.TaskListEntry
module Amazonka.DataSync.Types.TransferMode
newtype TransferMode
TransferMode' :: Text -> TransferMode
[fromTransferMode] :: TransferMode -> Text
pattern TransferMode_ALL :: TransferMode
pattern TransferMode_CHANGED :: TransferMode
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.TransferMode.TransferMode
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.TransferMode.TransferMode
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.TransferMode.TransferMode
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.TransferMode.TransferMode
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.TransferMode.TransferMode
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.TransferMode.TransferMode
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.TransferMode.TransferMode
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.TransferMode.TransferMode
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.TransferMode.TransferMode
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.TransferMode.TransferMode
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.TransferMode.TransferMode
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.TransferMode.TransferMode
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.TransferMode.TransferMode
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.TransferMode.TransferMode
instance GHC.Generics.Generic Amazonka.DataSync.Types.TransferMode.TransferMode
instance GHC.Classes.Ord Amazonka.DataSync.Types.TransferMode.TransferMode
instance GHC.Classes.Eq Amazonka.DataSync.Types.TransferMode.TransferMode
instance GHC.Read.Read Amazonka.DataSync.Types.TransferMode.TransferMode
instance GHC.Show.Show Amazonka.DataSync.Types.TransferMode.TransferMode
module Amazonka.DataSync.Types.Uid
newtype Uid
Uid' :: Text -> Uid
[fromUid] :: Uid -> Text
pattern Uid_BOTH :: Uid
pattern Uid_INT_VALUE :: Uid
pattern Uid_NAME :: Uid
pattern Uid_NONE :: Uid
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.Uid.Uid
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.Uid.Uid
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.Uid.Uid
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.Uid.Uid
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.Uid.Uid
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.Uid.Uid
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.Uid.Uid
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.Uid.Uid
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.Uid.Uid
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.Uid.Uid
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.Uid.Uid
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.Uid.Uid
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.Uid.Uid
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.Uid.Uid
instance GHC.Generics.Generic Amazonka.DataSync.Types.Uid.Uid
instance GHC.Classes.Ord Amazonka.DataSync.Types.Uid.Uid
instance GHC.Classes.Eq Amazonka.DataSync.Types.Uid.Uid
instance GHC.Read.Read Amazonka.DataSync.Types.Uid.Uid
instance GHC.Show.Show Amazonka.DataSync.Types.Uid.Uid
module Amazonka.DataSync.Types.VerifyMode
newtype VerifyMode
VerifyMode' :: Text -> VerifyMode
[fromVerifyMode] :: VerifyMode -> Text
pattern VerifyMode_NONE :: VerifyMode
pattern VerifyMode_ONLY_FILES_TRANSFERRED :: VerifyMode
pattern VerifyMode_POINT_IN_TIME_CONSISTENT :: VerifyMode
instance Amazonka.Data.XML.ToXML Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance Amazonka.Data.XML.FromXML Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance Amazonka.Data.Headers.ToHeader Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance Amazonka.Data.Log.ToLog Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance Amazonka.Data.ByteString.ToByteString Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance Amazonka.Data.Text.ToText Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance Amazonka.Data.Text.FromText Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance GHC.Generics.Generic Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance GHC.Classes.Ord Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance GHC.Classes.Eq Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance GHC.Read.Read Amazonka.DataSync.Types.VerifyMode.VerifyMode
instance GHC.Show.Show Amazonka.DataSync.Types.VerifyMode.VerifyMode
module Amazonka.DataSync.Types.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.
data Options
Options' :: Maybe Atime -> Maybe Integer -> Maybe Gid -> Maybe LogLevel -> Maybe Mtime -> Maybe ObjectTags -> Maybe OverwriteMode -> Maybe PosixPermissions -> Maybe PreserveDeletedFiles -> Maybe PreserveDevices -> Maybe SmbSecurityDescriptorCopyFlags -> Maybe TaskQueueing -> Maybe TransferMode -> Maybe Uid -> Maybe VerifyMode -> Options
-- | 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:atime:Options'] :: Options -> Maybe Atime
-- | 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:bytesPerSecond:Options'] :: Options -> Maybe Integer
-- | 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:gid:Options'] :: Options -> Maybe Gid
-- | 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:logLevel:Options'] :: Options -> Maybe LogLevel
-- | 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:mtime:Options'] :: Options -> Maybe Mtime
-- | 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:objectTags:Options'] :: Options -> Maybe ObjectTags
-- | 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:overwriteMode:Options'] :: Options -> Maybe OverwriteMode
-- | 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:posixPermissions:Options'] :: Options -> Maybe PosixPermissions
-- | 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:preserveDeletedFiles:Options'] :: Options -> Maybe PreserveDeletedFiles
-- | 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:preserveDevices:Options'] :: Options -> Maybe PreserveDevices
-- | 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:securityDescriptorCopyFlags:Options'] :: Options -> Maybe SmbSecurityDescriptorCopyFlags
-- | 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:taskQueueing:Options'] :: Options -> Maybe TaskQueueing
-- | 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:transferMode:Options'] :: Options -> Maybe TransferMode
-- | 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:uid:Options'] :: Options -> Maybe Uid
-- | 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.
[$sel:verifyMode:Options'] :: Options -> Maybe VerifyMode
-- | 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.
newOptions :: Options
-- | 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_atime :: Lens' Options (Maybe Atime)
-- | 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_bytesPerSecond :: Lens' Options (Maybe Integer)
-- | 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_gid :: Lens' Options (Maybe Gid)
-- | 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_logLevel :: Lens' Options (Maybe LogLevel)
-- | 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_mtime :: Lens' Options (Maybe Mtime)
-- | 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_objectTags :: Lens' Options (Maybe ObjectTags)
-- | 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_overwriteMode :: Lens' Options (Maybe OverwriteMode)
-- | 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_posixPermissions :: Lens' Options (Maybe PosixPermissions)
-- | 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_preserveDeletedFiles :: Lens' Options (Maybe PreserveDeletedFiles)
-- | 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_preserveDevices :: Lens' Options (Maybe PreserveDevices)
-- | 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_securityDescriptorCopyFlags :: Lens' Options (Maybe SmbSecurityDescriptorCopyFlags)
-- | 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_taskQueueing :: Lens' Options (Maybe TaskQueueing)
-- | 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_transferMode :: Lens' Options (Maybe TransferMode)
-- | 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_uid :: Lens' Options (Maybe Uid)
-- | 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_verifyMode :: Lens' Options (Maybe VerifyMode)
instance GHC.Generics.Generic Amazonka.DataSync.Types.Options.Options
instance GHC.Show.Show Amazonka.DataSync.Types.Options.Options
instance GHC.Read.Read Amazonka.DataSync.Types.Options.Options
instance GHC.Classes.Eq Amazonka.DataSync.Types.Options.Options
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.DataSync.Types.Options.Options
instance Data.Hashable.Class.Hashable Amazonka.DataSync.Types.Options.Options
instance Control.DeepSeq.NFData Amazonka.DataSync.Types.Options.Options
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.Types.Options.Options
module Amazonka.DataSync.Types
-- | API version 2018-11-09 of the Amazon DataSync SDK
-- configuration.
defaultService :: Service
-- | This exception is thrown when an error occurs in the DataSync service.
_InternalException :: AsError a => Fold a ServiceError
-- | This exception is thrown when the client submits a malformed request.
_InvalidRequestException :: AsError a => Fold a ServiceError
newtype AgentStatus
AgentStatus' :: Text -> AgentStatus
[fromAgentStatus] :: AgentStatus -> Text
pattern AgentStatus_OFFLINE :: AgentStatus
pattern AgentStatus_ONLINE :: AgentStatus
newtype Atime
Atime' :: Text -> Atime
[fromAtime] :: Atime -> Text
pattern Atime_BEST_EFFORT :: Atime
pattern Atime_NONE :: Atime
newtype EfsInTransitEncryption
EfsInTransitEncryption' :: Text -> EfsInTransitEncryption
[fromEfsInTransitEncryption] :: EfsInTransitEncryption -> Text
pattern EfsInTransitEncryption_NONE :: EfsInTransitEncryption
pattern EfsInTransitEncryption_TLS1_2 :: EfsInTransitEncryption
newtype EndpointType
EndpointType' :: Text -> EndpointType
[fromEndpointType] :: EndpointType -> Text
pattern EndpointType_FIPS :: EndpointType
pattern EndpointType_PRIVATE_LINK :: EndpointType
pattern EndpointType_PUBLIC :: EndpointType
newtype FilterType
FilterType' :: Text -> FilterType
[fromFilterType] :: FilterType -> Text
pattern FilterType_SIMPLE_PATTERN :: FilterType
newtype Gid
Gid' :: Text -> Gid
[fromGid] :: Gid -> Text
pattern Gid_BOTH :: Gid
pattern Gid_INT_VALUE :: Gid
pattern Gid_NAME :: Gid
pattern Gid_NONE :: Gid
newtype HdfsAuthenticationType
HdfsAuthenticationType' :: Text -> HdfsAuthenticationType
[fromHdfsAuthenticationType] :: HdfsAuthenticationType -> Text
pattern HdfsAuthenticationType_KERBEROS :: HdfsAuthenticationType
pattern HdfsAuthenticationType_SIMPLE :: HdfsAuthenticationType
newtype HdfsDataTransferProtection
HdfsDataTransferProtection' :: Text -> HdfsDataTransferProtection
[fromHdfsDataTransferProtection] :: HdfsDataTransferProtection -> Text
pattern HdfsDataTransferProtection_AUTHENTICATION :: HdfsDataTransferProtection
pattern HdfsDataTransferProtection_DISABLED :: HdfsDataTransferProtection
pattern HdfsDataTransferProtection_INTEGRITY :: HdfsDataTransferProtection
pattern HdfsDataTransferProtection_PRIVACY :: HdfsDataTransferProtection
newtype HdfsRpcProtection
HdfsRpcProtection' :: Text -> HdfsRpcProtection
[fromHdfsRpcProtection] :: HdfsRpcProtection -> Text
pattern HdfsRpcProtection_AUTHENTICATION :: HdfsRpcProtection
pattern HdfsRpcProtection_DISABLED :: HdfsRpcProtection
pattern HdfsRpcProtection_INTEGRITY :: HdfsRpcProtection
pattern HdfsRpcProtection_PRIVACY :: HdfsRpcProtection
newtype LocationFilterName
LocationFilterName' :: Text -> LocationFilterName
[fromLocationFilterName] :: LocationFilterName -> Text
pattern LocationFilterName_CreationTime :: LocationFilterName
pattern LocationFilterName_LocationType :: LocationFilterName
pattern LocationFilterName_LocationUri :: LocationFilterName
newtype LogLevel
LogLevel' :: Text -> LogLevel
[fromLogLevel] :: LogLevel -> Text
pattern LogLevel_BASIC :: LogLevel
pattern LogLevel_OFF :: LogLevel
pattern LogLevel_TRANSFER :: LogLevel
newtype Mtime
Mtime' :: Text -> Mtime
[fromMtime] :: Mtime -> Text
pattern Mtime_NONE :: Mtime
pattern Mtime_PRESERVE :: Mtime
newtype NfsVersion
NfsVersion' :: Text -> NfsVersion
[fromNfsVersion] :: NfsVersion -> Text
pattern NfsVersion_AUTOMATIC :: NfsVersion
pattern NfsVersion_NFS3 :: NfsVersion
pattern NfsVersion_NFS4_0 :: NfsVersion
pattern NfsVersion_NFS4_1 :: NfsVersion
newtype ObjectStorageServerProtocol
ObjectStorageServerProtocol' :: Text -> ObjectStorageServerProtocol
[fromObjectStorageServerProtocol] :: ObjectStorageServerProtocol -> Text
pattern ObjectStorageServerProtocol_HTTP :: ObjectStorageServerProtocol
pattern ObjectStorageServerProtocol_HTTPS :: ObjectStorageServerProtocol
newtype ObjectTags
ObjectTags' :: Text -> ObjectTags
[fromObjectTags] :: ObjectTags -> Text
pattern ObjectTags_NONE :: ObjectTags
pattern ObjectTags_PRESERVE :: ObjectTags
newtype Operator
Operator' :: Text -> Operator
[fromOperator] :: Operator -> 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
newtype OverwriteMode
OverwriteMode' :: Text -> OverwriteMode
[fromOverwriteMode] :: OverwriteMode -> Text
pattern OverwriteMode_ALWAYS :: OverwriteMode
pattern OverwriteMode_NEVER :: OverwriteMode
newtype PhaseStatus
PhaseStatus' :: Text -> PhaseStatus
[fromPhaseStatus] :: PhaseStatus -> Text
pattern PhaseStatus_ERROR :: PhaseStatus
pattern PhaseStatus_PENDING :: PhaseStatus
pattern PhaseStatus_SUCCESS :: PhaseStatus
newtype PosixPermissions
PosixPermissions' :: Text -> PosixPermissions
[fromPosixPermissions] :: PosixPermissions -> Text
pattern PosixPermissions_NONE :: PosixPermissions
pattern PosixPermissions_PRESERVE :: PosixPermissions
newtype PreserveDeletedFiles
PreserveDeletedFiles' :: Text -> PreserveDeletedFiles
[fromPreserveDeletedFiles] :: PreserveDeletedFiles -> Text
pattern PreserveDeletedFiles_PRESERVE :: PreserveDeletedFiles
pattern PreserveDeletedFiles_REMOVE :: PreserveDeletedFiles
newtype PreserveDevices
PreserveDevices' :: Text -> PreserveDevices
[fromPreserveDevices] :: PreserveDevices -> Text
pattern PreserveDevices_NONE :: PreserveDevices
pattern PreserveDevices_PRESERVE :: PreserveDevices
newtype S3StorageClass
S3StorageClass' :: Text -> S3StorageClass
[fromS3StorageClass] :: S3StorageClass -> Text
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
SmbSecurityDescriptorCopyFlags' :: Text -> SmbSecurityDescriptorCopyFlags
[fromSmbSecurityDescriptorCopyFlags] :: SmbSecurityDescriptorCopyFlags -> Text
pattern SmbSecurityDescriptorCopyFlags_NONE :: SmbSecurityDescriptorCopyFlags
pattern SmbSecurityDescriptorCopyFlags_OWNER_DACL :: SmbSecurityDescriptorCopyFlags
pattern SmbSecurityDescriptorCopyFlags_OWNER_DACL_SACL :: SmbSecurityDescriptorCopyFlags
newtype SmbVersion
SmbVersion' :: Text -> SmbVersion
[fromSmbVersion] :: SmbVersion -> Text
pattern SmbVersion_AUTOMATIC :: SmbVersion
pattern SmbVersion_SMB2 :: SmbVersion
pattern SmbVersion_SMB3 :: SmbVersion
newtype TaskExecutionStatus
TaskExecutionStatus' :: Text -> TaskExecutionStatus
[fromTaskExecutionStatus] :: TaskExecutionStatus -> Text
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
TaskFilterName' :: Text -> TaskFilterName
[fromTaskFilterName] :: TaskFilterName -> Text
pattern TaskFilterName_CreationTime :: TaskFilterName
pattern TaskFilterName_LocationId :: TaskFilterName
newtype TaskQueueing
TaskQueueing' :: Text -> TaskQueueing
[fromTaskQueueing] :: TaskQueueing -> Text
pattern TaskQueueing_DISABLED :: TaskQueueing
pattern TaskQueueing_ENABLED :: TaskQueueing
newtype TaskStatus
TaskStatus' :: Text -> TaskStatus
[fromTaskStatus] :: TaskStatus -> Text
pattern TaskStatus_AVAILABLE :: TaskStatus
pattern TaskStatus_CREATING :: TaskStatus
pattern TaskStatus_QUEUED :: TaskStatus
pattern TaskStatus_RUNNING :: TaskStatus
pattern TaskStatus_UNAVAILABLE :: TaskStatus
newtype TransferMode
TransferMode' :: Text -> TransferMode
[fromTransferMode] :: TransferMode -> Text
pattern TransferMode_ALL :: TransferMode
pattern TransferMode_CHANGED :: TransferMode
newtype Uid
Uid' :: Text -> Uid
[fromUid] :: Uid -> Text
pattern Uid_BOTH :: Uid
pattern Uid_INT_VALUE :: Uid
pattern Uid_NAME :: Uid
pattern Uid_NONE :: Uid
newtype VerifyMode
VerifyMode' :: Text -> VerifyMode
[fromVerifyMode] :: VerifyMode -> Text
pattern VerifyMode_NONE :: VerifyMode
pattern VerifyMode_ONLY_FILES_TRANSFERRED :: VerifyMode
pattern VerifyMode_POINT_IN_TIME_CONSISTENT :: VerifyMode
-- | 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.
data AgentListEntry
AgentListEntry' :: Maybe Text -> Maybe Text -> Maybe AgentStatus -> AgentListEntry
-- | The Amazon Resource Name (ARN) of the agent.
[$sel:agentArn:AgentListEntry'] :: AgentListEntry -> Maybe Text
-- | The name of the agent.
[$sel:name:AgentListEntry'] :: AgentListEntry -> Maybe Text
-- | The status of the agent.
[$sel:status:AgentListEntry'] :: AgentListEntry -> Maybe AgentStatus
-- | 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.
newAgentListEntry :: AgentListEntry
-- | The Amazon Resource Name (ARN) of the agent.
agentListEntry_agentArn :: Lens' AgentListEntry (Maybe Text)
-- | The name of the agent.
agentListEntry_name :: Lens' AgentListEntry (Maybe Text)
-- | The status of the agent.
agentListEntry_status :: Lens' AgentListEntry (Maybe AgentStatus)
-- | The subnet and security groups that DataSync uses to access your
-- Amazon EFS file system.
--
-- See: newEc2Config smart constructor.
data Ec2Config
Ec2Config' :: Text -> NonEmpty Text -> Ec2Config
-- | 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:subnetArn:Ec2Config'] :: Ec2Config -> Text
-- | Specifies the Amazon Resource Names (ARNs) of the security groups
-- associated with an Amazon EFS file system's mount target.
[$sel:securityGroupArns:Ec2Config'] :: Ec2Config -> 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.
newEc2Config :: Text -> NonEmpty Text -> Ec2Config
-- | 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_subnetArn :: Lens' Ec2Config Text
-- | Specifies the Amazon Resource Names (ARNs) of the security groups
-- associated with an Amazon EFS file system's mount target.
ec2Config_securityGroupArns :: Lens' Ec2Config (NonEmpty Text)
-- | Specifies which files, folders, and objects to include or exclude when
-- transferring files from source to destination.
--
-- See: newFilterRule smart constructor.
data FilterRule
FilterRule' :: Maybe FilterType -> Maybe Text -> FilterRule
-- | The type of filter rule to apply. DataSync only supports the
-- SIMPLE_PATTERN rule type.
[$sel:filterType:FilterRule'] :: FilterRule -> Maybe FilterType
-- | 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
[$sel:value:FilterRule'] :: FilterRule -> Maybe Text
-- | 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
newFilterRule :: FilterRule
-- | The type of filter rule to apply. DataSync only supports the
-- SIMPLE_PATTERN rule type.
filterRule_filterType :: Lens' FilterRule (Maybe FilterType)
-- | 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_value :: Lens' FilterRule (Maybe Text)
-- | Specifies the data transfer protocol that DataSync uses to access your
-- Amazon FSx file system.
--
-- See: newFsxProtocol smart constructor.
data FsxProtocol
FsxProtocol' :: Maybe FsxProtocolNfs -> Maybe FsxProtocolSmb -> FsxProtocol
-- | 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:nfs:FsxProtocol'] :: FsxProtocol -> Maybe FsxProtocolNfs
-- | Specifies the Server Message Block (SMB) protocol configuration that
-- DataSync uses to access your FSx for ONTAP file system's SVM.
[$sel:smb:FsxProtocol'] :: FsxProtocol -> Maybe FsxProtocolSmb
-- | 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.
newFsxProtocol :: FsxProtocol
-- | 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_nfs :: Lens' FsxProtocol (Maybe FsxProtocolNfs)
-- | Specifies the Server Message Block (SMB) protocol configuration that
-- DataSync uses to access your FSx for ONTAP file system's SVM.
fsxProtocol_smb :: Lens' FsxProtocol (Maybe FsxProtocolSmb)
-- | 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.
data FsxProtocolNfs
FsxProtocolNfs' :: Maybe NfsMountOptions -> FsxProtocolNfs
[$sel:mountOptions:FsxProtocolNfs'] :: FsxProtocolNfs -> Maybe NfsMountOptions
-- | 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.
newFsxProtocolNfs :: FsxProtocolNfs
-- | Undocumented member.
fsxProtocolNfs_mountOptions :: Lens' FsxProtocolNfs (Maybe NfsMountOptions)
-- | 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.
data FsxProtocolSmb
FsxProtocolSmb' :: Maybe Text -> Maybe SmbMountOptions -> Sensitive Text -> Text -> FsxProtocolSmb
-- | Specifies the fully qualified domain name (FQDN) of the Microsoft
-- Active Directory that your storage virtual machine (SVM) belongs to.
[$sel:domain:FsxProtocolSmb'] :: FsxProtocolSmb -> Maybe Text
[$sel:mountOptions:FsxProtocolSmb'] :: FsxProtocolSmb -> Maybe SmbMountOptions
-- | Specifies the password of a user who has permission to access your
-- SVM.
[$sel:password:FsxProtocolSmb'] :: FsxProtocolSmb -> Sensitive Text
-- | 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.
--
[$sel:user:FsxProtocolSmb'] :: FsxProtocolSmb -> Text
-- | 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.
--
newFsxProtocolSmb :: Text -> Text -> FsxProtocolSmb
-- | Specifies the fully qualified domain name (FQDN) of the Microsoft
-- Active Directory that your storage virtual machine (SVM) belongs to.
fsxProtocolSmb_domain :: Lens' FsxProtocolSmb (Maybe Text)
-- | Undocumented member.
fsxProtocolSmb_mountOptions :: Lens' FsxProtocolSmb (Maybe SmbMountOptions)
-- | Specifies the password of a user who has permission to access your
-- SVM.
fsxProtocolSmb_password :: Lens' FsxProtocolSmb Text
-- | 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_user :: Lens' FsxProtocolSmb Text
-- | 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.
data HdfsNameNode
HdfsNameNode' :: Text -> Natural -> HdfsNameNode
-- | 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:hostname:HdfsNameNode'] :: HdfsNameNode -> Text
-- | The port that the NameNode uses to listen to client requests.
[$sel:port:HdfsNameNode'] :: HdfsNameNode -> Natural
-- | 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.
newHdfsNameNode :: Text -> Natural -> HdfsNameNode
-- | 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_hostname :: Lens' HdfsNameNode Text
-- | The port that the NameNode uses to listen to client requests.
hdfsNameNode_port :: Lens' HdfsNameNode Natural
-- | 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.
data LocationFilter
LocationFilter' :: LocationFilterName -> [Text] -> Operator -> LocationFilter
-- | 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:name:LocationFilter'] :: LocationFilter -> LocationFilterName
-- | The values that you want to filter for. For example, you might want to
-- display only Amazon S3 locations.
[$sel:values:LocationFilter'] :: LocationFilter -> [Text]
-- | The operator that is used to compare filter values (for example,
-- Equals or Contains).
[$sel:operator:LocationFilter'] :: LocationFilter -> Operator
-- | 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).
newLocationFilter :: LocationFilterName -> Operator -> LocationFilter
-- | 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_name :: Lens' LocationFilter LocationFilterName
-- | The values that you want to filter for. For example, you might want to
-- display only Amazon S3 locations.
locationFilter_values :: Lens' LocationFilter [Text]
-- | The operator that is used to compare filter values (for example,
-- Equals or Contains).
locationFilter_operator :: Lens' LocationFilter Operator
-- | 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.
data LocationListEntry
LocationListEntry' :: Maybe Text -> Maybe Text -> LocationListEntry
-- | 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:locationArn:LocationListEntry'] :: LocationListEntry -> Maybe Text
-- | 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.
[$sel:locationUri:LocationListEntry'] :: LocationListEntry -> Maybe Text
-- | 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.
newLocationListEntry :: LocationListEntry
-- | 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_locationArn :: Lens' LocationListEntry (Maybe Text)
-- | 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_locationUri :: Lens' LocationListEntry (Maybe Text)
-- | Specifies how DataSync can access a location using the NFS protocol.
--
-- See: newNfsMountOptions smart constructor.
data NfsMountOptions
NfsMountOptions' :: Maybe NfsVersion -> NfsMountOptions
-- | 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.
[$sel:version:NfsMountOptions'] :: NfsMountOptions -> Maybe NfsVersion
-- | 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.
newNfsMountOptions :: NfsMountOptions
-- | 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)
-- | A list of Amazon Resource Names (ARNs) of agents to use for a Network
-- File System (NFS) location.
--
-- See: newOnPremConfig smart constructor.
data OnPremConfig
OnPremConfig' :: NonEmpty Text -> OnPremConfig
-- | ARNs of the agents to use for an NFS location.
[$sel:agentArns:OnPremConfig'] :: OnPremConfig -> NonEmpty Text
-- | 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.
newOnPremConfig :: NonEmpty Text -> OnPremConfig
-- | ARNs of the agents to use for an NFS location.
onPremConfig_agentArns :: Lens' OnPremConfig (NonEmpty Text)
-- | 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.
data Options
Options' :: Maybe Atime -> Maybe Integer -> Maybe Gid -> Maybe LogLevel -> Maybe Mtime -> Maybe ObjectTags -> Maybe OverwriteMode -> Maybe PosixPermissions -> Maybe PreserveDeletedFiles -> Maybe PreserveDevices -> Maybe SmbSecurityDescriptorCopyFlags -> Maybe TaskQueueing -> Maybe TransferMode -> Maybe Uid -> Maybe VerifyMode -> Options
-- | 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:atime:Options'] :: Options -> Maybe Atime
-- | 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:bytesPerSecond:Options'] :: Options -> Maybe Integer
-- | 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:gid:Options'] :: Options -> Maybe Gid
-- | 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:logLevel:Options'] :: Options -> Maybe LogLevel
-- | 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:mtime:Options'] :: Options -> Maybe Mtime
-- | 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:objectTags:Options'] :: Options -> Maybe ObjectTags
-- | 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:overwriteMode:Options'] :: Options -> Maybe OverwriteMode
-- | 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:posixPermissions:Options'] :: Options -> Maybe PosixPermissions
-- | 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:preserveDeletedFiles:Options'] :: Options -> Maybe PreserveDeletedFiles
-- | 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:preserveDevices:Options'] :: Options -> Maybe PreserveDevices
-- | 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:securityDescriptorCopyFlags:Options'] :: Options -> Maybe SmbSecurityDescriptorCopyFlags
-- | 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:taskQueueing:Options'] :: Options -> Maybe TaskQueueing
-- | 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:transferMode:Options'] :: Options -> Maybe TransferMode
-- | 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:uid:Options'] :: Options -> Maybe Uid
-- | 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.
[$sel:verifyMode:Options'] :: Options -> Maybe VerifyMode
-- | 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.
newOptions :: Options
-- | 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_atime :: Lens' Options (Maybe Atime)
-- | 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_bytesPerSecond :: Lens' Options (Maybe Integer)
-- | 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_gid :: Lens' Options (Maybe Gid)
-- | 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_logLevel :: Lens' Options (Maybe LogLevel)
-- | 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_mtime :: Lens' Options (Maybe Mtime)
-- | 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_objectTags :: Lens' Options (Maybe ObjectTags)
-- | 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_overwriteMode :: Lens' Options (Maybe OverwriteMode)
-- | 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_posixPermissions :: Lens' Options (Maybe PosixPermissions)
-- | 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_preserveDeletedFiles :: Lens' Options (Maybe PreserveDeletedFiles)
-- | 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_preserveDevices :: Lens' Options (Maybe PreserveDevices)
-- | 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_securityDescriptorCopyFlags :: Lens' Options (Maybe SmbSecurityDescriptorCopyFlags)
-- | 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_taskQueueing :: Lens' Options (Maybe TaskQueueing)
-- | 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_transferMode :: Lens' Options (Maybe TransferMode)
-- | 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_uid :: Lens' Options (Maybe Uid)
-- | 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_verifyMode :: Lens' Options (Maybe VerifyMode)
-- | 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.
data PrivateLinkConfig
PrivateLinkConfig' :: Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe Text -> PrivateLinkConfig
-- | 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:privateLinkEndpoint:PrivateLinkConfig'] :: PrivateLinkConfig -> Maybe Text
-- | 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:securityGroupArns:PrivateLinkConfig'] :: PrivateLinkConfig -> Maybe (NonEmpty Text)
-- | 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:subnetArns:PrivateLinkConfig'] :: PrivateLinkConfig -> Maybe (NonEmpty Text)
-- | 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.
[$sel:vpcEndpointId:PrivateLinkConfig'] :: PrivateLinkConfig -> Maybe Text
-- | 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.
newPrivateLinkConfig :: PrivateLinkConfig
-- | 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_privateLinkEndpoint :: Lens' PrivateLinkConfig (Maybe Text)
-- | 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_securityGroupArns :: Lens' PrivateLinkConfig (Maybe (NonEmpty Text))
-- | 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_subnetArns :: Lens' PrivateLinkConfig (Maybe (NonEmpty Text))
-- | 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_vpcEndpointId :: Lens' PrivateLinkConfig (Maybe Text)
-- | 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.
data QopConfiguration
QopConfiguration' :: Maybe HdfsDataTransferProtection -> Maybe HdfsRpcProtection -> QopConfiguration
-- | 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:dataTransferProtection:QopConfiguration'] :: QopConfiguration -> Maybe HdfsDataTransferProtection
-- | 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.
[$sel:rpcProtection:QopConfiguration'] :: QopConfiguration -> Maybe HdfsRpcProtection
-- | 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.
newQopConfiguration :: QopConfiguration
-- | 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_dataTransferProtection :: Lens' QopConfiguration (Maybe HdfsDataTransferProtection)
-- | 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_rpcProtection :: Lens' QopConfiguration (Maybe HdfsRpcProtection)
-- | 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.
data S3Config
S3Config' :: Text -> S3Config
-- | The ARN of the IAM role for accessing the S3 bucket.
[$sel:bucketAccessRoleArn:S3Config'] :: S3Config -> Text
-- | 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.
newS3Config :: Text -> S3Config
-- | The ARN of the IAM role for accessing the S3 bucket.
s3Config_bucketAccessRoleArn :: Lens' S3Config Text
-- | Specifies how DataSync can access a location using the SMB protocol.
--
-- See: newSmbMountOptions smart constructor.
data SmbMountOptions
SmbMountOptions' :: Maybe SmbVersion -> SmbMountOptions
-- | 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.
[$sel:version:SmbMountOptions'] :: SmbMountOptions -> Maybe SmbVersion
-- | 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.
newSmbMountOptions :: SmbMountOptions
-- | 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)
-- | A key-value pair representing a single tag that's been applied to an
-- Amazon Web Services resource.
--
-- See: newTagListEntry smart constructor.
data TagListEntry
TagListEntry' :: Maybe Text -> Text -> TagListEntry
-- | The value for an Amazon Web Services resource tag.
[$sel:value:TagListEntry'] :: TagListEntry -> Maybe Text
-- | The key for an Amazon Web Services resource tag.
[$sel:key:TagListEntry'] :: TagListEntry -> Text
-- | 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.
newTagListEntry :: Text -> TagListEntry
-- | The value for an Amazon Web Services resource tag.
tagListEntry_value :: Lens' TagListEntry (Maybe Text)
-- | The key for an Amazon Web Services resource tag.
tagListEntry_key :: Lens' TagListEntry Text
-- | 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.
data TaskExecutionListEntry
TaskExecutionListEntry' :: Maybe TaskExecutionStatus -> Maybe Text -> TaskExecutionListEntry
-- | The status of a task execution.
[$sel:status:TaskExecutionListEntry'] :: TaskExecutionListEntry -> Maybe TaskExecutionStatus
-- | The Amazon Resource Name (ARN) of the task that was executed.
[$sel:taskExecutionArn:TaskExecutionListEntry'] :: TaskExecutionListEntry -> Maybe Text
-- | 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.
newTaskExecutionListEntry :: TaskExecutionListEntry
-- | The status of a task execution.
taskExecutionListEntry_status :: Lens' TaskExecutionListEntry (Maybe TaskExecutionStatus)
-- | The Amazon Resource Name (ARN) of the task that was executed.
taskExecutionListEntry_taskExecutionArn :: Lens' TaskExecutionListEntry (Maybe Text)
-- | 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.
data TaskExecutionResultDetail
TaskExecutionResultDetail' :: Maybe Text -> Maybe Text -> Maybe Natural -> Maybe PhaseStatus -> Maybe Natural -> Maybe Natural -> Maybe PhaseStatus -> Maybe Natural -> Maybe PhaseStatus -> TaskExecutionResultDetail
-- | Errors that DataSync encountered during execution of the task. You can
-- use this error code to help troubleshoot issues.
[$sel:errorCode:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe Text
-- | Detailed description of an error that was encountered during the task
-- execution. You can use this information to help troubleshoot issues.
[$sel:errorDetail:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe Text
-- | The total time in milliseconds that DataSync spent in the PREPARING
-- phase.
[$sel:prepareDuration:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe Natural
-- | The status of the PREPARING phase.
[$sel:prepareStatus:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe PhaseStatus
-- | The total time in milliseconds that DataSync took to transfer the file
-- from the source to the destination location.
[$sel:totalDuration:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe Natural
-- | The total time in milliseconds that DataSync spent in the TRANSFERRING
-- phase.
[$sel:transferDuration:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe Natural
-- | The status of the TRANSFERRING phase.
[$sel:transferStatus:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe PhaseStatus
-- | The total time in milliseconds that DataSync spent in the VERIFYING
-- phase.
[$sel:verifyDuration:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe Natural
-- | The status of the VERIFYING phase.
[$sel:verifyStatus:TaskExecutionResultDetail'] :: TaskExecutionResultDetail -> Maybe PhaseStatus
-- | 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.
newTaskExecutionResultDetail :: TaskExecutionResultDetail
-- | Errors that DataSync encountered during execution of the task. You can
-- use this error code to help troubleshoot issues.
taskExecutionResultDetail_errorCode :: Lens' TaskExecutionResultDetail (Maybe Text)
-- | Detailed description of an error that was encountered during the task
-- execution. You can use this information to help troubleshoot issues.
taskExecutionResultDetail_errorDetail :: Lens' TaskExecutionResultDetail (Maybe Text)
-- | The total time in milliseconds that DataSync spent in the PREPARING
-- phase.
taskExecutionResultDetail_prepareDuration :: Lens' TaskExecutionResultDetail (Maybe Natural)
-- | The status of the PREPARING phase.
taskExecutionResultDetail_prepareStatus :: Lens' TaskExecutionResultDetail (Maybe PhaseStatus)
-- | The total time in milliseconds that DataSync took to transfer the file
-- from the source to the destination location.
taskExecutionResultDetail_totalDuration :: Lens' TaskExecutionResultDetail (Maybe Natural)
-- | The total time in milliseconds that DataSync spent in the TRANSFERRING
-- phase.
taskExecutionResultDetail_transferDuration :: Lens' TaskExecutionResultDetail (Maybe Natural)
-- | The status of the TRANSFERRING phase.
taskExecutionResultDetail_transferStatus :: Lens' TaskExecutionResultDetail (Maybe PhaseStatus)
-- | The total time in milliseconds that DataSync spent in the VERIFYING
-- phase.
taskExecutionResultDetail_verifyDuration :: Lens' TaskExecutionResultDetail (Maybe Natural)
-- | The status of the VERIFYING phase.
taskExecutionResultDetail_verifyStatus :: Lens' TaskExecutionResultDetail (Maybe PhaseStatus)
-- | 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.
data TaskFilter
TaskFilter' :: TaskFilterName -> [Text] -> Operator -> TaskFilter
-- | 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:name:TaskFilter'] :: TaskFilter -> TaskFilterName
-- | The values that you want to filter for. For example, you might want to
-- display only tasks for a specific destination location.
[$sel:values:TaskFilter'] :: TaskFilter -> [Text]
-- | The operator that is used to compare filter values (for example,
-- Equals or Contains).
[$sel:operator:TaskFilter'] :: TaskFilter -> Operator
-- | 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).
newTaskFilter :: TaskFilterName -> Operator -> TaskFilter
-- | 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_name :: Lens' TaskFilter TaskFilterName
-- | The values that you want to filter for. For example, you might want to
-- display only tasks for a specific destination location.
taskFilter_values :: Lens' TaskFilter [Text]
-- | The operator that is used to compare filter values (for example,
-- Equals or Contains).
taskFilter_operator :: Lens' TaskFilter Operator
-- | 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.
data TaskListEntry
TaskListEntry' :: Maybe Text -> Maybe TaskStatus -> Maybe Text -> TaskListEntry
-- | The name of the task.
[$sel:name:TaskListEntry'] :: TaskListEntry -> Maybe Text
-- | The status of the task.
[$sel:status:TaskListEntry'] :: TaskListEntry -> Maybe TaskStatus
-- | The Amazon Resource Name (ARN) of the task.
[$sel:taskArn:TaskListEntry'] :: TaskListEntry -> Maybe Text
-- | 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.
newTaskListEntry :: TaskListEntry
-- | The name of the task.
taskListEntry_name :: Lens' TaskListEntry (Maybe Text)
-- | The status of the task.
taskListEntry_status :: Lens' TaskListEntry (Maybe TaskStatus)
-- | The Amazon Resource Name (ARN) of the task.
taskListEntry_taskArn :: Lens' TaskListEntry (Maybe Text)
-- | Specifies the schedule you want your task to use for repeated
-- executions. For more information, see Schedule Expressions for
-- Rules.
--
-- See: newTaskSchedule smart constructor.
data TaskSchedule
TaskSchedule' :: Text -> TaskSchedule
-- | A cron expression that specifies when DataSync initiates a scheduled
-- transfer from a source to a destination location.
[$sel:scheduleExpression:TaskSchedule'] :: TaskSchedule -> Text
-- | 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.
newTaskSchedule :: Text -> TaskSchedule
-- | A cron expression that specifies when DataSync initiates a scheduled
-- transfer from a source to a destination location.
taskSchedule_scheduleExpression :: Lens' TaskSchedule Text
-- | Applies a tag to an Amazon Web Services resource. Tags are
-- key-value pairs that can help you manage, filter, and search for your
-- resources.
--
-- These include DataSync resources, such as locations, tasks, and task
-- executions.
module Amazonka.DataSync.TagResource
-- | TagResourceRequest
--
-- See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> [TagListEntry] -> TagResource
-- | Specifies the Amazon Resource Name (ARN) of the resource to apply the
-- tag to.
[$sel:resourceArn:TagResource'] :: TagResource -> Text
-- | Specifies the tags that you want to apply to the resource.
[$sel:tags:TagResource'] :: TagResource -> [TagListEntry]
-- | Create a value of TagResource 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:resourceArn:TagResource', tagResource_resourceArn -
-- Specifies the Amazon Resource Name (ARN) of the resource to apply the
-- tag to.
--
-- $sel:tags:TagResource', tagResource_tags - Specifies the
-- tags that you want to apply to the resource.
newTagResource :: Text -> TagResource
-- | Specifies the Amazon Resource Name (ARN) of the resource to apply the
-- tag to.
tagResource_resourceArn :: Lens' TagResource Text
-- | Specifies the tags that you want to apply to the resource.
tagResource_tags :: Lens' TagResource [TagListEntry]
-- | See: newTagResourceResponse smart constructor.
data TagResourceResponse
TagResourceResponse' :: Int -> TagResourceResponse
-- | The response's http status code.
[$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int
-- | Create a value of TagResourceResponse 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:httpStatus:TagResourceResponse',
-- tagResourceResponse_httpStatus - The response's http status
-- code.
newTagResourceResponse :: Int -> TagResourceResponse
-- | The response's http status code.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.TagResource.TagResource
instance GHC.Show.Show Amazonka.DataSync.TagResource.TagResource
instance GHC.Read.Read Amazonka.DataSync.TagResource.TagResource
instance GHC.Classes.Eq Amazonka.DataSync.TagResource.TagResource
instance GHC.Generics.Generic Amazonka.DataSync.TagResource.TagResourceResponse
instance GHC.Show.Show Amazonka.DataSync.TagResource.TagResourceResponse
instance GHC.Read.Read Amazonka.DataSync.TagResource.TagResourceResponse
instance GHC.Classes.Eq Amazonka.DataSync.TagResource.TagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.DataSync.TagResource.TagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.DataSync.TagResource.TagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.TagResource.TagResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.TagResource.TagResource
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.TagResource.TagResource
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.TagResource.TagResource
-- | Starts an DataSync task. For each task, you can only run one task
-- execution at a time.
--
-- There are several phases to a task execution. For more information,
-- see Task execution statuses.
module Amazonka.DataSync.StartTaskExecution
-- | StartTaskExecutionRequest
--
-- See: newStartTaskExecution smart constructor.
data StartTaskExecution
StartTaskExecution' :: Maybe [FilterRule] -> Maybe [FilterRule] -> Maybe Options -> Maybe [TagListEntry] -> Text -> StartTaskExecution
-- | 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".
[$sel:excludes:StartTaskExecution'] :: StartTaskExecution -> Maybe [FilterRule]
-- | 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".
[$sel:includes:StartTaskExecution'] :: StartTaskExecution -> Maybe [FilterRule]
[$sel:overrideOptions:StartTaskExecution'] :: StartTaskExecution -> Maybe Options
-- | 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.
[$sel:tags:StartTaskExecution'] :: StartTaskExecution -> Maybe [TagListEntry]
-- | Specifies the Amazon Resource Name (ARN) of the task that you want to
-- start.
[$sel:taskArn:StartTaskExecution'] :: StartTaskExecution -> Text
-- | Create a value of StartTaskExecution 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:excludes:StartTaskExecution',
-- startTaskExecution_excludes - 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".
--
-- $sel:includes:StartTaskExecution',
-- startTaskExecution_includes - 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".
--
-- $sel:overrideOptions:StartTaskExecution',
-- startTaskExecution_overrideOptions - Undocumented member.
--
-- $sel:tags:StartTaskExecution', startTaskExecution_tags -
-- 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, startTaskExecution_taskArn -
-- Specifies the Amazon Resource Name (ARN) of the task that you want to
-- start.
newStartTaskExecution :: Text -> StartTaskExecution
-- | 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_excludes :: Lens' StartTaskExecution (Maybe [FilterRule])
-- | 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_includes :: Lens' StartTaskExecution (Maybe [FilterRule])
-- | Undocumented member.
startTaskExecution_overrideOptions :: Lens' StartTaskExecution (Maybe Options)
-- | 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_tags :: Lens' StartTaskExecution (Maybe [TagListEntry])
-- | Specifies the Amazon Resource Name (ARN) of the task that you want to
-- start.
startTaskExecution_taskArn :: Lens' StartTaskExecution Text
-- | StartTaskExecutionResponse
--
-- See: newStartTaskExecutionResponse smart constructor.
data StartTaskExecutionResponse
StartTaskExecutionResponse' :: Maybe Text -> Int -> StartTaskExecutionResponse
-- | The ARN of the running task execution.
[$sel:taskExecutionArn:StartTaskExecutionResponse'] :: StartTaskExecutionResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:StartTaskExecutionResponse'] :: StartTaskExecutionResponse -> Int
-- | Create a value of StartTaskExecutionResponse 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:
--
-- StartTaskExecutionResponse,
-- startTaskExecutionResponse_taskExecutionArn - The ARN of the
-- running task execution.
--
-- $sel:httpStatus:StartTaskExecutionResponse',
-- startTaskExecutionResponse_httpStatus - The response's http
-- status code.
newStartTaskExecutionResponse :: Int -> StartTaskExecutionResponse
-- | The ARN of the running task execution.
startTaskExecutionResponse_taskExecutionArn :: Lens' StartTaskExecutionResponse (Maybe Text)
-- | The response's http status code.
startTaskExecutionResponse_httpStatus :: Lens' StartTaskExecutionResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.StartTaskExecution.StartTaskExecution
instance GHC.Show.Show Amazonka.DataSync.StartTaskExecution.StartTaskExecution
instance GHC.Read.Read Amazonka.DataSync.StartTaskExecution.StartTaskExecution
instance GHC.Classes.Eq Amazonka.DataSync.StartTaskExecution.StartTaskExecution
instance GHC.Generics.Generic Amazonka.DataSync.StartTaskExecution.StartTaskExecutionResponse
instance GHC.Show.Show Amazonka.DataSync.StartTaskExecution.StartTaskExecutionResponse
instance GHC.Read.Read Amazonka.DataSync.StartTaskExecution.StartTaskExecutionResponse
instance GHC.Classes.Eq Amazonka.DataSync.StartTaskExecution.StartTaskExecutionResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.StartTaskExecution.StartTaskExecution
instance Control.DeepSeq.NFData Amazonka.DataSync.StartTaskExecution.StartTaskExecutionResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.StartTaskExecution.StartTaskExecution
instance Control.DeepSeq.NFData Amazonka.DataSync.StartTaskExecution.StartTaskExecution
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.StartTaskExecution.StartTaskExecution
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.StartTaskExecution.StartTaskExecution
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.StartTaskExecution.StartTaskExecution
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.StartTaskExecution.StartTaskExecution
-- | Returns a list of the DataSync tasks you created.
--
-- This operation returns paginated results.
module Amazonka.DataSync.ListTasks
-- | ListTasksRequest
--
-- See: newListTasks smart constructor.
data ListTasks
ListTasks' :: Maybe [TaskFilter] -> Maybe Natural -> Maybe Text -> ListTasks
-- | 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.
[$sel:filters:ListTasks'] :: ListTasks -> Maybe [TaskFilter]
-- | The maximum number of tasks to return.
[$sel:maxResults:ListTasks'] :: ListTasks -> Maybe Natural
-- | An opaque string that indicates the position at which to begin the
-- next list of tasks.
[$sel:nextToken:ListTasks'] :: ListTasks -> Maybe Text
-- | Create a value of ListTasks 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:filters:ListTasks', listTasks_filters - 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.
--
-- $sel:maxResults:ListTasks', listTasks_maxResults - The
-- maximum number of tasks to return.
--
-- ListTasks, listTasks_nextToken - An opaque string that
-- indicates the position at which to begin the next list of tasks.
newListTasks :: ListTasks
-- | 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_filters :: Lens' ListTasks (Maybe [TaskFilter])
-- | The maximum number of tasks to return.
listTasks_maxResults :: Lens' ListTasks (Maybe Natural)
-- | An opaque string that indicates the position at which to begin the
-- next list of tasks.
listTasks_nextToken :: Lens' ListTasks (Maybe Text)
-- | ListTasksResponse
--
-- See: newListTasksResponse smart constructor.
data ListTasksResponse
ListTasksResponse' :: Maybe Text -> Maybe [TaskListEntry] -> Int -> ListTasksResponse
-- | An opaque string that indicates the position at which to begin
-- returning the next list of tasks.
[$sel:nextToken:ListTasksResponse'] :: ListTasksResponse -> Maybe Text
-- | A list of all the tasks that are returned.
[$sel:tasks:ListTasksResponse'] :: ListTasksResponse -> Maybe [TaskListEntry]
-- | The response's http status code.
[$sel:httpStatus:ListTasksResponse'] :: ListTasksResponse -> Int
-- | Create a value of ListTasksResponse 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:
--
-- ListTasks, listTasksResponse_nextToken - An opaque
-- string that indicates the position at which to begin returning the
-- next list of tasks.
--
-- $sel:tasks:ListTasksResponse', listTasksResponse_tasks -
-- A list of all the tasks that are returned.
--
-- $sel:httpStatus:ListTasksResponse',
-- listTasksResponse_httpStatus - The response's http status code.
newListTasksResponse :: Int -> ListTasksResponse
-- | An opaque string that indicates the position at which to begin
-- returning the next list of tasks.
listTasksResponse_nextToken :: Lens' ListTasksResponse (Maybe Text)
-- | A list of all the tasks that are returned.
listTasksResponse_tasks :: Lens' ListTasksResponse (Maybe [TaskListEntry])
-- | The response's http status code.
listTasksResponse_httpStatus :: Lens' ListTasksResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.ListTasks.ListTasks
instance GHC.Show.Show Amazonka.DataSync.ListTasks.ListTasks
instance GHC.Read.Read Amazonka.DataSync.ListTasks.ListTasks
instance GHC.Classes.Eq Amazonka.DataSync.ListTasks.ListTasks
instance GHC.Generics.Generic Amazonka.DataSync.ListTasks.ListTasksResponse
instance GHC.Show.Show Amazonka.DataSync.ListTasks.ListTasksResponse
instance GHC.Read.Read Amazonka.DataSync.ListTasks.ListTasksResponse
instance GHC.Classes.Eq Amazonka.DataSync.ListTasks.ListTasksResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.ListTasks.ListTasks
instance Control.DeepSeq.NFData Amazonka.DataSync.ListTasks.ListTasksResponse
instance Amazonka.Pager.AWSPager Amazonka.DataSync.ListTasks.ListTasks
instance Data.Hashable.Class.Hashable Amazonka.DataSync.ListTasks.ListTasks
instance Control.DeepSeq.NFData Amazonka.DataSync.ListTasks.ListTasks
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.ListTasks.ListTasks
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.ListTasks.ListTasks
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.ListTasks.ListTasks
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.ListTasks.ListTasks
-- | Returns a list of executed tasks.
--
-- This operation returns paginated results.
module Amazonka.DataSync.ListTaskExecutions
-- | ListTaskExecutions
--
-- See: newListTaskExecutions smart constructor.
data ListTaskExecutions
ListTaskExecutions' :: Maybe Natural -> Maybe Text -> Maybe Text -> ListTaskExecutions
-- | The maximum number of executed tasks to list.
[$sel:maxResults:ListTaskExecutions'] :: ListTaskExecutions -> Maybe Natural
-- | An opaque string that indicates the position at which to begin the
-- next list of the executed tasks.
[$sel:nextToken:ListTaskExecutions'] :: ListTaskExecutions -> Maybe Text
-- | The Amazon Resource Name (ARN) of the task whose tasks you want to
-- list.
[$sel:taskArn:ListTaskExecutions'] :: ListTaskExecutions -> Maybe Text
-- | Create a value of ListTaskExecutions 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:maxResults:ListTaskExecutions',
-- listTaskExecutions_maxResults - The maximum number of executed
-- tasks to list.
--
-- ListTaskExecutions, listTaskExecutions_nextToken - An
-- opaque string that indicates the position at which to begin the next
-- list of the executed tasks.
--
-- ListTaskExecutions, listTaskExecutions_taskArn - The
-- Amazon Resource Name (ARN) of the task whose tasks you want to list.
newListTaskExecutions :: ListTaskExecutions
-- | The maximum number of executed tasks to list.
listTaskExecutions_maxResults :: Lens' ListTaskExecutions (Maybe Natural)
-- | An opaque string that indicates the position at which to begin the
-- next list of the executed tasks.
listTaskExecutions_nextToken :: Lens' ListTaskExecutions (Maybe Text)
-- | The Amazon Resource Name (ARN) of the task whose tasks you want to
-- list.
listTaskExecutions_taskArn :: Lens' ListTaskExecutions (Maybe Text)
-- | ListTaskExecutionsResponse
--
-- See: newListTaskExecutionsResponse smart constructor.
data ListTaskExecutionsResponse
ListTaskExecutionsResponse' :: Maybe Text -> Maybe [TaskExecutionListEntry] -> Int -> ListTaskExecutionsResponse
-- | An opaque string that indicates the position at which to begin
-- returning the next list of executed tasks.
[$sel:nextToken:ListTaskExecutionsResponse'] :: ListTaskExecutionsResponse -> Maybe Text
-- | A list of executed tasks.
[$sel:taskExecutions:ListTaskExecutionsResponse'] :: ListTaskExecutionsResponse -> Maybe [TaskExecutionListEntry]
-- | The response's http status code.
[$sel:httpStatus:ListTaskExecutionsResponse'] :: ListTaskExecutionsResponse -> Int
-- | Create a value of ListTaskExecutionsResponse 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:
--
-- ListTaskExecutions, listTaskExecutionsResponse_nextToken
-- - An opaque string that indicates the position at which to begin
-- returning the next list of executed tasks.
--
-- $sel:taskExecutions:ListTaskExecutionsResponse',
-- listTaskExecutionsResponse_taskExecutions - A list of executed
-- tasks.
--
-- $sel:httpStatus:ListTaskExecutionsResponse',
-- listTaskExecutionsResponse_httpStatus - The response's http
-- status code.
newListTaskExecutionsResponse :: Int -> ListTaskExecutionsResponse
-- | An opaque string that indicates the position at which to begin
-- returning the next list of executed tasks.
listTaskExecutionsResponse_nextToken :: Lens' ListTaskExecutionsResponse (Maybe Text)
-- | A list of executed tasks.
listTaskExecutionsResponse_taskExecutions :: Lens' ListTaskExecutionsResponse (Maybe [TaskExecutionListEntry])
-- | The response's http status code.
listTaskExecutionsResponse_httpStatus :: Lens' ListTaskExecutionsResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.ListTaskExecutions.ListTaskExecutions
instance GHC.Show.Show Amazonka.DataSync.ListTaskExecutions.ListTaskExecutions
instance GHC.Read.Read Amazonka.DataSync.ListTaskExecutions.ListTaskExecutions
instance GHC.Classes.Eq Amazonka.DataSync.ListTaskExecutions.ListTaskExecutions
instance GHC.Generics.Generic Amazonka.DataSync.ListTaskExecutions.ListTaskExecutionsResponse
instance GHC.Show.Show Amazonka.DataSync.ListTaskExecutions.ListTaskExecutionsResponse
instance GHC.Read.Read Amazonka.DataSync.ListTaskExecutions.ListTaskExecutionsResponse
instance GHC.Classes.Eq Amazonka.DataSync.ListTaskExecutions.ListTaskExecutionsResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.ListTaskExecutions.ListTaskExecutions
instance Control.DeepSeq.NFData Amazonka.DataSync.ListTaskExecutions.ListTaskExecutionsResponse
instance Amazonka.Pager.AWSPager Amazonka.DataSync.ListTaskExecutions.ListTaskExecutions
instance Data.Hashable.Class.Hashable Amazonka.DataSync.ListTaskExecutions.ListTaskExecutions
instance Control.DeepSeq.NFData Amazonka.DataSync.ListTaskExecutions.ListTaskExecutions
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.ListTaskExecutions.ListTaskExecutions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.ListTaskExecutions.ListTaskExecutions
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.ListTaskExecutions.ListTaskExecutions
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.ListTaskExecutions.ListTaskExecutions
-- | Returns all the tags associated with an Amazon Web Services resource.
--
-- This operation returns paginated results.
module Amazonka.DataSync.ListTagsForResource
-- | ListTagsForResourceRequest
--
-- See: newListTagsForResource smart constructor.
data ListTagsForResource
ListTagsForResource' :: Maybe Natural -> Maybe Text -> Text -> ListTagsForResource
-- | Specifies how many results that you want in the response.
[$sel:maxResults:ListTagsForResource'] :: ListTagsForResource -> Maybe Natural
-- | Specifies an opaque string that indicates the position to begin the
-- next list of results in the response.
[$sel:nextToken:ListTagsForResource'] :: ListTagsForResource -> Maybe Text
-- | Specifies the Amazon Resource Name (ARN) of the resource that you want
-- tag information on.
[$sel:resourceArn:ListTagsForResource'] :: ListTagsForResource -> Text
-- | Create a value of ListTagsForResource 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:maxResults:ListTagsForResource',
-- listTagsForResource_maxResults - Specifies how many results
-- that you want in the response.
--
-- ListTagsForResource, listTagsForResource_nextToken -
-- Specifies an opaque string that indicates the position to begin the
-- next list of results in the response.
--
-- $sel:resourceArn:ListTagsForResource',
-- listTagsForResource_resourceArn - Specifies the Amazon Resource
-- Name (ARN) of the resource that you want tag information on.
newListTagsForResource :: Text -> ListTagsForResource
-- | Specifies how many results that you want in the response.
listTagsForResource_maxResults :: Lens' ListTagsForResource (Maybe Natural)
-- | Specifies an opaque string that indicates the position to begin the
-- next list of results in the response.
listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text)
-- | Specifies the Amazon Resource Name (ARN) of the resource that you want
-- tag information on.
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
-- | ListTagsForResourceResponse
--
-- See: newListTagsForResourceResponse smart constructor.
data ListTagsForResourceResponse
ListTagsForResourceResponse' :: Maybe Text -> Maybe [TagListEntry] -> Int -> ListTagsForResourceResponse
-- | The opaque string that indicates the position to begin the next list
-- of results in the response.
[$sel:nextToken:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe Text
-- | An array of tags applied to the specified resource.
[$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe [TagListEntry]
-- | The response's http status code.
[$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int
-- | Create a value of ListTagsForResourceResponse 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:
--
-- ListTagsForResource,
-- listTagsForResourceResponse_nextToken - The opaque string that
-- indicates the position to begin the next list of results in the
-- response.
--
-- $sel:tags:ListTagsForResourceResponse',
-- listTagsForResourceResponse_tags - An array of tags applied to
-- the specified resource.
--
-- $sel:httpStatus:ListTagsForResourceResponse',
-- listTagsForResourceResponse_httpStatus - The response's http
-- status code.
newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
-- | The opaque string that indicates the position to begin the next list
-- of results in the response.
listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text)
-- | An array of tags applied to the specified resource.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [TagListEntry])
-- | The response's http status code.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.ListTagsForResource.ListTagsForResource
instance GHC.Show.Show Amazonka.DataSync.ListTagsForResource.ListTagsForResource
instance GHC.Read.Read Amazonka.DataSync.ListTagsForResource.ListTagsForResource
instance GHC.Classes.Eq Amazonka.DataSync.ListTagsForResource.ListTagsForResource
instance GHC.Generics.Generic Amazonka.DataSync.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Show.Show Amazonka.DataSync.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Read.Read Amazonka.DataSync.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Classes.Eq Amazonka.DataSync.ListTagsForResource.ListTagsForResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Amazonka.DataSync.ListTagsForResource.ListTagsForResourceResponse
instance Amazonka.Pager.AWSPager Amazonka.DataSync.ListTagsForResource.ListTagsForResource
instance Data.Hashable.Class.Hashable Amazonka.DataSync.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Amazonka.DataSync.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.ListTagsForResource.ListTagsForResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.ListTagsForResource.ListTagsForResource
-- | Returns a list of source and destination locations.
--
-- If you have more locations than are returned in a response (that is,
-- the response returns only a truncated list of your agents), the
-- response contains a token that you can specify in your next request to
-- fetch the next page of locations.
--
-- This operation returns paginated results.
module Amazonka.DataSync.ListLocations
-- | ListLocationsRequest
--
-- See: newListLocations smart constructor.
data ListLocations
ListLocations' :: Maybe [LocationFilter] -> Maybe Natural -> Maybe Text -> ListLocations
-- | 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.
[$sel:filters:ListLocations'] :: ListLocations -> Maybe [LocationFilter]
-- | The maximum number of locations to return.
[$sel:maxResults:ListLocations'] :: ListLocations -> Maybe Natural
-- | An opaque string that indicates the position at which to begin the
-- next list of locations.
[$sel:nextToken:ListLocations'] :: ListLocations -> Maybe Text
-- | Create a value of ListLocations 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:filters:ListLocations', listLocations_filters - 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.
--
-- $sel:maxResults:ListLocations', listLocations_maxResults
-- - The maximum number of locations to return.
--
-- ListLocations, listLocations_nextToken - An opaque
-- string that indicates the position at which to begin the next list of
-- locations.
newListLocations :: ListLocations
-- | 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_filters :: Lens' ListLocations (Maybe [LocationFilter])
-- | The maximum number of locations to return.
listLocations_maxResults :: Lens' ListLocations (Maybe Natural)
-- | An opaque string that indicates the position at which to begin the
-- next list of locations.
listLocations_nextToken :: Lens' ListLocations (Maybe Text)
-- | ListLocationsResponse
--
-- See: newListLocationsResponse smart constructor.
data ListLocationsResponse
ListLocationsResponse' :: Maybe [LocationListEntry] -> Maybe Text -> Int -> ListLocationsResponse
-- | An array that contains a list of locations.
[$sel:locations:ListLocationsResponse'] :: ListLocationsResponse -> Maybe [LocationListEntry]
-- | An opaque string that indicates the position at which to begin
-- returning the next list of locations.
[$sel:nextToken:ListLocationsResponse'] :: ListLocationsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListLocationsResponse'] :: ListLocationsResponse -> Int
-- | Create a value of ListLocationsResponse 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:locations:ListLocationsResponse',
-- listLocationsResponse_locations - An array that contains a list
-- of locations.
--
-- ListLocations, listLocationsResponse_nextToken - An
-- opaque string that indicates the position at which to begin returning
-- the next list of locations.
--
-- $sel:httpStatus:ListLocationsResponse',
-- listLocationsResponse_httpStatus - The response's http status
-- code.
newListLocationsResponse :: Int -> ListLocationsResponse
-- | An array that contains a list of locations.
listLocationsResponse_locations :: Lens' ListLocationsResponse (Maybe [LocationListEntry])
-- | An opaque string that indicates the position at which to begin
-- returning the next list of locations.
listLocationsResponse_nextToken :: Lens' ListLocationsResponse (Maybe Text)
-- | The response's http status code.
listLocationsResponse_httpStatus :: Lens' ListLocationsResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.ListLocations.ListLocations
instance GHC.Show.Show Amazonka.DataSync.ListLocations.ListLocations
instance GHC.Read.Read Amazonka.DataSync.ListLocations.ListLocations
instance GHC.Classes.Eq Amazonka.DataSync.ListLocations.ListLocations
instance GHC.Generics.Generic Amazonka.DataSync.ListLocations.ListLocationsResponse
instance GHC.Show.Show Amazonka.DataSync.ListLocations.ListLocationsResponse
instance GHC.Read.Read Amazonka.DataSync.ListLocations.ListLocationsResponse
instance GHC.Classes.Eq Amazonka.DataSync.ListLocations.ListLocationsResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.ListLocations.ListLocations
instance Control.DeepSeq.NFData Amazonka.DataSync.ListLocations.ListLocationsResponse
instance Amazonka.Pager.AWSPager Amazonka.DataSync.ListLocations.ListLocations
instance Data.Hashable.Class.Hashable Amazonka.DataSync.ListLocations.ListLocations
instance Control.DeepSeq.NFData Amazonka.DataSync.ListLocations.ListLocations
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.ListLocations.ListLocations
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.ListLocations.ListLocations
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.ListLocations.ListLocations
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.ListLocations.ListLocations
-- | Returns a list of agents owned by an Amazon Web Services account in
-- the Amazon Web Services Region specified in the request. The returned
-- list is ordered by agent Amazon Resource Name (ARN).
--
-- By default, this operation returns a maximum of 100 agents. This
-- operation supports pagination that enables you to optionally reduce
-- the number of agents returned in a response.
--
-- If you have more agents than are returned in a response (that is, the
-- response returns only a truncated list of your agents), the response
-- contains a marker that you can specify in your next request to fetch
-- the next page of agents.
--
-- This operation returns paginated results.
module Amazonka.DataSync.ListAgents
-- | ListAgentsRequest
--
-- See: newListAgents smart constructor.
data ListAgents
ListAgents' :: Maybe Natural -> Maybe Text -> ListAgents
-- | The maximum number of agents to list.
[$sel:maxResults:ListAgents'] :: ListAgents -> Maybe Natural
-- | An opaque string that indicates the position at which to begin the
-- next list of agents.
[$sel:nextToken:ListAgents'] :: ListAgents -> Maybe Text
-- | Create a value of ListAgents 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:maxResults:ListAgents', listAgents_maxResults - The
-- maximum number of agents to list.
--
-- ListAgents, listAgents_nextToken - An opaque string that
-- indicates the position at which to begin the next list of agents.
newListAgents :: ListAgents
-- | The maximum number of agents to list.
listAgents_maxResults :: Lens' ListAgents (Maybe Natural)
-- | An opaque string that indicates the position at which to begin the
-- next list of agents.
listAgents_nextToken :: Lens' ListAgents (Maybe Text)
-- | ListAgentsResponse
--
-- See: newListAgentsResponse smart constructor.
data ListAgentsResponse
ListAgentsResponse' :: Maybe [AgentListEntry] -> Maybe Text -> Int -> ListAgentsResponse
-- | A list of agents in your account.
[$sel:agents:ListAgentsResponse'] :: ListAgentsResponse -> Maybe [AgentListEntry]
-- | An opaque string that indicates the position at which to begin
-- returning the next list of agents.
[$sel:nextToken:ListAgentsResponse'] :: ListAgentsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListAgentsResponse'] :: ListAgentsResponse -> Int
-- | Create a value of ListAgentsResponse 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:agents:ListAgentsResponse',
-- listAgentsResponse_agents - A list of agents in your account.
--
-- ListAgents, listAgentsResponse_nextToken - An opaque
-- string that indicates the position at which to begin returning the
-- next list of agents.
--
-- $sel:httpStatus:ListAgentsResponse',
-- listAgentsResponse_httpStatus - The response's http status
-- code.
newListAgentsResponse :: Int -> ListAgentsResponse
-- | A list of agents in your account.
listAgentsResponse_agents :: Lens' ListAgentsResponse (Maybe [AgentListEntry])
-- | An opaque string that indicates the position at which to begin
-- returning the next list of agents.
listAgentsResponse_nextToken :: Lens' ListAgentsResponse (Maybe Text)
-- | The response's http status code.
listAgentsResponse_httpStatus :: Lens' ListAgentsResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.ListAgents.ListAgents
instance GHC.Show.Show Amazonka.DataSync.ListAgents.ListAgents
instance GHC.Read.Read Amazonka.DataSync.ListAgents.ListAgents
instance GHC.Classes.Eq Amazonka.DataSync.ListAgents.ListAgents
instance GHC.Generics.Generic Amazonka.DataSync.ListAgents.ListAgentsResponse
instance GHC.Show.Show Amazonka.DataSync.ListAgents.ListAgentsResponse
instance GHC.Read.Read Amazonka.DataSync.ListAgents.ListAgentsResponse
instance GHC.Classes.Eq Amazonka.DataSync.ListAgents.ListAgentsResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.ListAgents.ListAgents
instance Control.DeepSeq.NFData Amazonka.DataSync.ListAgents.ListAgentsResponse
instance Amazonka.Pager.AWSPager Amazonka.DataSync.ListAgents.ListAgents
instance Data.Hashable.Class.Hashable Amazonka.DataSync.ListAgents.ListAgents
instance Control.DeepSeq.NFData Amazonka.DataSync.ListAgents.ListAgents
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.ListAgents.ListAgents
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.ListAgents.ListAgents
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.ListAgents.ListAgents
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.ListAgents.ListAgents
-- | Returns detailed metadata about a task that is being executed.
module Amazonka.DataSync.DescribeTaskExecution
-- | DescribeTaskExecutionRequest
--
-- See: newDescribeTaskExecution smart constructor.
data DescribeTaskExecution
DescribeTaskExecution' :: Text -> DescribeTaskExecution
-- | The Amazon Resource Name (ARN) of the task that is being executed.
[$sel:taskExecutionArn:DescribeTaskExecution'] :: DescribeTaskExecution -> Text
-- | Create a value of DescribeTaskExecution 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:
--
-- DescribeTaskExecution,
-- describeTaskExecution_taskExecutionArn - The Amazon Resource
-- Name (ARN) of the task that is being executed.
newDescribeTaskExecution :: Text -> DescribeTaskExecution
-- | The Amazon Resource Name (ARN) of the task that is being executed.
describeTaskExecution_taskExecutionArn :: Lens' DescribeTaskExecution Text
-- | DescribeTaskExecutionResponse
--
-- See: newDescribeTaskExecutionResponse smart constructor.
data DescribeTaskExecutionResponse
DescribeTaskExecutionResponse' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe [FilterRule] -> Maybe Integer -> Maybe [FilterRule] -> Maybe Options -> Maybe TaskExecutionResultDetail -> Maybe POSIX -> Maybe TaskExecutionStatus -> Maybe Text -> Int -> DescribeTaskExecutionResponse
-- | 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.
[$sel:bytesCompressed:DescribeTaskExecutionResponse'] :: DescribeTaskExecutionResponse -> Maybe Integer
-- | The total number of bytes that are involved in the transfer. For the
-- number of bytes sent over the network, see BytesCompressed.
[$sel:bytesTransferred:DescribeTaskExecutionResponse'] :: DescribeTaskExecutionResponse -> Maybe Integer
-- | The number of logical bytes written to the destination Amazon Web
-- Services storage resource.
[$sel:bytesWritten:DescribeTaskExecutionResponse'] :: DescribeTaskExecutionResponse -> Maybe Integer
-- | The estimated physical number of bytes that is to be transferred over
-- the network.
[$sel:estimatedBytesToTransfer:DescribeTaskExecutionResponse'] :: DescribeTaskExecutionResponse -> Maybe Integer
-- | 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.
[$sel:estimatedFilesToTransfer:DescribeTaskExecutionResponse'] :: DescribeTaskExecutionResponse -> Maybe Integer
-- | A list of filter rules that exclude specific data during your
-- transfer. For more information and examples, see Filtering data
-- transferred by DataSync.
[$sel:excludes:DescribeTaskExecutionResponse'] :: DescribeTaskExecutionResponse -> Maybe [FilterRule]
-- | 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.
[$sel:filesTransferred:DescribeTaskExecutionResponse'] :: DescribeTaskExecutionResponse -> Maybe Integer
-- | A list of filter rules that include specific data during your
-- transfer. For more information and examples, see Filtering data
-- transferred by DataSync.
[$sel:includes:DescribeTaskExecutionResponse'] :: DescribeTaskExecutionResponse -> Maybe [FilterRule]
[$sel:options:DescribeTaskExecutionResponse'] :: DescribeTaskExecutionResponse -> Maybe Options
-- | The result of the task execution.
[$sel:result:DescribeTaskExecutionResponse'] :: DescribeTaskExecutionResponse -> Maybe TaskExecutionResultDetail
-- | The time that the task execution was started.
[$sel:startTime:DescribeTaskExecutionResponse'] :: DescribeTaskExecutionResponse -> Maybe POSIX
-- | The status of the task execution.
--
-- For detailed information about task execution statuses, see
-- Understanding Task Statuses in the DataSync User Guide.
[$sel:status:DescribeTaskExecutionResponse'] :: DescribeTaskExecutionResponse -> Maybe TaskExecutionStatus
-- | 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.
[$sel:taskExecutionArn:DescribeTaskExecutionResponse'] :: DescribeTaskExecutionResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeTaskExecutionResponse'] :: DescribeTaskExecutionResponse -> Int
-- | Create a value of DescribeTaskExecutionResponse 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:bytesCompressed:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_bytesCompressed - 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.
--
-- $sel:bytesTransferred:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_bytesTransferred - The total
-- number of bytes that are involved in the transfer. For the number of
-- bytes sent over the network, see BytesCompressed.
--
-- $sel:bytesWritten:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_bytesWritten - The number of
-- logical bytes written to the destination Amazon Web Services storage
-- resource.
--
-- $sel:estimatedBytesToTransfer:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_estimatedBytesToTransfer - The
-- estimated physical number of bytes that is to be transferred over the
-- network.
--
-- $sel:estimatedFilesToTransfer:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_estimatedFilesToTransfer - 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.
--
-- $sel:excludes:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_excludes - A list of filter rules
-- that exclude specific data during your transfer. For more information
-- and examples, see Filtering data transferred by DataSync.
--
-- $sel:filesTransferred:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_filesTransferred - 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.
--
-- $sel:includes:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_includes - A list of filter rules
-- that include specific data during your transfer. For more information
-- and examples, see Filtering data transferred by DataSync.
--
-- $sel:options:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_options - Undocumented member.
--
-- $sel:result:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_result - The result of the task
-- execution.
--
-- $sel:startTime:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_startTime - The time that the
-- task execution was started.
--
-- DescribeTaskExecutionResponse,
-- describeTaskExecutionResponse_status - The status of the task
-- execution.
--
-- For detailed information about task execution statuses, see
-- Understanding Task Statuses in the DataSync User Guide.
--
-- DescribeTaskExecution,
-- describeTaskExecutionResponse_taskExecutionArn - 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.
--
-- $sel:httpStatus:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_httpStatus - The response's http
-- status code.
newDescribeTaskExecutionResponse :: Int -> DescribeTaskExecutionResponse
-- | 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_bytesCompressed :: Lens' DescribeTaskExecutionResponse (Maybe Integer)
-- | The total number of bytes that are involved in the transfer. For the
-- number of bytes sent over the network, see BytesCompressed.
describeTaskExecutionResponse_bytesTransferred :: Lens' DescribeTaskExecutionResponse (Maybe Integer)
-- | The number of logical bytes written to the destination Amazon Web
-- Services storage resource.
describeTaskExecutionResponse_bytesWritten :: Lens' DescribeTaskExecutionResponse (Maybe Integer)
-- | The estimated physical number of bytes that is to be transferred over
-- the network.
describeTaskExecutionResponse_estimatedBytesToTransfer :: Lens' DescribeTaskExecutionResponse (Maybe Integer)
-- | 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_estimatedFilesToTransfer :: Lens' DescribeTaskExecutionResponse (Maybe Integer)
-- | A list of filter rules that exclude specific data during your
-- transfer. For more information and examples, see Filtering data
-- transferred by DataSync.
describeTaskExecutionResponse_excludes :: Lens' DescribeTaskExecutionResponse (Maybe [FilterRule])
-- | 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_filesTransferred :: Lens' DescribeTaskExecutionResponse (Maybe Integer)
-- | A list of filter rules that include specific data during your
-- transfer. For more information and examples, see Filtering data
-- transferred by DataSync.
describeTaskExecutionResponse_includes :: Lens' DescribeTaskExecutionResponse (Maybe [FilterRule])
-- | Undocumented member.
describeTaskExecutionResponse_options :: Lens' DescribeTaskExecutionResponse (Maybe Options)
-- | The result of the task execution.
describeTaskExecutionResponse_result :: Lens' DescribeTaskExecutionResponse (Maybe TaskExecutionResultDetail)
-- | The time that the task execution was started.
describeTaskExecutionResponse_startTime :: Lens' DescribeTaskExecutionResponse (Maybe UTCTime)
-- | The status of the task execution.
--
-- For detailed information about task execution statuses, see
-- Understanding Task Statuses in the DataSync User Guide.
describeTaskExecutionResponse_status :: Lens' DescribeTaskExecutionResponse (Maybe TaskExecutionStatus)
-- | 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.
describeTaskExecutionResponse_taskExecutionArn :: Lens' DescribeTaskExecutionResponse (Maybe Text)
-- | The response's http status code.
describeTaskExecutionResponse_httpStatus :: Lens' DescribeTaskExecutionResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.DescribeTaskExecution.DescribeTaskExecution
instance GHC.Show.Show Amazonka.DataSync.DescribeTaskExecution.DescribeTaskExecution
instance GHC.Read.Read Amazonka.DataSync.DescribeTaskExecution.DescribeTaskExecution
instance GHC.Classes.Eq Amazonka.DataSync.DescribeTaskExecution.DescribeTaskExecution
instance GHC.Generics.Generic Amazonka.DataSync.DescribeTaskExecution.DescribeTaskExecutionResponse
instance GHC.Show.Show Amazonka.DataSync.DescribeTaskExecution.DescribeTaskExecutionResponse
instance GHC.Read.Read Amazonka.DataSync.DescribeTaskExecution.DescribeTaskExecutionResponse
instance GHC.Classes.Eq Amazonka.DataSync.DescribeTaskExecution.DescribeTaskExecutionResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.DescribeTaskExecution.DescribeTaskExecution
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeTaskExecution.DescribeTaskExecutionResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.DescribeTaskExecution.DescribeTaskExecution
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeTaskExecution.DescribeTaskExecution
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.DescribeTaskExecution.DescribeTaskExecution
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.DescribeTaskExecution.DescribeTaskExecution
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.DescribeTaskExecution.DescribeTaskExecution
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.DescribeTaskExecution.DescribeTaskExecution
-- | Returns metadata about a task.
module Amazonka.DataSync.DescribeTask
-- | DescribeTaskRequest
--
-- See: newDescribeTask smart constructor.
data DescribeTask
DescribeTask' :: Text -> DescribeTask
-- | The Amazon Resource Name (ARN) of the task to describe.
[$sel:taskArn:DescribeTask'] :: DescribeTask -> Text
-- | Create a value of DescribeTask 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:
--
-- DescribeTask, describeTask_taskArn - The Amazon Resource
-- Name (ARN) of the task to describe.
newDescribeTask :: Text -> DescribeTask
-- | The Amazon Resource Name (ARN) of the task to describe.
describeTask_taskArn :: Lens' DescribeTask Text
-- | DescribeTaskResponse
--
-- See: newDescribeTaskResponse smart constructor.
data DescribeTaskResponse
DescribeTaskResponse' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe [FilterRule] -> Maybe [FilterRule] -> Maybe Text -> Maybe Options -> Maybe TaskSchedule -> Maybe Text -> Maybe [Text] -> Maybe TaskStatus -> Maybe Text -> Int -> DescribeTaskResponse
-- | 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.
[$sel:cloudWatchLogGroupArn:DescribeTaskResponse'] :: DescribeTaskResponse -> Maybe Text
-- | The time that the task was created.
[$sel:creationTime:DescribeTaskResponse'] :: DescribeTaskResponse -> Maybe POSIX
-- | The Amazon Resource Name (ARN) of the task execution that is
-- transferring files.
[$sel:currentTaskExecutionArn:DescribeTaskResponse'] :: DescribeTaskResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the Amazon Web Services storage
-- resource's location.
[$sel:destinationLocationArn:DescribeTaskResponse'] :: DescribeTaskResponse -> Maybe Text
-- | The Amazon Resource Names (ARNs) of the network interfaces created for
-- your destination location. For more information, see Network
-- interface requirements.
[$sel:destinationNetworkInterfaceArns:DescribeTaskResponse'] :: DescribeTaskResponse -> Maybe [Text]
-- | Errors that DataSync encountered during execution of the task. You can
-- use this error code to help troubleshoot issues.
[$sel:errorCode:DescribeTaskResponse'] :: DescribeTaskResponse -> Maybe Text
-- | Detailed description of an error that was encountered during the task
-- execution. You can use this information to help troubleshoot issues.
[$sel:errorDetail:DescribeTaskResponse'] :: DescribeTaskResponse -> Maybe Text
-- | A list of filter rules that exclude specific data during your
-- transfer. For more information and examples, see Filtering data
-- transferred by DataSync.
[$sel:excludes:DescribeTaskResponse'] :: DescribeTaskResponse -> Maybe [FilterRule]
-- | A list of filter rules that include specific data during your
-- transfer. For more information and examples, see Filtering data
-- transferred by DataSync.
[$sel:includes:DescribeTaskResponse'] :: DescribeTaskResponse -> Maybe [FilterRule]
-- | The name of the task that was described.
[$sel:name:DescribeTaskResponse'] :: DescribeTaskResponse -> Maybe Text
-- | 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.
[$sel:options:DescribeTaskResponse'] :: DescribeTaskResponse -> Maybe Options
-- | The schedule used to periodically transfer files from a source to a
-- destination location.
[$sel:schedule:DescribeTaskResponse'] :: DescribeTaskResponse -> Maybe TaskSchedule
-- | The Amazon Resource Name (ARN) of the source file system's location.
[$sel:sourceLocationArn:DescribeTaskResponse'] :: DescribeTaskResponse -> Maybe Text
-- | The Amazon Resource Names (ARNs) of the network interfaces created for
-- your source location. For more information, see Network interface
-- requirements.
[$sel:sourceNetworkInterfaceArns:DescribeTaskResponse'] :: DescribeTaskResponse -> Maybe [Text]
-- | The status of the task that was described.
--
-- For detailed information about task execution statuses, see
-- Understanding Task Statuses in the DataSync User Guide.
[$sel:status:DescribeTaskResponse'] :: DescribeTaskResponse -> Maybe TaskStatus
-- | The Amazon Resource Name (ARN) of the task that was described.
[$sel:taskArn:DescribeTaskResponse'] :: DescribeTaskResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeTaskResponse'] :: DescribeTaskResponse -> Int
-- | Create a value of DescribeTaskResponse 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:cloudWatchLogGroupArn:DescribeTaskResponse',
-- describeTaskResponse_cloudWatchLogGroupArn - 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.
--
-- $sel:creationTime:DescribeTaskResponse',
-- describeTaskResponse_creationTime - The time that the task was
-- created.
--
-- $sel:currentTaskExecutionArn:DescribeTaskResponse',
-- describeTaskResponse_currentTaskExecutionArn - The Amazon
-- Resource Name (ARN) of the task execution that is transferring files.
--
-- $sel:destinationLocationArn:DescribeTaskResponse',
-- describeTaskResponse_destinationLocationArn - The Amazon
-- Resource Name (ARN) of the Amazon Web Services storage resource's
-- location.
--
-- $sel:destinationNetworkInterfaceArns:DescribeTaskResponse',
-- describeTaskResponse_destinationNetworkInterfaceArns - The
-- Amazon Resource Names (ARNs) of the network interfaces created for
-- your destination location. For more information, see Network
-- interface requirements.
--
-- DescribeTaskResponse, describeTaskResponse_errorCode -
-- Errors that DataSync encountered during execution of the task. You can
-- use this error code to help troubleshoot issues.
--
-- DescribeTaskResponse, describeTaskResponse_errorDetail -
-- Detailed description of an error that was encountered during the task
-- execution. You can use this information to help troubleshoot issues.
--
-- $sel:excludes:DescribeTaskResponse',
-- describeTaskResponse_excludes - A list of filter rules that
-- exclude specific data during your transfer. For more information and
-- examples, see Filtering data transferred by DataSync.
--
-- $sel:includes:DescribeTaskResponse',
-- describeTaskResponse_includes - A list of filter rules that
-- include specific data during your transfer. For more information and
-- examples, see Filtering data transferred by DataSync.
--
-- DescribeTaskResponse, describeTaskResponse_name - The
-- name of the task that was described.
--
-- $sel:options:DescribeTaskResponse',
-- describeTaskResponse_options - 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.
--
-- $sel:schedule:DescribeTaskResponse',
-- describeTaskResponse_schedule - The schedule used to
-- periodically transfer files from a source to a destination location.
--
-- $sel:sourceLocationArn:DescribeTaskResponse',
-- describeTaskResponse_sourceLocationArn - The Amazon Resource
-- Name (ARN) of the source file system's location.
--
-- $sel:sourceNetworkInterfaceArns:DescribeTaskResponse',
-- describeTaskResponse_sourceNetworkInterfaceArns - The Amazon
-- Resource Names (ARNs) of the network interfaces created for your
-- source location. For more information, see Network interface
-- requirements.
--
-- DescribeTaskResponse, describeTaskResponse_status - The
-- status of the task that was described.
--
-- For detailed information about task execution statuses, see
-- Understanding Task Statuses in the DataSync User Guide.
--
-- DescribeTask, describeTaskResponse_taskArn - The Amazon
-- Resource Name (ARN) of the task that was described.
--
-- $sel:httpStatus:DescribeTaskResponse',
-- describeTaskResponse_httpStatus - The response's http status
-- code.
newDescribeTaskResponse :: Int -> DescribeTaskResponse
-- | 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_cloudWatchLogGroupArn :: Lens' DescribeTaskResponse (Maybe Text)
-- | The time that the task was created.
describeTaskResponse_creationTime :: Lens' DescribeTaskResponse (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) of the task execution that is
-- transferring files.
describeTaskResponse_currentTaskExecutionArn :: Lens' DescribeTaskResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the Amazon Web Services storage
-- resource's location.
describeTaskResponse_destinationLocationArn :: Lens' DescribeTaskResponse (Maybe Text)
-- | The Amazon Resource Names (ARNs) of the network interfaces created for
-- your destination location. For more information, see Network
-- interface requirements.
describeTaskResponse_destinationNetworkInterfaceArns :: Lens' DescribeTaskResponse (Maybe [Text])
-- | Errors that DataSync encountered during execution of the task. You can
-- use this error code to help troubleshoot issues.
describeTaskResponse_errorCode :: Lens' DescribeTaskResponse (Maybe Text)
-- | Detailed description of an error that was encountered during the task
-- execution. You can use this information to help troubleshoot issues.
describeTaskResponse_errorDetail :: Lens' DescribeTaskResponse (Maybe Text)
-- | A list of filter rules that exclude specific data during your
-- transfer. For more information and examples, see Filtering data
-- transferred by DataSync.
describeTaskResponse_excludes :: Lens' DescribeTaskResponse (Maybe [FilterRule])
-- | A list of filter rules that include specific data during your
-- transfer. For more information and examples, see Filtering data
-- transferred by DataSync.
describeTaskResponse_includes :: Lens' DescribeTaskResponse (Maybe [FilterRule])
-- | The name of the task that was described.
describeTaskResponse_name :: Lens' DescribeTaskResponse (Maybe Text)
-- | 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_options :: Lens' DescribeTaskResponse (Maybe Options)
-- | The schedule used to periodically transfer files from a source to a
-- destination location.
describeTaskResponse_schedule :: Lens' DescribeTaskResponse (Maybe TaskSchedule)
-- | The Amazon Resource Name (ARN) of the source file system's location.
describeTaskResponse_sourceLocationArn :: Lens' DescribeTaskResponse (Maybe Text)
-- | The Amazon Resource Names (ARNs) of the network interfaces created for
-- your source location. For more information, see Network interface
-- requirements.
describeTaskResponse_sourceNetworkInterfaceArns :: Lens' DescribeTaskResponse (Maybe [Text])
-- | 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_status :: Lens' DescribeTaskResponse (Maybe TaskStatus)
-- | The Amazon Resource Name (ARN) of the task that was described.
describeTaskResponse_taskArn :: Lens' DescribeTaskResponse (Maybe Text)
-- | The response's http status code.
describeTaskResponse_httpStatus :: Lens' DescribeTaskResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.DescribeTask.DescribeTask
instance GHC.Show.Show Amazonka.DataSync.DescribeTask.DescribeTask
instance GHC.Read.Read Amazonka.DataSync.DescribeTask.DescribeTask
instance GHC.Classes.Eq Amazonka.DataSync.DescribeTask.DescribeTask
instance GHC.Generics.Generic Amazonka.DataSync.DescribeTask.DescribeTaskResponse
instance GHC.Show.Show Amazonka.DataSync.DescribeTask.DescribeTaskResponse
instance GHC.Read.Read Amazonka.DataSync.DescribeTask.DescribeTaskResponse
instance GHC.Classes.Eq Amazonka.DataSync.DescribeTask.DescribeTaskResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.DescribeTask.DescribeTask
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeTask.DescribeTaskResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.DescribeTask.DescribeTask
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeTask.DescribeTask
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.DescribeTask.DescribeTask
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.DescribeTask.DescribeTask
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.DescribeTask.DescribeTask
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.DescribeTask.DescribeTask
-- | Returns metadata, such as the path and user information about an SMB
-- location.
module Amazonka.DataSync.DescribeLocationSmb
-- | DescribeLocationSmbRequest
--
-- See: newDescribeLocationSmb smart constructor.
data DescribeLocationSmb
DescribeLocationSmb' :: Text -> DescribeLocationSmb
-- | The Amazon Resource Name (ARN) of the SMB location to describe.
[$sel:locationArn:DescribeLocationSmb'] :: DescribeLocationSmb -> Text
-- | Create a value of DescribeLocationSmb 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:
--
-- DescribeLocationSmb, describeLocationSmb_locationArn -
-- The Amazon Resource Name (ARN) of the SMB location to describe.
newDescribeLocationSmb :: Text -> DescribeLocationSmb
-- | The Amazon Resource Name (ARN) of the SMB location to describe.
describeLocationSmb_locationArn :: Lens' DescribeLocationSmb Text
-- | DescribeLocationSmbResponse
--
-- See: newDescribeLocationSmbResponse smart constructor.
data DescribeLocationSmbResponse
DescribeLocationSmbResponse' :: Maybe (NonEmpty Text) -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SmbMountOptions -> Maybe Text -> Int -> DescribeLocationSmbResponse
-- | The Amazon Resource Name (ARN) of the source SMB file system location
-- that is created.
[$sel:agentArns:DescribeLocationSmbResponse'] :: DescribeLocationSmbResponse -> Maybe (NonEmpty Text)
-- | The time that the SMB location was created.
[$sel:creationTime:DescribeLocationSmbResponse'] :: DescribeLocationSmbResponse -> Maybe POSIX
-- | The name of the Windows domain that the SMB server belongs to.
[$sel:domain:DescribeLocationSmbResponse'] :: DescribeLocationSmbResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the SMB location that was described.
[$sel:locationArn:DescribeLocationSmbResponse'] :: DescribeLocationSmbResponse -> Maybe Text
-- | The URL of the source SMB location that was described.
[$sel:locationUri:DescribeLocationSmbResponse'] :: DescribeLocationSmbResponse -> Maybe Text
-- | The mount options that are available for DataSync to use to access an
-- SMB location.
[$sel:mountOptions:DescribeLocationSmbResponse'] :: DescribeLocationSmbResponse -> Maybe SmbMountOptions
-- | The user who can mount the share, has the permissions to access files
-- and folders in the SMB share.
[$sel:user:DescribeLocationSmbResponse'] :: DescribeLocationSmbResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeLocationSmbResponse'] :: DescribeLocationSmbResponse -> Int
-- | Create a value of DescribeLocationSmbResponse 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:
--
-- DescribeLocationSmbResponse,
-- describeLocationSmbResponse_agentArns - The Amazon Resource
-- Name (ARN) of the source SMB file system location that is created.
--
-- $sel:creationTime:DescribeLocationSmbResponse',
-- describeLocationSmbResponse_creationTime - The time that the
-- SMB location was created.
--
-- DescribeLocationSmbResponse,
-- describeLocationSmbResponse_domain - The name of the Windows
-- domain that the SMB server belongs to.
--
-- DescribeLocationSmb,
-- describeLocationSmbResponse_locationArn - The Amazon Resource
-- Name (ARN) of the SMB location that was described.
--
-- DescribeLocationSmbResponse,
-- describeLocationSmbResponse_locationUri - The URL of the source
-- SMB location that was described.
--
-- DescribeLocationSmbResponse,
-- describeLocationSmbResponse_mountOptions - The mount options
-- that are available for DataSync to use to access an SMB location.
--
-- DescribeLocationSmbResponse,
-- describeLocationSmbResponse_user - The user who can mount the
-- share, has the permissions to access files and folders in the SMB
-- share.
--
-- $sel:httpStatus:DescribeLocationSmbResponse',
-- describeLocationSmbResponse_httpStatus - The response's http
-- status code.
newDescribeLocationSmbResponse :: Int -> DescribeLocationSmbResponse
-- | The Amazon Resource Name (ARN) of the source SMB file system location
-- that is created.
describeLocationSmbResponse_agentArns :: Lens' DescribeLocationSmbResponse (Maybe (NonEmpty Text))
-- | The time that the SMB location was created.
describeLocationSmbResponse_creationTime :: Lens' DescribeLocationSmbResponse (Maybe UTCTime)
-- | The name of the Windows domain that the SMB server belongs to.
describeLocationSmbResponse_domain :: Lens' DescribeLocationSmbResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the SMB location that was described.
describeLocationSmbResponse_locationArn :: Lens' DescribeLocationSmbResponse (Maybe Text)
-- | The URL of the source SMB location that was described.
describeLocationSmbResponse_locationUri :: Lens' DescribeLocationSmbResponse (Maybe Text)
-- | The mount options that are available for DataSync to use to access an
-- SMB location.
describeLocationSmbResponse_mountOptions :: Lens' DescribeLocationSmbResponse (Maybe SmbMountOptions)
-- | The user who can mount the share, has the permissions to access files
-- and folders in the SMB share.
describeLocationSmbResponse_user :: Lens' DescribeLocationSmbResponse (Maybe Text)
-- | The response's http status code.
describeLocationSmbResponse_httpStatus :: Lens' DescribeLocationSmbResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationSmb.DescribeLocationSmb
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationSmb.DescribeLocationSmb
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationSmb.DescribeLocationSmb
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationSmb.DescribeLocationSmb
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationSmb.DescribeLocationSmbResponse
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationSmb.DescribeLocationSmbResponse
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationSmb.DescribeLocationSmbResponse
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationSmb.DescribeLocationSmbResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.DescribeLocationSmb.DescribeLocationSmb
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationSmb.DescribeLocationSmbResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.DescribeLocationSmb.DescribeLocationSmb
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationSmb.DescribeLocationSmb
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.DescribeLocationSmb.DescribeLocationSmb
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.DescribeLocationSmb.DescribeLocationSmb
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.DescribeLocationSmb.DescribeLocationSmb
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.DescribeLocationSmb.DescribeLocationSmb
-- | Returns metadata, such as bucket name, about an Amazon S3 bucket
-- location.
module Amazonka.DataSync.DescribeLocationS3
-- | DescribeLocationS3Request
--
-- See: newDescribeLocationS3 smart constructor.
data DescribeLocationS3
DescribeLocationS3' :: Text -> DescribeLocationS3
-- | The Amazon Resource Name (ARN) of the Amazon S3 bucket location to
-- describe.
[$sel:locationArn:DescribeLocationS3'] :: DescribeLocationS3 -> Text
-- | Create a value of DescribeLocationS3 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:
--
-- DescribeLocationS3, describeLocationS3_locationArn - The
-- Amazon Resource Name (ARN) of the Amazon S3 bucket location to
-- describe.
newDescribeLocationS3 :: Text -> DescribeLocationS3
-- | The Amazon Resource Name (ARN) of the Amazon S3 bucket location to
-- describe.
describeLocationS3_locationArn :: Lens' DescribeLocationS3 Text
-- | DescribeLocationS3Response
--
-- See: newDescribeLocationS3Response smart constructor.
data DescribeLocationS3Response
DescribeLocationS3Response' :: Maybe (NonEmpty Text) -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe S3Config -> Maybe S3StorageClass -> Int -> DescribeLocationS3Response
-- | 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.
[$sel:agentArns:DescribeLocationS3Response'] :: DescribeLocationS3Response -> Maybe (NonEmpty Text)
-- | The time that the Amazon S3 bucket location was created.
[$sel:creationTime:DescribeLocationS3Response'] :: DescribeLocationS3Response -> Maybe POSIX
-- | The Amazon Resource Name (ARN) of the Amazon S3 bucket or access
-- point.
[$sel:locationArn:DescribeLocationS3Response'] :: DescribeLocationS3Response -> Maybe Text
-- | The URL of the Amazon S3 location that was described.
[$sel:locationUri:DescribeLocationS3Response'] :: DescribeLocationS3Response -> Maybe Text
[$sel:s3Config:DescribeLocationS3Response'] :: DescribeLocationS3Response -> Maybe S3Config
-- | 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.
[$sel:s3StorageClass:DescribeLocationS3Response'] :: DescribeLocationS3Response -> Maybe S3StorageClass
-- | The response's http status code.
[$sel:httpStatus:DescribeLocationS3Response'] :: DescribeLocationS3Response -> Int
-- | Create a value of DescribeLocationS3Response 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:
--
-- DescribeLocationS3Response,
-- describeLocationS3Response_agentArns - 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.
--
-- $sel:creationTime:DescribeLocationS3Response',
-- describeLocationS3Response_creationTime - The time that the
-- Amazon S3 bucket location was created.
--
-- DescribeLocationS3,
-- describeLocationS3Response_locationArn - The Amazon Resource
-- Name (ARN) of the Amazon S3 bucket or access point.
--
-- DescribeLocationS3Response,
-- describeLocationS3Response_locationUri - The URL of the Amazon
-- S3 location that was described.
--
-- $sel:s3Config:DescribeLocationS3Response',
-- describeLocationS3Response_s3Config - Undocumented member.
--
-- $sel:s3StorageClass:DescribeLocationS3Response',
-- describeLocationS3Response_s3StorageClass - 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.
--
-- $sel:httpStatus:DescribeLocationS3Response',
-- describeLocationS3Response_httpStatus - The response's http
-- status code.
newDescribeLocationS3Response :: Int -> DescribeLocationS3Response
-- | 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_agentArns :: Lens' DescribeLocationS3Response (Maybe (NonEmpty Text))
-- | The time that the Amazon S3 bucket location was created.
describeLocationS3Response_creationTime :: Lens' DescribeLocationS3Response (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) of the Amazon S3 bucket or access
-- point.
describeLocationS3Response_locationArn :: Lens' DescribeLocationS3Response (Maybe Text)
-- | The URL of the Amazon S3 location that was described.
describeLocationS3Response_locationUri :: Lens' DescribeLocationS3Response (Maybe Text)
-- | Undocumented member.
describeLocationS3Response_s3Config :: Lens' DescribeLocationS3Response (Maybe S3Config)
-- | 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.
describeLocationS3Response_s3StorageClass :: Lens' DescribeLocationS3Response (Maybe S3StorageClass)
-- | The response's http status code.
describeLocationS3Response_httpStatus :: Lens' DescribeLocationS3Response Int
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationS3.DescribeLocationS3
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationS3.DescribeLocationS3
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationS3.DescribeLocationS3
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationS3.DescribeLocationS3
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationS3.DescribeLocationS3Response
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationS3.DescribeLocationS3Response
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationS3.DescribeLocationS3Response
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationS3.DescribeLocationS3Response
instance Amazonka.Types.AWSRequest Amazonka.DataSync.DescribeLocationS3.DescribeLocationS3
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationS3.DescribeLocationS3Response
instance Data.Hashable.Class.Hashable Amazonka.DataSync.DescribeLocationS3.DescribeLocationS3
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationS3.DescribeLocationS3
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.DescribeLocationS3.DescribeLocationS3
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.DescribeLocationS3.DescribeLocationS3
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.DescribeLocationS3.DescribeLocationS3
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.DescribeLocationS3.DescribeLocationS3
-- | Returns metadata about your DataSync location for an object storage
-- system.
module Amazonka.DataSync.DescribeLocationObjectStorage
-- | DescribeLocationObjectStorageRequest
--
-- See: newDescribeLocationObjectStorage smart constructor.
data DescribeLocationObjectStorage
DescribeLocationObjectStorage' :: Text -> DescribeLocationObjectStorage
-- | The Amazon Resource Name (ARN) of the object storage system location
-- that you want information about.
[$sel:locationArn:DescribeLocationObjectStorage'] :: DescribeLocationObjectStorage -> Text
-- | Create a value of DescribeLocationObjectStorage 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:
--
-- DescribeLocationObjectStorage,
-- describeLocationObjectStorage_locationArn - The Amazon Resource
-- Name (ARN) of the object storage system location that you want
-- information about.
newDescribeLocationObjectStorage :: Text -> DescribeLocationObjectStorage
-- | The Amazon Resource Name (ARN) of the object storage system location
-- that you want information about.
describeLocationObjectStorage_locationArn :: Lens' DescribeLocationObjectStorage Text
-- | DescribeLocationObjectStorageResponse
--
-- See: newDescribeLocationObjectStorageResponse smart
-- constructor.
data DescribeLocationObjectStorageResponse
DescribeLocationObjectStorageResponse' :: Maybe Text -> Maybe (NonEmpty Text) -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Base64 -> Maybe Natural -> Maybe ObjectStorageServerProtocol -> Int -> DescribeLocationObjectStorageResponse
-- | The access key (for example, a user name) required to authenticate
-- with the object storage system.
[$sel:accessKey:DescribeLocationObjectStorageResponse'] :: DescribeLocationObjectStorageResponse -> Maybe Text
-- | The ARNs of the DataSync agents that can securely connect with your
-- location.
[$sel:agentArns:DescribeLocationObjectStorageResponse'] :: DescribeLocationObjectStorageResponse -> Maybe (NonEmpty Text)
-- | The time that the location was created.
[$sel:creationTime:DescribeLocationObjectStorageResponse'] :: DescribeLocationObjectStorageResponse -> Maybe POSIX
-- | The ARN of the object storage system location.
[$sel:locationArn:DescribeLocationObjectStorageResponse'] :: DescribeLocationObjectStorageResponse -> Maybe Text
-- | The URL of the object storage system location.
[$sel:locationUri:DescribeLocationObjectStorageResponse'] :: DescribeLocationObjectStorageResponse -> Maybe Text
-- | The self-signed certificate that DataSync uses to securely
-- authenticate with your object storage system.
[$sel:serverCertificate:DescribeLocationObjectStorageResponse'] :: DescribeLocationObjectStorageResponse -> Maybe Base64
-- | The port that your object storage server accepts inbound network
-- traffic on (for example, port 443).
[$sel:serverPort:DescribeLocationObjectStorageResponse'] :: DescribeLocationObjectStorageResponse -> Maybe Natural
-- | The protocol that your object storage system uses to communicate.
[$sel:serverProtocol:DescribeLocationObjectStorageResponse'] :: DescribeLocationObjectStorageResponse -> Maybe ObjectStorageServerProtocol
-- | The response's http status code.
[$sel:httpStatus:DescribeLocationObjectStorageResponse'] :: DescribeLocationObjectStorageResponse -> Int
-- | Create a value of DescribeLocationObjectStorageResponse 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:accessKey:DescribeLocationObjectStorageResponse',
-- describeLocationObjectStorageResponse_accessKey - The access
-- key (for example, a user name) required to authenticate with the
-- object storage system.
--
-- DescribeLocationObjectStorageResponse,
-- describeLocationObjectStorageResponse_agentArns - The ARNs of
-- the DataSync agents that can securely connect with your location.
--
-- $sel:creationTime:DescribeLocationObjectStorageResponse',
-- describeLocationObjectStorageResponse_creationTime - The time
-- that the location was created.
--
-- DescribeLocationObjectStorage,
-- describeLocationObjectStorageResponse_locationArn - The ARN of
-- the object storage system location.
--
-- DescribeLocationObjectStorageResponse,
-- describeLocationObjectStorageResponse_locationUri - The URL of
-- the object storage system location.
--
-- $sel:serverCertificate:DescribeLocationObjectStorageResponse',
-- describeLocationObjectStorageResponse_serverCertificate - 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.
--
-- $sel:serverPort:DescribeLocationObjectStorageResponse',
-- describeLocationObjectStorageResponse_serverPort - The port
-- that your object storage server accepts inbound network traffic on
-- (for example, port 443).
--
-- $sel:serverProtocol:DescribeLocationObjectStorageResponse',
-- describeLocationObjectStorageResponse_serverProtocol - The
-- protocol that your object storage system uses to communicate.
--
-- $sel:httpStatus:DescribeLocationObjectStorageResponse',
-- describeLocationObjectStorageResponse_httpStatus - The
-- response's http status code.
newDescribeLocationObjectStorageResponse :: Int -> DescribeLocationObjectStorageResponse
-- | The access key (for example, a user name) required to authenticate
-- with the object storage system.
describeLocationObjectStorageResponse_accessKey :: Lens' DescribeLocationObjectStorageResponse (Maybe Text)
-- | The ARNs of the DataSync agents that can securely connect with your
-- location.
describeLocationObjectStorageResponse_agentArns :: Lens' DescribeLocationObjectStorageResponse (Maybe (NonEmpty Text))
-- | The time that the location was created.
describeLocationObjectStorageResponse_creationTime :: Lens' DescribeLocationObjectStorageResponse (Maybe UTCTime)
-- | The ARN of the object storage system location.
describeLocationObjectStorageResponse_locationArn :: Lens' DescribeLocationObjectStorageResponse (Maybe Text)
-- | The URL of the object storage system location.
describeLocationObjectStorageResponse_locationUri :: Lens' DescribeLocationObjectStorageResponse (Maybe Text)
-- | 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_serverCertificate :: Lens' DescribeLocationObjectStorageResponse (Maybe ByteString)
-- | The port that your object storage server accepts inbound network
-- traffic on (for example, port 443).
describeLocationObjectStorageResponse_serverPort :: Lens' DescribeLocationObjectStorageResponse (Maybe Natural)
-- | The protocol that your object storage system uses to communicate.
describeLocationObjectStorageResponse_serverProtocol :: Lens' DescribeLocationObjectStorageResponse (Maybe ObjectStorageServerProtocol)
-- | The response's http status code.
describeLocationObjectStorageResponse_httpStatus :: Lens' DescribeLocationObjectStorageResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationObjectStorage.DescribeLocationObjectStorage
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationObjectStorage.DescribeLocationObjectStorage
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationObjectStorage.DescribeLocationObjectStorage
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationObjectStorage.DescribeLocationObjectStorage
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationObjectStorage.DescribeLocationObjectStorageResponse
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationObjectStorage.DescribeLocationObjectStorageResponse
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationObjectStorage.DescribeLocationObjectStorageResponse
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationObjectStorage.DescribeLocationObjectStorageResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.DescribeLocationObjectStorage.DescribeLocationObjectStorage
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationObjectStorage.DescribeLocationObjectStorageResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.DescribeLocationObjectStorage.DescribeLocationObjectStorage
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationObjectStorage.DescribeLocationObjectStorage
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.DescribeLocationObjectStorage.DescribeLocationObjectStorage
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.DescribeLocationObjectStorage.DescribeLocationObjectStorage
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.DescribeLocationObjectStorage.DescribeLocationObjectStorage
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.DescribeLocationObjectStorage.DescribeLocationObjectStorage
-- | Returns metadata, such as the path information, about an NFS location.
module Amazonka.DataSync.DescribeLocationNfs
-- | DescribeLocationNfsRequest
--
-- See: newDescribeLocationNfs smart constructor.
data DescribeLocationNfs
DescribeLocationNfs' :: Text -> DescribeLocationNfs
-- | The Amazon Resource Name (ARN) of the NFS location to describe.
[$sel:locationArn:DescribeLocationNfs'] :: DescribeLocationNfs -> Text
-- | Create a value of DescribeLocationNfs 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:
--
-- DescribeLocationNfs, describeLocationNfs_locationArn -
-- The Amazon Resource Name (ARN) of the NFS location to describe.
newDescribeLocationNfs :: Text -> DescribeLocationNfs
-- | The Amazon Resource Name (ARN) of the NFS location to describe.
describeLocationNfs_locationArn :: Lens' DescribeLocationNfs Text
-- | DescribeLocationNfsResponse
--
-- See: newDescribeLocationNfsResponse smart constructor.
data DescribeLocationNfsResponse
DescribeLocationNfsResponse' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe NfsMountOptions -> Maybe OnPremConfig -> Int -> DescribeLocationNfsResponse
-- | The time that the NFS location was created.
[$sel:creationTime:DescribeLocationNfsResponse'] :: DescribeLocationNfsResponse -> Maybe POSIX
-- | The Amazon Resource Name (ARN) of the NFS location that was described.
[$sel:locationArn:DescribeLocationNfsResponse'] :: DescribeLocationNfsResponse -> Maybe Text
-- | The URL of the source NFS location that was described.
[$sel:locationUri:DescribeLocationNfsResponse'] :: DescribeLocationNfsResponse -> Maybe Text
-- | The NFS mount options that DataSync used to mount your NFS share.
[$sel:mountOptions:DescribeLocationNfsResponse'] :: DescribeLocationNfsResponse -> Maybe NfsMountOptions
[$sel:onPremConfig:DescribeLocationNfsResponse'] :: DescribeLocationNfsResponse -> Maybe OnPremConfig
-- | The response's http status code.
[$sel:httpStatus:DescribeLocationNfsResponse'] :: DescribeLocationNfsResponse -> Int
-- | Create a value of DescribeLocationNfsResponse 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:creationTime:DescribeLocationNfsResponse',
-- describeLocationNfsResponse_creationTime - The time that the
-- NFS location was created.
--
-- DescribeLocationNfs,
-- describeLocationNfsResponse_locationArn - The Amazon Resource
-- Name (ARN) of the NFS location that was described.
--
-- DescribeLocationNfsResponse,
-- describeLocationNfsResponse_locationUri - The URL of the source
-- NFS location that was described.
--
-- DescribeLocationNfsResponse,
-- describeLocationNfsResponse_mountOptions - The NFS mount
-- options that DataSync used to mount your NFS share.
--
-- $sel:onPremConfig:DescribeLocationNfsResponse',
-- describeLocationNfsResponse_onPremConfig - Undocumented member.
--
-- $sel:httpStatus:DescribeLocationNfsResponse',
-- describeLocationNfsResponse_httpStatus - The response's http
-- status code.
newDescribeLocationNfsResponse :: Int -> DescribeLocationNfsResponse
-- | The time that the NFS location was created.
describeLocationNfsResponse_creationTime :: Lens' DescribeLocationNfsResponse (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) of the NFS location that was described.
describeLocationNfsResponse_locationArn :: Lens' DescribeLocationNfsResponse (Maybe Text)
-- | The URL of the source NFS location that was described.
describeLocationNfsResponse_locationUri :: Lens' DescribeLocationNfsResponse (Maybe Text)
-- | The NFS mount options that DataSync used to mount your NFS share.
describeLocationNfsResponse_mountOptions :: Lens' DescribeLocationNfsResponse (Maybe NfsMountOptions)
-- | Undocumented member.
describeLocationNfsResponse_onPremConfig :: Lens' DescribeLocationNfsResponse (Maybe OnPremConfig)
-- | The response's http status code.
describeLocationNfsResponse_httpStatus :: Lens' DescribeLocationNfsResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationNfs.DescribeLocationNfs
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationNfs.DescribeLocationNfs
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationNfs.DescribeLocationNfs
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationNfs.DescribeLocationNfs
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationNfs.DescribeLocationNfsResponse
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationNfs.DescribeLocationNfsResponse
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationNfs.DescribeLocationNfsResponse
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationNfs.DescribeLocationNfsResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.DescribeLocationNfs.DescribeLocationNfs
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationNfs.DescribeLocationNfsResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.DescribeLocationNfs.DescribeLocationNfs
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationNfs.DescribeLocationNfs
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.DescribeLocationNfs.DescribeLocationNfs
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.DescribeLocationNfs.DescribeLocationNfs
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.DescribeLocationNfs.DescribeLocationNfs
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.DescribeLocationNfs.DescribeLocationNfs
-- | Returns metadata, such as the authentication information about the
-- Hadoop Distributed File System (HDFS) location.
module Amazonka.DataSync.DescribeLocationHdfs
-- | See: newDescribeLocationHdfs smart constructor.
data DescribeLocationHdfs
DescribeLocationHdfs' :: Text -> DescribeLocationHdfs
-- | The Amazon Resource Name (ARN) of the HDFS cluster location to
-- describe.
[$sel:locationArn:DescribeLocationHdfs'] :: DescribeLocationHdfs -> Text
-- | Create a value of DescribeLocationHdfs 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:
--
-- DescribeLocationHdfs, describeLocationHdfs_locationArn -
-- The Amazon Resource Name (ARN) of the HDFS cluster location to
-- describe.
newDescribeLocationHdfs :: Text -> DescribeLocationHdfs
-- | The Amazon Resource Name (ARN) of the HDFS cluster location to
-- describe.
describeLocationHdfs_locationArn :: Lens' DescribeLocationHdfs Text
-- | See: newDescribeLocationHdfsResponse smart constructor.
data DescribeLocationHdfsResponse
DescribeLocationHdfsResponse' :: Maybe (NonEmpty Text) -> Maybe HdfsAuthenticationType -> Maybe Natural -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (NonEmpty HdfsNameNode) -> Maybe QopConfiguration -> Maybe Natural -> Maybe Text -> Int -> DescribeLocationHdfsResponse
-- | The ARNs of the agents that are used to connect to the HDFS cluster.
[$sel:agentArns:DescribeLocationHdfsResponse'] :: DescribeLocationHdfsResponse -> Maybe (NonEmpty Text)
-- | The type of authentication used to determine the identity of the user.
[$sel:authenticationType:DescribeLocationHdfsResponse'] :: DescribeLocationHdfsResponse -> Maybe HdfsAuthenticationType
-- | The size of the data blocks to write into the HDFS cluster.
[$sel:blockSize:DescribeLocationHdfsResponse'] :: DescribeLocationHdfsResponse -> Maybe Natural
-- | The time that the HDFS location was created.
[$sel:creationTime:DescribeLocationHdfsResponse'] :: DescribeLocationHdfsResponse -> Maybe POSIX
-- | 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.
[$sel:kerberosPrincipal:DescribeLocationHdfsResponse'] :: DescribeLocationHdfsResponse -> Maybe Text
-- | The URI of the HDFS cluster's Key Management Server (KMS).
[$sel:kmsKeyProviderUri:DescribeLocationHdfsResponse'] :: DescribeLocationHdfsResponse -> Maybe Text
-- | The ARN of the HDFS cluster location.
[$sel:locationArn:DescribeLocationHdfsResponse'] :: DescribeLocationHdfsResponse -> Maybe Text
-- | The URI of the HDFS cluster location.
[$sel:locationUri:DescribeLocationHdfsResponse'] :: DescribeLocationHdfsResponse -> Maybe Text
-- | The NameNode that manage the HDFS namespace.
[$sel:nameNodes:DescribeLocationHdfsResponse'] :: DescribeLocationHdfsResponse -> Maybe (NonEmpty HdfsNameNode)
-- | 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.
[$sel:qopConfiguration:DescribeLocationHdfsResponse'] :: DescribeLocationHdfsResponse -> Maybe QopConfiguration
-- | The number of DataNodes to replicate the data to when writing to the
-- HDFS cluster.
[$sel:replicationFactor:DescribeLocationHdfsResponse'] :: DescribeLocationHdfsResponse -> Maybe Natural
-- | The user name used to identify the client on the host operating
-- system. This parameter is used if the AuthenticationType is
-- defined as SIMPLE.
[$sel:simpleUser:DescribeLocationHdfsResponse'] :: DescribeLocationHdfsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeLocationHdfsResponse'] :: DescribeLocationHdfsResponse -> Int
-- | Create a value of DescribeLocationHdfsResponse 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:
--
-- DescribeLocationHdfsResponse,
-- describeLocationHdfsResponse_agentArns - The ARNs of the agents
-- that are used to connect to the HDFS cluster.
--
-- $sel:authenticationType:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_authenticationType - The type of
-- authentication used to determine the identity of the user.
--
-- $sel:blockSize:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_blockSize - The size of the data
-- blocks to write into the HDFS cluster.
--
-- $sel:creationTime:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_creationTime - The time that the
-- HDFS location was created.
--
-- $sel:kerberosPrincipal:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_kerberosPrincipal - 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.
--
-- $sel:kmsKeyProviderUri:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_kmsKeyProviderUri - The URI of the
-- HDFS cluster's Key Management Server (KMS).
--
-- DescribeLocationHdfs,
-- describeLocationHdfsResponse_locationArn - The ARN of the HDFS
-- cluster location.
--
-- DescribeLocationHdfsResponse,
-- describeLocationHdfsResponse_locationUri - The URI of the HDFS
-- cluster location.
--
-- $sel:nameNodes:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_nameNodes - The NameNode that
-- manage the HDFS namespace.
--
-- $sel:qopConfiguration:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_qopConfiguration - 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.
--
-- $sel:replicationFactor:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_replicationFactor - The number of
-- DataNodes to replicate the data to when writing to the HDFS cluster.
--
-- $sel:simpleUser:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_simpleUser - The user name used to
-- identify the client on the host operating system. This parameter is
-- used if the AuthenticationType is defined as SIMPLE.
--
-- $sel:httpStatus:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_httpStatus - The response's http
-- status code.
newDescribeLocationHdfsResponse :: Int -> DescribeLocationHdfsResponse
-- | The ARNs of the agents that are used to connect to the HDFS cluster.
describeLocationHdfsResponse_agentArns :: Lens' DescribeLocationHdfsResponse (Maybe (NonEmpty Text))
-- | The type of authentication used to determine the identity of the user.
describeLocationHdfsResponse_authenticationType :: Lens' DescribeLocationHdfsResponse (Maybe HdfsAuthenticationType)
-- | The size of the data blocks to write into the HDFS cluster.
describeLocationHdfsResponse_blockSize :: Lens' DescribeLocationHdfsResponse (Maybe Natural)
-- | The time that the HDFS location was created.
describeLocationHdfsResponse_creationTime :: Lens' DescribeLocationHdfsResponse (Maybe UTCTime)
-- | 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_kerberosPrincipal :: Lens' DescribeLocationHdfsResponse (Maybe Text)
-- | The URI of the HDFS cluster's Key Management Server (KMS).
describeLocationHdfsResponse_kmsKeyProviderUri :: Lens' DescribeLocationHdfsResponse (Maybe Text)
-- | The ARN of the HDFS cluster location.
describeLocationHdfsResponse_locationArn :: Lens' DescribeLocationHdfsResponse (Maybe Text)
-- | The URI of the HDFS cluster location.
describeLocationHdfsResponse_locationUri :: Lens' DescribeLocationHdfsResponse (Maybe Text)
-- | The NameNode that manage the HDFS namespace.
describeLocationHdfsResponse_nameNodes :: Lens' DescribeLocationHdfsResponse (Maybe (NonEmpty HdfsNameNode))
-- | 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_qopConfiguration :: Lens' DescribeLocationHdfsResponse (Maybe QopConfiguration)
-- | The number of DataNodes to replicate the data to when writing to the
-- HDFS cluster.
describeLocationHdfsResponse_replicationFactor :: Lens' DescribeLocationHdfsResponse (Maybe Natural)
-- | The user name used to identify the client on the host operating
-- system. This parameter is used if the AuthenticationType is
-- defined as SIMPLE.
describeLocationHdfsResponse_simpleUser :: Lens' DescribeLocationHdfsResponse (Maybe Text)
-- | The response's http status code.
describeLocationHdfsResponse_httpStatus :: Lens' DescribeLocationHdfsResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationHdfs.DescribeLocationHdfs
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationHdfs.DescribeLocationHdfs
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationHdfs.DescribeLocationHdfs
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationHdfs.DescribeLocationHdfs
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationHdfs.DescribeLocationHdfsResponse
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationHdfs.DescribeLocationHdfsResponse
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationHdfs.DescribeLocationHdfsResponse
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationHdfs.DescribeLocationHdfsResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.DescribeLocationHdfs.DescribeLocationHdfs
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationHdfs.DescribeLocationHdfsResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.DescribeLocationHdfs.DescribeLocationHdfs
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationHdfs.DescribeLocationHdfs
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.DescribeLocationHdfs.DescribeLocationHdfs
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.DescribeLocationHdfs.DescribeLocationHdfs
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.DescribeLocationHdfs.DescribeLocationHdfs
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.DescribeLocationHdfs.DescribeLocationHdfs
-- | Returns metadata about an Amazon FSx for Windows File Server location,
-- such as information about its path.
module Amazonka.DataSync.DescribeLocationFsxWindows
-- | See: newDescribeLocationFsxWindows smart constructor.
data DescribeLocationFsxWindows
DescribeLocationFsxWindows' :: Text -> DescribeLocationFsxWindows
-- | The Amazon Resource Name (ARN) of the FSx for Windows File Server
-- location to describe.
[$sel:locationArn:DescribeLocationFsxWindows'] :: DescribeLocationFsxWindows -> Text
-- | Create a value of DescribeLocationFsxWindows 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:
--
-- DescribeLocationFsxWindows,
-- describeLocationFsxWindows_locationArn - The Amazon Resource
-- Name (ARN) of the FSx for Windows File Server location to describe.
newDescribeLocationFsxWindows :: Text -> DescribeLocationFsxWindows
-- | The Amazon Resource Name (ARN) of the FSx for Windows File Server
-- location to describe.
describeLocationFsxWindows_locationArn :: Lens' DescribeLocationFsxWindows Text
-- | See: newDescribeLocationFsxWindowsResponse smart
-- constructor.
data DescribeLocationFsxWindowsResponse
DescribeLocationFsxWindowsResponse' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe Text -> Int -> DescribeLocationFsxWindowsResponse
-- | The time that the FSx for Windows File Server location was created.
[$sel:creationTime:DescribeLocationFsxWindowsResponse'] :: DescribeLocationFsxWindowsResponse -> Maybe POSIX
-- | The name of the Windows domain that the FSx for Windows File Server
-- belongs to.
[$sel:domain:DescribeLocationFsxWindowsResponse'] :: DescribeLocationFsxWindowsResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the FSx for Windows File Server
-- location that was described.
[$sel:locationArn:DescribeLocationFsxWindowsResponse'] :: DescribeLocationFsxWindowsResponse -> Maybe Text
-- | The URL of the FSx for Windows File Server location that was
-- described.
[$sel:locationUri:DescribeLocationFsxWindowsResponse'] :: DescribeLocationFsxWindowsResponse -> Maybe Text
-- | The Amazon Resource Names (ARNs) of the security groups that are
-- configured for the FSx for Windows File Server file system.
[$sel:securityGroupArns:DescribeLocationFsxWindowsResponse'] :: DescribeLocationFsxWindowsResponse -> Maybe (NonEmpty Text)
-- | The user who has the permissions to access files and folders in the
-- FSx for Windows File Server file system.
[$sel:user:DescribeLocationFsxWindowsResponse'] :: DescribeLocationFsxWindowsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeLocationFsxWindowsResponse'] :: DescribeLocationFsxWindowsResponse -> Int
-- | Create a value of DescribeLocationFsxWindowsResponse 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:creationTime:DescribeLocationFsxWindowsResponse',
-- describeLocationFsxWindowsResponse_creationTime - The time that
-- the FSx for Windows File Server location was created.
--
-- DescribeLocationFsxWindowsResponse,
-- describeLocationFsxWindowsResponse_domain - The name of the
-- Windows domain that the FSx for Windows File Server belongs to.
--
-- DescribeLocationFsxWindows,
-- describeLocationFsxWindowsResponse_locationArn - The Amazon
-- Resource Name (ARN) of the FSx for Windows File Server location that
-- was described.
--
-- DescribeLocationFsxWindowsResponse,
-- describeLocationFsxWindowsResponse_locationUri - The URL of the
-- FSx for Windows File Server location that was described.
--
-- DescribeLocationFsxWindowsResponse,
-- describeLocationFsxWindowsResponse_securityGroupArns - The
-- Amazon Resource Names (ARNs) of the security groups that are
-- configured for the FSx for Windows File Server file system.
--
-- DescribeLocationFsxWindowsResponse,
-- describeLocationFsxWindowsResponse_user - The user who has the
-- permissions to access files and folders in the FSx for Windows File
-- Server file system.
--
-- $sel:httpStatus:DescribeLocationFsxWindowsResponse',
-- describeLocationFsxWindowsResponse_httpStatus - The response's
-- http status code.
newDescribeLocationFsxWindowsResponse :: Int -> DescribeLocationFsxWindowsResponse
-- | The time that the FSx for Windows File Server location was created.
describeLocationFsxWindowsResponse_creationTime :: Lens' DescribeLocationFsxWindowsResponse (Maybe UTCTime)
-- | The name of the Windows domain that the FSx for Windows File Server
-- belongs to.
describeLocationFsxWindowsResponse_domain :: Lens' DescribeLocationFsxWindowsResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the FSx for Windows File Server
-- location that was described.
describeLocationFsxWindowsResponse_locationArn :: Lens' DescribeLocationFsxWindowsResponse (Maybe Text)
-- | The URL of the FSx for Windows File Server location that was
-- described.
describeLocationFsxWindowsResponse_locationUri :: Lens' DescribeLocationFsxWindowsResponse (Maybe Text)
-- | The Amazon Resource Names (ARNs) of the security groups that are
-- configured for the FSx for Windows File Server file system.
describeLocationFsxWindowsResponse_securityGroupArns :: Lens' DescribeLocationFsxWindowsResponse (Maybe (NonEmpty Text))
-- | The user who has the permissions to access files and folders in the
-- FSx for Windows File Server file system.
describeLocationFsxWindowsResponse_user :: Lens' DescribeLocationFsxWindowsResponse (Maybe Text)
-- | The response's http status code.
describeLocationFsxWindowsResponse_httpStatus :: Lens' DescribeLocationFsxWindowsResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationFsxWindows.DescribeLocationFsxWindows
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationFsxWindows.DescribeLocationFsxWindows
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationFsxWindows.DescribeLocationFsxWindows
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationFsxWindows.DescribeLocationFsxWindows
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationFsxWindows.DescribeLocationFsxWindowsResponse
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationFsxWindows.DescribeLocationFsxWindowsResponse
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationFsxWindows.DescribeLocationFsxWindowsResponse
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationFsxWindows.DescribeLocationFsxWindowsResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.DescribeLocationFsxWindows.DescribeLocationFsxWindows
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationFsxWindows.DescribeLocationFsxWindowsResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.DescribeLocationFsxWindows.DescribeLocationFsxWindows
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationFsxWindows.DescribeLocationFsxWindows
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.DescribeLocationFsxWindows.DescribeLocationFsxWindows
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.DescribeLocationFsxWindows.DescribeLocationFsxWindows
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.DescribeLocationFsxWindows.DescribeLocationFsxWindows
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.DescribeLocationFsxWindows.DescribeLocationFsxWindows
-- | Provides details about how an DataSync location for an Amazon FSx for
-- OpenZFS file system is configured.
--
-- Response elements related to SMB aren't supported with the
-- DescribeLocationFsxOpenZfs operation.
module Amazonka.DataSync.DescribeLocationFsxOpenZfs
-- | See: newDescribeLocationFsxOpenZfs smart constructor.
data DescribeLocationFsxOpenZfs
DescribeLocationFsxOpenZfs' :: Text -> DescribeLocationFsxOpenZfs
-- | The Amazon Resource Name (ARN) of the FSx for OpenZFS location to
-- describe.
[$sel:locationArn:DescribeLocationFsxOpenZfs'] :: DescribeLocationFsxOpenZfs -> Text
-- | Create a value of DescribeLocationFsxOpenZfs 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:
--
-- DescribeLocationFsxOpenZfs,
-- describeLocationFsxOpenZfs_locationArn - The Amazon Resource
-- Name (ARN) of the FSx for OpenZFS location to describe.
newDescribeLocationFsxOpenZfs :: Text -> DescribeLocationFsxOpenZfs
-- | The Amazon Resource Name (ARN) of the FSx for OpenZFS location to
-- describe.
describeLocationFsxOpenZfs_locationArn :: Lens' DescribeLocationFsxOpenZfs Text
-- | See: newDescribeLocationFsxOpenZfsResponse smart
-- constructor.
data DescribeLocationFsxOpenZfsResponse
DescribeLocationFsxOpenZfsResponse' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe FsxProtocol -> Maybe (NonEmpty Text) -> Int -> DescribeLocationFsxOpenZfsResponse
-- | The time that the FSx for OpenZFS location was created.
[$sel:creationTime:DescribeLocationFsxOpenZfsResponse'] :: DescribeLocationFsxOpenZfsResponse -> Maybe POSIX
-- | The ARN of the FSx for OpenZFS location that was described.
[$sel:locationArn:DescribeLocationFsxOpenZfsResponse'] :: DescribeLocationFsxOpenZfsResponse -> Maybe Text
-- | The uniform resource identifier (URI) of the FSx for OpenZFS location
-- that was described.
--
-- Example:
-- fsxz://us-west-2.fs-1234567890abcdef02/fsx/folderA/folder
[$sel:locationUri:DescribeLocationFsxOpenZfsResponse'] :: DescribeLocationFsxOpenZfsResponse -> Maybe Text
-- | The type of protocol that DataSync uses to access your file system.
[$sel:protocol:DescribeLocationFsxOpenZfsResponse'] :: DescribeLocationFsxOpenZfsResponse -> Maybe FsxProtocol
-- | The ARNs of the security groups that are configured for the FSx for
-- OpenZFS file system.
[$sel:securityGroupArns:DescribeLocationFsxOpenZfsResponse'] :: DescribeLocationFsxOpenZfsResponse -> Maybe (NonEmpty Text)
-- | The response's http status code.
[$sel:httpStatus:DescribeLocationFsxOpenZfsResponse'] :: DescribeLocationFsxOpenZfsResponse -> Int
-- | Create a value of DescribeLocationFsxOpenZfsResponse 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:creationTime:DescribeLocationFsxOpenZfsResponse',
-- describeLocationFsxOpenZfsResponse_creationTime - The time that
-- the FSx for OpenZFS location was created.
--
-- DescribeLocationFsxOpenZfs,
-- describeLocationFsxOpenZfsResponse_locationArn - The ARN of the
-- FSx for OpenZFS location that was described.
--
-- DescribeLocationFsxOpenZfsResponse,
-- describeLocationFsxOpenZfsResponse_locationUri - The uniform
-- resource identifier (URI) of the FSx for OpenZFS location that was
-- described.
--
-- Example:
-- fsxz://us-west-2.fs-1234567890abcdef02/fsx/folderA/folder
--
-- $sel:protocol:DescribeLocationFsxOpenZfsResponse',
-- describeLocationFsxOpenZfsResponse_protocol - The type of
-- protocol that DataSync uses to access your file system.
--
-- DescribeLocationFsxOpenZfsResponse,
-- describeLocationFsxOpenZfsResponse_securityGroupArns - The ARNs
-- of the security groups that are configured for the FSx for OpenZFS
-- file system.
--
-- $sel:httpStatus:DescribeLocationFsxOpenZfsResponse',
-- describeLocationFsxOpenZfsResponse_httpStatus - The response's
-- http status code.
newDescribeLocationFsxOpenZfsResponse :: Int -> DescribeLocationFsxOpenZfsResponse
-- | The time that the FSx for OpenZFS location was created.
describeLocationFsxOpenZfsResponse_creationTime :: Lens' DescribeLocationFsxOpenZfsResponse (Maybe UTCTime)
-- | The ARN of the FSx for OpenZFS location that was described.
describeLocationFsxOpenZfsResponse_locationArn :: Lens' DescribeLocationFsxOpenZfsResponse (Maybe Text)
-- | 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_locationUri :: Lens' DescribeLocationFsxOpenZfsResponse (Maybe Text)
-- | The type of protocol that DataSync uses to access your file system.
describeLocationFsxOpenZfsResponse_protocol :: Lens' DescribeLocationFsxOpenZfsResponse (Maybe FsxProtocol)
-- | The ARNs of the security groups that are configured for the FSx for
-- OpenZFS file system.
describeLocationFsxOpenZfsResponse_securityGroupArns :: Lens' DescribeLocationFsxOpenZfsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
describeLocationFsxOpenZfsResponse_httpStatus :: Lens' DescribeLocationFsxOpenZfsResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationFsxOpenZfs.DescribeLocationFsxOpenZfs
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationFsxOpenZfs.DescribeLocationFsxOpenZfs
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationFsxOpenZfs.DescribeLocationFsxOpenZfs
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationFsxOpenZfs.DescribeLocationFsxOpenZfs
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationFsxOpenZfs.DescribeLocationFsxOpenZfsResponse
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationFsxOpenZfs.DescribeLocationFsxOpenZfsResponse
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationFsxOpenZfs.DescribeLocationFsxOpenZfsResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.DescribeLocationFsxOpenZfs.DescribeLocationFsxOpenZfs
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationFsxOpenZfs.DescribeLocationFsxOpenZfsResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.DescribeLocationFsxOpenZfs.DescribeLocationFsxOpenZfs
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationFsxOpenZfs.DescribeLocationFsxOpenZfs
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.DescribeLocationFsxOpenZfs.DescribeLocationFsxOpenZfs
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.DescribeLocationFsxOpenZfs.DescribeLocationFsxOpenZfs
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.DescribeLocationFsxOpenZfs.DescribeLocationFsxOpenZfs
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.DescribeLocationFsxOpenZfs.DescribeLocationFsxOpenZfs
-- | Provides details about how an DataSync location for an Amazon FSx for
-- NetApp ONTAP file system is configured.
--
-- If your location uses SMB, the DescribeLocationFsxOntap
-- operation doesn't actually return a Password.
module Amazonka.DataSync.DescribeLocationFsxOntap
-- | See: newDescribeLocationFsxOntap smart constructor.
data DescribeLocationFsxOntap
DescribeLocationFsxOntap' :: Text -> DescribeLocationFsxOntap
-- | Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP file
-- system location that you want information about.
[$sel:locationArn:DescribeLocationFsxOntap'] :: DescribeLocationFsxOntap -> Text
-- | Create a value of DescribeLocationFsxOntap 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:
--
-- DescribeLocationFsxOntap,
-- describeLocationFsxOntap_locationArn - Specifies the Amazon
-- Resource Name (ARN) of the FSx for ONTAP file system location that you
-- want information about.
newDescribeLocationFsxOntap :: Text -> DescribeLocationFsxOntap
-- | Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP file
-- system location that you want information about.
describeLocationFsxOntap_locationArn :: Lens' DescribeLocationFsxOntap Text
-- | See: newDescribeLocationFsxOntapResponse smart
-- constructor.
data DescribeLocationFsxOntapResponse
DescribeLocationFsxOntapResponse' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe FsxProtocol -> Maybe (NonEmpty Text) -> Maybe Text -> Int -> DescribeLocationFsxOntapResponse
-- | The time that the location was created.
[$sel:creationTime:DescribeLocationFsxOntapResponse'] :: DescribeLocationFsxOntapResponse -> Maybe POSIX
-- | The ARN of the FSx for ONTAP file system.
[$sel:fsxFilesystemArn:DescribeLocationFsxOntapResponse'] :: DescribeLocationFsxOntapResponse -> Maybe Text
-- | The ARN of the FSx for ONTAP file system location.
[$sel:locationArn:DescribeLocationFsxOntapResponse'] :: DescribeLocationFsxOntapResponse -> Maybe Text
-- | The uniform resource identifier (URI) of the FSx for ONTAP file system
-- location.
[$sel:locationUri:DescribeLocationFsxOntapResponse'] :: DescribeLocationFsxOntapResponse -> Maybe Text
[$sel:protocol:DescribeLocationFsxOntapResponse'] :: DescribeLocationFsxOntapResponse -> Maybe FsxProtocol
-- | The security groups that DataSync uses to access your FSx for ONTAP
-- file system.
[$sel:securityGroupArns:DescribeLocationFsxOntapResponse'] :: DescribeLocationFsxOntapResponse -> Maybe (NonEmpty Text)
-- | The ARN of the storage virtual machine (SVM) on your FSx for ONTAP
-- file system where you're copying data to or from.
[$sel:storageVirtualMachineArn:DescribeLocationFsxOntapResponse'] :: DescribeLocationFsxOntapResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeLocationFsxOntapResponse'] :: DescribeLocationFsxOntapResponse -> Int
-- | Create a value of DescribeLocationFsxOntapResponse 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:creationTime:DescribeLocationFsxOntapResponse',
-- describeLocationFsxOntapResponse_creationTime - The time that
-- the location was created.
--
-- $sel:fsxFilesystemArn:DescribeLocationFsxOntapResponse',
-- describeLocationFsxOntapResponse_fsxFilesystemArn - The ARN of
-- the FSx for ONTAP file system.
--
-- DescribeLocationFsxOntap,
-- describeLocationFsxOntapResponse_locationArn - The ARN of the
-- FSx for ONTAP file system location.
--
-- DescribeLocationFsxOntapResponse,
-- describeLocationFsxOntapResponse_locationUri - The uniform
-- resource identifier (URI) of the FSx for ONTAP file system location.
--
-- $sel:protocol:DescribeLocationFsxOntapResponse',
-- describeLocationFsxOntapResponse_protocol - Undocumented
-- member.
--
-- DescribeLocationFsxOntapResponse,
-- describeLocationFsxOntapResponse_securityGroupArns - The
-- security groups that DataSync uses to access your FSx for ONTAP file
-- system.
--
--
-- $sel:storageVirtualMachineArn:DescribeLocationFsxOntapResponse',
-- describeLocationFsxOntapResponse_storageVirtualMachineArn - The
-- ARN of the storage virtual machine (SVM) on your FSx for ONTAP file
-- system where you're copying data to or from.
--
-- $sel:httpStatus:DescribeLocationFsxOntapResponse',
-- describeLocationFsxOntapResponse_httpStatus - The response's
-- http status code.
newDescribeLocationFsxOntapResponse :: Int -> DescribeLocationFsxOntapResponse
-- | The time that the location was created.
describeLocationFsxOntapResponse_creationTime :: Lens' DescribeLocationFsxOntapResponse (Maybe UTCTime)
-- | The ARN of the FSx for ONTAP file system.
describeLocationFsxOntapResponse_fsxFilesystemArn :: Lens' DescribeLocationFsxOntapResponse (Maybe Text)
-- | The ARN of the FSx for ONTAP file system location.
describeLocationFsxOntapResponse_locationArn :: Lens' DescribeLocationFsxOntapResponse (Maybe Text)
-- | The uniform resource identifier (URI) of the FSx for ONTAP file system
-- location.
describeLocationFsxOntapResponse_locationUri :: Lens' DescribeLocationFsxOntapResponse (Maybe Text)
-- | Undocumented member.
describeLocationFsxOntapResponse_protocol :: Lens' DescribeLocationFsxOntapResponse (Maybe FsxProtocol)
-- | The security groups that DataSync uses to access your FSx for ONTAP
-- file system.
describeLocationFsxOntapResponse_securityGroupArns :: Lens' DescribeLocationFsxOntapResponse (Maybe (NonEmpty Text))
-- | The ARN of the storage virtual machine (SVM) on your FSx for ONTAP
-- file system where you're copying data to or from.
describeLocationFsxOntapResponse_storageVirtualMachineArn :: Lens' DescribeLocationFsxOntapResponse (Maybe Text)
-- | The response's http status code.
describeLocationFsxOntapResponse_httpStatus :: Lens' DescribeLocationFsxOntapResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationFsxOntap.DescribeLocationFsxOntap
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationFsxOntap.DescribeLocationFsxOntap
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationFsxOntap.DescribeLocationFsxOntap
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationFsxOntap.DescribeLocationFsxOntap
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationFsxOntap.DescribeLocationFsxOntapResponse
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationFsxOntap.DescribeLocationFsxOntapResponse
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationFsxOntap.DescribeLocationFsxOntapResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.DescribeLocationFsxOntap.DescribeLocationFsxOntap
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationFsxOntap.DescribeLocationFsxOntapResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.DescribeLocationFsxOntap.DescribeLocationFsxOntap
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationFsxOntap.DescribeLocationFsxOntap
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.DescribeLocationFsxOntap.DescribeLocationFsxOntap
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.DescribeLocationFsxOntap.DescribeLocationFsxOntap
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.DescribeLocationFsxOntap.DescribeLocationFsxOntap
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.DescribeLocationFsxOntap.DescribeLocationFsxOntap
-- | Provides details about how an DataSync location for an Amazon FSx for
-- Lustre file system is configured.
module Amazonka.DataSync.DescribeLocationFsxLustre
-- | See: newDescribeLocationFsxLustre smart constructor.
data DescribeLocationFsxLustre
DescribeLocationFsxLustre' :: Text -> DescribeLocationFsxLustre
-- | The Amazon Resource Name (ARN) of the FSx for Lustre location to
-- describe.
[$sel:locationArn:DescribeLocationFsxLustre'] :: DescribeLocationFsxLustre -> Text
-- | Create a value of DescribeLocationFsxLustre 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:
--
-- DescribeLocationFsxLustre,
-- describeLocationFsxLustre_locationArn - The Amazon Resource
-- Name (ARN) of the FSx for Lustre location to describe.
newDescribeLocationFsxLustre :: Text -> DescribeLocationFsxLustre
-- | The Amazon Resource Name (ARN) of the FSx for Lustre location to
-- describe.
describeLocationFsxLustre_locationArn :: Lens' DescribeLocationFsxLustre Text
-- | See: newDescribeLocationFsxLustreResponse smart
-- constructor.
data DescribeLocationFsxLustreResponse
DescribeLocationFsxLustreResponse' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Int -> DescribeLocationFsxLustreResponse
-- | The time that the FSx for Lustre location was created.
[$sel:creationTime:DescribeLocationFsxLustreResponse'] :: DescribeLocationFsxLustreResponse -> Maybe POSIX
-- | The Amazon Resource Name (ARN) of the FSx for Lustre location that was
-- described.
[$sel:locationArn:DescribeLocationFsxLustreResponse'] :: DescribeLocationFsxLustreResponse -> Maybe Text
-- | The URI of the FSx for Lustre location that was described.
[$sel:locationUri:DescribeLocationFsxLustreResponse'] :: DescribeLocationFsxLustreResponse -> Maybe Text
-- | The Amazon Resource Names (ARNs) of the security groups that are
-- configured for the FSx for Lustre file system.
[$sel:securityGroupArns:DescribeLocationFsxLustreResponse'] :: DescribeLocationFsxLustreResponse -> Maybe (NonEmpty Text)
-- | The response's http status code.
[$sel:httpStatus:DescribeLocationFsxLustreResponse'] :: DescribeLocationFsxLustreResponse -> Int
-- | Create a value of DescribeLocationFsxLustreResponse 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:creationTime:DescribeLocationFsxLustreResponse',
-- describeLocationFsxLustreResponse_creationTime - The time that
-- the FSx for Lustre location was created.
--
-- DescribeLocationFsxLustre,
-- describeLocationFsxLustreResponse_locationArn - The Amazon
-- Resource Name (ARN) of the FSx for Lustre location that was described.
--
-- DescribeLocationFsxLustreResponse,
-- describeLocationFsxLustreResponse_locationUri - The URI of the
-- FSx for Lustre location that was described.
--
-- DescribeLocationFsxLustreResponse,
-- describeLocationFsxLustreResponse_securityGroupArns - The
-- Amazon Resource Names (ARNs) of the security groups that are
-- configured for the FSx for Lustre file system.
--
-- $sel:httpStatus:DescribeLocationFsxLustreResponse',
-- describeLocationFsxLustreResponse_httpStatus - The response's
-- http status code.
newDescribeLocationFsxLustreResponse :: Int -> DescribeLocationFsxLustreResponse
-- | The time that the FSx for Lustre location was created.
describeLocationFsxLustreResponse_creationTime :: Lens' DescribeLocationFsxLustreResponse (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) of the FSx for Lustre location that was
-- described.
describeLocationFsxLustreResponse_locationArn :: Lens' DescribeLocationFsxLustreResponse (Maybe Text)
-- | The URI of the FSx for Lustre location that was described.
describeLocationFsxLustreResponse_locationUri :: Lens' DescribeLocationFsxLustreResponse (Maybe Text)
-- | The Amazon Resource Names (ARNs) of the security groups that are
-- configured for the FSx for Lustre file system.
describeLocationFsxLustreResponse_securityGroupArns :: Lens' DescribeLocationFsxLustreResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
describeLocationFsxLustreResponse_httpStatus :: Lens' DescribeLocationFsxLustreResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationFsxLustre.DescribeLocationFsxLustre
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationFsxLustre.DescribeLocationFsxLustre
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationFsxLustre.DescribeLocationFsxLustre
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationFsxLustre.DescribeLocationFsxLustre
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationFsxLustre.DescribeLocationFsxLustreResponse
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationFsxLustre.DescribeLocationFsxLustreResponse
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationFsxLustre.DescribeLocationFsxLustreResponse
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationFsxLustre.DescribeLocationFsxLustreResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.DescribeLocationFsxLustre.DescribeLocationFsxLustre
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationFsxLustre.DescribeLocationFsxLustreResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.DescribeLocationFsxLustre.DescribeLocationFsxLustre
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationFsxLustre.DescribeLocationFsxLustre
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.DescribeLocationFsxLustre.DescribeLocationFsxLustre
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.DescribeLocationFsxLustre.DescribeLocationFsxLustre
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.DescribeLocationFsxLustre.DescribeLocationFsxLustre
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.DescribeLocationFsxLustre.DescribeLocationFsxLustre
-- | Returns metadata about your DataSync location for an Amazon EFS file
-- system.
module Amazonka.DataSync.DescribeLocationEfs
-- | DescribeLocationEfsRequest
--
-- See: newDescribeLocationEfs smart constructor.
data DescribeLocationEfs
DescribeLocationEfs' :: Text -> DescribeLocationEfs
-- | The Amazon Resource Name (ARN) of the Amazon EFS file system location
-- that you want information about.
[$sel:locationArn:DescribeLocationEfs'] :: DescribeLocationEfs -> Text
-- | Create a value of DescribeLocationEfs 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:
--
-- DescribeLocationEfs, describeLocationEfs_locationArn -
-- The Amazon Resource Name (ARN) of the Amazon EFS file system location
-- that you want information about.
newDescribeLocationEfs :: Text -> DescribeLocationEfs
-- | The Amazon Resource Name (ARN) of the Amazon EFS file system location
-- that you want information about.
describeLocationEfs_locationArn :: Lens' DescribeLocationEfs Text
-- | DescribeLocationEfsResponse
--
-- See: newDescribeLocationEfsResponse smart constructor.
data DescribeLocationEfsResponse
DescribeLocationEfsResponse' :: Maybe Text -> Maybe POSIX -> Maybe Ec2Config -> Maybe Text -> Maybe EfsInTransitEncryption -> Maybe Text -> Maybe Text -> Int -> DescribeLocationEfsResponse
-- | The ARN of the access point that DataSync uses to access the Amazon
-- EFS file system.
[$sel:accessPointArn:DescribeLocationEfsResponse'] :: DescribeLocationEfsResponse -> Maybe Text
-- | The time that the location was created.
[$sel:creationTime:DescribeLocationEfsResponse'] :: DescribeLocationEfsResponse -> Maybe POSIX
[$sel:ec2Config:DescribeLocationEfsResponse'] :: DescribeLocationEfsResponse -> Maybe Ec2Config
-- | The Identity and Access Management (IAM) role that DataSync assumes
-- when mounting the Amazon EFS file system.
[$sel:fileSystemAccessRoleArn:DescribeLocationEfsResponse'] :: DescribeLocationEfsResponse -> Maybe Text
-- | Describes whether DataSync uses Transport Layer Security (TLS)
-- encryption when copying data to or from the Amazon EFS file system.
[$sel:inTransitEncryption:DescribeLocationEfsResponse'] :: DescribeLocationEfsResponse -> Maybe EfsInTransitEncryption
-- | The ARN of the Amazon EFS file system location.
[$sel:locationArn:DescribeLocationEfsResponse'] :: DescribeLocationEfsResponse -> Maybe Text
-- | The URL of the Amazon EFS file system location.
[$sel:locationUri:DescribeLocationEfsResponse'] :: DescribeLocationEfsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeLocationEfsResponse'] :: DescribeLocationEfsResponse -> Int
-- | Create a value of DescribeLocationEfsResponse 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:accessPointArn:DescribeLocationEfsResponse',
-- describeLocationEfsResponse_accessPointArn - The ARN of the
-- access point that DataSync uses to access the Amazon EFS file system.
--
-- $sel:creationTime:DescribeLocationEfsResponse',
-- describeLocationEfsResponse_creationTime - The time that the
-- location was created.
--
-- $sel:ec2Config:DescribeLocationEfsResponse',
-- describeLocationEfsResponse_ec2Config - Undocumented member.
--
-- $sel:fileSystemAccessRoleArn:DescribeLocationEfsResponse',
-- describeLocationEfsResponse_fileSystemAccessRoleArn - The
-- Identity and Access Management (IAM) role that DataSync assumes when
-- mounting the Amazon EFS file system.
--
-- $sel:inTransitEncryption:DescribeLocationEfsResponse',
-- describeLocationEfsResponse_inTransitEncryption - Describes
-- whether DataSync uses Transport Layer Security (TLS) encryption when
-- copying data to or from the Amazon EFS file system.
--
-- DescribeLocationEfs,
-- describeLocationEfsResponse_locationArn - The ARN of the Amazon
-- EFS file system location.
--
-- DescribeLocationEfsResponse,
-- describeLocationEfsResponse_locationUri - The URL of the Amazon
-- EFS file system location.
--
-- $sel:httpStatus:DescribeLocationEfsResponse',
-- describeLocationEfsResponse_httpStatus - The response's http
-- status code.
newDescribeLocationEfsResponse :: Int -> DescribeLocationEfsResponse
-- | The ARN of the access point that DataSync uses to access the Amazon
-- EFS file system.
describeLocationEfsResponse_accessPointArn :: Lens' DescribeLocationEfsResponse (Maybe Text)
-- | The time that the location was created.
describeLocationEfsResponse_creationTime :: Lens' DescribeLocationEfsResponse (Maybe UTCTime)
-- | Undocumented member.
describeLocationEfsResponse_ec2Config :: Lens' DescribeLocationEfsResponse (Maybe Ec2Config)
-- | The Identity and Access Management (IAM) role that DataSync assumes
-- when mounting the Amazon EFS file system.
describeLocationEfsResponse_fileSystemAccessRoleArn :: Lens' DescribeLocationEfsResponse (Maybe Text)
-- | Describes whether DataSync uses Transport Layer Security (TLS)
-- encryption when copying data to or from the Amazon EFS file system.
describeLocationEfsResponse_inTransitEncryption :: Lens' DescribeLocationEfsResponse (Maybe EfsInTransitEncryption)
-- | The ARN of the Amazon EFS file system location.
describeLocationEfsResponse_locationArn :: Lens' DescribeLocationEfsResponse (Maybe Text)
-- | The URL of the Amazon EFS file system location.
describeLocationEfsResponse_locationUri :: Lens' DescribeLocationEfsResponse (Maybe Text)
-- | The response's http status code.
describeLocationEfsResponse_httpStatus :: Lens' DescribeLocationEfsResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationEfs.DescribeLocationEfs
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationEfs.DescribeLocationEfs
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationEfs.DescribeLocationEfs
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationEfs.DescribeLocationEfs
instance GHC.Generics.Generic Amazonka.DataSync.DescribeLocationEfs.DescribeLocationEfsResponse
instance GHC.Show.Show Amazonka.DataSync.DescribeLocationEfs.DescribeLocationEfsResponse
instance GHC.Read.Read Amazonka.DataSync.DescribeLocationEfs.DescribeLocationEfsResponse
instance GHC.Classes.Eq Amazonka.DataSync.DescribeLocationEfs.DescribeLocationEfsResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.DescribeLocationEfs.DescribeLocationEfs
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationEfs.DescribeLocationEfsResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.DescribeLocationEfs.DescribeLocationEfs
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeLocationEfs.DescribeLocationEfs
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.DescribeLocationEfs.DescribeLocationEfs
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.DescribeLocationEfs.DescribeLocationEfs
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.DescribeLocationEfs.DescribeLocationEfs
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.DescribeLocationEfs.DescribeLocationEfs
-- | Returns metadata such as the name, the network interfaces, and the
-- status (that is, whether the agent is running or not) for an agent. To
-- specify which agent to describe, use the Amazon Resource Name (ARN) of
-- the agent in your request.
module Amazonka.DataSync.DescribeAgent
-- | DescribeAgent
--
-- See: newDescribeAgent smart constructor.
data DescribeAgent
DescribeAgent' :: Text -> DescribeAgent
-- | The Amazon Resource Name (ARN) of the agent to describe.
[$sel:agentArn:DescribeAgent'] :: DescribeAgent -> Text
-- | Create a value of DescribeAgent 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:
--
-- DescribeAgent, describeAgent_agentArn - The Amazon
-- Resource Name (ARN) of the agent to describe.
newDescribeAgent :: Text -> DescribeAgent
-- | The Amazon Resource Name (ARN) of the agent to describe.
describeAgent_agentArn :: Lens' DescribeAgent Text
-- | DescribeAgentResponse
--
-- See: newDescribeAgentResponse smart constructor.
data DescribeAgentResponse
DescribeAgentResponse' :: Maybe Text -> Maybe POSIX -> Maybe EndpointType -> Maybe POSIX -> Maybe Text -> Maybe PrivateLinkConfig -> Maybe AgentStatus -> Int -> DescribeAgentResponse
-- | The Amazon Resource Name (ARN) of the agent.
[$sel:agentArn:DescribeAgentResponse'] :: DescribeAgentResponse -> Maybe Text
-- | The time that the agent was activated (that is, created in your
-- account).
[$sel:creationTime:DescribeAgentResponse'] :: DescribeAgentResponse -> Maybe POSIX
-- | 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.
[$sel:endpointType:DescribeAgentResponse'] :: DescribeAgentResponse -> Maybe EndpointType
-- | The time that the agent last connected to DataSync.
[$sel:lastConnectionTime:DescribeAgentResponse'] :: DescribeAgentResponse -> Maybe POSIX
-- | The name of the agent.
[$sel:name:DescribeAgentResponse'] :: DescribeAgentResponse -> Maybe Text
-- | The subnet and the security group that DataSync used to access a VPC
-- endpoint.
[$sel:privateLinkConfig:DescribeAgentResponse'] :: DescribeAgentResponse -> Maybe PrivateLinkConfig
-- | 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.
[$sel:status:DescribeAgentResponse'] :: DescribeAgentResponse -> Maybe AgentStatus
-- | The response's http status code.
[$sel:httpStatus:DescribeAgentResponse'] :: DescribeAgentResponse -> Int
-- | Create a value of DescribeAgentResponse 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:
--
-- DescribeAgent, describeAgentResponse_agentArn - The
-- Amazon Resource Name (ARN) of the agent.
--
-- $sel:creationTime:DescribeAgentResponse',
-- describeAgentResponse_creationTime - The time that the agent
-- was activated (that is, created in your account).
--
-- $sel:endpointType:DescribeAgentResponse',
-- describeAgentResponse_endpointType - 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.
--
-- $sel:lastConnectionTime:DescribeAgentResponse',
-- describeAgentResponse_lastConnectionTime - The time that the
-- agent last connected to DataSync.
--
-- DescribeAgentResponse, describeAgentResponse_name - The
-- name of the agent.
--
-- $sel:privateLinkConfig:DescribeAgentResponse',
-- describeAgentResponse_privateLinkConfig - The subnet and the
-- security group that DataSync used to access a VPC endpoint.
--
-- DescribeAgentResponse, describeAgentResponse_status -
-- 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.
--
-- $sel:httpStatus:DescribeAgentResponse',
-- describeAgentResponse_httpStatus - The response's http status
-- code.
newDescribeAgentResponse :: Int -> DescribeAgentResponse
-- | The Amazon Resource Name (ARN) of the agent.
describeAgentResponse_agentArn :: Lens' DescribeAgentResponse (Maybe Text)
-- | The time that the agent was activated (that is, created in your
-- account).
describeAgentResponse_creationTime :: Lens' DescribeAgentResponse (Maybe UTCTime)
-- | 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_endpointType :: Lens' DescribeAgentResponse (Maybe EndpointType)
-- | The time that the agent last connected to DataSync.
describeAgentResponse_lastConnectionTime :: Lens' DescribeAgentResponse (Maybe UTCTime)
-- | The name of the agent.
describeAgentResponse_name :: Lens' DescribeAgentResponse (Maybe Text)
-- | The subnet and the security group that DataSync used to access a VPC
-- endpoint.
describeAgentResponse_privateLinkConfig :: Lens' DescribeAgentResponse (Maybe PrivateLinkConfig)
-- | 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.
describeAgentResponse_status :: Lens' DescribeAgentResponse (Maybe AgentStatus)
-- | The response's http status code.
describeAgentResponse_httpStatus :: Lens' DescribeAgentResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.DescribeAgent.DescribeAgent
instance GHC.Show.Show Amazonka.DataSync.DescribeAgent.DescribeAgent
instance GHC.Read.Read Amazonka.DataSync.DescribeAgent.DescribeAgent
instance GHC.Classes.Eq Amazonka.DataSync.DescribeAgent.DescribeAgent
instance GHC.Generics.Generic Amazonka.DataSync.DescribeAgent.DescribeAgentResponse
instance GHC.Show.Show Amazonka.DataSync.DescribeAgent.DescribeAgentResponse
instance GHC.Read.Read Amazonka.DataSync.DescribeAgent.DescribeAgentResponse
instance GHC.Classes.Eq Amazonka.DataSync.DescribeAgent.DescribeAgentResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.DescribeAgent.DescribeAgent
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeAgent.DescribeAgentResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.DescribeAgent.DescribeAgent
instance Control.DeepSeq.NFData Amazonka.DataSync.DescribeAgent.DescribeAgent
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.DescribeAgent.DescribeAgent
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.DescribeAgent.DescribeAgent
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.DescribeAgent.DescribeAgent
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.DescribeAgent.DescribeAgent
-- | Deletes an DataSync task.
module Amazonka.DataSync.DeleteTask
-- | DeleteTask
--
-- See: newDeleteTask smart constructor.
data DeleteTask
DeleteTask' :: Text -> DeleteTask
-- | Specifies the Amazon Resource Name (ARN) of the task that you want to
-- delete.
[$sel:taskArn:DeleteTask'] :: DeleteTask -> Text
-- | Create a value of DeleteTask 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:
--
-- DeleteTask, deleteTask_taskArn - Specifies the Amazon
-- Resource Name (ARN) of the task that you want to delete.
newDeleteTask :: Text -> DeleteTask
-- | Specifies the Amazon Resource Name (ARN) of the task that you want to
-- delete.
deleteTask_taskArn :: Lens' DeleteTask Text
-- | See: newDeleteTaskResponse smart constructor.
data DeleteTaskResponse
DeleteTaskResponse' :: Int -> DeleteTaskResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteTaskResponse'] :: DeleteTaskResponse -> Int
-- | Create a value of DeleteTaskResponse 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:httpStatus:DeleteTaskResponse',
-- deleteTaskResponse_httpStatus - The response's http status
-- code.
newDeleteTaskResponse :: Int -> DeleteTaskResponse
-- | The response's http status code.
deleteTaskResponse_httpStatus :: Lens' DeleteTaskResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.DeleteTask.DeleteTask
instance GHC.Show.Show Amazonka.DataSync.DeleteTask.DeleteTask
instance GHC.Read.Read Amazonka.DataSync.DeleteTask.DeleteTask
instance GHC.Classes.Eq Amazonka.DataSync.DeleteTask.DeleteTask
instance GHC.Generics.Generic Amazonka.DataSync.DeleteTask.DeleteTaskResponse
instance GHC.Show.Show Amazonka.DataSync.DeleteTask.DeleteTaskResponse
instance GHC.Read.Read Amazonka.DataSync.DeleteTask.DeleteTaskResponse
instance GHC.Classes.Eq Amazonka.DataSync.DeleteTask.DeleteTaskResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.DeleteTask.DeleteTask
instance Control.DeepSeq.NFData Amazonka.DataSync.DeleteTask.DeleteTaskResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.DeleteTask.DeleteTask
instance Control.DeepSeq.NFData Amazonka.DataSync.DeleteTask.DeleteTask
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.DeleteTask.DeleteTask
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.DeleteTask.DeleteTask
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.DeleteTask.DeleteTask
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.DeleteTask.DeleteTask
-- | Deletes the configuration of a location used by DataSync.
module Amazonka.DataSync.DeleteLocation
-- | DeleteLocation
--
-- See: newDeleteLocation smart constructor.
data DeleteLocation
DeleteLocation' :: Text -> DeleteLocation
-- | The Amazon Resource Name (ARN) of the location to delete.
[$sel:locationArn:DeleteLocation'] :: DeleteLocation -> Text
-- | Create a value of DeleteLocation 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:
--
-- DeleteLocation, deleteLocation_locationArn - The Amazon
-- Resource Name (ARN) of the location to delete.
newDeleteLocation :: Text -> DeleteLocation
-- | The Amazon Resource Name (ARN) of the location to delete.
deleteLocation_locationArn :: Lens' DeleteLocation Text
-- | See: newDeleteLocationResponse smart constructor.
data DeleteLocationResponse
DeleteLocationResponse' :: Int -> DeleteLocationResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteLocationResponse'] :: DeleteLocationResponse -> Int
-- | Create a value of DeleteLocationResponse 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:httpStatus:DeleteLocationResponse',
-- deleteLocationResponse_httpStatus - The response's http status
-- code.
newDeleteLocationResponse :: Int -> DeleteLocationResponse
-- | The response's http status code.
deleteLocationResponse_httpStatus :: Lens' DeleteLocationResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.DeleteLocation.DeleteLocation
instance GHC.Show.Show Amazonka.DataSync.DeleteLocation.DeleteLocation
instance GHC.Read.Read Amazonka.DataSync.DeleteLocation.DeleteLocation
instance GHC.Classes.Eq Amazonka.DataSync.DeleteLocation.DeleteLocation
instance GHC.Generics.Generic Amazonka.DataSync.DeleteLocation.DeleteLocationResponse
instance GHC.Show.Show Amazonka.DataSync.DeleteLocation.DeleteLocationResponse
instance GHC.Read.Read Amazonka.DataSync.DeleteLocation.DeleteLocationResponse
instance GHC.Classes.Eq Amazonka.DataSync.DeleteLocation.DeleteLocationResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.DeleteLocation.DeleteLocation
instance Control.DeepSeq.NFData Amazonka.DataSync.DeleteLocation.DeleteLocationResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.DeleteLocation.DeleteLocation
instance Control.DeepSeq.NFData Amazonka.DataSync.DeleteLocation.DeleteLocation
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.DeleteLocation.DeleteLocation
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.DeleteLocation.DeleteLocation
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.DeleteLocation.DeleteLocation
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.DeleteLocation.DeleteLocation
-- | Deletes an agent. To specify which agent to delete, use the Amazon
-- Resource Name (ARN) of the agent in your request. The operation
-- disassociates the agent from your Amazon Web Services account.
-- However, it doesn't delete the agent virtual machine (VM) from your
-- on-premises environment.
module Amazonka.DataSync.DeleteAgent
-- | DeleteAgentRequest
--
-- See: newDeleteAgent smart constructor.
data DeleteAgent
DeleteAgent' :: Text -> DeleteAgent
-- | 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.
[$sel:agentArn:DeleteAgent'] :: DeleteAgent -> Text
-- | Create a value of DeleteAgent 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:
--
-- DeleteAgent, deleteAgent_agentArn - 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.
newDeleteAgent :: Text -> DeleteAgent
-- | 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.
deleteAgent_agentArn :: Lens' DeleteAgent Text
-- | See: newDeleteAgentResponse smart constructor.
data DeleteAgentResponse
DeleteAgentResponse' :: Int -> DeleteAgentResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteAgentResponse'] :: DeleteAgentResponse -> Int
-- | Create a value of DeleteAgentResponse 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:httpStatus:DeleteAgentResponse',
-- deleteAgentResponse_httpStatus - The response's http status
-- code.
newDeleteAgentResponse :: Int -> DeleteAgentResponse
-- | The response's http status code.
deleteAgentResponse_httpStatus :: Lens' DeleteAgentResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.DeleteAgent.DeleteAgent
instance GHC.Show.Show Amazonka.DataSync.DeleteAgent.DeleteAgent
instance GHC.Read.Read Amazonka.DataSync.DeleteAgent.DeleteAgent
instance GHC.Classes.Eq Amazonka.DataSync.DeleteAgent.DeleteAgent
instance GHC.Generics.Generic Amazonka.DataSync.DeleteAgent.DeleteAgentResponse
instance GHC.Show.Show Amazonka.DataSync.DeleteAgent.DeleteAgentResponse
instance GHC.Read.Read Amazonka.DataSync.DeleteAgent.DeleteAgentResponse
instance GHC.Classes.Eq Amazonka.DataSync.DeleteAgent.DeleteAgentResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.DeleteAgent.DeleteAgent
instance Control.DeepSeq.NFData Amazonka.DataSync.DeleteAgent.DeleteAgentResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.DeleteAgent.DeleteAgent
instance Control.DeepSeq.NFData Amazonka.DataSync.DeleteAgent.DeleteAgent
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.DeleteAgent.DeleteAgent
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.DeleteAgent.DeleteAgent
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.DeleteAgent.DeleteAgent
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.DeleteAgent.DeleteAgent
-- | Configures a task, which defines where and how DataSync transfers your
-- data.
--
-- A task includes a source location, a destination location, and the
-- preferences for how and when you want to transfer your data (such as
-- bandwidth limits, scheduling, among other options).
module Amazonka.DataSync.CreateTask
-- | CreateTaskRequest
--
-- See: newCreateTask smart constructor.
data CreateTask
CreateTask' :: Maybe Text -> Maybe [FilterRule] -> Maybe [FilterRule] -> Maybe Text -> Maybe Options -> Maybe TaskSchedule -> Maybe [TagListEntry] -> Text -> Text -> CreateTask
-- | The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that
-- is used to monitor and log events in the task.
[$sel:cloudWatchLogGroupArn:CreateTask'] :: CreateTask -> Maybe Text
-- | Specifies a list of filter rules that exclude specific data during
-- your transfer. For more information and examples, see Filtering
-- data transferred by DataSync.
[$sel:excludes:CreateTask'] :: CreateTask -> Maybe [FilterRule]
-- | Specifies a list of filter rules that include specific data during
-- your transfer. For more information and examples, see Filtering
-- data transferred by DataSync.
[$sel:includes:CreateTask'] :: CreateTask -> Maybe [FilterRule]
-- | The name of a task. This value is a text reference that is used to
-- identify the task in the console.
[$sel:name:CreateTask'] :: CreateTask -> Maybe Text
-- | 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.
[$sel:options:CreateTask'] :: CreateTask -> Maybe Options
-- | 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.
[$sel:schedule:CreateTask'] :: CreateTask -> Maybe TaskSchedule
-- | 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.
[$sel:tags:CreateTask'] :: CreateTask -> Maybe [TagListEntry]
-- | The Amazon Resource Name (ARN) of the source location for the task.
[$sel:sourceLocationArn:CreateTask'] :: CreateTask -> Text
-- | The Amazon Resource Name (ARN) of an Amazon Web Services storage
-- resource's location.
[$sel:destinationLocationArn:CreateTask'] :: CreateTask -> Text
-- | Create a value of CreateTask 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:cloudWatchLogGroupArn:CreateTask',
-- createTask_cloudWatchLogGroupArn - The Amazon Resource Name
-- (ARN) of the Amazon CloudWatch log group that is used to monitor and
-- log events in the task.
--
-- $sel:excludes:CreateTask', createTask_excludes -
-- Specifies a list of filter rules that exclude specific data during
-- your transfer. For more information and examples, see Filtering
-- data transferred by DataSync.
--
-- $sel:includes:CreateTask', createTask_includes -
-- 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, createTask_name - The name of a task. This
-- value is a text reference that is used to identify the task in the
-- console.
--
-- $sel:options:CreateTask', createTask_options - 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.
--
-- $sel:schedule:CreateTask', createTask_schedule -
-- 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.
--
-- $sel:tags:CreateTask', createTask_tags - 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.
--
-- $sel:sourceLocationArn:CreateTask',
-- createTask_sourceLocationArn - The Amazon Resource Name (ARN)
-- of the source location for the task.
--
-- $sel:destinationLocationArn:CreateTask',
-- createTask_destinationLocationArn - The Amazon Resource Name
-- (ARN) of an Amazon Web Services storage resource's location.
newCreateTask :: Text -> Text -> CreateTask
-- | The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that
-- is used to monitor and log events in the task.
createTask_cloudWatchLogGroupArn :: Lens' CreateTask (Maybe Text)
-- | 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_excludes :: Lens' CreateTask (Maybe [FilterRule])
-- | 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_includes :: Lens' CreateTask (Maybe [FilterRule])
-- | The name of a task. This value is a text reference that is used to
-- identify the task in the console.
createTask_name :: Lens' CreateTask (Maybe Text)
-- | 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_options :: Lens' CreateTask (Maybe Options)
-- | 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_schedule :: Lens' CreateTask (Maybe TaskSchedule)
-- | 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_tags :: Lens' CreateTask (Maybe [TagListEntry])
-- | The Amazon Resource Name (ARN) of the source location for the task.
createTask_sourceLocationArn :: Lens' CreateTask Text
-- | The Amazon Resource Name (ARN) of an Amazon Web Services storage
-- resource's location.
createTask_destinationLocationArn :: Lens' CreateTask Text
-- | CreateTaskResponse
--
-- See: newCreateTaskResponse smart constructor.
data CreateTaskResponse
CreateTaskResponse' :: Maybe Text -> Int -> CreateTaskResponse
-- | The Amazon Resource Name (ARN) of the task.
[$sel:taskArn:CreateTaskResponse'] :: CreateTaskResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateTaskResponse'] :: CreateTaskResponse -> Int
-- | Create a value of CreateTaskResponse 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:
--
-- CreateTaskResponse, createTaskResponse_taskArn - The
-- Amazon Resource Name (ARN) of the task.
--
-- $sel:httpStatus:CreateTaskResponse',
-- createTaskResponse_httpStatus - The response's http status
-- code.
newCreateTaskResponse :: Int -> CreateTaskResponse
-- | The Amazon Resource Name (ARN) of the task.
createTaskResponse_taskArn :: Lens' CreateTaskResponse (Maybe Text)
-- | The response's http status code.
createTaskResponse_httpStatus :: Lens' CreateTaskResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.CreateTask.CreateTask
instance GHC.Show.Show Amazonka.DataSync.CreateTask.CreateTask
instance GHC.Read.Read Amazonka.DataSync.CreateTask.CreateTask
instance GHC.Classes.Eq Amazonka.DataSync.CreateTask.CreateTask
instance GHC.Generics.Generic Amazonka.DataSync.CreateTask.CreateTaskResponse
instance GHC.Show.Show Amazonka.DataSync.CreateTask.CreateTaskResponse
instance GHC.Read.Read Amazonka.DataSync.CreateTask.CreateTaskResponse
instance GHC.Classes.Eq Amazonka.DataSync.CreateTask.CreateTaskResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.CreateTask.CreateTask
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateTask.CreateTaskResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.CreateTask.CreateTask
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateTask.CreateTask
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.CreateTask.CreateTask
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.CreateTask.CreateTask
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.CreateTask.CreateTask
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.CreateTask.CreateTask
-- | Defines a file system on a Server Message Block (SMB) server that can
-- be read from or written to.
module Amazonka.DataSync.CreateLocationSmb
-- | CreateLocationSmbRequest
--
-- See: newCreateLocationSmb smart constructor.
data CreateLocationSmb
CreateLocationSmb' :: Maybe Text -> Maybe SmbMountOptions -> Maybe [TagListEntry] -> Text -> Text -> Text -> Sensitive Text -> NonEmpty Text -> CreateLocationSmb
-- | The name of the Windows domain that the SMB server belongs to.
[$sel:domain:CreateLocationSmb'] :: CreateLocationSmb -> Maybe Text
-- | The mount options used by DataSync to access the SMB server.
[$sel:mountOptions:CreateLocationSmb'] :: CreateLocationSmb -> Maybe SmbMountOptions
-- | 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.
[$sel:tags:CreateLocationSmb'] :: CreateLocationSmb -> Maybe [TagListEntry]
-- | 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.
[$sel:subdirectory:CreateLocationSmb'] :: CreateLocationSmb -> Text
-- | 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.
[$sel:serverHostname:CreateLocationSmb'] :: CreateLocationSmb -> Text
-- | 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.
[$sel:user:CreateLocationSmb'] :: CreateLocationSmb -> Text
-- | The password of the user who can mount the share, has the permissions
-- to access files and folders in the SMB share.
[$sel:password:CreateLocationSmb'] :: CreateLocationSmb -> Sensitive Text
-- | The Amazon Resource Names (ARNs) of agents to use for a Simple Message
-- Block (SMB) location.
[$sel:agentArns:CreateLocationSmb'] :: CreateLocationSmb -> NonEmpty Text
-- | Create a value of CreateLocationSmb 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:
--
-- CreateLocationSmb, createLocationSmb_domain - The name
-- of the Windows domain that the SMB server belongs to.
--
-- CreateLocationSmb, createLocationSmb_mountOptions - The
-- mount options used by DataSync to access the SMB server.
--
-- $sel:tags:CreateLocationSmb', createLocationSmb_tags -
-- 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.
--
-- $sel:subdirectory:CreateLocationSmb',
-- createLocationSmb_subdirectory - 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.
--
-- $sel:serverHostname:CreateLocationSmb',
-- createLocationSmb_serverHostname - 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, createLocationSmb_user - 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, createLocationSmb_password - The
-- password of the user who can mount the share, has the permissions to
-- access files and folders in the SMB share.
--
-- CreateLocationSmb, createLocationSmb_agentArns - The
-- Amazon Resource Names (ARNs) of agents to use for a Simple Message
-- Block (SMB) location.
newCreateLocationSmb :: Text -> Text -> Text -> Text -> NonEmpty Text -> CreateLocationSmb
-- | The name of the Windows domain that the SMB server belongs to.
createLocationSmb_domain :: Lens' CreateLocationSmb (Maybe Text)
-- | The mount options used by DataSync to access the SMB server.
createLocationSmb_mountOptions :: Lens' CreateLocationSmb (Maybe SmbMountOptions)
-- | 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_tags :: Lens' CreateLocationSmb (Maybe [TagListEntry])
-- | 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_subdirectory :: Lens' CreateLocationSmb Text
-- | 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_serverHostname :: Lens' CreateLocationSmb Text
-- | 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_user :: Lens' CreateLocationSmb Text
-- | The password of the user who can mount the share, has the permissions
-- to access files and folders in the SMB share.
createLocationSmb_password :: Lens' CreateLocationSmb Text
-- | The Amazon Resource Names (ARNs) of agents to use for a Simple Message
-- Block (SMB) location.
createLocationSmb_agentArns :: Lens' CreateLocationSmb (NonEmpty Text)
-- | CreateLocationSmbResponse
--
-- See: newCreateLocationSmbResponse smart constructor.
data CreateLocationSmbResponse
CreateLocationSmbResponse' :: Maybe Text -> Int -> CreateLocationSmbResponse
-- | The Amazon Resource Name (ARN) of the source SMB file system location
-- that is created.
[$sel:locationArn:CreateLocationSmbResponse'] :: CreateLocationSmbResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateLocationSmbResponse'] :: CreateLocationSmbResponse -> Int
-- | Create a value of CreateLocationSmbResponse 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:
--
-- CreateLocationSmbResponse,
-- createLocationSmbResponse_locationArn - The Amazon Resource
-- Name (ARN) of the source SMB file system location that is created.
--
-- $sel:httpStatus:CreateLocationSmbResponse',
-- createLocationSmbResponse_httpStatus - The response's http
-- status code.
newCreateLocationSmbResponse :: Int -> CreateLocationSmbResponse
-- | The Amazon Resource Name (ARN) of the source SMB file system location
-- that is created.
createLocationSmbResponse_locationArn :: Lens' CreateLocationSmbResponse (Maybe Text)
-- | The response's http status code.
createLocationSmbResponse_httpStatus :: Lens' CreateLocationSmbResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationSmb.CreateLocationSmb
instance GHC.Show.Show Amazonka.DataSync.CreateLocationSmb.CreateLocationSmb
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationSmb.CreateLocationSmb
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationSmb.CreateLocationSmbResponse
instance GHC.Show.Show Amazonka.DataSync.CreateLocationSmb.CreateLocationSmbResponse
instance GHC.Read.Read Amazonka.DataSync.CreateLocationSmb.CreateLocationSmbResponse
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationSmb.CreateLocationSmbResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.CreateLocationSmb.CreateLocationSmb
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationSmb.CreateLocationSmbResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.CreateLocationSmb.CreateLocationSmb
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationSmb.CreateLocationSmb
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.CreateLocationSmb.CreateLocationSmb
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.CreateLocationSmb.CreateLocationSmb
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.CreateLocationSmb.CreateLocationSmb
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.CreateLocationSmb.CreateLocationSmb
-- | Creates an endpoint for an Amazon S3 bucket that DataSync can access
-- for a transfer.
--
-- For more information, see Create an Amazon S3 location in the
-- DataSync User Guide.
module Amazonka.DataSync.CreateLocationS3
-- | CreateLocationS3Request
--
-- See: newCreateLocationS3 smart constructor.
data CreateLocationS3
CreateLocationS3' :: Maybe (NonEmpty Text) -> Maybe S3StorageClass -> Maybe Text -> Maybe [TagListEntry] -> Text -> S3Config -> CreateLocationS3
-- | 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.
[$sel:agentArns:CreateLocationS3'] :: CreateLocationS3 -> Maybe (NonEmpty Text)
-- | 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.
[$sel:s3StorageClass:CreateLocationS3'] :: CreateLocationS3 -> Maybe S3StorageClass
-- | 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.
[$sel:subdirectory:CreateLocationS3'] :: CreateLocationS3 -> Maybe Text
-- | 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.
[$sel:tags:CreateLocationS3'] :: CreateLocationS3 -> Maybe [TagListEntry]
-- | The ARN of the Amazon S3 bucket. If the bucket is on an Amazon Web
-- Services Outpost, this must be an access point ARN.
[$sel:s3BucketArn:CreateLocationS3'] :: CreateLocationS3 -> Text
[$sel:s3Config:CreateLocationS3'] :: CreateLocationS3 -> S3Config
-- | Create a value of CreateLocationS3 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:
--
-- CreateLocationS3, createLocationS3_agentArns - 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.
--
-- $sel:s3StorageClass:CreateLocationS3',
-- createLocationS3_s3StorageClass - 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.
--
-- $sel:subdirectory:CreateLocationS3',
-- createLocationS3_subdirectory - 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.
--
-- $sel:tags:CreateLocationS3', createLocationS3_tags - 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.
--
-- $sel:s3BucketArn:CreateLocationS3',
-- createLocationS3_s3BucketArn - The ARN of the Amazon S3 bucket.
-- If the bucket is on an Amazon Web Services Outpost, this must be an
-- access point ARN.
--
-- $sel:s3Config:CreateLocationS3',
-- createLocationS3_s3Config - Undocumented member.
newCreateLocationS3 :: Text -> S3Config -> CreateLocationS3
-- | 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_agentArns :: Lens' CreateLocationS3 (Maybe (NonEmpty Text))
-- | 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_s3StorageClass :: Lens' CreateLocationS3 (Maybe S3StorageClass)
-- | 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_subdirectory :: Lens' CreateLocationS3 (Maybe Text)
-- | 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_tags :: Lens' CreateLocationS3 (Maybe [TagListEntry])
-- | The ARN of the Amazon S3 bucket. If the bucket is on an Amazon Web
-- Services Outpost, this must be an access point ARN.
createLocationS3_s3BucketArn :: Lens' CreateLocationS3 Text
-- | Undocumented member.
createLocationS3_s3Config :: Lens' CreateLocationS3 S3Config
-- | CreateLocationS3Response
--
-- See: newCreateLocationS3Response smart constructor.
data CreateLocationS3Response
CreateLocationS3Response' :: Maybe Text -> Int -> CreateLocationS3Response
-- | The Amazon Resource Name (ARN) of the source Amazon S3 bucket location
-- that is created.
[$sel:locationArn:CreateLocationS3Response'] :: CreateLocationS3Response -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateLocationS3Response'] :: CreateLocationS3Response -> Int
-- | Create a value of CreateLocationS3Response 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:
--
-- CreateLocationS3Response,
-- createLocationS3Response_locationArn - The Amazon Resource Name
-- (ARN) of the source Amazon S3 bucket location that is created.
--
-- $sel:httpStatus:CreateLocationS3Response',
-- createLocationS3Response_httpStatus - The response's http
-- status code.
newCreateLocationS3Response :: Int -> CreateLocationS3Response
-- | The Amazon Resource Name (ARN) of the source Amazon S3 bucket location
-- that is created.
createLocationS3Response_locationArn :: Lens' CreateLocationS3Response (Maybe Text)
-- | The response's http status code.
createLocationS3Response_httpStatus :: Lens' CreateLocationS3Response Int
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationS3.CreateLocationS3
instance GHC.Show.Show Amazonka.DataSync.CreateLocationS3.CreateLocationS3
instance GHC.Read.Read Amazonka.DataSync.CreateLocationS3.CreateLocationS3
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationS3.CreateLocationS3
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationS3.CreateLocationS3Response
instance GHC.Show.Show Amazonka.DataSync.CreateLocationS3.CreateLocationS3Response
instance GHC.Read.Read Amazonka.DataSync.CreateLocationS3.CreateLocationS3Response
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationS3.CreateLocationS3Response
instance Amazonka.Types.AWSRequest Amazonka.DataSync.CreateLocationS3.CreateLocationS3
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationS3.CreateLocationS3Response
instance Data.Hashable.Class.Hashable Amazonka.DataSync.CreateLocationS3.CreateLocationS3
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationS3.CreateLocationS3
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.CreateLocationS3.CreateLocationS3
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.CreateLocationS3.CreateLocationS3
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.CreateLocationS3.CreateLocationS3
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.CreateLocationS3.CreateLocationS3
-- | Creates an endpoint for an object storage system that DataSync can
-- access for a transfer. For more information, see Creating a
-- location for object storage.
module Amazonka.DataSync.CreateLocationObjectStorage
-- | CreateLocationObjectStorageRequest
--
-- See: newCreateLocationObjectStorage smart constructor.
data CreateLocationObjectStorage
CreateLocationObjectStorage' :: Maybe Text -> Maybe (Sensitive Text) -> Maybe Base64 -> Maybe Natural -> Maybe ObjectStorageServerProtocol -> Maybe Text -> Maybe [TagListEntry] -> Text -> Text -> NonEmpty Text -> CreateLocationObjectStorage
-- | Specifies the access key (for example, a user name) if credentials are
-- required to authenticate with the object storage server.
[$sel:accessKey:CreateLocationObjectStorage'] :: CreateLocationObjectStorage -> Maybe Text
-- | Specifies the secret key (for example, a password) if credentials are
-- required to authenticate with the object storage server.
[$sel:secretKey:CreateLocationObjectStorage'] :: CreateLocationObjectStorage -> Maybe (Sensitive Text)
-- | 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.
[$sel:serverCertificate:CreateLocationObjectStorage'] :: CreateLocationObjectStorage -> Maybe Base64
-- | Specifies the port that your object storage server accepts inbound
-- network traffic on (for example, port 443).
[$sel:serverPort:CreateLocationObjectStorage'] :: CreateLocationObjectStorage -> Maybe Natural
-- | Specifies the protocol that your object storage server uses to
-- communicate.
[$sel:serverProtocol:CreateLocationObjectStorage'] :: CreateLocationObjectStorage -> Maybe ObjectStorageServerProtocol
-- | 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.
[$sel:subdirectory:CreateLocationObjectStorage'] :: CreateLocationObjectStorage -> Maybe Text
-- | 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.
[$sel:tags:CreateLocationObjectStorage'] :: CreateLocationObjectStorage -> Maybe [TagListEntry]
-- | 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.
[$sel:serverHostname:CreateLocationObjectStorage'] :: CreateLocationObjectStorage -> Text
-- | Specifies the name of the object storage bucket involved in the
-- transfer.
[$sel:bucketName:CreateLocationObjectStorage'] :: CreateLocationObjectStorage -> Text
-- | Specifies the Amazon Resource Names (ARNs) of the DataSync agents that
-- can securely connect with your location.
[$sel:agentArns:CreateLocationObjectStorage'] :: CreateLocationObjectStorage -> NonEmpty Text
-- | Create a value of CreateLocationObjectStorage 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:accessKey:CreateLocationObjectStorage',
-- createLocationObjectStorage_accessKey - Specifies the access
-- key (for example, a user name) if credentials are required to
-- authenticate with the object storage server.
--
-- $sel:secretKey:CreateLocationObjectStorage',
-- createLocationObjectStorage_secretKey - Specifies the secret
-- key (for example, a password) if credentials are required to
-- authenticate with the object storage server.
--
-- $sel:serverCertificate:CreateLocationObjectStorage',
-- createLocationObjectStorage_serverCertificate - 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.
--
-- $sel:serverPort:CreateLocationObjectStorage',
-- createLocationObjectStorage_serverPort - Specifies the port
-- that your object storage server accepts inbound network traffic on
-- (for example, port 443).
--
-- $sel:serverProtocol:CreateLocationObjectStorage',
-- createLocationObjectStorage_serverProtocol - Specifies the
-- protocol that your object storage server uses to communicate.
--
-- $sel:subdirectory:CreateLocationObjectStorage',
-- createLocationObjectStorage_subdirectory - 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.
--
-- $sel:tags:CreateLocationObjectStorage',
-- createLocationObjectStorage_tags - 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.
--
-- $sel:serverHostname:CreateLocationObjectStorage',
-- createLocationObjectStorage_serverHostname - 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.
--
-- $sel:bucketName:CreateLocationObjectStorage',
-- createLocationObjectStorage_bucketName - Specifies the name of
-- the object storage bucket involved in the transfer.
--
-- CreateLocationObjectStorage,
-- createLocationObjectStorage_agentArns - Specifies the Amazon
-- Resource Names (ARNs) of the DataSync agents that can securely connect
-- with your location.
newCreateLocationObjectStorage :: Text -> Text -> NonEmpty Text -> CreateLocationObjectStorage
-- | Specifies the access key (for example, a user name) if credentials are
-- required to authenticate with the object storage server.
createLocationObjectStorage_accessKey :: Lens' CreateLocationObjectStorage (Maybe Text)
-- | Specifies the secret key (for example, a password) if credentials are
-- required to authenticate with the object storage server.
createLocationObjectStorage_secretKey :: Lens' CreateLocationObjectStorage (Maybe Text)
-- | 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_serverCertificate :: Lens' CreateLocationObjectStorage (Maybe ByteString)
-- | Specifies the port that your object storage server accepts inbound
-- network traffic on (for example, port 443).
createLocationObjectStorage_serverPort :: Lens' CreateLocationObjectStorage (Maybe Natural)
-- | Specifies the protocol that your object storage server uses to
-- communicate.
createLocationObjectStorage_serverProtocol :: Lens' CreateLocationObjectStorage (Maybe ObjectStorageServerProtocol)
-- | 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_subdirectory :: Lens' CreateLocationObjectStorage (Maybe Text)
-- | 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_tags :: Lens' CreateLocationObjectStorage (Maybe [TagListEntry])
-- | 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_serverHostname :: Lens' CreateLocationObjectStorage Text
-- | Specifies the name of the object storage bucket involved in the
-- transfer.
createLocationObjectStorage_bucketName :: Lens' CreateLocationObjectStorage Text
-- | Specifies the Amazon Resource Names (ARNs) of the DataSync agents that
-- can securely connect with your location.
createLocationObjectStorage_agentArns :: Lens' CreateLocationObjectStorage (NonEmpty Text)
-- | CreateLocationObjectStorageResponse
--
-- See: newCreateLocationObjectStorageResponse smart
-- constructor.
data CreateLocationObjectStorageResponse
CreateLocationObjectStorageResponse' :: Maybe Text -> Int -> CreateLocationObjectStorageResponse
-- | Specifies the ARN of the object storage system location that you
-- create.
[$sel:locationArn:CreateLocationObjectStorageResponse'] :: CreateLocationObjectStorageResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateLocationObjectStorageResponse'] :: CreateLocationObjectStorageResponse -> Int
-- | Create a value of CreateLocationObjectStorageResponse 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:
--
-- CreateLocationObjectStorageResponse,
-- createLocationObjectStorageResponse_locationArn - Specifies the
-- ARN of the object storage system location that you create.
--
-- $sel:httpStatus:CreateLocationObjectStorageResponse',
-- createLocationObjectStorageResponse_httpStatus - The response's
-- http status code.
newCreateLocationObjectStorageResponse :: Int -> CreateLocationObjectStorageResponse
-- | Specifies the ARN of the object storage system location that you
-- create.
createLocationObjectStorageResponse_locationArn :: Lens' CreateLocationObjectStorageResponse (Maybe Text)
-- | The response's http status code.
createLocationObjectStorageResponse_httpStatus :: Lens' CreateLocationObjectStorageResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationObjectStorage.CreateLocationObjectStorage
instance GHC.Show.Show Amazonka.DataSync.CreateLocationObjectStorage.CreateLocationObjectStorage
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationObjectStorage.CreateLocationObjectStorage
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationObjectStorage.CreateLocationObjectStorageResponse
instance GHC.Show.Show Amazonka.DataSync.CreateLocationObjectStorage.CreateLocationObjectStorageResponse
instance GHC.Read.Read Amazonka.DataSync.CreateLocationObjectStorage.CreateLocationObjectStorageResponse
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationObjectStorage.CreateLocationObjectStorageResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.CreateLocationObjectStorage.CreateLocationObjectStorage
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationObjectStorage.CreateLocationObjectStorageResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.CreateLocationObjectStorage.CreateLocationObjectStorage
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationObjectStorage.CreateLocationObjectStorage
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.CreateLocationObjectStorage.CreateLocationObjectStorage
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.CreateLocationObjectStorage.CreateLocationObjectStorage
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.CreateLocationObjectStorage.CreateLocationObjectStorage
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.CreateLocationObjectStorage.CreateLocationObjectStorage
-- | Defines a file system on a Network File System (NFS) server that can
-- be read from or written to.
module Amazonka.DataSync.CreateLocationNfs
-- | CreateLocationNfsRequest
--
-- See: newCreateLocationNfs smart constructor.
data CreateLocationNfs
CreateLocationNfs' :: Maybe NfsMountOptions -> Maybe [TagListEntry] -> Text -> Text -> OnPremConfig -> CreateLocationNfs
-- | The NFS mount options that DataSync can use to mount your NFS share.
[$sel:mountOptions:CreateLocationNfs'] :: CreateLocationNfs -> Maybe NfsMountOptions
-- | 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.
[$sel:tags:CreateLocationNfs'] :: CreateLocationNfs -> Maybe [TagListEntry]
-- | 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.
[$sel:subdirectory:CreateLocationNfs'] :: CreateLocationNfs -> Text
-- | 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.
[$sel:serverHostname:CreateLocationNfs'] :: CreateLocationNfs -> Text
-- | 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.
[$sel:onPremConfig:CreateLocationNfs'] :: CreateLocationNfs -> OnPremConfig
-- | Create a value of CreateLocationNfs 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:
--
-- CreateLocationNfs, createLocationNfs_mountOptions - The
-- NFS mount options that DataSync can use to mount your NFS share.
--
-- $sel:tags:CreateLocationNfs', createLocationNfs_tags -
-- 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.
--
-- $sel:subdirectory:CreateLocationNfs',
-- createLocationNfs_subdirectory - 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.
--
-- $sel:serverHostname:CreateLocationNfs',
-- createLocationNfs_serverHostname - 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.
--
-- $sel:onPremConfig:CreateLocationNfs',
-- createLocationNfs_onPremConfig - 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.
newCreateLocationNfs :: Text -> Text -> OnPremConfig -> CreateLocationNfs
-- | The NFS mount options that DataSync can use to mount your NFS share.
createLocationNfs_mountOptions :: Lens' CreateLocationNfs (Maybe NfsMountOptions)
-- | 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_tags :: Lens' CreateLocationNfs (Maybe [TagListEntry])
-- | 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_subdirectory :: Lens' CreateLocationNfs Text
-- | 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_serverHostname :: Lens' CreateLocationNfs Text
-- | 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.
createLocationNfs_onPremConfig :: Lens' CreateLocationNfs OnPremConfig
-- | CreateLocationNfsResponse
--
-- See: newCreateLocationNfsResponse smart constructor.
data CreateLocationNfsResponse
CreateLocationNfsResponse' :: Maybe Text -> Int -> CreateLocationNfsResponse
-- | The Amazon Resource Name (ARN) of the source NFS file system location
-- that is created.
[$sel:locationArn:CreateLocationNfsResponse'] :: CreateLocationNfsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateLocationNfsResponse'] :: CreateLocationNfsResponse -> Int
-- | Create a value of CreateLocationNfsResponse 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:
--
-- CreateLocationNfsResponse,
-- createLocationNfsResponse_locationArn - The Amazon Resource
-- Name (ARN) of the source NFS file system location that is created.
--
-- $sel:httpStatus:CreateLocationNfsResponse',
-- createLocationNfsResponse_httpStatus - The response's http
-- status code.
newCreateLocationNfsResponse :: Int -> CreateLocationNfsResponse
-- | The Amazon Resource Name (ARN) of the source NFS file system location
-- that is created.
createLocationNfsResponse_locationArn :: Lens' CreateLocationNfsResponse (Maybe Text)
-- | The response's http status code.
createLocationNfsResponse_httpStatus :: Lens' CreateLocationNfsResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationNfs.CreateLocationNfs
instance GHC.Show.Show Amazonka.DataSync.CreateLocationNfs.CreateLocationNfs
instance GHC.Read.Read Amazonka.DataSync.CreateLocationNfs.CreateLocationNfs
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationNfs.CreateLocationNfs
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationNfs.CreateLocationNfsResponse
instance GHC.Show.Show Amazonka.DataSync.CreateLocationNfs.CreateLocationNfsResponse
instance GHC.Read.Read Amazonka.DataSync.CreateLocationNfs.CreateLocationNfsResponse
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationNfs.CreateLocationNfsResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.CreateLocationNfs.CreateLocationNfs
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationNfs.CreateLocationNfsResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.CreateLocationNfs.CreateLocationNfs
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationNfs.CreateLocationNfs
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.CreateLocationNfs.CreateLocationNfs
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.CreateLocationNfs.CreateLocationNfs
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.CreateLocationNfs.CreateLocationNfs
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.CreateLocationNfs.CreateLocationNfs
-- | Creates an endpoint for a Hadoop Distributed File System (HDFS).
module Amazonka.DataSync.CreateLocationHdfs
-- | See: newCreateLocationHdfs smart constructor.
data CreateLocationHdfs
CreateLocationHdfs' :: Maybe Natural -> Maybe Base64 -> Maybe Base64 -> Maybe Text -> Maybe Text -> Maybe QopConfiguration -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe [TagListEntry] -> NonEmpty HdfsNameNode -> HdfsAuthenticationType -> NonEmpty Text -> CreateLocationHdfs
-- | 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).
[$sel:blockSize:CreateLocationHdfs'] :: CreateLocationHdfs -> Maybe Natural
-- | 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.
[$sel:kerberosKeytab:CreateLocationHdfs'] :: CreateLocationHdfs -> Maybe Base64
-- | 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.
[$sel:kerberosKrb5Conf:CreateLocationHdfs'] :: CreateLocationHdfs -> Maybe Base64
-- | The Kerberos principal with access to the files and folders on the
-- HDFS cluster.
--
-- If KERBEROS is specified for AuthenticationType,
-- this parameter is required.
[$sel:kerberosPrincipal:CreateLocationHdfs'] :: CreateLocationHdfs -> Maybe Text
-- | The URI of the HDFS cluster's Key Management Server (KMS).
[$sel:kmsKeyProviderUri:CreateLocationHdfs'] :: CreateLocationHdfs -> Maybe Text
-- | 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.
[$sel:qopConfiguration:CreateLocationHdfs'] :: CreateLocationHdfs -> Maybe QopConfiguration
-- | The number of DataNodes to replicate the data to when writing to the
-- HDFS cluster. By default, data is replicated to three DataNodes.
[$sel:replicationFactor:CreateLocationHdfs'] :: CreateLocationHdfs -> Maybe Natural
-- | The user name used to identify the client on the host operating
-- system.
--
-- If SIMPLE is specified for AuthenticationType, this
-- parameter is required.
[$sel:simpleUser:CreateLocationHdfs'] :: CreateLocationHdfs -> Maybe Text
-- | 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 /.
[$sel:subdirectory:CreateLocationHdfs'] :: CreateLocationHdfs -> Maybe Text
-- | 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.
[$sel:tags:CreateLocationHdfs'] :: CreateLocationHdfs -> Maybe [TagListEntry]
-- | 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.
[$sel:nameNodes:CreateLocationHdfs'] :: CreateLocationHdfs -> NonEmpty HdfsNameNode
-- | The type of authentication used to determine the identity of the user.
[$sel:authenticationType:CreateLocationHdfs'] :: CreateLocationHdfs -> HdfsAuthenticationType
-- | The Amazon Resource Names (ARNs) of the agents that are used to
-- connect to the HDFS cluster.
[$sel:agentArns:CreateLocationHdfs'] :: CreateLocationHdfs -> NonEmpty Text
-- | Create a value of CreateLocationHdfs 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:blockSize:CreateLocationHdfs',
-- createLocationHdfs_blockSize - 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).
--
-- $sel:kerberosKeytab:CreateLocationHdfs',
-- createLocationHdfs_kerberosKeytab - 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.
--
-- $sel:kerberosKrb5Conf:CreateLocationHdfs',
-- createLocationHdfs_kerberosKrb5Conf - 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.
--
-- $sel:kerberosPrincipal:CreateLocationHdfs',
-- createLocationHdfs_kerberosPrincipal - The Kerberos principal
-- with access to the files and folders on the HDFS cluster.
--
-- If KERBEROS is specified for AuthenticationType,
-- this parameter is required.
--
-- $sel:kmsKeyProviderUri:CreateLocationHdfs',
-- createLocationHdfs_kmsKeyProviderUri - The URI of the HDFS
-- cluster's Key Management Server (KMS).
--
-- $sel:qopConfiguration:CreateLocationHdfs',
-- createLocationHdfs_qopConfiguration - 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.
--
-- $sel:replicationFactor:CreateLocationHdfs',
-- createLocationHdfs_replicationFactor - The number of DataNodes
-- to replicate the data to when writing to the HDFS cluster. By default,
-- data is replicated to three DataNodes.
--
-- $sel:simpleUser:CreateLocationHdfs',
-- createLocationHdfs_simpleUser - The user name used to identify
-- the client on the host operating system.
--
-- If SIMPLE is specified for AuthenticationType, this
-- parameter is required.
--
-- $sel:subdirectory:CreateLocationHdfs',
-- createLocationHdfs_subdirectory - 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 /.
--
-- $sel:tags:CreateLocationHdfs', createLocationHdfs_tags -
-- 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.
--
-- $sel:nameNodes:CreateLocationHdfs',
-- createLocationHdfs_nameNodes - 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.
--
-- $sel:authenticationType:CreateLocationHdfs',
-- createLocationHdfs_authenticationType - The type of
-- authentication used to determine the identity of the user.
--
-- CreateLocationHdfs, createLocationHdfs_agentArns - The
-- Amazon Resource Names (ARNs) of the agents that are used to connect to
-- the HDFS cluster.
newCreateLocationHdfs :: NonEmpty HdfsNameNode -> HdfsAuthenticationType -> NonEmpty Text -> CreateLocationHdfs
-- | 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_blockSize :: Lens' CreateLocationHdfs (Maybe Natural)
-- | 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_kerberosKeytab :: Lens' CreateLocationHdfs (Maybe ByteString)
-- | 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_kerberosKrb5Conf :: Lens' CreateLocationHdfs (Maybe ByteString)
-- | 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_kerberosPrincipal :: Lens' CreateLocationHdfs (Maybe Text)
-- | The URI of the HDFS cluster's Key Management Server (KMS).
createLocationHdfs_kmsKeyProviderUri :: Lens' CreateLocationHdfs (Maybe Text)
-- | 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_qopConfiguration :: Lens' CreateLocationHdfs (Maybe QopConfiguration)
-- | The number of DataNodes to replicate the data to when writing to the
-- HDFS cluster. By default, data is replicated to three DataNodes.
createLocationHdfs_replicationFactor :: Lens' CreateLocationHdfs (Maybe Natural)
-- | The user name used to identify the client on the host operating
-- system.
--
-- If SIMPLE is specified for AuthenticationType, this
-- parameter is required.
createLocationHdfs_simpleUser :: Lens' CreateLocationHdfs (Maybe Text)
-- | 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_subdirectory :: Lens' CreateLocationHdfs (Maybe Text)
-- | 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_tags :: Lens' CreateLocationHdfs (Maybe [TagListEntry])
-- | 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_nameNodes :: Lens' CreateLocationHdfs (NonEmpty HdfsNameNode)
-- | The type of authentication used to determine the identity of the user.
createLocationHdfs_authenticationType :: Lens' CreateLocationHdfs HdfsAuthenticationType
-- | The Amazon Resource Names (ARNs) of the agents that are used to
-- connect to the HDFS cluster.
createLocationHdfs_agentArns :: Lens' CreateLocationHdfs (NonEmpty Text)
-- | See: newCreateLocationHdfsResponse smart constructor.
data CreateLocationHdfsResponse
CreateLocationHdfsResponse' :: Maybe Text -> Int -> CreateLocationHdfsResponse
-- | The ARN of the source HDFS cluster location that's created.
[$sel:locationArn:CreateLocationHdfsResponse'] :: CreateLocationHdfsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateLocationHdfsResponse'] :: CreateLocationHdfsResponse -> Int
-- | Create a value of CreateLocationHdfsResponse 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:
--
-- CreateLocationHdfsResponse,
-- createLocationHdfsResponse_locationArn - The ARN of the source
-- HDFS cluster location that's created.
--
-- $sel:httpStatus:CreateLocationHdfsResponse',
-- createLocationHdfsResponse_httpStatus - The response's http
-- status code.
newCreateLocationHdfsResponse :: Int -> CreateLocationHdfsResponse
-- | The ARN of the source HDFS cluster location that's created.
createLocationHdfsResponse_locationArn :: Lens' CreateLocationHdfsResponse (Maybe Text)
-- | The response's http status code.
createLocationHdfsResponse_httpStatus :: Lens' CreateLocationHdfsResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationHdfs.CreateLocationHdfs
instance GHC.Show.Show Amazonka.DataSync.CreateLocationHdfs.CreateLocationHdfs
instance GHC.Read.Read Amazonka.DataSync.CreateLocationHdfs.CreateLocationHdfs
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationHdfs.CreateLocationHdfs
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationHdfs.CreateLocationHdfsResponse
instance GHC.Show.Show Amazonka.DataSync.CreateLocationHdfs.CreateLocationHdfsResponse
instance GHC.Read.Read Amazonka.DataSync.CreateLocationHdfs.CreateLocationHdfsResponse
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationHdfs.CreateLocationHdfsResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.CreateLocationHdfs.CreateLocationHdfs
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationHdfs.CreateLocationHdfsResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.CreateLocationHdfs.CreateLocationHdfs
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationHdfs.CreateLocationHdfs
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.CreateLocationHdfs.CreateLocationHdfs
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.CreateLocationHdfs.CreateLocationHdfs
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.CreateLocationHdfs.CreateLocationHdfs
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.CreateLocationHdfs.CreateLocationHdfs
-- | Creates an endpoint for an Amazon FSx for Windows File Server file
-- system.
module Amazonka.DataSync.CreateLocationFsxWindows
-- | See: newCreateLocationFsxWindows smart constructor.
data CreateLocationFsxWindows
CreateLocationFsxWindows' :: Maybe Text -> Maybe Text -> Maybe [TagListEntry] -> Text -> NonEmpty Text -> Text -> Sensitive Text -> CreateLocationFsxWindows
-- | Specifies the name of the Windows domain that the FSx for Windows File
-- Server belongs to.
[$sel:domain:CreateLocationFsxWindows'] :: CreateLocationFsxWindows -> Maybe Text
-- | 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).
[$sel:subdirectory:CreateLocationFsxWindows'] :: CreateLocationFsxWindows -> Maybe Text
-- | 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.
[$sel:tags:CreateLocationFsxWindows'] :: CreateLocationFsxWindows -> Maybe [TagListEntry]
-- | Specifies the Amazon Resource Name (ARN) for the FSx for Windows File
-- Server file system.
[$sel:fsxFilesystemArn:CreateLocationFsxWindows'] :: CreateLocationFsxWindows -> Text
-- | 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.
--
[$sel:securityGroupArns:CreateLocationFsxWindows'] :: CreateLocationFsxWindows -> NonEmpty Text
-- | 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.
[$sel:user:CreateLocationFsxWindows'] :: CreateLocationFsxWindows -> Text
-- | Specifies the password of the user who has the permissions to access
-- files and folders in the file system.
[$sel:password:CreateLocationFsxWindows'] :: CreateLocationFsxWindows -> Sensitive Text
-- | Create a value of CreateLocationFsxWindows 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:
--
-- CreateLocationFsxWindows,
-- createLocationFsxWindows_domain - Specifies the name of the
-- Windows domain that the FSx for Windows File Server belongs to.
--
-- $sel:subdirectory:CreateLocationFsxWindows',
-- createLocationFsxWindows_subdirectory - 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).
--
-- $sel:tags:CreateLocationFsxWindows',
-- createLocationFsxWindows_tags - 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.
--
-- $sel:fsxFilesystemArn:CreateLocationFsxWindows',
-- createLocationFsxWindows_fsxFilesystemArn - Specifies the
-- Amazon Resource Name (ARN) for the FSx for Windows File Server file
-- system.
--
-- CreateLocationFsxWindows,
-- createLocationFsxWindows_securityGroupArns - 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, createLocationFsxWindows_user
-- - 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,
-- createLocationFsxWindows_password - Specifies the password of
-- the user who has the permissions to access files and folders in the
-- file system.
newCreateLocationFsxWindows :: Text -> NonEmpty Text -> Text -> Text -> CreateLocationFsxWindows
-- | Specifies the name of the Windows domain that the FSx for Windows File
-- Server belongs to.
createLocationFsxWindows_domain :: Lens' CreateLocationFsxWindows (Maybe Text)
-- | 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_subdirectory :: Lens' CreateLocationFsxWindows (Maybe Text)
-- | 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_tags :: Lens' CreateLocationFsxWindows (Maybe [TagListEntry])
-- | Specifies the Amazon Resource Name (ARN) for the FSx for Windows File
-- Server file system.
createLocationFsxWindows_fsxFilesystemArn :: Lens' CreateLocationFsxWindows Text
-- | 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_securityGroupArns :: Lens' CreateLocationFsxWindows (NonEmpty Text)
-- | 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_user :: Lens' CreateLocationFsxWindows Text
-- | Specifies the password of the user who has the permissions to access
-- files and folders in the file system.
createLocationFsxWindows_password :: Lens' CreateLocationFsxWindows Text
-- | See: newCreateLocationFsxWindowsResponse smart
-- constructor.
data CreateLocationFsxWindowsResponse
CreateLocationFsxWindowsResponse' :: Maybe Text -> Int -> CreateLocationFsxWindowsResponse
-- | The ARN of the FSx for Windows File Server file system location you
-- created.
[$sel:locationArn:CreateLocationFsxWindowsResponse'] :: CreateLocationFsxWindowsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateLocationFsxWindowsResponse'] :: CreateLocationFsxWindowsResponse -> Int
-- | Create a value of CreateLocationFsxWindowsResponse 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:
--
-- CreateLocationFsxWindowsResponse,
-- createLocationFsxWindowsResponse_locationArn - The ARN of the
-- FSx for Windows File Server file system location you created.
--
-- $sel:httpStatus:CreateLocationFsxWindowsResponse',
-- createLocationFsxWindowsResponse_httpStatus - The response's
-- http status code.
newCreateLocationFsxWindowsResponse :: Int -> CreateLocationFsxWindowsResponse
-- | The ARN of the FSx for Windows File Server file system location you
-- created.
createLocationFsxWindowsResponse_locationArn :: Lens' CreateLocationFsxWindowsResponse (Maybe Text)
-- | The response's http status code.
createLocationFsxWindowsResponse_httpStatus :: Lens' CreateLocationFsxWindowsResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationFsxWindows.CreateLocationFsxWindows
instance GHC.Show.Show Amazonka.DataSync.CreateLocationFsxWindows.CreateLocationFsxWindows
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationFsxWindows.CreateLocationFsxWindows
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationFsxWindows.CreateLocationFsxWindowsResponse
instance GHC.Show.Show Amazonka.DataSync.CreateLocationFsxWindows.CreateLocationFsxWindowsResponse
instance GHC.Read.Read Amazonka.DataSync.CreateLocationFsxWindows.CreateLocationFsxWindowsResponse
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationFsxWindows.CreateLocationFsxWindowsResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.CreateLocationFsxWindows.CreateLocationFsxWindows
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationFsxWindows.CreateLocationFsxWindowsResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.CreateLocationFsxWindows.CreateLocationFsxWindows
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationFsxWindows.CreateLocationFsxWindows
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.CreateLocationFsxWindows.CreateLocationFsxWindows
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.CreateLocationFsxWindows.CreateLocationFsxWindows
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.CreateLocationFsxWindows.CreateLocationFsxWindows
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.CreateLocationFsxWindows.CreateLocationFsxWindows
-- | Creates an endpoint for an Amazon FSx for OpenZFS file system that
-- DataSync can access for a transfer. For more information, see
-- Creating a location for FSx for OpenZFS.
--
-- Request parameters related to SMB aren't supported with the
-- CreateLocationFsxOpenZfs operation.
module Amazonka.DataSync.CreateLocationFsxOpenZfs
-- | See: newCreateLocationFsxOpenZfs smart constructor.
data CreateLocationFsxOpenZfs
CreateLocationFsxOpenZfs' :: Maybe Text -> Maybe [TagListEntry] -> Text -> FsxProtocol -> NonEmpty Text -> CreateLocationFsxOpenZfs
-- | 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).
[$sel:subdirectory:CreateLocationFsxOpenZfs'] :: CreateLocationFsxOpenZfs -> Maybe Text
-- | 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.
[$sel:tags:CreateLocationFsxOpenZfs'] :: CreateLocationFsxOpenZfs -> Maybe [TagListEntry]
-- | The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.
[$sel:fsxFilesystemArn:CreateLocationFsxOpenZfs'] :: CreateLocationFsxOpenZfs -> Text
-- | The type of protocol that DataSync uses to access your file system.
[$sel:protocol:CreateLocationFsxOpenZfs'] :: CreateLocationFsxOpenZfs -> FsxProtocol
-- | The ARNs of the security groups that are used to configure the FSx for
-- OpenZFS file system.
[$sel:securityGroupArns:CreateLocationFsxOpenZfs'] :: CreateLocationFsxOpenZfs -> NonEmpty Text
-- | Create a value of CreateLocationFsxOpenZfs 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:subdirectory:CreateLocationFsxOpenZfs',
-- createLocationFsxOpenZfs_subdirectory - 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).
--
-- $sel:tags:CreateLocationFsxOpenZfs',
-- createLocationFsxOpenZfs_tags - 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.
--
-- $sel:fsxFilesystemArn:CreateLocationFsxOpenZfs',
-- createLocationFsxOpenZfs_fsxFilesystemArn - The Amazon Resource
-- Name (ARN) of the FSx for OpenZFS file system.
--
-- $sel:protocol:CreateLocationFsxOpenZfs',
-- createLocationFsxOpenZfs_protocol - The type of protocol that
-- DataSync uses to access your file system.
--
-- CreateLocationFsxOpenZfs,
-- createLocationFsxOpenZfs_securityGroupArns - The ARNs of the
-- security groups that are used to configure the FSx for OpenZFS file
-- system.
newCreateLocationFsxOpenZfs :: Text -> FsxProtocol -> NonEmpty Text -> CreateLocationFsxOpenZfs
-- | 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_subdirectory :: Lens' CreateLocationFsxOpenZfs (Maybe Text)
-- | 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_tags :: Lens' CreateLocationFsxOpenZfs (Maybe [TagListEntry])
-- | The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.
createLocationFsxOpenZfs_fsxFilesystemArn :: Lens' CreateLocationFsxOpenZfs Text
-- | The type of protocol that DataSync uses to access your file system.
createLocationFsxOpenZfs_protocol :: Lens' CreateLocationFsxOpenZfs FsxProtocol
-- | The ARNs of the security groups that are used to configure the FSx for
-- OpenZFS file system.
createLocationFsxOpenZfs_securityGroupArns :: Lens' CreateLocationFsxOpenZfs (NonEmpty Text)
-- | See: newCreateLocationFsxOpenZfsResponse smart
-- constructor.
data CreateLocationFsxOpenZfsResponse
CreateLocationFsxOpenZfsResponse' :: Maybe Text -> Int -> CreateLocationFsxOpenZfsResponse
-- | The ARN of the FSx for OpenZFS file system location that you created.
[$sel:locationArn:CreateLocationFsxOpenZfsResponse'] :: CreateLocationFsxOpenZfsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateLocationFsxOpenZfsResponse'] :: CreateLocationFsxOpenZfsResponse -> Int
-- | Create a value of CreateLocationFsxOpenZfsResponse 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:
--
-- CreateLocationFsxOpenZfsResponse,
-- createLocationFsxOpenZfsResponse_locationArn - The ARN of the
-- FSx for OpenZFS file system location that you created.
--
-- $sel:httpStatus:CreateLocationFsxOpenZfsResponse',
-- createLocationFsxOpenZfsResponse_httpStatus - The response's
-- http status code.
newCreateLocationFsxOpenZfsResponse :: Int -> CreateLocationFsxOpenZfsResponse
-- | The ARN of the FSx for OpenZFS file system location that you created.
createLocationFsxOpenZfsResponse_locationArn :: Lens' CreateLocationFsxOpenZfsResponse (Maybe Text)
-- | The response's http status code.
createLocationFsxOpenZfsResponse_httpStatus :: Lens' CreateLocationFsxOpenZfsResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationFsxOpenZfs.CreateLocationFsxOpenZfs
instance GHC.Show.Show Amazonka.DataSync.CreateLocationFsxOpenZfs.CreateLocationFsxOpenZfs
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationFsxOpenZfs.CreateLocationFsxOpenZfs
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationFsxOpenZfs.CreateLocationFsxOpenZfsResponse
instance GHC.Show.Show Amazonka.DataSync.CreateLocationFsxOpenZfs.CreateLocationFsxOpenZfsResponse
instance GHC.Read.Read Amazonka.DataSync.CreateLocationFsxOpenZfs.CreateLocationFsxOpenZfsResponse
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationFsxOpenZfs.CreateLocationFsxOpenZfsResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.CreateLocationFsxOpenZfs.CreateLocationFsxOpenZfs
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationFsxOpenZfs.CreateLocationFsxOpenZfsResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.CreateLocationFsxOpenZfs.CreateLocationFsxOpenZfs
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationFsxOpenZfs.CreateLocationFsxOpenZfs
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.CreateLocationFsxOpenZfs.CreateLocationFsxOpenZfs
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.CreateLocationFsxOpenZfs.CreateLocationFsxOpenZfs
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.CreateLocationFsxOpenZfs.CreateLocationFsxOpenZfs
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.CreateLocationFsxOpenZfs.CreateLocationFsxOpenZfs
-- | Creates an endpoint for an Amazon FSx for NetApp ONTAP file system
-- that DataSync can access for a transfer. For more information, see
-- Creating a location for FSx for ONTAP.
module Amazonka.DataSync.CreateLocationFsxOntap
-- | See: newCreateLocationFsxOntap smart constructor.
data CreateLocationFsxOntap
CreateLocationFsxOntap' :: Maybe Text -> Maybe [TagListEntry] -> FsxProtocol -> NonEmpty Text -> Text -> CreateLocationFsxOntap
-- | 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.
[$sel:subdirectory:CreateLocationFsxOntap'] :: CreateLocationFsxOntap -> Maybe Text
-- | 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.
[$sel:tags:CreateLocationFsxOntap'] :: CreateLocationFsxOntap -> Maybe [TagListEntry]
[$sel:protocol:CreateLocationFsxOntap'] :: CreateLocationFsxOntap -> FsxProtocol
-- | 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.
[$sel:securityGroupArns:CreateLocationFsxOntap'] :: CreateLocationFsxOntap -> NonEmpty Text
-- | Specifies the ARN of the storage virtual machine (SVM) on your file
-- system where you're copying data to or from.
[$sel:storageVirtualMachineArn:CreateLocationFsxOntap'] :: CreateLocationFsxOntap -> Text
-- | Create a value of CreateLocationFsxOntap 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:subdirectory:CreateLocationFsxOntap',
-- createLocationFsxOntap_subdirectory - 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.
--
-- $sel:tags:CreateLocationFsxOntap',
-- createLocationFsxOntap_tags - 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.
--
-- $sel:protocol:CreateLocationFsxOntap',
-- createLocationFsxOntap_protocol - Undocumented member.
--
-- CreateLocationFsxOntap,
-- createLocationFsxOntap_securityGroupArns - 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.
--
-- $sel:storageVirtualMachineArn:CreateLocationFsxOntap',
-- createLocationFsxOntap_storageVirtualMachineArn - Specifies the
-- ARN of the storage virtual machine (SVM) on your file system where
-- you're copying data to or from.
newCreateLocationFsxOntap :: FsxProtocol -> NonEmpty Text -> Text -> CreateLocationFsxOntap
-- | 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_subdirectory :: Lens' CreateLocationFsxOntap (Maybe Text)
-- | 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_tags :: Lens' CreateLocationFsxOntap (Maybe [TagListEntry])
-- | Undocumented member.
createLocationFsxOntap_protocol :: Lens' CreateLocationFsxOntap FsxProtocol
-- | 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_securityGroupArns :: Lens' CreateLocationFsxOntap (NonEmpty Text)
-- | Specifies the ARN of the storage virtual machine (SVM) on your file
-- system where you're copying data to or from.
createLocationFsxOntap_storageVirtualMachineArn :: Lens' CreateLocationFsxOntap Text
-- | See: newCreateLocationFsxOntapResponse smart
-- constructor.
data CreateLocationFsxOntapResponse
CreateLocationFsxOntapResponse' :: Maybe Text -> Int -> CreateLocationFsxOntapResponse
-- | Specifies the ARN of the FSx for ONTAP file system location that you
-- create.
[$sel:locationArn:CreateLocationFsxOntapResponse'] :: CreateLocationFsxOntapResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateLocationFsxOntapResponse'] :: CreateLocationFsxOntapResponse -> Int
-- | Create a value of CreateLocationFsxOntapResponse 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:
--
-- CreateLocationFsxOntapResponse,
-- createLocationFsxOntapResponse_locationArn - Specifies the ARN
-- of the FSx for ONTAP file system location that you create.
--
-- $sel:httpStatus:CreateLocationFsxOntapResponse',
-- createLocationFsxOntapResponse_httpStatus - The response's http
-- status code.
newCreateLocationFsxOntapResponse :: Int -> CreateLocationFsxOntapResponse
-- | Specifies the ARN of the FSx for ONTAP file system location that you
-- create.
createLocationFsxOntapResponse_locationArn :: Lens' CreateLocationFsxOntapResponse (Maybe Text)
-- | The response's http status code.
createLocationFsxOntapResponse_httpStatus :: Lens' CreateLocationFsxOntapResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationFsxOntap.CreateLocationFsxOntap
instance GHC.Show.Show Amazonka.DataSync.CreateLocationFsxOntap.CreateLocationFsxOntap
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationFsxOntap.CreateLocationFsxOntap
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationFsxOntap.CreateLocationFsxOntapResponse
instance GHC.Show.Show Amazonka.DataSync.CreateLocationFsxOntap.CreateLocationFsxOntapResponse
instance GHC.Read.Read Amazonka.DataSync.CreateLocationFsxOntap.CreateLocationFsxOntapResponse
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationFsxOntap.CreateLocationFsxOntapResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.CreateLocationFsxOntap.CreateLocationFsxOntap
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationFsxOntap.CreateLocationFsxOntapResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.CreateLocationFsxOntap.CreateLocationFsxOntap
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationFsxOntap.CreateLocationFsxOntap
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.CreateLocationFsxOntap.CreateLocationFsxOntap
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.CreateLocationFsxOntap.CreateLocationFsxOntap
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.CreateLocationFsxOntap.CreateLocationFsxOntap
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.CreateLocationFsxOntap.CreateLocationFsxOntap
-- | Creates an endpoint for an Amazon FSx for Lustre file system.
module Amazonka.DataSync.CreateLocationFsxLustre
-- | See: newCreateLocationFsxLustre smart constructor.
data CreateLocationFsxLustre
CreateLocationFsxLustre' :: Maybe Text -> Maybe [TagListEntry] -> Text -> NonEmpty Text -> CreateLocationFsxLustre
-- | 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.
[$sel:subdirectory:CreateLocationFsxLustre'] :: CreateLocationFsxLustre -> Maybe Text
-- | 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.
[$sel:tags:CreateLocationFsxLustre'] :: CreateLocationFsxLustre -> Maybe [TagListEntry]
-- | The Amazon Resource Name (ARN) for the FSx for Lustre file system.
[$sel:fsxFilesystemArn:CreateLocationFsxLustre'] :: CreateLocationFsxLustre -> Text
-- | The Amazon Resource Names (ARNs) of the security groups that are used
-- to configure the FSx for Lustre file system.
[$sel:securityGroupArns:CreateLocationFsxLustre'] :: CreateLocationFsxLustre -> NonEmpty Text
-- | Create a value of CreateLocationFsxLustre 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:subdirectory:CreateLocationFsxLustre',
-- createLocationFsxLustre_subdirectory - 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.
--
-- $sel:tags:CreateLocationFsxLustre',
-- createLocationFsxLustre_tags - 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.
--
-- $sel:fsxFilesystemArn:CreateLocationFsxLustre',
-- createLocationFsxLustre_fsxFilesystemArn - The Amazon Resource
-- Name (ARN) for the FSx for Lustre file system.
--
-- CreateLocationFsxLustre,
-- createLocationFsxLustre_securityGroupArns - The Amazon Resource
-- Names (ARNs) of the security groups that are used to configure the FSx
-- for Lustre file system.
newCreateLocationFsxLustre :: Text -> NonEmpty Text -> CreateLocationFsxLustre
-- | 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_subdirectory :: Lens' CreateLocationFsxLustre (Maybe Text)
-- | 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_tags :: Lens' CreateLocationFsxLustre (Maybe [TagListEntry])
-- | The Amazon Resource Name (ARN) for the FSx for Lustre file system.
createLocationFsxLustre_fsxFilesystemArn :: Lens' CreateLocationFsxLustre Text
-- | The Amazon Resource Names (ARNs) of the security groups that are used
-- to configure the FSx for Lustre file system.
createLocationFsxLustre_securityGroupArns :: Lens' CreateLocationFsxLustre (NonEmpty Text)
-- | See: newCreateLocationFsxLustreResponse smart
-- constructor.
data CreateLocationFsxLustreResponse
CreateLocationFsxLustreResponse' :: Maybe Text -> Int -> CreateLocationFsxLustreResponse
-- | The Amazon Resource Name (ARN) of the FSx for Lustre file system
-- location that's created.
[$sel:locationArn:CreateLocationFsxLustreResponse'] :: CreateLocationFsxLustreResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateLocationFsxLustreResponse'] :: CreateLocationFsxLustreResponse -> Int
-- | Create a value of CreateLocationFsxLustreResponse 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:
--
-- CreateLocationFsxLustreResponse,
-- createLocationFsxLustreResponse_locationArn - The Amazon
-- Resource Name (ARN) of the FSx for Lustre file system location that's
-- created.
--
-- $sel:httpStatus:CreateLocationFsxLustreResponse',
-- createLocationFsxLustreResponse_httpStatus - The response's
-- http status code.
newCreateLocationFsxLustreResponse :: Int -> CreateLocationFsxLustreResponse
-- | The Amazon Resource Name (ARN) of the FSx for Lustre file system
-- location that's created.
createLocationFsxLustreResponse_locationArn :: Lens' CreateLocationFsxLustreResponse (Maybe Text)
-- | The response's http status code.
createLocationFsxLustreResponse_httpStatus :: Lens' CreateLocationFsxLustreResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationFsxLustre.CreateLocationFsxLustre
instance GHC.Show.Show Amazonka.DataSync.CreateLocationFsxLustre.CreateLocationFsxLustre
instance GHC.Read.Read Amazonka.DataSync.CreateLocationFsxLustre.CreateLocationFsxLustre
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationFsxLustre.CreateLocationFsxLustre
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationFsxLustre.CreateLocationFsxLustreResponse
instance GHC.Show.Show Amazonka.DataSync.CreateLocationFsxLustre.CreateLocationFsxLustreResponse
instance GHC.Read.Read Amazonka.DataSync.CreateLocationFsxLustre.CreateLocationFsxLustreResponse
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationFsxLustre.CreateLocationFsxLustreResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.CreateLocationFsxLustre.CreateLocationFsxLustre
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationFsxLustre.CreateLocationFsxLustreResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.CreateLocationFsxLustre.CreateLocationFsxLustre
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationFsxLustre.CreateLocationFsxLustre
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.CreateLocationFsxLustre.CreateLocationFsxLustre
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.CreateLocationFsxLustre.CreateLocationFsxLustre
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.CreateLocationFsxLustre.CreateLocationFsxLustre
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.CreateLocationFsxLustre.CreateLocationFsxLustre
-- | Creates an endpoint for an Amazon EFS file system that DataSync can
-- access for a transfer. For more information, see Creating a
-- location for Amazon EFS.
module Amazonka.DataSync.CreateLocationEfs
-- | CreateLocationEfsRequest
--
-- See: newCreateLocationEfs smart constructor.
data CreateLocationEfs
CreateLocationEfs' :: Maybe Text -> Maybe Text -> Maybe EfsInTransitEncryption -> Maybe Text -> Maybe [TagListEntry] -> Text -> Ec2Config -> CreateLocationEfs
-- | Specifies the Amazon Resource Name (ARN) of the access point that
-- DataSync uses to access the Amazon EFS file system.
[$sel:accessPointArn:CreateLocationEfs'] :: CreateLocationEfs -> Maybe Text
-- | Specifies an Identity and Access Management (IAM) role that DataSync
-- assumes when mounting the Amazon EFS file system.
[$sel:fileSystemAccessRoleArn:CreateLocationEfs'] :: CreateLocationEfs -> Maybe Text
-- | 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.
[$sel:inTransitEncryption:CreateLocationEfs'] :: CreateLocationEfs -> Maybe EfsInTransitEncryption
-- | 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).
[$sel:subdirectory:CreateLocationEfs'] :: CreateLocationEfs -> Maybe Text
-- | 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.
[$sel:tags:CreateLocationEfs'] :: CreateLocationEfs -> Maybe [TagListEntry]
-- | Specifies the ARN for the Amazon EFS file system.
[$sel:efsFilesystemArn:CreateLocationEfs'] :: CreateLocationEfs -> Text
-- | Specifies the subnet and security groups DataSync uses to access your
-- Amazon EFS file system.
[$sel:ec2Config:CreateLocationEfs'] :: CreateLocationEfs -> Ec2Config
-- | Create a value of CreateLocationEfs 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:accessPointArn:CreateLocationEfs',
-- createLocationEfs_accessPointArn - Specifies the Amazon
-- Resource Name (ARN) of the access point that DataSync uses to access
-- the Amazon EFS file system.
--
-- $sel:fileSystemAccessRoleArn:CreateLocationEfs',
-- createLocationEfs_fileSystemAccessRoleArn - Specifies an
-- Identity and Access Management (IAM) role that DataSync assumes when
-- mounting the Amazon EFS file system.
--
-- $sel:inTransitEncryption:CreateLocationEfs',
-- createLocationEfs_inTransitEncryption - 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.
--
-- $sel:subdirectory:CreateLocationEfs',
-- createLocationEfs_subdirectory - 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).
--
-- $sel:tags:CreateLocationEfs', createLocationEfs_tags -
-- 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.
--
-- $sel:efsFilesystemArn:CreateLocationEfs',
-- createLocationEfs_efsFilesystemArn - Specifies the ARN for the
-- Amazon EFS file system.
--
-- $sel:ec2Config:CreateLocationEfs',
-- createLocationEfs_ec2Config - Specifies the subnet and security
-- groups DataSync uses to access your Amazon EFS file system.
newCreateLocationEfs :: Text -> Ec2Config -> CreateLocationEfs
-- | Specifies the Amazon Resource Name (ARN) of the access point that
-- DataSync uses to access the Amazon EFS file system.
createLocationEfs_accessPointArn :: Lens' CreateLocationEfs (Maybe Text)
-- | Specifies an Identity and Access Management (IAM) role that DataSync
-- assumes when mounting the Amazon EFS file system.
createLocationEfs_fileSystemAccessRoleArn :: Lens' CreateLocationEfs (Maybe Text)
-- | 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_inTransitEncryption :: Lens' CreateLocationEfs (Maybe EfsInTransitEncryption)
-- | 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_subdirectory :: Lens' CreateLocationEfs (Maybe Text)
-- | 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_tags :: Lens' CreateLocationEfs (Maybe [TagListEntry])
-- | Specifies the ARN for the Amazon EFS file system.
createLocationEfs_efsFilesystemArn :: Lens' CreateLocationEfs Text
-- | Specifies the subnet and security groups DataSync uses to access your
-- Amazon EFS file system.
createLocationEfs_ec2Config :: Lens' CreateLocationEfs Ec2Config
-- | CreateLocationEfs
--
-- See: newCreateLocationEfsResponse smart constructor.
data CreateLocationEfsResponse
CreateLocationEfsResponse' :: Maybe Text -> Int -> CreateLocationEfsResponse
-- | The Amazon Resource Name (ARN) of the Amazon EFS file system location
-- that you create.
[$sel:locationArn:CreateLocationEfsResponse'] :: CreateLocationEfsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateLocationEfsResponse'] :: CreateLocationEfsResponse -> Int
-- | Create a value of CreateLocationEfsResponse 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:
--
-- CreateLocationEfsResponse,
-- createLocationEfsResponse_locationArn - The Amazon Resource
-- Name (ARN) of the Amazon EFS file system location that you create.
--
-- $sel:httpStatus:CreateLocationEfsResponse',
-- createLocationEfsResponse_httpStatus - The response's http
-- status code.
newCreateLocationEfsResponse :: Int -> CreateLocationEfsResponse
-- | The Amazon Resource Name (ARN) of the Amazon EFS file system location
-- that you create.
createLocationEfsResponse_locationArn :: Lens' CreateLocationEfsResponse (Maybe Text)
-- | The response's http status code.
createLocationEfsResponse_httpStatus :: Lens' CreateLocationEfsResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationEfs.CreateLocationEfs
instance GHC.Show.Show Amazonka.DataSync.CreateLocationEfs.CreateLocationEfs
instance GHC.Read.Read Amazonka.DataSync.CreateLocationEfs.CreateLocationEfs
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationEfs.CreateLocationEfs
instance GHC.Generics.Generic Amazonka.DataSync.CreateLocationEfs.CreateLocationEfsResponse
instance GHC.Show.Show Amazonka.DataSync.CreateLocationEfs.CreateLocationEfsResponse
instance GHC.Read.Read Amazonka.DataSync.CreateLocationEfs.CreateLocationEfsResponse
instance GHC.Classes.Eq Amazonka.DataSync.CreateLocationEfs.CreateLocationEfsResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.CreateLocationEfs.CreateLocationEfs
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationEfs.CreateLocationEfsResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.CreateLocationEfs.CreateLocationEfs
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateLocationEfs.CreateLocationEfs
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.CreateLocationEfs.CreateLocationEfs
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.CreateLocationEfs.CreateLocationEfs
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.CreateLocationEfs.CreateLocationEfs
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.CreateLocationEfs.CreateLocationEfs
-- | Activates an DataSync agent that you have deployed in your storage
-- environment. The activation process associates your agent with your
-- account. In the activation process, you specify information such as
-- the Amazon Web Services Region that you want to activate the agent in.
-- You activate the agent in the Amazon Web Services Region where your
-- target locations (in Amazon S3 or Amazon EFS) reside. Your tasks are
-- created in this Amazon Web Services Region.
--
-- You can activate the agent in a VPC (virtual private cloud) or provide
-- the agent access to a VPC endpoint so you can run tasks without going
-- over the public internet.
--
-- You can use an agent for more than one location. If a task uses
-- multiple agents, all of them need to have status AVAILABLE for the
-- task to run. If you use multiple agents for a source location, the
-- status of all the agents must be AVAILABLE for the task to run.
--
-- Agents are automatically updated by Amazon Web Services on a regular
-- basis, using a mechanism that ensures minimal interruption to your
-- tasks.
module Amazonka.DataSync.CreateAgent
-- | CreateAgentRequest
--
-- See: newCreateAgent smart constructor.
data CreateAgent
CreateAgent' :: Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe [TagListEntry] -> Maybe Text -> Text -> CreateAgent
-- | The name you configured for your agent. This value is a text reference
-- that is used to identify the agent in the console.
[$sel:agentName:CreateAgent'] :: CreateAgent -> Maybe Text
-- | The ARNs of the security groups used to protect your data transfer
-- task subnets. See SecurityGroupArns.
[$sel:securityGroupArns:CreateAgent'] :: CreateAgent -> Maybe (NonEmpty Text)
-- | 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.
[$sel:subnetArns:CreateAgent'] :: CreateAgent -> Maybe (NonEmpty Text)
-- | 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: +
-- - = . _ : / @.
[$sel:tags:CreateAgent'] :: CreateAgent -> Maybe [TagListEntry]
-- | 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.
[$sel:vpcEndpointId:CreateAgent'] :: CreateAgent -> Maybe Text
-- | 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./
[$sel:activationKey:CreateAgent'] :: CreateAgent -> Text
-- | Create a value of CreateAgent 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:agentName:CreateAgent', createAgent_agentName - The
-- name you configured for your agent. This value is a text reference
-- that is used to identify the agent in the console.
--
-- CreateAgent, createAgent_securityGroupArns - The ARNs of
-- the security groups used to protect your data transfer task subnets.
-- See SecurityGroupArns.
--
-- CreateAgent, createAgent_subnetArns - 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.
--
-- $sel:tags:CreateAgent', createAgent_tags - 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, createAgent_vpcEndpointId - 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.
--
-- $sel:activationKey:CreateAgent',
-- createAgent_activationKey - 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./
newCreateAgent :: Text -> CreateAgent
-- | The name you configured for your agent. This value is a text reference
-- that is used to identify the agent in the console.
createAgent_agentName :: Lens' CreateAgent (Maybe Text)
-- | The ARNs of the security groups used to protect your data transfer
-- task subnets. See SecurityGroupArns.
createAgent_securityGroupArns :: Lens' CreateAgent (Maybe (NonEmpty Text))
-- | 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_subnetArns :: Lens' CreateAgent (Maybe (NonEmpty Text))
-- | 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_tags :: Lens' CreateAgent (Maybe [TagListEntry])
-- | 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_vpcEndpointId :: Lens' CreateAgent (Maybe Text)
-- | 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./
createAgent_activationKey :: Lens' CreateAgent Text
-- | CreateAgentResponse
--
-- See: newCreateAgentResponse smart constructor.
data CreateAgentResponse
CreateAgentResponse' :: Maybe Text -> Int -> CreateAgentResponse
-- | 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.
[$sel:agentArn:CreateAgentResponse'] :: CreateAgentResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateAgentResponse'] :: CreateAgentResponse -> Int
-- | Create a value of CreateAgentResponse 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:
--
-- CreateAgentResponse, createAgentResponse_agentArn - 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.
--
-- $sel:httpStatus:CreateAgentResponse',
-- createAgentResponse_httpStatus - The response's http status
-- code.
newCreateAgentResponse :: Int -> CreateAgentResponse
-- | 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.
createAgentResponse_agentArn :: Lens' CreateAgentResponse (Maybe Text)
-- | The response's http status code.
createAgentResponse_httpStatus :: Lens' CreateAgentResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.CreateAgent.CreateAgent
instance GHC.Show.Show Amazonka.DataSync.CreateAgent.CreateAgent
instance GHC.Read.Read Amazonka.DataSync.CreateAgent.CreateAgent
instance GHC.Classes.Eq Amazonka.DataSync.CreateAgent.CreateAgent
instance GHC.Generics.Generic Amazonka.DataSync.CreateAgent.CreateAgentResponse
instance GHC.Show.Show Amazonka.DataSync.CreateAgent.CreateAgentResponse
instance GHC.Read.Read Amazonka.DataSync.CreateAgent.CreateAgentResponse
instance GHC.Classes.Eq Amazonka.DataSync.CreateAgent.CreateAgentResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.CreateAgent.CreateAgent
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateAgent.CreateAgentResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.CreateAgent.CreateAgent
instance Control.DeepSeq.NFData Amazonka.DataSync.CreateAgent.CreateAgent
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.CreateAgent.CreateAgent
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.CreateAgent.CreateAgent
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.CreateAgent.CreateAgent
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.CreateAgent.CreateAgent
-- | Stops an DataSync task execution that's in progress. The transfer of
-- some files are abruptly interrupted. File contents that're transferred
-- to the destination might be incomplete or inconsistent with the source
-- files.
--
-- However, if you start a new task execution using the same task and
-- allow it to finish, file content on the destination will be complete
-- and consistent. This applies to other unexpected failures that
-- interrupt a task execution. In all of these cases, DataSync
-- successfully completes the transfer when you start the next task
-- execution.
module Amazonka.DataSync.CancelTaskExecution
-- | CancelTaskExecutionRequest
--
-- See: newCancelTaskExecution smart constructor.
data CancelTaskExecution
CancelTaskExecution' :: Text -> CancelTaskExecution
-- | The Amazon Resource Name (ARN) of the task execution to stop.
[$sel:taskExecutionArn:CancelTaskExecution'] :: CancelTaskExecution -> Text
-- | Create a value of CancelTaskExecution 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:
--
-- CancelTaskExecution,
-- cancelTaskExecution_taskExecutionArn - The Amazon Resource Name
-- (ARN) of the task execution to stop.
newCancelTaskExecution :: Text -> CancelTaskExecution
-- | The Amazon Resource Name (ARN) of the task execution to stop.
cancelTaskExecution_taskExecutionArn :: Lens' CancelTaskExecution Text
-- | See: newCancelTaskExecutionResponse smart constructor.
data CancelTaskExecutionResponse
CancelTaskExecutionResponse' :: Int -> CancelTaskExecutionResponse
-- | The response's http status code.
[$sel:httpStatus:CancelTaskExecutionResponse'] :: CancelTaskExecutionResponse -> Int
-- | Create a value of CancelTaskExecutionResponse 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:httpStatus:CancelTaskExecutionResponse',
-- cancelTaskExecutionResponse_httpStatus - The response's http
-- status code.
newCancelTaskExecutionResponse :: Int -> CancelTaskExecutionResponse
-- | The response's http status code.
cancelTaskExecutionResponse_httpStatus :: Lens' CancelTaskExecutionResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.CancelTaskExecution.CancelTaskExecution
instance GHC.Show.Show Amazonka.DataSync.CancelTaskExecution.CancelTaskExecution
instance GHC.Read.Read Amazonka.DataSync.CancelTaskExecution.CancelTaskExecution
instance GHC.Classes.Eq Amazonka.DataSync.CancelTaskExecution.CancelTaskExecution
instance GHC.Generics.Generic Amazonka.DataSync.CancelTaskExecution.CancelTaskExecutionResponse
instance GHC.Show.Show Amazonka.DataSync.CancelTaskExecution.CancelTaskExecutionResponse
instance GHC.Read.Read Amazonka.DataSync.CancelTaskExecution.CancelTaskExecutionResponse
instance GHC.Classes.Eq Amazonka.DataSync.CancelTaskExecution.CancelTaskExecutionResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.CancelTaskExecution.CancelTaskExecution
instance Control.DeepSeq.NFData Amazonka.DataSync.CancelTaskExecution.CancelTaskExecutionResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.CancelTaskExecution.CancelTaskExecution
instance Control.DeepSeq.NFData Amazonka.DataSync.CancelTaskExecution.CancelTaskExecution
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.CancelTaskExecution.CancelTaskExecution
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.CancelTaskExecution.CancelTaskExecution
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.CancelTaskExecution.CancelTaskExecution
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.CancelTaskExecution.CancelTaskExecution
-- | Removes tags from an Amazon Web Services resource.
module Amazonka.DataSync.UntagResource
-- | UntagResourceRequest
--
-- See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> NonEmpty Text -> UntagResource
-- | Specifies the Amazon Resource Name (ARN) of the resource to remove the
-- tags from.
[$sel:resourceArn:UntagResource'] :: UntagResource -> Text
-- | Specifies the keys in the tags that you want to remove.
[$sel:keys:UntagResource'] :: UntagResource -> NonEmpty Text
-- | Create a value of UntagResource 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:resourceArn:UntagResource',
-- untagResource_resourceArn - Specifies the Amazon Resource Name
-- (ARN) of the resource to remove the tags from.
--
-- $sel:keys:UntagResource', untagResource_keys - Specifies
-- the keys in the tags that you want to remove.
newUntagResource :: Text -> NonEmpty Text -> UntagResource
-- | Specifies the Amazon Resource Name (ARN) of the resource to remove the
-- tags from.
untagResource_resourceArn :: Lens' UntagResource Text
-- | Specifies the keys in the tags that you want to remove.
untagResource_keys :: Lens' UntagResource (NonEmpty Text)
-- | See: newUntagResourceResponse smart constructor.
data UntagResourceResponse
UntagResourceResponse' :: Int -> UntagResourceResponse
-- | The response's http status code.
[$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int
-- | Create a value of UntagResourceResponse 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:httpStatus:UntagResourceResponse',
-- untagResourceResponse_httpStatus - The response's http status
-- code.
newUntagResourceResponse :: Int -> UntagResourceResponse
-- | The response's http status code.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.UntagResource.UntagResource
instance GHC.Show.Show Amazonka.DataSync.UntagResource.UntagResource
instance GHC.Read.Read Amazonka.DataSync.UntagResource.UntagResource
instance GHC.Classes.Eq Amazonka.DataSync.UntagResource.UntagResource
instance GHC.Generics.Generic Amazonka.DataSync.UntagResource.UntagResourceResponse
instance GHC.Show.Show Amazonka.DataSync.UntagResource.UntagResourceResponse
instance GHC.Read.Read Amazonka.DataSync.UntagResource.UntagResourceResponse
instance GHC.Classes.Eq Amazonka.DataSync.UntagResource.UntagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.DataSync.UntagResource.UntagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.DataSync.UntagResource.UntagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.UntagResource.UntagResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.UntagResource.UntagResource
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.UntagResource.UntagResource
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.UntagResource.UntagResource
-- | Updates the name of an agent.
module Amazonka.DataSync.UpdateAgent
-- | UpdateAgentRequest
--
-- See: newUpdateAgent smart constructor.
data UpdateAgent
UpdateAgent' :: Maybe Text -> Text -> UpdateAgent
-- | The name that you want to use to configure the agent.
[$sel:name:UpdateAgent'] :: UpdateAgent -> Maybe Text
-- | The Amazon Resource Name (ARN) of the agent to update.
[$sel:agentArn:UpdateAgent'] :: UpdateAgent -> Text
-- | Create a value of UpdateAgent 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:
--
-- UpdateAgent, updateAgent_name - The name that you want
-- to use to configure the agent.
--
-- UpdateAgent, updateAgent_agentArn - The Amazon Resource
-- Name (ARN) of the agent to update.
newUpdateAgent :: Text -> UpdateAgent
-- | The name that you want to use to configure the agent.
updateAgent_name :: Lens' UpdateAgent (Maybe Text)
-- | The Amazon Resource Name (ARN) of the agent to update.
updateAgent_agentArn :: Lens' UpdateAgent Text
-- | See: newUpdateAgentResponse smart constructor.
data UpdateAgentResponse
UpdateAgentResponse' :: Int -> UpdateAgentResponse
-- | The response's http status code.
[$sel:httpStatus:UpdateAgentResponse'] :: UpdateAgentResponse -> Int
-- | Create a value of UpdateAgentResponse 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:httpStatus:UpdateAgentResponse',
-- updateAgentResponse_httpStatus - The response's http status
-- code.
newUpdateAgentResponse :: Int -> UpdateAgentResponse
-- | The response's http status code.
updateAgentResponse_httpStatus :: Lens' UpdateAgentResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.UpdateAgent.UpdateAgent
instance GHC.Show.Show Amazonka.DataSync.UpdateAgent.UpdateAgent
instance GHC.Read.Read Amazonka.DataSync.UpdateAgent.UpdateAgent
instance GHC.Classes.Eq Amazonka.DataSync.UpdateAgent.UpdateAgent
instance GHC.Generics.Generic Amazonka.DataSync.UpdateAgent.UpdateAgentResponse
instance GHC.Show.Show Amazonka.DataSync.UpdateAgent.UpdateAgentResponse
instance GHC.Read.Read Amazonka.DataSync.UpdateAgent.UpdateAgentResponse
instance GHC.Classes.Eq Amazonka.DataSync.UpdateAgent.UpdateAgentResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.UpdateAgent.UpdateAgent
instance Control.DeepSeq.NFData Amazonka.DataSync.UpdateAgent.UpdateAgentResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.UpdateAgent.UpdateAgent
instance Control.DeepSeq.NFData Amazonka.DataSync.UpdateAgent.UpdateAgent
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.UpdateAgent.UpdateAgent
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.UpdateAgent.UpdateAgent
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.UpdateAgent.UpdateAgent
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.UpdateAgent.UpdateAgent
-- | Updates some parameters of a previously created location for a Hadoop
-- Distributed File System cluster.
module Amazonka.DataSync.UpdateLocationHdfs
-- | See: newUpdateLocationHdfs smart constructor.
data UpdateLocationHdfs
UpdateLocationHdfs' :: Maybe (NonEmpty Text) -> Maybe HdfsAuthenticationType -> Maybe Natural -> Maybe Base64 -> Maybe Base64 -> Maybe Text -> Maybe Text -> Maybe (NonEmpty HdfsNameNode) -> Maybe QopConfiguration -> Maybe Natural -> Maybe Text -> Maybe Text -> Text -> UpdateLocationHdfs
-- | The ARNs of the agents that are used to connect to the HDFS cluster.
[$sel:agentArns:UpdateLocationHdfs'] :: UpdateLocationHdfs -> Maybe (NonEmpty Text)
-- | The type of authentication used to determine the identity of the user.
[$sel:authenticationType:UpdateLocationHdfs'] :: UpdateLocationHdfs -> Maybe HdfsAuthenticationType
-- | The size of the data blocks to write into the HDFS cluster.
[$sel:blockSize:UpdateLocationHdfs'] :: UpdateLocationHdfs -> Maybe Natural
-- | 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.
[$sel:kerberosKeytab:UpdateLocationHdfs'] :: UpdateLocationHdfs -> Maybe Base64
-- | 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.
[$sel:kerberosKrb5Conf:UpdateLocationHdfs'] :: UpdateLocationHdfs -> Maybe Base64
-- | The Kerberos principal with access to the files and folders on the
-- HDFS cluster.
[$sel:kerberosPrincipal:UpdateLocationHdfs'] :: UpdateLocationHdfs -> Maybe Text
-- | The URI of the HDFS cluster's Key Management Server (KMS).
[$sel:kmsKeyProviderUri:UpdateLocationHdfs'] :: UpdateLocationHdfs -> Maybe Text
-- | 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.
[$sel:nameNodes:UpdateLocationHdfs'] :: UpdateLocationHdfs -> Maybe (NonEmpty HdfsNameNode)
-- | 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.
[$sel:qopConfiguration:UpdateLocationHdfs'] :: UpdateLocationHdfs -> Maybe QopConfiguration
-- | The number of DataNodes to replicate the data to when writing to the
-- HDFS cluster.
[$sel:replicationFactor:UpdateLocationHdfs'] :: UpdateLocationHdfs -> Maybe Natural
-- | The user name used to identify the client on the host operating
-- system.
[$sel:simpleUser:UpdateLocationHdfs'] :: UpdateLocationHdfs -> Maybe Text
-- | A subdirectory in the HDFS cluster. This subdirectory is used to read
-- data from or write data to the HDFS cluster.
[$sel:subdirectory:UpdateLocationHdfs'] :: UpdateLocationHdfs -> Maybe Text
-- | The Amazon Resource Name (ARN) of the source HDFS cluster location.
[$sel:locationArn:UpdateLocationHdfs'] :: UpdateLocationHdfs -> Text
-- | Create a value of UpdateLocationHdfs 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:
--
-- UpdateLocationHdfs, updateLocationHdfs_agentArns - The
-- ARNs of the agents that are used to connect to the HDFS cluster.
--
-- $sel:authenticationType:UpdateLocationHdfs',
-- updateLocationHdfs_authenticationType - The type of
-- authentication used to determine the identity of the user.
--
-- $sel:blockSize:UpdateLocationHdfs',
-- updateLocationHdfs_blockSize - The size of the data blocks to
-- write into the HDFS cluster.
--
-- $sel:kerberosKeytab:UpdateLocationHdfs',
-- updateLocationHdfs_kerberosKeytab - 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.
--
-- $sel:kerberosKrb5Conf:UpdateLocationHdfs',
-- updateLocationHdfs_kerberosKrb5Conf - 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.
--
-- $sel:kerberosPrincipal:UpdateLocationHdfs',
-- updateLocationHdfs_kerberosPrincipal - The Kerberos principal
-- with access to the files and folders on the HDFS cluster.
--
-- $sel:kmsKeyProviderUri:UpdateLocationHdfs',
-- updateLocationHdfs_kmsKeyProviderUri - The URI of the HDFS
-- cluster's Key Management Server (KMS).
--
-- $sel:nameNodes:UpdateLocationHdfs',
-- updateLocationHdfs_nameNodes - 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.
--
-- $sel:qopConfiguration:UpdateLocationHdfs',
-- updateLocationHdfs_qopConfiguration - 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.
--
-- $sel:replicationFactor:UpdateLocationHdfs',
-- updateLocationHdfs_replicationFactor - The number of DataNodes
-- to replicate the data to when writing to the HDFS cluster.
--
-- $sel:simpleUser:UpdateLocationHdfs',
-- updateLocationHdfs_simpleUser - The user name used to identify
-- the client on the host operating system.
--
-- $sel:subdirectory:UpdateLocationHdfs',
-- updateLocationHdfs_subdirectory - A subdirectory in the HDFS
-- cluster. This subdirectory is used to read data from or write data to
-- the HDFS cluster.
--
-- UpdateLocationHdfs, updateLocationHdfs_locationArn - The
-- Amazon Resource Name (ARN) of the source HDFS cluster location.
newUpdateLocationHdfs :: Text -> UpdateLocationHdfs
-- | The ARNs of the agents that are used to connect to the HDFS cluster.
updateLocationHdfs_agentArns :: Lens' UpdateLocationHdfs (Maybe (NonEmpty Text))
-- | The type of authentication used to determine the identity of the user.
updateLocationHdfs_authenticationType :: Lens' UpdateLocationHdfs (Maybe HdfsAuthenticationType)
-- | The size of the data blocks to write into the HDFS cluster.
updateLocationHdfs_blockSize :: Lens' UpdateLocationHdfs (Maybe Natural)
-- | 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_kerberosKeytab :: Lens' UpdateLocationHdfs (Maybe ByteString)
-- | 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_kerberosKrb5Conf :: Lens' UpdateLocationHdfs (Maybe ByteString)
-- | The Kerberos principal with access to the files and folders on the
-- HDFS cluster.
updateLocationHdfs_kerberosPrincipal :: Lens' UpdateLocationHdfs (Maybe Text)
-- | The URI of the HDFS cluster's Key Management Server (KMS).
updateLocationHdfs_kmsKeyProviderUri :: Lens' UpdateLocationHdfs (Maybe Text)
-- | 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_nameNodes :: Lens' UpdateLocationHdfs (Maybe (NonEmpty HdfsNameNode))
-- | 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_qopConfiguration :: Lens' UpdateLocationHdfs (Maybe QopConfiguration)
-- | The number of DataNodes to replicate the data to when writing to the
-- HDFS cluster.
updateLocationHdfs_replicationFactor :: Lens' UpdateLocationHdfs (Maybe Natural)
-- | The user name used to identify the client on the host operating
-- system.
updateLocationHdfs_simpleUser :: Lens' UpdateLocationHdfs (Maybe Text)
-- | A subdirectory in the HDFS cluster. This subdirectory is used to read
-- data from or write data to the HDFS cluster.
updateLocationHdfs_subdirectory :: Lens' UpdateLocationHdfs (Maybe Text)
-- | The Amazon Resource Name (ARN) of the source HDFS cluster location.
updateLocationHdfs_locationArn :: Lens' UpdateLocationHdfs Text
-- | See: newUpdateLocationHdfsResponse smart constructor.
data UpdateLocationHdfsResponse
UpdateLocationHdfsResponse' :: Int -> UpdateLocationHdfsResponse
-- | The response's http status code.
[$sel:httpStatus:UpdateLocationHdfsResponse'] :: UpdateLocationHdfsResponse -> Int
-- | Create a value of UpdateLocationHdfsResponse 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:httpStatus:UpdateLocationHdfsResponse',
-- updateLocationHdfsResponse_httpStatus - The response's http
-- status code.
newUpdateLocationHdfsResponse :: Int -> UpdateLocationHdfsResponse
-- | The response's http status code.
updateLocationHdfsResponse_httpStatus :: Lens' UpdateLocationHdfsResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.UpdateLocationHdfs.UpdateLocationHdfs
instance GHC.Show.Show Amazonka.DataSync.UpdateLocationHdfs.UpdateLocationHdfs
instance GHC.Read.Read Amazonka.DataSync.UpdateLocationHdfs.UpdateLocationHdfs
instance GHC.Classes.Eq Amazonka.DataSync.UpdateLocationHdfs.UpdateLocationHdfs
instance GHC.Generics.Generic Amazonka.DataSync.UpdateLocationHdfs.UpdateLocationHdfsResponse
instance GHC.Show.Show Amazonka.DataSync.UpdateLocationHdfs.UpdateLocationHdfsResponse
instance GHC.Read.Read Amazonka.DataSync.UpdateLocationHdfs.UpdateLocationHdfsResponse
instance GHC.Classes.Eq Amazonka.DataSync.UpdateLocationHdfs.UpdateLocationHdfsResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.UpdateLocationHdfs.UpdateLocationHdfs
instance Control.DeepSeq.NFData Amazonka.DataSync.UpdateLocationHdfs.UpdateLocationHdfsResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.UpdateLocationHdfs.UpdateLocationHdfs
instance Control.DeepSeq.NFData Amazonka.DataSync.UpdateLocationHdfs.UpdateLocationHdfs
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.UpdateLocationHdfs.UpdateLocationHdfs
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.UpdateLocationHdfs.UpdateLocationHdfs
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.UpdateLocationHdfs.UpdateLocationHdfs
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.UpdateLocationHdfs.UpdateLocationHdfs
-- | Updates some of the parameters of a previously created location for
-- Network File System (NFS) access. For information about creating an
-- NFS location, see Creating a location for NFS.
module Amazonka.DataSync.UpdateLocationNfs
-- | See: newUpdateLocationNfs smart constructor.
data UpdateLocationNfs
UpdateLocationNfs' :: Maybe NfsMountOptions -> Maybe OnPremConfig -> Maybe Text -> Text -> UpdateLocationNfs
[$sel:mountOptions:UpdateLocationNfs'] :: UpdateLocationNfs -> Maybe NfsMountOptions
[$sel:onPremConfig:UpdateLocationNfs'] :: UpdateLocationNfs -> Maybe OnPremConfig
-- | 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.
[$sel:subdirectory:UpdateLocationNfs'] :: UpdateLocationNfs -> Maybe Text
-- | The Amazon Resource Name (ARN) of the NFS location to update.
[$sel:locationArn:UpdateLocationNfs'] :: UpdateLocationNfs -> Text
-- | Create a value of UpdateLocationNfs 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:
--
-- UpdateLocationNfs, updateLocationNfs_mountOptions -
-- Undocumented member.
--
-- $sel:onPremConfig:UpdateLocationNfs',
-- updateLocationNfs_onPremConfig - Undocumented member.
--
-- $sel:subdirectory:UpdateLocationNfs',
-- updateLocationNfs_subdirectory - 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, updateLocationNfs_locationArn - The
-- Amazon Resource Name (ARN) of the NFS location to update.
newUpdateLocationNfs :: Text -> UpdateLocationNfs
-- | Undocumented member.
updateLocationNfs_mountOptions :: Lens' UpdateLocationNfs (Maybe NfsMountOptions)
-- | Undocumented member.
updateLocationNfs_onPremConfig :: Lens' UpdateLocationNfs (Maybe OnPremConfig)
-- | 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_subdirectory :: Lens' UpdateLocationNfs (Maybe Text)
-- | The Amazon Resource Name (ARN) of the NFS location to update.
updateLocationNfs_locationArn :: Lens' UpdateLocationNfs Text
-- | See: newUpdateLocationNfsResponse smart constructor.
data UpdateLocationNfsResponse
UpdateLocationNfsResponse' :: Int -> UpdateLocationNfsResponse
-- | The response's http status code.
[$sel:httpStatus:UpdateLocationNfsResponse'] :: UpdateLocationNfsResponse -> Int
-- | Create a value of UpdateLocationNfsResponse 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:httpStatus:UpdateLocationNfsResponse',
-- updateLocationNfsResponse_httpStatus - The response's http
-- status code.
newUpdateLocationNfsResponse :: Int -> UpdateLocationNfsResponse
-- | The response's http status code.
updateLocationNfsResponse_httpStatus :: Lens' UpdateLocationNfsResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.UpdateLocationNfs.UpdateLocationNfs
instance GHC.Show.Show Amazonka.DataSync.UpdateLocationNfs.UpdateLocationNfs
instance GHC.Read.Read Amazonka.DataSync.UpdateLocationNfs.UpdateLocationNfs
instance GHC.Classes.Eq Amazonka.DataSync.UpdateLocationNfs.UpdateLocationNfs
instance GHC.Generics.Generic Amazonka.DataSync.UpdateLocationNfs.UpdateLocationNfsResponse
instance GHC.Show.Show Amazonka.DataSync.UpdateLocationNfs.UpdateLocationNfsResponse
instance GHC.Read.Read Amazonka.DataSync.UpdateLocationNfs.UpdateLocationNfsResponse
instance GHC.Classes.Eq Amazonka.DataSync.UpdateLocationNfs.UpdateLocationNfsResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.UpdateLocationNfs.UpdateLocationNfs
instance Control.DeepSeq.NFData Amazonka.DataSync.UpdateLocationNfs.UpdateLocationNfsResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.UpdateLocationNfs.UpdateLocationNfs
instance Control.DeepSeq.NFData Amazonka.DataSync.UpdateLocationNfs.UpdateLocationNfs
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.UpdateLocationNfs.UpdateLocationNfs
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.UpdateLocationNfs.UpdateLocationNfs
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.UpdateLocationNfs.UpdateLocationNfs
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.UpdateLocationNfs.UpdateLocationNfs
-- | Updates some parameters of an existing object storage location that
-- DataSync accesses for a transfer. For information about creating a
-- self-managed object storage location, see Creating a location for
-- object storage.
module Amazonka.DataSync.UpdateLocationObjectStorage
-- | See: newUpdateLocationObjectStorage smart constructor.
data UpdateLocationObjectStorage
UpdateLocationObjectStorage' :: Maybe Text -> Maybe (NonEmpty Text) -> Maybe (Sensitive Text) -> Maybe Base64 -> Maybe Natural -> Maybe ObjectStorageServerProtocol -> Maybe Text -> Text -> UpdateLocationObjectStorage
-- | Specifies the access key (for example, a user name) if credentials are
-- required to authenticate with the object storage server.
[$sel:accessKey:UpdateLocationObjectStorage'] :: UpdateLocationObjectStorage -> Maybe Text
-- | Specifies the Amazon Resource Names (ARNs) of the DataSync agents that
-- can securely connect with your location.
[$sel:agentArns:UpdateLocationObjectStorage'] :: UpdateLocationObjectStorage -> Maybe (NonEmpty Text)
-- | Specifies the secret key (for example, a password) if credentials are
-- required to authenticate with the object storage server.
[$sel:secretKey:UpdateLocationObjectStorage'] :: UpdateLocationObjectStorage -> Maybe (Sensitive Text)
-- | 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.
[$sel:serverCertificate:UpdateLocationObjectStorage'] :: UpdateLocationObjectStorage -> Maybe Base64
-- | Specifies the port that your object storage server accepts inbound
-- network traffic on (for example, port 443).
[$sel:serverPort:UpdateLocationObjectStorage'] :: UpdateLocationObjectStorage -> Maybe Natural
-- | Specifies the protocol that your object storage server uses to
-- communicate.
[$sel:serverProtocol:UpdateLocationObjectStorage'] :: UpdateLocationObjectStorage -> Maybe ObjectStorageServerProtocol
-- | 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.
[$sel:subdirectory:UpdateLocationObjectStorage'] :: UpdateLocationObjectStorage -> Maybe Text
-- | Specifies the ARN of the object storage system location that you're
-- updating.
[$sel:locationArn:UpdateLocationObjectStorage'] :: UpdateLocationObjectStorage -> Text
-- | Create a value of UpdateLocationObjectStorage 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:accessKey:UpdateLocationObjectStorage',
-- updateLocationObjectStorage_accessKey - Specifies the access
-- key (for example, a user name) if credentials are required to
-- authenticate with the object storage server.
--
-- UpdateLocationObjectStorage,
-- updateLocationObjectStorage_agentArns - Specifies the Amazon
-- Resource Names (ARNs) of the DataSync agents that can securely connect
-- with your location.
--
-- $sel:secretKey:UpdateLocationObjectStorage',
-- updateLocationObjectStorage_secretKey - Specifies the secret
-- key (for example, a password) if credentials are required to
-- authenticate with the object storage server.
--
-- $sel:serverCertificate:UpdateLocationObjectStorage',
-- updateLocationObjectStorage_serverCertificate - 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.
--
-- $sel:serverPort:UpdateLocationObjectStorage',
-- updateLocationObjectStorage_serverPort - Specifies the port
-- that your object storage server accepts inbound network traffic on
-- (for example, port 443).
--
-- $sel:serverProtocol:UpdateLocationObjectStorage',
-- updateLocationObjectStorage_serverProtocol - Specifies the
-- protocol that your object storage server uses to communicate.
--
-- $sel:subdirectory:UpdateLocationObjectStorage',
-- updateLocationObjectStorage_subdirectory - 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,
-- updateLocationObjectStorage_locationArn - Specifies the ARN of
-- the object storage system location that you're updating.
newUpdateLocationObjectStorage :: Text -> UpdateLocationObjectStorage
-- | Specifies the access key (for example, a user name) if credentials are
-- required to authenticate with the object storage server.
updateLocationObjectStorage_accessKey :: Lens' UpdateLocationObjectStorage (Maybe Text)
-- | Specifies the Amazon Resource Names (ARNs) of the DataSync agents that
-- can securely connect with your location.
updateLocationObjectStorage_agentArns :: Lens' UpdateLocationObjectStorage (Maybe (NonEmpty Text))
-- | Specifies the secret key (for example, a password) if credentials are
-- required to authenticate with the object storage server.
updateLocationObjectStorage_secretKey :: Lens' UpdateLocationObjectStorage (Maybe Text)
-- | 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_serverCertificate :: Lens' UpdateLocationObjectStorage (Maybe ByteString)
-- | Specifies the port that your object storage server accepts inbound
-- network traffic on (for example, port 443).
updateLocationObjectStorage_serverPort :: Lens' UpdateLocationObjectStorage (Maybe Natural)
-- | Specifies the protocol that your object storage server uses to
-- communicate.
updateLocationObjectStorage_serverProtocol :: Lens' UpdateLocationObjectStorage (Maybe ObjectStorageServerProtocol)
-- | 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_subdirectory :: Lens' UpdateLocationObjectStorage (Maybe Text)
-- | Specifies the ARN of the object storage system location that you're
-- updating.
updateLocationObjectStorage_locationArn :: Lens' UpdateLocationObjectStorage Text
-- | See: newUpdateLocationObjectStorageResponse smart
-- constructor.
data UpdateLocationObjectStorageResponse
UpdateLocationObjectStorageResponse' :: Int -> UpdateLocationObjectStorageResponse
-- | The response's http status code.
[$sel:httpStatus:UpdateLocationObjectStorageResponse'] :: UpdateLocationObjectStorageResponse -> Int
-- | Create a value of UpdateLocationObjectStorageResponse 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:httpStatus:UpdateLocationObjectStorageResponse',
-- updateLocationObjectStorageResponse_httpStatus - The response's
-- http status code.
newUpdateLocationObjectStorageResponse :: Int -> UpdateLocationObjectStorageResponse
-- | The response's http status code.
updateLocationObjectStorageResponse_httpStatus :: Lens' UpdateLocationObjectStorageResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.UpdateLocationObjectStorage.UpdateLocationObjectStorage
instance GHC.Show.Show Amazonka.DataSync.UpdateLocationObjectStorage.UpdateLocationObjectStorage
instance GHC.Classes.Eq Amazonka.DataSync.UpdateLocationObjectStorage.UpdateLocationObjectStorage
instance GHC.Generics.Generic Amazonka.DataSync.UpdateLocationObjectStorage.UpdateLocationObjectStorageResponse
instance GHC.Show.Show Amazonka.DataSync.UpdateLocationObjectStorage.UpdateLocationObjectStorageResponse
instance GHC.Read.Read Amazonka.DataSync.UpdateLocationObjectStorage.UpdateLocationObjectStorageResponse
instance GHC.Classes.Eq Amazonka.DataSync.UpdateLocationObjectStorage.UpdateLocationObjectStorageResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.UpdateLocationObjectStorage.UpdateLocationObjectStorage
instance Control.DeepSeq.NFData Amazonka.DataSync.UpdateLocationObjectStorage.UpdateLocationObjectStorageResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.UpdateLocationObjectStorage.UpdateLocationObjectStorage
instance Control.DeepSeq.NFData Amazonka.DataSync.UpdateLocationObjectStorage.UpdateLocationObjectStorage
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.UpdateLocationObjectStorage.UpdateLocationObjectStorage
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.UpdateLocationObjectStorage.UpdateLocationObjectStorage
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.UpdateLocationObjectStorage.UpdateLocationObjectStorage
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.UpdateLocationObjectStorage.UpdateLocationObjectStorage
-- | Updates some of the parameters of a previously created location for
-- Server Message Block (SMB) file system access. For information about
-- creating an SMB location, see Creating a location for SMB.
module Amazonka.DataSync.UpdateLocationSmb
-- | See: newUpdateLocationSmb smart constructor.
data UpdateLocationSmb
UpdateLocationSmb' :: Maybe (NonEmpty Text) -> Maybe Text -> Maybe SmbMountOptions -> Maybe (Sensitive Text) -> Maybe Text -> Maybe Text -> Text -> UpdateLocationSmb
-- | The Amazon Resource Names (ARNs) of agents to use for a Simple Message
-- Block (SMB) location.
[$sel:agentArns:UpdateLocationSmb'] :: UpdateLocationSmb -> Maybe (NonEmpty Text)
-- | The name of the Windows domain that the SMB server belongs to.
[$sel:domain:UpdateLocationSmb'] :: UpdateLocationSmb -> Maybe Text
[$sel:mountOptions:UpdateLocationSmb'] :: UpdateLocationSmb -> Maybe SmbMountOptions
-- | The password of the user who can mount the share has the permissions
-- to access files and folders in the SMB share.
[$sel:password:UpdateLocationSmb'] :: UpdateLocationSmb -> Maybe (Sensitive Text)
-- | 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.
[$sel:subdirectory:UpdateLocationSmb'] :: UpdateLocationSmb -> Maybe Text
-- | The user who can mount the share has the permissions to access files
-- and folders in the SMB share.
[$sel:user:UpdateLocationSmb'] :: UpdateLocationSmb -> Maybe Text
-- | The Amazon Resource Name (ARN) of the SMB location to update.
[$sel:locationArn:UpdateLocationSmb'] :: UpdateLocationSmb -> Text
-- | Create a value of UpdateLocationSmb 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:
--
-- UpdateLocationSmb, updateLocationSmb_agentArns - The
-- Amazon Resource Names (ARNs) of agents to use for a Simple Message
-- Block (SMB) location.
--
-- UpdateLocationSmb, updateLocationSmb_domain - The name
-- of the Windows domain that the SMB server belongs to.
--
-- UpdateLocationSmb, updateLocationSmb_mountOptions -
-- Undocumented member.
--
-- UpdateLocationSmb, updateLocationSmb_password - The
-- password of the user who can mount the share has the permissions to
-- access files and folders in the SMB share.
--
-- $sel:subdirectory:UpdateLocationSmb',
-- updateLocationSmb_subdirectory - 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, updateLocationSmb_user - The user who
-- can mount the share has the permissions to access files and folders in
-- the SMB share.
--
-- UpdateLocationSmb, updateLocationSmb_locationArn - The
-- Amazon Resource Name (ARN) of the SMB location to update.
newUpdateLocationSmb :: Text -> UpdateLocationSmb
-- | The Amazon Resource Names (ARNs) of agents to use for a Simple Message
-- Block (SMB) location.
updateLocationSmb_agentArns :: Lens' UpdateLocationSmb (Maybe (NonEmpty Text))
-- | The name of the Windows domain that the SMB server belongs to.
updateLocationSmb_domain :: Lens' UpdateLocationSmb (Maybe Text)
-- | Undocumented member.
updateLocationSmb_mountOptions :: Lens' UpdateLocationSmb (Maybe SmbMountOptions)
-- | The password of the user who can mount the share has the permissions
-- to access files and folders in the SMB share.
updateLocationSmb_password :: Lens' UpdateLocationSmb (Maybe Text)
-- | 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_subdirectory :: Lens' UpdateLocationSmb (Maybe Text)
-- | The user who can mount the share has the permissions to access files
-- and folders in the SMB share.
updateLocationSmb_user :: Lens' UpdateLocationSmb (Maybe Text)
-- | The Amazon Resource Name (ARN) of the SMB location to update.
updateLocationSmb_locationArn :: Lens' UpdateLocationSmb Text
-- | See: newUpdateLocationSmbResponse smart constructor.
data UpdateLocationSmbResponse
UpdateLocationSmbResponse' :: Int -> UpdateLocationSmbResponse
-- | The response's http status code.
[$sel:httpStatus:UpdateLocationSmbResponse'] :: UpdateLocationSmbResponse -> Int
-- | Create a value of UpdateLocationSmbResponse 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:httpStatus:UpdateLocationSmbResponse',
-- updateLocationSmbResponse_httpStatus - The response's http
-- status code.
newUpdateLocationSmbResponse :: Int -> UpdateLocationSmbResponse
-- | The response's http status code.
updateLocationSmbResponse_httpStatus :: Lens' UpdateLocationSmbResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.UpdateLocationSmb.UpdateLocationSmb
instance GHC.Show.Show Amazonka.DataSync.UpdateLocationSmb.UpdateLocationSmb
instance GHC.Classes.Eq Amazonka.DataSync.UpdateLocationSmb.UpdateLocationSmb
instance GHC.Generics.Generic Amazonka.DataSync.UpdateLocationSmb.UpdateLocationSmbResponse
instance GHC.Show.Show Amazonka.DataSync.UpdateLocationSmb.UpdateLocationSmbResponse
instance GHC.Read.Read Amazonka.DataSync.UpdateLocationSmb.UpdateLocationSmbResponse
instance GHC.Classes.Eq Amazonka.DataSync.UpdateLocationSmb.UpdateLocationSmbResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.UpdateLocationSmb.UpdateLocationSmb
instance Control.DeepSeq.NFData Amazonka.DataSync.UpdateLocationSmb.UpdateLocationSmbResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.UpdateLocationSmb.UpdateLocationSmb
instance Control.DeepSeq.NFData Amazonka.DataSync.UpdateLocationSmb.UpdateLocationSmb
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.UpdateLocationSmb.UpdateLocationSmb
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.UpdateLocationSmb.UpdateLocationSmb
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.UpdateLocationSmb.UpdateLocationSmb
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.UpdateLocationSmb.UpdateLocationSmb
-- | Updates the metadata associated with a task.
module Amazonka.DataSync.UpdateTask
-- | UpdateTaskResponse
--
-- See: newUpdateTask smart constructor.
data UpdateTask
UpdateTask' :: Maybe Text -> Maybe [FilterRule] -> Maybe [FilterRule] -> Maybe Text -> Maybe Options -> Maybe TaskSchedule -> Text -> UpdateTask
-- | The Amazon Resource Name (ARN) of the resource name of the Amazon
-- CloudWatch log group.
[$sel:cloudWatchLogGroupArn:UpdateTask'] :: UpdateTask -> Maybe Text
-- | Specifies a list of filter rules that exclude specific data during
-- your transfer. For more information and examples, see Filtering
-- data transferred by DataSync.
[$sel:excludes:UpdateTask'] :: UpdateTask -> Maybe [FilterRule]
-- | Specifies a list of filter rules that include specific data during
-- your transfer. For more information and examples, see Filtering
-- data transferred by DataSync.
[$sel:includes:UpdateTask'] :: UpdateTask -> Maybe [FilterRule]
-- | The name of the task to update.
[$sel:name:UpdateTask'] :: UpdateTask -> Maybe Text
[$sel:options:UpdateTask'] :: UpdateTask -> Maybe Options
-- | 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.
[$sel:schedule:UpdateTask'] :: UpdateTask -> Maybe TaskSchedule
-- | The Amazon Resource Name (ARN) of the resource name of the task to
-- update.
[$sel:taskArn:UpdateTask'] :: UpdateTask -> Text
-- | Create a value of UpdateTask 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:cloudWatchLogGroupArn:UpdateTask',
-- updateTask_cloudWatchLogGroupArn - The Amazon Resource Name
-- (ARN) of the resource name of the Amazon CloudWatch log group.
--
-- $sel:excludes:UpdateTask', updateTask_excludes -
-- Specifies a list of filter rules that exclude specific data during
-- your transfer. For more information and examples, see Filtering
-- data transferred by DataSync.
--
-- $sel:includes:UpdateTask', updateTask_includes -
-- 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, updateTask_name - The name of the task to
-- update.
--
-- $sel:options:UpdateTask', updateTask_options -
-- Undocumented member.
--
-- $sel:schedule:UpdateTask', updateTask_schedule -
-- 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, updateTask_taskArn - The Amazon Resource
-- Name (ARN) of the resource name of the task to update.
newUpdateTask :: Text -> UpdateTask
-- | The Amazon Resource Name (ARN) of the resource name of the Amazon
-- CloudWatch log group.
updateTask_cloudWatchLogGroupArn :: Lens' UpdateTask (Maybe Text)
-- | 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_excludes :: Lens' UpdateTask (Maybe [FilterRule])
-- | 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_includes :: Lens' UpdateTask (Maybe [FilterRule])
-- | The name of the task to update.
updateTask_name :: Lens' UpdateTask (Maybe Text)
-- | Undocumented member.
updateTask_options :: Lens' UpdateTask (Maybe Options)
-- | 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_schedule :: Lens' UpdateTask (Maybe TaskSchedule)
-- | The Amazon Resource Name (ARN) of the resource name of the task to
-- update.
updateTask_taskArn :: Lens' UpdateTask Text
-- | See: newUpdateTaskResponse smart constructor.
data UpdateTaskResponse
UpdateTaskResponse' :: Int -> UpdateTaskResponse
-- | The response's http status code.
[$sel:httpStatus:UpdateTaskResponse'] :: UpdateTaskResponse -> Int
-- | Create a value of UpdateTaskResponse 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:httpStatus:UpdateTaskResponse',
-- updateTaskResponse_httpStatus - The response's http status
-- code.
newUpdateTaskResponse :: Int -> UpdateTaskResponse
-- | The response's http status code.
updateTaskResponse_httpStatus :: Lens' UpdateTaskResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.UpdateTask.UpdateTask
instance GHC.Show.Show Amazonka.DataSync.UpdateTask.UpdateTask
instance GHC.Read.Read Amazonka.DataSync.UpdateTask.UpdateTask
instance GHC.Classes.Eq Amazonka.DataSync.UpdateTask.UpdateTask
instance GHC.Generics.Generic Amazonka.DataSync.UpdateTask.UpdateTaskResponse
instance GHC.Show.Show Amazonka.DataSync.UpdateTask.UpdateTaskResponse
instance GHC.Read.Read Amazonka.DataSync.UpdateTask.UpdateTaskResponse
instance GHC.Classes.Eq Amazonka.DataSync.UpdateTask.UpdateTaskResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.UpdateTask.UpdateTask
instance Control.DeepSeq.NFData Amazonka.DataSync.UpdateTask.UpdateTaskResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.UpdateTask.UpdateTask
instance Control.DeepSeq.NFData Amazonka.DataSync.UpdateTask.UpdateTask
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.UpdateTask.UpdateTask
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.UpdateTask.UpdateTask
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.UpdateTask.UpdateTask
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.UpdateTask.UpdateTask
-- | Updates execution of a task.
--
-- You can modify bandwidth throttling for a task execution that is
-- running or queued. For more information, see Adjusting Bandwidth
-- Throttling for a Task Execution.
--
-- The only Option that can be modified by
-- UpdateTaskExecution is BytesPerSecond
-- .
module Amazonka.DataSync.UpdateTaskExecution
-- | See: newUpdateTaskExecution smart constructor.
data UpdateTaskExecution
UpdateTaskExecution' :: Text -> Options -> UpdateTaskExecution
-- | The Amazon Resource Name (ARN) of the specific task execution that is
-- being updated.
[$sel:taskExecutionArn:UpdateTaskExecution'] :: UpdateTaskExecution -> Text
[$sel:options:UpdateTaskExecution'] :: UpdateTaskExecution -> Options
-- | Create a value of UpdateTaskExecution 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:
--
-- UpdateTaskExecution,
-- updateTaskExecution_taskExecutionArn - The Amazon Resource Name
-- (ARN) of the specific task execution that is being updated.
--
-- $sel:options:UpdateTaskExecution',
-- updateTaskExecution_options - Undocumented member.
newUpdateTaskExecution :: Text -> Options -> UpdateTaskExecution
-- | The Amazon Resource Name (ARN) of the specific task execution that is
-- being updated.
updateTaskExecution_taskExecutionArn :: Lens' UpdateTaskExecution Text
-- | Undocumented member.
updateTaskExecution_options :: Lens' UpdateTaskExecution Options
-- | See: newUpdateTaskExecutionResponse smart constructor.
data UpdateTaskExecutionResponse
UpdateTaskExecutionResponse' :: Int -> UpdateTaskExecutionResponse
-- | The response's http status code.
[$sel:httpStatus:UpdateTaskExecutionResponse'] :: UpdateTaskExecutionResponse -> Int
-- | Create a value of UpdateTaskExecutionResponse 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:httpStatus:UpdateTaskExecutionResponse',
-- updateTaskExecutionResponse_httpStatus - The response's http
-- status code.
newUpdateTaskExecutionResponse :: Int -> UpdateTaskExecutionResponse
-- | The response's http status code.
updateTaskExecutionResponse_httpStatus :: Lens' UpdateTaskExecutionResponse Int
instance GHC.Generics.Generic Amazonka.DataSync.UpdateTaskExecution.UpdateTaskExecution
instance GHC.Show.Show Amazonka.DataSync.UpdateTaskExecution.UpdateTaskExecution
instance GHC.Read.Read Amazonka.DataSync.UpdateTaskExecution.UpdateTaskExecution
instance GHC.Classes.Eq Amazonka.DataSync.UpdateTaskExecution.UpdateTaskExecution
instance GHC.Generics.Generic Amazonka.DataSync.UpdateTaskExecution.UpdateTaskExecutionResponse
instance GHC.Show.Show Amazonka.DataSync.UpdateTaskExecution.UpdateTaskExecutionResponse
instance GHC.Read.Read Amazonka.DataSync.UpdateTaskExecution.UpdateTaskExecutionResponse
instance GHC.Classes.Eq Amazonka.DataSync.UpdateTaskExecution.UpdateTaskExecutionResponse
instance Amazonka.Types.AWSRequest Amazonka.DataSync.UpdateTaskExecution.UpdateTaskExecution
instance Control.DeepSeq.NFData Amazonka.DataSync.UpdateTaskExecution.UpdateTaskExecutionResponse
instance Data.Hashable.Class.Hashable Amazonka.DataSync.UpdateTaskExecution.UpdateTaskExecution
instance Control.DeepSeq.NFData Amazonka.DataSync.UpdateTaskExecution.UpdateTaskExecution
instance Amazonka.Data.Headers.ToHeaders Amazonka.DataSync.UpdateTaskExecution.UpdateTaskExecution
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.DataSync.UpdateTaskExecution.UpdateTaskExecution
instance Amazonka.Data.Path.ToPath Amazonka.DataSync.UpdateTaskExecution.UpdateTaskExecution
instance Amazonka.Data.Query.ToQuery Amazonka.DataSync.UpdateTaskExecution.UpdateTaskExecution
module Amazonka.DataSync.Lens
-- | The Amazon Resource Name (ARN) of the task execution to stop.
cancelTaskExecution_taskExecutionArn :: Lens' CancelTaskExecution Text
-- | The response's http status code.
cancelTaskExecutionResponse_httpStatus :: Lens' CancelTaskExecutionResponse Int
-- | The name you configured for your agent. This value is a text reference
-- that is used to identify the agent in the console.
createAgent_agentName :: Lens' CreateAgent (Maybe Text)
-- | The ARNs of the security groups used to protect your data transfer
-- task subnets. See SecurityGroupArns.
createAgent_securityGroupArns :: Lens' CreateAgent (Maybe (NonEmpty Text))
-- | 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_subnetArns :: Lens' CreateAgent (Maybe (NonEmpty Text))
-- | 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_tags :: Lens' CreateAgent (Maybe [TagListEntry])
-- | 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_vpcEndpointId :: Lens' CreateAgent (Maybe Text)
-- | 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./
createAgent_activationKey :: Lens' CreateAgent Text
-- | 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.
createAgentResponse_agentArn :: Lens' CreateAgentResponse (Maybe Text)
-- | The response's http status code.
createAgentResponse_httpStatus :: Lens' CreateAgentResponse Int
-- | Specifies the Amazon Resource Name (ARN) of the access point that
-- DataSync uses to access the Amazon EFS file system.
createLocationEfs_accessPointArn :: Lens' CreateLocationEfs (Maybe Text)
-- | Specifies an Identity and Access Management (IAM) role that DataSync
-- assumes when mounting the Amazon EFS file system.
createLocationEfs_fileSystemAccessRoleArn :: Lens' CreateLocationEfs (Maybe Text)
-- | 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_inTransitEncryption :: Lens' CreateLocationEfs (Maybe EfsInTransitEncryption)
-- | 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_subdirectory :: Lens' CreateLocationEfs (Maybe Text)
-- | 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_tags :: Lens' CreateLocationEfs (Maybe [TagListEntry])
-- | Specifies the ARN for the Amazon EFS file system.
createLocationEfs_efsFilesystemArn :: Lens' CreateLocationEfs Text
-- | Specifies the subnet and security groups DataSync uses to access your
-- Amazon EFS file system.
createLocationEfs_ec2Config :: Lens' CreateLocationEfs Ec2Config
-- | The Amazon Resource Name (ARN) of the Amazon EFS file system location
-- that you create.
createLocationEfsResponse_locationArn :: Lens' CreateLocationEfsResponse (Maybe Text)
-- | The response's http status code.
createLocationEfsResponse_httpStatus :: Lens' CreateLocationEfsResponse Int
-- | 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_subdirectory :: Lens' CreateLocationFsxLustre (Maybe Text)
-- | 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_tags :: Lens' CreateLocationFsxLustre (Maybe [TagListEntry])
-- | The Amazon Resource Name (ARN) for the FSx for Lustre file system.
createLocationFsxLustre_fsxFilesystemArn :: Lens' CreateLocationFsxLustre Text
-- | The Amazon Resource Names (ARNs) of the security groups that are used
-- to configure the FSx for Lustre file system.
createLocationFsxLustre_securityGroupArns :: Lens' CreateLocationFsxLustre (NonEmpty Text)
-- | The Amazon Resource Name (ARN) of the FSx for Lustre file system
-- location that's created.
createLocationFsxLustreResponse_locationArn :: Lens' CreateLocationFsxLustreResponse (Maybe Text)
-- | The response's http status code.
createLocationFsxLustreResponse_httpStatus :: Lens' CreateLocationFsxLustreResponse Int
-- | 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_subdirectory :: Lens' CreateLocationFsxOntap (Maybe Text)
-- | 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_tags :: Lens' CreateLocationFsxOntap (Maybe [TagListEntry])
-- | Undocumented member.
createLocationFsxOntap_protocol :: Lens' CreateLocationFsxOntap FsxProtocol
-- | 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_securityGroupArns :: Lens' CreateLocationFsxOntap (NonEmpty Text)
-- | Specifies the ARN of the storage virtual machine (SVM) on your file
-- system where you're copying data to or from.
createLocationFsxOntap_storageVirtualMachineArn :: Lens' CreateLocationFsxOntap Text
-- | Specifies the ARN of the FSx for ONTAP file system location that you
-- create.
createLocationFsxOntapResponse_locationArn :: Lens' CreateLocationFsxOntapResponse (Maybe Text)
-- | The response's http status code.
createLocationFsxOntapResponse_httpStatus :: Lens' CreateLocationFsxOntapResponse Int
-- | 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_subdirectory :: Lens' CreateLocationFsxOpenZfs (Maybe Text)
-- | 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_tags :: Lens' CreateLocationFsxOpenZfs (Maybe [TagListEntry])
-- | The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.
createLocationFsxOpenZfs_fsxFilesystemArn :: Lens' CreateLocationFsxOpenZfs Text
-- | The type of protocol that DataSync uses to access your file system.
createLocationFsxOpenZfs_protocol :: Lens' CreateLocationFsxOpenZfs FsxProtocol
-- | The ARNs of the security groups that are used to configure the FSx for
-- OpenZFS file system.
createLocationFsxOpenZfs_securityGroupArns :: Lens' CreateLocationFsxOpenZfs (NonEmpty Text)
-- | The ARN of the FSx for OpenZFS file system location that you created.
createLocationFsxOpenZfsResponse_locationArn :: Lens' CreateLocationFsxOpenZfsResponse (Maybe Text)
-- | The response's http status code.
createLocationFsxOpenZfsResponse_httpStatus :: Lens' CreateLocationFsxOpenZfsResponse Int
-- | Specifies the name of the Windows domain that the FSx for Windows File
-- Server belongs to.
createLocationFsxWindows_domain :: Lens' CreateLocationFsxWindows (Maybe Text)
-- | 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_subdirectory :: Lens' CreateLocationFsxWindows (Maybe Text)
-- | 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_tags :: Lens' CreateLocationFsxWindows (Maybe [TagListEntry])
-- | Specifies the Amazon Resource Name (ARN) for the FSx for Windows File
-- Server file system.
createLocationFsxWindows_fsxFilesystemArn :: Lens' CreateLocationFsxWindows Text
-- | 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_securityGroupArns :: Lens' CreateLocationFsxWindows (NonEmpty Text)
-- | 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_user :: Lens' CreateLocationFsxWindows Text
-- | Specifies the password of the user who has the permissions to access
-- files and folders in the file system.
createLocationFsxWindows_password :: Lens' CreateLocationFsxWindows Text
-- | The ARN of the FSx for Windows File Server file system location you
-- created.
createLocationFsxWindowsResponse_locationArn :: Lens' CreateLocationFsxWindowsResponse (Maybe Text)
-- | The response's http status code.
createLocationFsxWindowsResponse_httpStatus :: Lens' CreateLocationFsxWindowsResponse Int
-- | 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_blockSize :: Lens' CreateLocationHdfs (Maybe Natural)
-- | 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_kerberosKeytab :: Lens' CreateLocationHdfs (Maybe ByteString)
-- | 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_kerberosKrb5Conf :: Lens' CreateLocationHdfs (Maybe ByteString)
-- | 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_kerberosPrincipal :: Lens' CreateLocationHdfs (Maybe Text)
-- | The URI of the HDFS cluster's Key Management Server (KMS).
createLocationHdfs_kmsKeyProviderUri :: Lens' CreateLocationHdfs (Maybe Text)
-- | 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_qopConfiguration :: Lens' CreateLocationHdfs (Maybe QopConfiguration)
-- | The number of DataNodes to replicate the data to when writing to the
-- HDFS cluster. By default, data is replicated to three DataNodes.
createLocationHdfs_replicationFactor :: Lens' CreateLocationHdfs (Maybe Natural)
-- | The user name used to identify the client on the host operating
-- system.
--
-- If SIMPLE is specified for AuthenticationType, this
-- parameter is required.
createLocationHdfs_simpleUser :: Lens' CreateLocationHdfs (Maybe Text)
-- | 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_subdirectory :: Lens' CreateLocationHdfs (Maybe Text)
-- | 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_tags :: Lens' CreateLocationHdfs (Maybe [TagListEntry])
-- | 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_nameNodes :: Lens' CreateLocationHdfs (NonEmpty HdfsNameNode)
-- | The type of authentication used to determine the identity of the user.
createLocationHdfs_authenticationType :: Lens' CreateLocationHdfs HdfsAuthenticationType
-- | The Amazon Resource Names (ARNs) of the agents that are used to
-- connect to the HDFS cluster.
createLocationHdfs_agentArns :: Lens' CreateLocationHdfs (NonEmpty Text)
-- | The ARN of the source HDFS cluster location that's created.
createLocationHdfsResponse_locationArn :: Lens' CreateLocationHdfsResponse (Maybe Text)
-- | The response's http status code.
createLocationHdfsResponse_httpStatus :: Lens' CreateLocationHdfsResponse Int
-- | The NFS mount options that DataSync can use to mount your NFS share.
createLocationNfs_mountOptions :: Lens' CreateLocationNfs (Maybe NfsMountOptions)
-- | 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_tags :: Lens' CreateLocationNfs (Maybe [TagListEntry])
-- | 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_subdirectory :: Lens' CreateLocationNfs Text
-- | 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_serverHostname :: Lens' CreateLocationNfs Text
-- | 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.
createLocationNfs_onPremConfig :: Lens' CreateLocationNfs OnPremConfig
-- | The Amazon Resource Name (ARN) of the source NFS file system location
-- that is created.
createLocationNfsResponse_locationArn :: Lens' CreateLocationNfsResponse (Maybe Text)
-- | The response's http status code.
createLocationNfsResponse_httpStatus :: Lens' CreateLocationNfsResponse Int
-- | Specifies the access key (for example, a user name) if credentials are
-- required to authenticate with the object storage server.
createLocationObjectStorage_accessKey :: Lens' CreateLocationObjectStorage (Maybe Text)
-- | Specifies the secret key (for example, a password) if credentials are
-- required to authenticate with the object storage server.
createLocationObjectStorage_secretKey :: Lens' CreateLocationObjectStorage (Maybe Text)
-- | 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_serverCertificate :: Lens' CreateLocationObjectStorage (Maybe ByteString)
-- | Specifies the port that your object storage server accepts inbound
-- network traffic on (for example, port 443).
createLocationObjectStorage_serverPort :: Lens' CreateLocationObjectStorage (Maybe Natural)
-- | Specifies the protocol that your object storage server uses to
-- communicate.
createLocationObjectStorage_serverProtocol :: Lens' CreateLocationObjectStorage (Maybe ObjectStorageServerProtocol)
-- | 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_subdirectory :: Lens' CreateLocationObjectStorage (Maybe Text)
-- | 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_tags :: Lens' CreateLocationObjectStorage (Maybe [TagListEntry])
-- | 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_serverHostname :: Lens' CreateLocationObjectStorage Text
-- | Specifies the name of the object storage bucket involved in the
-- transfer.
createLocationObjectStorage_bucketName :: Lens' CreateLocationObjectStorage Text
-- | Specifies the Amazon Resource Names (ARNs) of the DataSync agents that
-- can securely connect with your location.
createLocationObjectStorage_agentArns :: Lens' CreateLocationObjectStorage (NonEmpty Text)
-- | Specifies the ARN of the object storage system location that you
-- create.
createLocationObjectStorageResponse_locationArn :: Lens' CreateLocationObjectStorageResponse (Maybe Text)
-- | The response's http status code.
createLocationObjectStorageResponse_httpStatus :: Lens' CreateLocationObjectStorageResponse Int
-- | 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_agentArns :: Lens' CreateLocationS3 (Maybe (NonEmpty Text))
-- | 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_s3StorageClass :: Lens' CreateLocationS3 (Maybe S3StorageClass)
-- | 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_subdirectory :: Lens' CreateLocationS3 (Maybe Text)
-- | 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_tags :: Lens' CreateLocationS3 (Maybe [TagListEntry])
-- | The ARN of the Amazon S3 bucket. If the bucket is on an Amazon Web
-- Services Outpost, this must be an access point ARN.
createLocationS3_s3BucketArn :: Lens' CreateLocationS3 Text
-- | Undocumented member.
createLocationS3_s3Config :: Lens' CreateLocationS3 S3Config
-- | The Amazon Resource Name (ARN) of the source Amazon S3 bucket location
-- that is created.
createLocationS3Response_locationArn :: Lens' CreateLocationS3Response (Maybe Text)
-- | The response's http status code.
createLocationS3Response_httpStatus :: Lens' CreateLocationS3Response Int
-- | The name of the Windows domain that the SMB server belongs to.
createLocationSmb_domain :: Lens' CreateLocationSmb (Maybe Text)
-- | The mount options used by DataSync to access the SMB server.
createLocationSmb_mountOptions :: Lens' CreateLocationSmb (Maybe SmbMountOptions)
-- | 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_tags :: Lens' CreateLocationSmb (Maybe [TagListEntry])
-- | 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_subdirectory :: Lens' CreateLocationSmb Text
-- | 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_serverHostname :: Lens' CreateLocationSmb Text
-- | 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_user :: Lens' CreateLocationSmb Text
-- | The password of the user who can mount the share, has the permissions
-- to access files and folders in the SMB share.
createLocationSmb_password :: Lens' CreateLocationSmb Text
-- | The Amazon Resource Names (ARNs) of agents to use for a Simple Message
-- Block (SMB) location.
createLocationSmb_agentArns :: Lens' CreateLocationSmb (NonEmpty Text)
-- | The Amazon Resource Name (ARN) of the source SMB file system location
-- that is created.
createLocationSmbResponse_locationArn :: Lens' CreateLocationSmbResponse (Maybe Text)
-- | The response's http status code.
createLocationSmbResponse_httpStatus :: Lens' CreateLocationSmbResponse Int
-- | The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that
-- is used to monitor and log events in the task.
createTask_cloudWatchLogGroupArn :: Lens' CreateTask (Maybe Text)
-- | 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_excludes :: Lens' CreateTask (Maybe [FilterRule])
-- | 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_includes :: Lens' CreateTask (Maybe [FilterRule])
-- | The name of a task. This value is a text reference that is used to
-- identify the task in the console.
createTask_name :: Lens' CreateTask (Maybe Text)
-- | 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_options :: Lens' CreateTask (Maybe Options)
-- | 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_schedule :: Lens' CreateTask (Maybe TaskSchedule)
-- | 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_tags :: Lens' CreateTask (Maybe [TagListEntry])
-- | The Amazon Resource Name (ARN) of the source location for the task.
createTask_sourceLocationArn :: Lens' CreateTask Text
-- | The Amazon Resource Name (ARN) of an Amazon Web Services storage
-- resource's location.
createTask_destinationLocationArn :: Lens' CreateTask Text
-- | The Amazon Resource Name (ARN) of the task.
createTaskResponse_taskArn :: Lens' CreateTaskResponse (Maybe Text)
-- | The response's http status code.
createTaskResponse_httpStatus :: Lens' CreateTaskResponse Int
-- | 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.
deleteAgent_agentArn :: Lens' DeleteAgent Text
-- | The response's http status code.
deleteAgentResponse_httpStatus :: Lens' DeleteAgentResponse Int
-- | The Amazon Resource Name (ARN) of the location to delete.
deleteLocation_locationArn :: Lens' DeleteLocation Text
-- | The response's http status code.
deleteLocationResponse_httpStatus :: Lens' DeleteLocationResponse Int
-- | Specifies the Amazon Resource Name (ARN) of the task that you want to
-- delete.
deleteTask_taskArn :: Lens' DeleteTask Text
-- | The response's http status code.
deleteTaskResponse_httpStatus :: Lens' DeleteTaskResponse Int
-- | The Amazon Resource Name (ARN) of the agent to describe.
describeAgent_agentArn :: Lens' DescribeAgent Text
-- | The Amazon Resource Name (ARN) of the agent.
describeAgentResponse_agentArn :: Lens' DescribeAgentResponse (Maybe Text)
-- | The time that the agent was activated (that is, created in your
-- account).
describeAgentResponse_creationTime :: Lens' DescribeAgentResponse (Maybe UTCTime)
-- | 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_endpointType :: Lens' DescribeAgentResponse (Maybe EndpointType)
-- | The time that the agent last connected to DataSync.
describeAgentResponse_lastConnectionTime :: Lens' DescribeAgentResponse (Maybe UTCTime)
-- | The name of the agent.
describeAgentResponse_name :: Lens' DescribeAgentResponse (Maybe Text)
-- | The subnet and the security group that DataSync used to access a VPC
-- endpoint.
describeAgentResponse_privateLinkConfig :: Lens' DescribeAgentResponse (Maybe PrivateLinkConfig)
-- | 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.
describeAgentResponse_status :: Lens' DescribeAgentResponse (Maybe AgentStatus)
-- | The response's http status code.
describeAgentResponse_httpStatus :: Lens' DescribeAgentResponse Int
-- | The Amazon Resource Name (ARN) of the Amazon EFS file system location
-- that you want information about.
describeLocationEfs_locationArn :: Lens' DescribeLocationEfs Text
-- | The ARN of the access point that DataSync uses to access the Amazon
-- EFS file system.
describeLocationEfsResponse_accessPointArn :: Lens' DescribeLocationEfsResponse (Maybe Text)
-- | The time that the location was created.
describeLocationEfsResponse_creationTime :: Lens' DescribeLocationEfsResponse (Maybe UTCTime)
-- | Undocumented member.
describeLocationEfsResponse_ec2Config :: Lens' DescribeLocationEfsResponse (Maybe Ec2Config)
-- | The Identity and Access Management (IAM) role that DataSync assumes
-- when mounting the Amazon EFS file system.
describeLocationEfsResponse_fileSystemAccessRoleArn :: Lens' DescribeLocationEfsResponse (Maybe Text)
-- | Describes whether DataSync uses Transport Layer Security (TLS)
-- encryption when copying data to or from the Amazon EFS file system.
describeLocationEfsResponse_inTransitEncryption :: Lens' DescribeLocationEfsResponse (Maybe EfsInTransitEncryption)
-- | The ARN of the Amazon EFS file system location.
describeLocationEfsResponse_locationArn :: Lens' DescribeLocationEfsResponse (Maybe Text)
-- | The URL of the Amazon EFS file system location.
describeLocationEfsResponse_locationUri :: Lens' DescribeLocationEfsResponse (Maybe Text)
-- | The response's http status code.
describeLocationEfsResponse_httpStatus :: Lens' DescribeLocationEfsResponse Int
-- | The Amazon Resource Name (ARN) of the FSx for Lustre location to
-- describe.
describeLocationFsxLustre_locationArn :: Lens' DescribeLocationFsxLustre Text
-- | The time that the FSx for Lustre location was created.
describeLocationFsxLustreResponse_creationTime :: Lens' DescribeLocationFsxLustreResponse (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) of the FSx for Lustre location that was
-- described.
describeLocationFsxLustreResponse_locationArn :: Lens' DescribeLocationFsxLustreResponse (Maybe Text)
-- | The URI of the FSx for Lustre location that was described.
describeLocationFsxLustreResponse_locationUri :: Lens' DescribeLocationFsxLustreResponse (Maybe Text)
-- | The Amazon Resource Names (ARNs) of the security groups that are
-- configured for the FSx for Lustre file system.
describeLocationFsxLustreResponse_securityGroupArns :: Lens' DescribeLocationFsxLustreResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
describeLocationFsxLustreResponse_httpStatus :: Lens' DescribeLocationFsxLustreResponse Int
-- | Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP file
-- system location that you want information about.
describeLocationFsxOntap_locationArn :: Lens' DescribeLocationFsxOntap Text
-- | The time that the location was created.
describeLocationFsxOntapResponse_creationTime :: Lens' DescribeLocationFsxOntapResponse (Maybe UTCTime)
-- | The ARN of the FSx for ONTAP file system.
describeLocationFsxOntapResponse_fsxFilesystemArn :: Lens' DescribeLocationFsxOntapResponse (Maybe Text)
-- | The ARN of the FSx for ONTAP file system location.
describeLocationFsxOntapResponse_locationArn :: Lens' DescribeLocationFsxOntapResponse (Maybe Text)
-- | The uniform resource identifier (URI) of the FSx for ONTAP file system
-- location.
describeLocationFsxOntapResponse_locationUri :: Lens' DescribeLocationFsxOntapResponse (Maybe Text)
-- | Undocumented member.
describeLocationFsxOntapResponse_protocol :: Lens' DescribeLocationFsxOntapResponse (Maybe FsxProtocol)
-- | The security groups that DataSync uses to access your FSx for ONTAP
-- file system.
describeLocationFsxOntapResponse_securityGroupArns :: Lens' DescribeLocationFsxOntapResponse (Maybe (NonEmpty Text))
-- | The ARN of the storage virtual machine (SVM) on your FSx for ONTAP
-- file system where you're copying data to or from.
describeLocationFsxOntapResponse_storageVirtualMachineArn :: Lens' DescribeLocationFsxOntapResponse (Maybe Text)
-- | The response's http status code.
describeLocationFsxOntapResponse_httpStatus :: Lens' DescribeLocationFsxOntapResponse Int
-- | The Amazon Resource Name (ARN) of the FSx for OpenZFS location to
-- describe.
describeLocationFsxOpenZfs_locationArn :: Lens' DescribeLocationFsxOpenZfs Text
-- | The time that the FSx for OpenZFS location was created.
describeLocationFsxOpenZfsResponse_creationTime :: Lens' DescribeLocationFsxOpenZfsResponse (Maybe UTCTime)
-- | The ARN of the FSx for OpenZFS location that was described.
describeLocationFsxOpenZfsResponse_locationArn :: Lens' DescribeLocationFsxOpenZfsResponse (Maybe Text)
-- | 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_locationUri :: Lens' DescribeLocationFsxOpenZfsResponse (Maybe Text)
-- | The type of protocol that DataSync uses to access your file system.
describeLocationFsxOpenZfsResponse_protocol :: Lens' DescribeLocationFsxOpenZfsResponse (Maybe FsxProtocol)
-- | The ARNs of the security groups that are configured for the FSx for
-- OpenZFS file system.
describeLocationFsxOpenZfsResponse_securityGroupArns :: Lens' DescribeLocationFsxOpenZfsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
describeLocationFsxOpenZfsResponse_httpStatus :: Lens' DescribeLocationFsxOpenZfsResponse Int
-- | The Amazon Resource Name (ARN) of the FSx for Windows File Server
-- location to describe.
describeLocationFsxWindows_locationArn :: Lens' DescribeLocationFsxWindows Text
-- | The time that the FSx for Windows File Server location was created.
describeLocationFsxWindowsResponse_creationTime :: Lens' DescribeLocationFsxWindowsResponse (Maybe UTCTime)
-- | The name of the Windows domain that the FSx for Windows File Server
-- belongs to.
describeLocationFsxWindowsResponse_domain :: Lens' DescribeLocationFsxWindowsResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the FSx for Windows File Server
-- location that was described.
describeLocationFsxWindowsResponse_locationArn :: Lens' DescribeLocationFsxWindowsResponse (Maybe Text)
-- | The URL of the FSx for Windows File Server location that was
-- described.
describeLocationFsxWindowsResponse_locationUri :: Lens' DescribeLocationFsxWindowsResponse (Maybe Text)
-- | The Amazon Resource Names (ARNs) of the security groups that are
-- configured for the FSx for Windows File Server file system.
describeLocationFsxWindowsResponse_securityGroupArns :: Lens' DescribeLocationFsxWindowsResponse (Maybe (NonEmpty Text))
-- | The user who has the permissions to access files and folders in the
-- FSx for Windows File Server file system.
describeLocationFsxWindowsResponse_user :: Lens' DescribeLocationFsxWindowsResponse (Maybe Text)
-- | The response's http status code.
describeLocationFsxWindowsResponse_httpStatus :: Lens' DescribeLocationFsxWindowsResponse Int
-- | The Amazon Resource Name (ARN) of the HDFS cluster location to
-- describe.
describeLocationHdfs_locationArn :: Lens' DescribeLocationHdfs Text
-- | The ARNs of the agents that are used to connect to the HDFS cluster.
describeLocationHdfsResponse_agentArns :: Lens' DescribeLocationHdfsResponse (Maybe (NonEmpty Text))
-- | The type of authentication used to determine the identity of the user.
describeLocationHdfsResponse_authenticationType :: Lens' DescribeLocationHdfsResponse (Maybe HdfsAuthenticationType)
-- | The size of the data blocks to write into the HDFS cluster.
describeLocationHdfsResponse_blockSize :: Lens' DescribeLocationHdfsResponse (Maybe Natural)
-- | The time that the HDFS location was created.
describeLocationHdfsResponse_creationTime :: Lens' DescribeLocationHdfsResponse (Maybe UTCTime)
-- | 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_kerberosPrincipal :: Lens' DescribeLocationHdfsResponse (Maybe Text)
-- | The URI of the HDFS cluster's Key Management Server (KMS).
describeLocationHdfsResponse_kmsKeyProviderUri :: Lens' DescribeLocationHdfsResponse (Maybe Text)
-- | The ARN of the HDFS cluster location.
describeLocationHdfsResponse_locationArn :: Lens' DescribeLocationHdfsResponse (Maybe Text)
-- | The URI of the HDFS cluster location.
describeLocationHdfsResponse_locationUri :: Lens' DescribeLocationHdfsResponse (Maybe Text)
-- | The NameNode that manage the HDFS namespace.
describeLocationHdfsResponse_nameNodes :: Lens' DescribeLocationHdfsResponse (Maybe (NonEmpty HdfsNameNode))
-- | 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_qopConfiguration :: Lens' DescribeLocationHdfsResponse (Maybe QopConfiguration)
-- | The number of DataNodes to replicate the data to when writing to the
-- HDFS cluster.
describeLocationHdfsResponse_replicationFactor :: Lens' DescribeLocationHdfsResponse (Maybe Natural)
-- | The user name used to identify the client on the host operating
-- system. This parameter is used if the AuthenticationType is
-- defined as SIMPLE.
describeLocationHdfsResponse_simpleUser :: Lens' DescribeLocationHdfsResponse (Maybe Text)
-- | The response's http status code.
describeLocationHdfsResponse_httpStatus :: Lens' DescribeLocationHdfsResponse Int
-- | The Amazon Resource Name (ARN) of the NFS location to describe.
describeLocationNfs_locationArn :: Lens' DescribeLocationNfs Text
-- | The time that the NFS location was created.
describeLocationNfsResponse_creationTime :: Lens' DescribeLocationNfsResponse (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) of the NFS location that was described.
describeLocationNfsResponse_locationArn :: Lens' DescribeLocationNfsResponse (Maybe Text)
-- | The URL of the source NFS location that was described.
describeLocationNfsResponse_locationUri :: Lens' DescribeLocationNfsResponse (Maybe Text)
-- | The NFS mount options that DataSync used to mount your NFS share.
describeLocationNfsResponse_mountOptions :: Lens' DescribeLocationNfsResponse (Maybe NfsMountOptions)
-- | Undocumented member.
describeLocationNfsResponse_onPremConfig :: Lens' DescribeLocationNfsResponse (Maybe OnPremConfig)
-- | The response's http status code.
describeLocationNfsResponse_httpStatus :: Lens' DescribeLocationNfsResponse Int
-- | The Amazon Resource Name (ARN) of the object storage system location
-- that you want information about.
describeLocationObjectStorage_locationArn :: Lens' DescribeLocationObjectStorage Text
-- | The access key (for example, a user name) required to authenticate
-- with the object storage system.
describeLocationObjectStorageResponse_accessKey :: Lens' DescribeLocationObjectStorageResponse (Maybe Text)
-- | The ARNs of the DataSync agents that can securely connect with your
-- location.
describeLocationObjectStorageResponse_agentArns :: Lens' DescribeLocationObjectStorageResponse (Maybe (NonEmpty Text))
-- | The time that the location was created.
describeLocationObjectStorageResponse_creationTime :: Lens' DescribeLocationObjectStorageResponse (Maybe UTCTime)
-- | The ARN of the object storage system location.
describeLocationObjectStorageResponse_locationArn :: Lens' DescribeLocationObjectStorageResponse (Maybe Text)
-- | The URL of the object storage system location.
describeLocationObjectStorageResponse_locationUri :: Lens' DescribeLocationObjectStorageResponse (Maybe Text)
-- | 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_serverCertificate :: Lens' DescribeLocationObjectStorageResponse (Maybe ByteString)
-- | The port that your object storage server accepts inbound network
-- traffic on (for example, port 443).
describeLocationObjectStorageResponse_serverPort :: Lens' DescribeLocationObjectStorageResponse (Maybe Natural)
-- | The protocol that your object storage system uses to communicate.
describeLocationObjectStorageResponse_serverProtocol :: Lens' DescribeLocationObjectStorageResponse (Maybe ObjectStorageServerProtocol)
-- | The response's http status code.
describeLocationObjectStorageResponse_httpStatus :: Lens' DescribeLocationObjectStorageResponse Int
-- | The Amazon Resource Name (ARN) of the Amazon S3 bucket location to
-- describe.
describeLocationS3_locationArn :: Lens' DescribeLocationS3 Text
-- | 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_agentArns :: Lens' DescribeLocationS3Response (Maybe (NonEmpty Text))
-- | The time that the Amazon S3 bucket location was created.
describeLocationS3Response_creationTime :: Lens' DescribeLocationS3Response (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) of the Amazon S3 bucket or access
-- point.
describeLocationS3Response_locationArn :: Lens' DescribeLocationS3Response (Maybe Text)
-- | The URL of the Amazon S3 location that was described.
describeLocationS3Response_locationUri :: Lens' DescribeLocationS3Response (Maybe Text)
-- | Undocumented member.
describeLocationS3Response_s3Config :: Lens' DescribeLocationS3Response (Maybe S3Config)
-- | 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.
describeLocationS3Response_s3StorageClass :: Lens' DescribeLocationS3Response (Maybe S3StorageClass)
-- | The response's http status code.
describeLocationS3Response_httpStatus :: Lens' DescribeLocationS3Response Int
-- | The Amazon Resource Name (ARN) of the SMB location to describe.
describeLocationSmb_locationArn :: Lens' DescribeLocationSmb Text
-- | The Amazon Resource Name (ARN) of the source SMB file system location
-- that is created.
describeLocationSmbResponse_agentArns :: Lens' DescribeLocationSmbResponse (Maybe (NonEmpty Text))
-- | The time that the SMB location was created.
describeLocationSmbResponse_creationTime :: Lens' DescribeLocationSmbResponse (Maybe UTCTime)
-- | The name of the Windows domain that the SMB server belongs to.
describeLocationSmbResponse_domain :: Lens' DescribeLocationSmbResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the SMB location that was described.
describeLocationSmbResponse_locationArn :: Lens' DescribeLocationSmbResponse (Maybe Text)
-- | The URL of the source SMB location that was described.
describeLocationSmbResponse_locationUri :: Lens' DescribeLocationSmbResponse (Maybe Text)
-- | The mount options that are available for DataSync to use to access an
-- SMB location.
describeLocationSmbResponse_mountOptions :: Lens' DescribeLocationSmbResponse (Maybe SmbMountOptions)
-- | The user who can mount the share, has the permissions to access files
-- and folders in the SMB share.
describeLocationSmbResponse_user :: Lens' DescribeLocationSmbResponse (Maybe Text)
-- | The response's http status code.
describeLocationSmbResponse_httpStatus :: Lens' DescribeLocationSmbResponse Int
-- | The Amazon Resource Name (ARN) of the task to describe.
describeTask_taskArn :: Lens' DescribeTask Text
-- | 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_cloudWatchLogGroupArn :: Lens' DescribeTaskResponse (Maybe Text)
-- | The time that the task was created.
describeTaskResponse_creationTime :: Lens' DescribeTaskResponse (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) of the task execution that is
-- transferring files.
describeTaskResponse_currentTaskExecutionArn :: Lens' DescribeTaskResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the Amazon Web Services storage
-- resource's location.
describeTaskResponse_destinationLocationArn :: Lens' DescribeTaskResponse (Maybe Text)
-- | The Amazon Resource Names (ARNs) of the network interfaces created for
-- your destination location. For more information, see Network
-- interface requirements.
describeTaskResponse_destinationNetworkInterfaceArns :: Lens' DescribeTaskResponse (Maybe [Text])
-- | Errors that DataSync encountered during execution of the task. You can
-- use this error code to help troubleshoot issues.
describeTaskResponse_errorCode :: Lens' DescribeTaskResponse (Maybe Text)
-- | Detailed description of an error that was encountered during the task
-- execution. You can use this information to help troubleshoot issues.
describeTaskResponse_errorDetail :: Lens' DescribeTaskResponse (Maybe Text)
-- | A list of filter rules that exclude specific data during your
-- transfer. For more information and examples, see Filtering data
-- transferred by DataSync.
describeTaskResponse_excludes :: Lens' DescribeTaskResponse (Maybe [FilterRule])
-- | A list of filter rules that include specific data during your
-- transfer. For more information and examples, see Filtering data
-- transferred by DataSync.
describeTaskResponse_includes :: Lens' DescribeTaskResponse (Maybe [FilterRule])
-- | The name of the task that was described.
describeTaskResponse_name :: Lens' DescribeTaskResponse (Maybe Text)
-- | 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_options :: Lens' DescribeTaskResponse (Maybe Options)
-- | The schedule used to periodically transfer files from a source to a
-- destination location.
describeTaskResponse_schedule :: Lens' DescribeTaskResponse (Maybe TaskSchedule)
-- | The Amazon Resource Name (ARN) of the source file system's location.
describeTaskResponse_sourceLocationArn :: Lens' DescribeTaskResponse (Maybe Text)
-- | The Amazon Resource Names (ARNs) of the network interfaces created for
-- your source location. For more information, see Network interface
-- requirements.
describeTaskResponse_sourceNetworkInterfaceArns :: Lens' DescribeTaskResponse (Maybe [Text])
-- | 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_status :: Lens' DescribeTaskResponse (Maybe TaskStatus)
-- | The Amazon Resource Name (ARN) of the task that was described.
describeTaskResponse_taskArn :: Lens' DescribeTaskResponse (Maybe Text)
-- | The response's http status code.
describeTaskResponse_httpStatus :: Lens' DescribeTaskResponse Int
-- | The Amazon Resource Name (ARN) of the task that is being executed.
describeTaskExecution_taskExecutionArn :: Lens' DescribeTaskExecution Text
-- | 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_bytesCompressed :: Lens' DescribeTaskExecutionResponse (Maybe Integer)
-- | The total number of bytes that are involved in the transfer. For the
-- number of bytes sent over the network, see BytesCompressed.
describeTaskExecutionResponse_bytesTransferred :: Lens' DescribeTaskExecutionResponse (Maybe Integer)
-- | The number of logical bytes written to the destination Amazon Web
-- Services storage resource.
describeTaskExecutionResponse_bytesWritten :: Lens' DescribeTaskExecutionResponse (Maybe Integer)
-- | The estimated physical number of bytes that is to be transferred over
-- the network.
describeTaskExecutionResponse_estimatedBytesToTransfer :: Lens' DescribeTaskExecutionResponse (Maybe Integer)
-- | 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_estimatedFilesToTransfer :: Lens' DescribeTaskExecutionResponse (Maybe Integer)
-- | A list of filter rules that exclude specific data during your
-- transfer. For more information and examples, see Filtering data
-- transferred by DataSync.
describeTaskExecutionResponse_excludes :: Lens' DescribeTaskExecutionResponse (Maybe [FilterRule])
-- | 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_filesTransferred :: Lens' DescribeTaskExecutionResponse (Maybe Integer)
-- | A list of filter rules that include specific data during your
-- transfer. For more information and examples, see Filtering data
-- transferred by DataSync.
describeTaskExecutionResponse_includes :: Lens' DescribeTaskExecutionResponse (Maybe [FilterRule])
-- | Undocumented member.
describeTaskExecutionResponse_options :: Lens' DescribeTaskExecutionResponse (Maybe Options)
-- | The result of the task execution.
describeTaskExecutionResponse_result :: Lens' DescribeTaskExecutionResponse (Maybe TaskExecutionResultDetail)
-- | The time that the task execution was started.
describeTaskExecutionResponse_startTime :: Lens' DescribeTaskExecutionResponse (Maybe UTCTime)
-- | The status of the task execution.
--
-- For detailed information about task execution statuses, see
-- Understanding Task Statuses in the DataSync User Guide.
describeTaskExecutionResponse_status :: Lens' DescribeTaskExecutionResponse (Maybe TaskExecutionStatus)
-- | 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.
describeTaskExecutionResponse_taskExecutionArn :: Lens' DescribeTaskExecutionResponse (Maybe Text)
-- | The response's http status code.
describeTaskExecutionResponse_httpStatus :: Lens' DescribeTaskExecutionResponse Int
-- | The maximum number of agents to list.
listAgents_maxResults :: Lens' ListAgents (Maybe Natural)
-- | An opaque string that indicates the position at which to begin the
-- next list of agents.
listAgents_nextToken :: Lens' ListAgents (Maybe Text)
-- | A list of agents in your account.
listAgentsResponse_agents :: Lens' ListAgentsResponse (Maybe [AgentListEntry])
-- | An opaque string that indicates the position at which to begin
-- returning the next list of agents.
listAgentsResponse_nextToken :: Lens' ListAgentsResponse (Maybe Text)
-- | The response's http status code.
listAgentsResponse_httpStatus :: Lens' ListAgentsResponse Int
-- | 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_filters :: Lens' ListLocations (Maybe [LocationFilter])
-- | The maximum number of locations to return.
listLocations_maxResults :: Lens' ListLocations (Maybe Natural)
-- | An opaque string that indicates the position at which to begin the
-- next list of locations.
listLocations_nextToken :: Lens' ListLocations (Maybe Text)
-- | An array that contains a list of locations.
listLocationsResponse_locations :: Lens' ListLocationsResponse (Maybe [LocationListEntry])
-- | An opaque string that indicates the position at which to begin
-- returning the next list of locations.
listLocationsResponse_nextToken :: Lens' ListLocationsResponse (Maybe Text)
-- | The response's http status code.
listLocationsResponse_httpStatus :: Lens' ListLocationsResponse Int
-- | Specifies how many results that you want in the response.
listTagsForResource_maxResults :: Lens' ListTagsForResource (Maybe Natural)
-- | Specifies an opaque string that indicates the position to begin the
-- next list of results in the response.
listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text)
-- | Specifies the Amazon Resource Name (ARN) of the resource that you want
-- tag information on.
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
-- | The opaque string that indicates the position to begin the next list
-- of results in the response.
listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text)
-- | An array of tags applied to the specified resource.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [TagListEntry])
-- | The response's http status code.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
-- | The maximum number of executed tasks to list.
listTaskExecutions_maxResults :: Lens' ListTaskExecutions (Maybe Natural)
-- | An opaque string that indicates the position at which to begin the
-- next list of the executed tasks.
listTaskExecutions_nextToken :: Lens' ListTaskExecutions (Maybe Text)
-- | The Amazon Resource Name (ARN) of the task whose tasks you want to
-- list.
listTaskExecutions_taskArn :: Lens' ListTaskExecutions (Maybe Text)
-- | An opaque string that indicates the position at which to begin
-- returning the next list of executed tasks.
listTaskExecutionsResponse_nextToken :: Lens' ListTaskExecutionsResponse (Maybe Text)
-- | A list of executed tasks.
listTaskExecutionsResponse_taskExecutions :: Lens' ListTaskExecutionsResponse (Maybe [TaskExecutionListEntry])
-- | The response's http status code.
listTaskExecutionsResponse_httpStatus :: Lens' ListTaskExecutionsResponse Int
-- | 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_filters :: Lens' ListTasks (Maybe [TaskFilter])
-- | The maximum number of tasks to return.
listTasks_maxResults :: Lens' ListTasks (Maybe Natural)
-- | An opaque string that indicates the position at which to begin the
-- next list of tasks.
listTasks_nextToken :: Lens' ListTasks (Maybe Text)
-- | An opaque string that indicates the position at which to begin
-- returning the next list of tasks.
listTasksResponse_nextToken :: Lens' ListTasksResponse (Maybe Text)
-- | A list of all the tasks that are returned.
listTasksResponse_tasks :: Lens' ListTasksResponse (Maybe [TaskListEntry])
-- | The response's http status code.
listTasksResponse_httpStatus :: Lens' ListTasksResponse Int
-- | 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_excludes :: Lens' StartTaskExecution (Maybe [FilterRule])
-- | 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_includes :: Lens' StartTaskExecution (Maybe [FilterRule])
-- | Undocumented member.
startTaskExecution_overrideOptions :: Lens' StartTaskExecution (Maybe Options)
-- | 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_tags :: Lens' StartTaskExecution (Maybe [TagListEntry])
-- | Specifies the Amazon Resource Name (ARN) of the task that you want to
-- start.
startTaskExecution_taskArn :: Lens' StartTaskExecution Text
-- | The ARN of the running task execution.
startTaskExecutionResponse_taskExecutionArn :: Lens' StartTaskExecutionResponse (Maybe Text)
-- | The response's http status code.
startTaskExecutionResponse_httpStatus :: Lens' StartTaskExecutionResponse Int
-- | Specifies the Amazon Resource Name (ARN) of the resource to apply the
-- tag to.
tagResource_resourceArn :: Lens' TagResource Text
-- | Specifies the tags that you want to apply to the resource.
tagResource_tags :: Lens' TagResource [TagListEntry]
-- | The response's http status code.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
-- | Specifies the Amazon Resource Name (ARN) of the resource to remove the
-- tags from.
untagResource_resourceArn :: Lens' UntagResource Text
-- | Specifies the keys in the tags that you want to remove.
untagResource_keys :: Lens' UntagResource (NonEmpty Text)
-- | The response's http status code.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
-- | The name that you want to use to configure the agent.
updateAgent_name :: Lens' UpdateAgent (Maybe Text)
-- | The Amazon Resource Name (ARN) of the agent to update.
updateAgent_agentArn :: Lens' UpdateAgent Text
-- | The response's http status code.
updateAgentResponse_httpStatus :: Lens' UpdateAgentResponse Int
-- | The ARNs of the agents that are used to connect to the HDFS cluster.
updateLocationHdfs_agentArns :: Lens' UpdateLocationHdfs (Maybe (NonEmpty Text))
-- | The type of authentication used to determine the identity of the user.
updateLocationHdfs_authenticationType :: Lens' UpdateLocationHdfs (Maybe HdfsAuthenticationType)
-- | The size of the data blocks to write into the HDFS cluster.
updateLocationHdfs_blockSize :: Lens' UpdateLocationHdfs (Maybe Natural)
-- | 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_kerberosKeytab :: Lens' UpdateLocationHdfs (Maybe ByteString)
-- | 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_kerberosKrb5Conf :: Lens' UpdateLocationHdfs (Maybe ByteString)
-- | The Kerberos principal with access to the files and folders on the
-- HDFS cluster.
updateLocationHdfs_kerberosPrincipal :: Lens' UpdateLocationHdfs (Maybe Text)
-- | The URI of the HDFS cluster's Key Management Server (KMS).
updateLocationHdfs_kmsKeyProviderUri :: Lens' UpdateLocationHdfs (Maybe Text)
-- | 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_nameNodes :: Lens' UpdateLocationHdfs (Maybe (NonEmpty HdfsNameNode))
-- | 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_qopConfiguration :: Lens' UpdateLocationHdfs (Maybe QopConfiguration)
-- | The number of DataNodes to replicate the data to when writing to the
-- HDFS cluster.
updateLocationHdfs_replicationFactor :: Lens' UpdateLocationHdfs (Maybe Natural)
-- | The user name used to identify the client on the host operating
-- system.
updateLocationHdfs_simpleUser :: Lens' UpdateLocationHdfs (Maybe Text)
-- | A subdirectory in the HDFS cluster. This subdirectory is used to read
-- data from or write data to the HDFS cluster.
updateLocationHdfs_subdirectory :: Lens' UpdateLocationHdfs (Maybe Text)
-- | The Amazon Resource Name (ARN) of the source HDFS cluster location.
updateLocationHdfs_locationArn :: Lens' UpdateLocationHdfs Text
-- | The response's http status code.
updateLocationHdfsResponse_httpStatus :: Lens' UpdateLocationHdfsResponse Int
-- | Undocumented member.
updateLocationNfs_mountOptions :: Lens' UpdateLocationNfs (Maybe NfsMountOptions)
-- | Undocumented member.
updateLocationNfs_onPremConfig :: Lens' UpdateLocationNfs (Maybe OnPremConfig)
-- | 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_subdirectory :: Lens' UpdateLocationNfs (Maybe Text)
-- | The Amazon Resource Name (ARN) of the NFS location to update.
updateLocationNfs_locationArn :: Lens' UpdateLocationNfs Text
-- | The response's http status code.
updateLocationNfsResponse_httpStatus :: Lens' UpdateLocationNfsResponse Int
-- | Specifies the access key (for example, a user name) if credentials are
-- required to authenticate with the object storage server.
updateLocationObjectStorage_accessKey :: Lens' UpdateLocationObjectStorage (Maybe Text)
-- | Specifies the Amazon Resource Names (ARNs) of the DataSync agents that
-- can securely connect with your location.
updateLocationObjectStorage_agentArns :: Lens' UpdateLocationObjectStorage (Maybe (NonEmpty Text))
-- | Specifies the secret key (for example, a password) if credentials are
-- required to authenticate with the object storage server.
updateLocationObjectStorage_secretKey :: Lens' UpdateLocationObjectStorage (Maybe Text)
-- | 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_serverCertificate :: Lens' UpdateLocationObjectStorage (Maybe ByteString)
-- | Specifies the port that your object storage server accepts inbound
-- network traffic on (for example, port 443).
updateLocationObjectStorage_serverPort :: Lens' UpdateLocationObjectStorage (Maybe Natural)
-- | Specifies the protocol that your object storage server uses to
-- communicate.
updateLocationObjectStorage_serverProtocol :: Lens' UpdateLocationObjectStorage (Maybe ObjectStorageServerProtocol)
-- | 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_subdirectory :: Lens' UpdateLocationObjectStorage (Maybe Text)
-- | Specifies the ARN of the object storage system location that you're
-- updating.
updateLocationObjectStorage_locationArn :: Lens' UpdateLocationObjectStorage Text
-- | The response's http status code.
updateLocationObjectStorageResponse_httpStatus :: Lens' UpdateLocationObjectStorageResponse Int
-- | The Amazon Resource Names (ARNs) of agents to use for a Simple Message
-- Block (SMB) location.
updateLocationSmb_agentArns :: Lens' UpdateLocationSmb (Maybe (NonEmpty Text))
-- | The name of the Windows domain that the SMB server belongs to.
updateLocationSmb_domain :: Lens' UpdateLocationSmb (Maybe Text)
-- | Undocumented member.
updateLocationSmb_mountOptions :: Lens' UpdateLocationSmb (Maybe SmbMountOptions)
-- | The password of the user who can mount the share has the permissions
-- to access files and folders in the SMB share.
updateLocationSmb_password :: Lens' UpdateLocationSmb (Maybe Text)
-- | 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_subdirectory :: Lens' UpdateLocationSmb (Maybe Text)
-- | The user who can mount the share has the permissions to access files
-- and folders in the SMB share.
updateLocationSmb_user :: Lens' UpdateLocationSmb (Maybe Text)
-- | The Amazon Resource Name (ARN) of the SMB location to update.
updateLocationSmb_locationArn :: Lens' UpdateLocationSmb Text
-- | The response's http status code.
updateLocationSmbResponse_httpStatus :: Lens' UpdateLocationSmbResponse Int
-- | The Amazon Resource Name (ARN) of the resource name of the Amazon
-- CloudWatch log group.
updateTask_cloudWatchLogGroupArn :: Lens' UpdateTask (Maybe Text)
-- | 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_excludes :: Lens' UpdateTask (Maybe [FilterRule])
-- | 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_includes :: Lens' UpdateTask (Maybe [FilterRule])
-- | The name of the task to update.
updateTask_name :: Lens' UpdateTask (Maybe Text)
-- | Undocumented member.
updateTask_options :: Lens' UpdateTask (Maybe Options)
-- | 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_schedule :: Lens' UpdateTask (Maybe TaskSchedule)
-- | The Amazon Resource Name (ARN) of the resource name of the task to
-- update.
updateTask_taskArn :: Lens' UpdateTask Text
-- | The response's http status code.
updateTaskResponse_httpStatus :: Lens' UpdateTaskResponse Int
-- | The Amazon Resource Name (ARN) of the specific task execution that is
-- being updated.
updateTaskExecution_taskExecutionArn :: Lens' UpdateTaskExecution Text
-- | Undocumented member.
updateTaskExecution_options :: Lens' UpdateTaskExecution Options
-- | The response's http status code.
updateTaskExecutionResponse_httpStatus :: Lens' UpdateTaskExecutionResponse Int
-- | The Amazon Resource Name (ARN) of the agent.
agentListEntry_agentArn :: Lens' AgentListEntry (Maybe Text)
-- | The name of the agent.
agentListEntry_name :: Lens' AgentListEntry (Maybe Text)
-- | The status of the agent.
agentListEntry_status :: Lens' AgentListEntry (Maybe AgentStatus)
-- | 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_subnetArn :: Lens' Ec2Config Text
-- | Specifies the Amazon Resource Names (ARNs) of the security groups
-- associated with an Amazon EFS file system's mount target.
ec2Config_securityGroupArns :: Lens' Ec2Config (NonEmpty Text)
-- | The type of filter rule to apply. DataSync only supports the
-- SIMPLE_PATTERN rule type.
filterRule_filterType :: Lens' FilterRule (Maybe FilterType)
-- | 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_value :: Lens' FilterRule (Maybe Text)
-- | 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_nfs :: Lens' FsxProtocol (Maybe FsxProtocolNfs)
-- | Specifies the Server Message Block (SMB) protocol configuration that
-- DataSync uses to access your FSx for ONTAP file system's SVM.
fsxProtocol_smb :: Lens' FsxProtocol (Maybe FsxProtocolSmb)
-- | Undocumented member.
fsxProtocolNfs_mountOptions :: Lens' FsxProtocolNfs (Maybe NfsMountOptions)
-- | Specifies the fully qualified domain name (FQDN) of the Microsoft
-- Active Directory that your storage virtual machine (SVM) belongs to.
fsxProtocolSmb_domain :: Lens' FsxProtocolSmb (Maybe Text)
-- | Undocumented member.
fsxProtocolSmb_mountOptions :: Lens' FsxProtocolSmb (Maybe SmbMountOptions)
-- | Specifies the password of a user who has permission to access your
-- SVM.
fsxProtocolSmb_password :: Lens' FsxProtocolSmb Text
-- | 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_user :: Lens' FsxProtocolSmb Text
-- | 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_hostname :: Lens' HdfsNameNode Text
-- | The port that the NameNode uses to listen to client requests.
hdfsNameNode_port :: Lens' HdfsNameNode Natural
-- | 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_name :: Lens' LocationFilter LocationFilterName
-- | The values that you want to filter for. For example, you might want to
-- display only Amazon S3 locations.
locationFilter_values :: Lens' LocationFilter [Text]
-- | The operator that is used to compare filter values (for example,
-- Equals or Contains).
locationFilter_operator :: Lens' LocationFilter Operator
-- | 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_locationArn :: Lens' LocationListEntry (Maybe Text)
-- | 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_locationUri :: Lens' LocationListEntry (Maybe Text)
-- | 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)
-- | ARNs of the agents to use for an NFS location.
onPremConfig_agentArns :: Lens' OnPremConfig (NonEmpty Text)
-- | 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_atime :: Lens' Options (Maybe Atime)
-- | 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_bytesPerSecond :: Lens' Options (Maybe Integer)
-- | 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_gid :: Lens' Options (Maybe Gid)
-- | 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_logLevel :: Lens' Options (Maybe LogLevel)
-- | 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_mtime :: Lens' Options (Maybe Mtime)
-- | 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_objectTags :: Lens' Options (Maybe ObjectTags)
-- | 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_overwriteMode :: Lens' Options (Maybe OverwriteMode)
-- | 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_posixPermissions :: Lens' Options (Maybe PosixPermissions)
-- | 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_preserveDeletedFiles :: Lens' Options (Maybe PreserveDeletedFiles)
-- | 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_preserveDevices :: Lens' Options (Maybe PreserveDevices)
-- | 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_securityDescriptorCopyFlags :: Lens' Options (Maybe SmbSecurityDescriptorCopyFlags)
-- | 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_taskQueueing :: Lens' Options (Maybe TaskQueueing)
-- | 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_transferMode :: Lens' Options (Maybe TransferMode)
-- | 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_uid :: Lens' Options (Maybe Uid)
-- | 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_verifyMode :: Lens' Options (Maybe VerifyMode)
-- | 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_privateLinkEndpoint :: Lens' PrivateLinkConfig (Maybe Text)
-- | 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_securityGroupArns :: Lens' PrivateLinkConfig (Maybe (NonEmpty Text))
-- | 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_subnetArns :: Lens' PrivateLinkConfig (Maybe (NonEmpty Text))
-- | 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_vpcEndpointId :: Lens' PrivateLinkConfig (Maybe Text)
-- | 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_dataTransferProtection :: Lens' QopConfiguration (Maybe HdfsDataTransferProtection)
-- | 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_rpcProtection :: Lens' QopConfiguration (Maybe HdfsRpcProtection)
-- | The ARN of the IAM role for accessing the S3 bucket.
s3Config_bucketAccessRoleArn :: Lens' S3Config Text
-- | 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)
-- | The value for an Amazon Web Services resource tag.
tagListEntry_value :: Lens' TagListEntry (Maybe Text)
-- | The key for an Amazon Web Services resource tag.
tagListEntry_key :: Lens' TagListEntry Text
-- | The status of a task execution.
taskExecutionListEntry_status :: Lens' TaskExecutionListEntry (Maybe TaskExecutionStatus)
-- | The Amazon Resource Name (ARN) of the task that was executed.
taskExecutionListEntry_taskExecutionArn :: Lens' TaskExecutionListEntry (Maybe Text)
-- | Errors that DataSync encountered during execution of the task. You can
-- use this error code to help troubleshoot issues.
taskExecutionResultDetail_errorCode :: Lens' TaskExecutionResultDetail (Maybe Text)
-- | Detailed description of an error that was encountered during the task
-- execution. You can use this information to help troubleshoot issues.
taskExecutionResultDetail_errorDetail :: Lens' TaskExecutionResultDetail (Maybe Text)
-- | The total time in milliseconds that DataSync spent in the PREPARING
-- phase.
taskExecutionResultDetail_prepareDuration :: Lens' TaskExecutionResultDetail (Maybe Natural)
-- | The status of the PREPARING phase.
taskExecutionResultDetail_prepareStatus :: Lens' TaskExecutionResultDetail (Maybe PhaseStatus)
-- | The total time in milliseconds that DataSync took to transfer the file
-- from the source to the destination location.
taskExecutionResultDetail_totalDuration :: Lens' TaskExecutionResultDetail (Maybe Natural)
-- | The total time in milliseconds that DataSync spent in the TRANSFERRING
-- phase.
taskExecutionResultDetail_transferDuration :: Lens' TaskExecutionResultDetail (Maybe Natural)
-- | The status of the TRANSFERRING phase.
taskExecutionResultDetail_transferStatus :: Lens' TaskExecutionResultDetail (Maybe PhaseStatus)
-- | The total time in milliseconds that DataSync spent in the VERIFYING
-- phase.
taskExecutionResultDetail_verifyDuration :: Lens' TaskExecutionResultDetail (Maybe Natural)
-- | The status of the VERIFYING phase.
taskExecutionResultDetail_verifyStatus :: Lens' TaskExecutionResultDetail (Maybe PhaseStatus)
-- | 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_name :: Lens' TaskFilter TaskFilterName
-- | The values that you want to filter for. For example, you might want to
-- display only tasks for a specific destination location.
taskFilter_values :: Lens' TaskFilter [Text]
-- | The operator that is used to compare filter values (for example,
-- Equals or Contains).
taskFilter_operator :: Lens' TaskFilter Operator
-- | The name of the task.
taskListEntry_name :: Lens' TaskListEntry (Maybe Text)
-- | The status of the task.
taskListEntry_status :: Lens' TaskListEntry (Maybe TaskStatus)
-- | The Amazon Resource Name (ARN) of the task.
taskListEntry_taskArn :: Lens' TaskListEntry (Maybe Text)
-- | A cron expression that specifies when DataSync initiates a scheduled
-- transfer from a source to a destination location.
taskSchedule_scheduleExpression :: Lens' TaskSchedule Text
module Amazonka.DataSync.Waiters
-- | Derived from API version 2018-11-09 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- DataSync
--
-- DataSync is a managed data transfer service that makes it simpler for
-- you to automate moving data between on-premises storage and Amazon Web
-- Services storage services. You also can use DataSync to transfer data
-- between other cloud providers and Amazon Web Services storage
-- services.
--
-- This API interface reference includes documentation for using DataSync
-- programmatically. For complete information, see the
-- <https:docs.aws.amazon.comdatasynclatestuserguidewhat-is-datasync.html
-- DataSync User Guide> .
module Amazonka.DataSync
-- | API version 2018-11-09 of the Amazon DataSync SDK
-- configuration.
defaultService :: Service
-- | This exception is thrown when an error occurs in the DataSync service.
_InternalException :: AsError a => Fold a ServiceError
-- | This exception is thrown when the client submits a malformed request.
_InvalidRequestException :: AsError a => Fold a ServiceError
-- | CancelTaskExecutionRequest
--
-- See: newCancelTaskExecution smart constructor.
data CancelTaskExecution
CancelTaskExecution' :: Text -> CancelTaskExecution
-- | Create a value of CancelTaskExecution 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:
--
-- CancelTaskExecution,
-- cancelTaskExecution_taskExecutionArn - The Amazon Resource Name
-- (ARN) of the task execution to stop.
newCancelTaskExecution :: Text -> CancelTaskExecution
-- | See: newCancelTaskExecutionResponse smart constructor.
data CancelTaskExecutionResponse
CancelTaskExecutionResponse' :: Int -> CancelTaskExecutionResponse
-- | Create a value of CancelTaskExecutionResponse 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:httpStatus:CancelTaskExecutionResponse',
-- cancelTaskExecutionResponse_httpStatus - The response's http
-- status code.
newCancelTaskExecutionResponse :: Int -> CancelTaskExecutionResponse
-- | CreateAgentRequest
--
-- See: newCreateAgent smart constructor.
data CreateAgent
CreateAgent' :: Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe [TagListEntry] -> Maybe Text -> Text -> CreateAgent
-- | Create a value of CreateAgent 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:agentName:CreateAgent', createAgent_agentName - The
-- name you configured for your agent. This value is a text reference
-- that is used to identify the agent in the console.
--
-- CreateAgent, createAgent_securityGroupArns - The ARNs of
-- the security groups used to protect your data transfer task subnets.
-- See SecurityGroupArns.
--
-- CreateAgent, createAgent_subnetArns - 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.
--
-- $sel:tags:CreateAgent', createAgent_tags - 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, createAgent_vpcEndpointId - 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.
--
-- $sel:activationKey:CreateAgent',
-- createAgent_activationKey - 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./
newCreateAgent :: Text -> CreateAgent
-- | CreateAgentResponse
--
-- See: newCreateAgentResponse smart constructor.
data CreateAgentResponse
CreateAgentResponse' :: Maybe Text -> Int -> CreateAgentResponse
-- | Create a value of CreateAgentResponse 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:
--
-- CreateAgentResponse, createAgentResponse_agentArn - 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.
--
-- $sel:httpStatus:CreateAgentResponse',
-- createAgentResponse_httpStatus - The response's http status
-- code.
newCreateAgentResponse :: Int -> CreateAgentResponse
-- | CreateLocationEfsRequest
--
-- See: newCreateLocationEfs smart constructor.
data CreateLocationEfs
CreateLocationEfs' :: Maybe Text -> Maybe Text -> Maybe EfsInTransitEncryption -> Maybe Text -> Maybe [TagListEntry] -> Text -> Ec2Config -> CreateLocationEfs
-- | Create a value of CreateLocationEfs 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:accessPointArn:CreateLocationEfs',
-- createLocationEfs_accessPointArn - Specifies the Amazon
-- Resource Name (ARN) of the access point that DataSync uses to access
-- the Amazon EFS file system.
--
-- $sel:fileSystemAccessRoleArn:CreateLocationEfs',
-- createLocationEfs_fileSystemAccessRoleArn - Specifies an
-- Identity and Access Management (IAM) role that DataSync assumes when
-- mounting the Amazon EFS file system.
--
-- $sel:inTransitEncryption:CreateLocationEfs',
-- createLocationEfs_inTransitEncryption - 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.
--
-- $sel:subdirectory:CreateLocationEfs',
-- createLocationEfs_subdirectory - 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).
--
-- $sel:tags:CreateLocationEfs', createLocationEfs_tags -
-- 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.
--
-- $sel:efsFilesystemArn:CreateLocationEfs',
-- createLocationEfs_efsFilesystemArn - Specifies the ARN for the
-- Amazon EFS file system.
--
-- $sel:ec2Config:CreateLocationEfs',
-- createLocationEfs_ec2Config - Specifies the subnet and security
-- groups DataSync uses to access your Amazon EFS file system.
newCreateLocationEfs :: Text -> Ec2Config -> CreateLocationEfs
-- | CreateLocationEfs
--
-- See: newCreateLocationEfsResponse smart constructor.
data CreateLocationEfsResponse
CreateLocationEfsResponse' :: Maybe Text -> Int -> CreateLocationEfsResponse
-- | Create a value of CreateLocationEfsResponse 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:
--
-- CreateLocationEfsResponse,
-- createLocationEfsResponse_locationArn - The Amazon Resource
-- Name (ARN) of the Amazon EFS file system location that you create.
--
-- $sel:httpStatus:CreateLocationEfsResponse',
-- createLocationEfsResponse_httpStatus - The response's http
-- status code.
newCreateLocationEfsResponse :: Int -> CreateLocationEfsResponse
-- | See: newCreateLocationFsxLustre smart constructor.
data CreateLocationFsxLustre
CreateLocationFsxLustre' :: Maybe Text -> Maybe [TagListEntry] -> Text -> NonEmpty Text -> CreateLocationFsxLustre
-- | Create a value of CreateLocationFsxLustre 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:subdirectory:CreateLocationFsxLustre',
-- createLocationFsxLustre_subdirectory - 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.
--
-- $sel:tags:CreateLocationFsxLustre',
-- createLocationFsxLustre_tags - 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.
--
-- $sel:fsxFilesystemArn:CreateLocationFsxLustre',
-- createLocationFsxLustre_fsxFilesystemArn - The Amazon Resource
-- Name (ARN) for the FSx for Lustre file system.
--
-- CreateLocationFsxLustre,
-- createLocationFsxLustre_securityGroupArns - The Amazon Resource
-- Names (ARNs) of the security groups that are used to configure the FSx
-- for Lustre file system.
newCreateLocationFsxLustre :: Text -> NonEmpty Text -> CreateLocationFsxLustre
-- | See: newCreateLocationFsxLustreResponse smart
-- constructor.
data CreateLocationFsxLustreResponse
CreateLocationFsxLustreResponse' :: Maybe Text -> Int -> CreateLocationFsxLustreResponse
-- | Create a value of CreateLocationFsxLustreResponse 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:
--
-- CreateLocationFsxLustreResponse,
-- createLocationFsxLustreResponse_locationArn - The Amazon
-- Resource Name (ARN) of the FSx for Lustre file system location that's
-- created.
--
-- $sel:httpStatus:CreateLocationFsxLustreResponse',
-- createLocationFsxLustreResponse_httpStatus - The response's
-- http status code.
newCreateLocationFsxLustreResponse :: Int -> CreateLocationFsxLustreResponse
-- | See: newCreateLocationFsxOntap smart constructor.
data CreateLocationFsxOntap
CreateLocationFsxOntap' :: Maybe Text -> Maybe [TagListEntry] -> FsxProtocol -> NonEmpty Text -> Text -> CreateLocationFsxOntap
-- | Create a value of CreateLocationFsxOntap 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:subdirectory:CreateLocationFsxOntap',
-- createLocationFsxOntap_subdirectory - 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.
--
-- $sel:tags:CreateLocationFsxOntap',
-- createLocationFsxOntap_tags - 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.
--
-- $sel:protocol:CreateLocationFsxOntap',
-- createLocationFsxOntap_protocol - Undocumented member.
--
-- CreateLocationFsxOntap,
-- createLocationFsxOntap_securityGroupArns - 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.
--
-- $sel:storageVirtualMachineArn:CreateLocationFsxOntap',
-- createLocationFsxOntap_storageVirtualMachineArn - Specifies the
-- ARN of the storage virtual machine (SVM) on your file system where
-- you're copying data to or from.
newCreateLocationFsxOntap :: FsxProtocol -> NonEmpty Text -> Text -> CreateLocationFsxOntap
-- | See: newCreateLocationFsxOntapResponse smart
-- constructor.
data CreateLocationFsxOntapResponse
CreateLocationFsxOntapResponse' :: Maybe Text -> Int -> CreateLocationFsxOntapResponse
-- | Create a value of CreateLocationFsxOntapResponse 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:
--
-- CreateLocationFsxOntapResponse,
-- createLocationFsxOntapResponse_locationArn - Specifies the ARN
-- of the FSx for ONTAP file system location that you create.
--
-- $sel:httpStatus:CreateLocationFsxOntapResponse',
-- createLocationFsxOntapResponse_httpStatus - The response's http
-- status code.
newCreateLocationFsxOntapResponse :: Int -> CreateLocationFsxOntapResponse
-- | See: newCreateLocationFsxOpenZfs smart constructor.
data CreateLocationFsxOpenZfs
CreateLocationFsxOpenZfs' :: Maybe Text -> Maybe [TagListEntry] -> Text -> FsxProtocol -> NonEmpty Text -> CreateLocationFsxOpenZfs
-- | Create a value of CreateLocationFsxOpenZfs 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:subdirectory:CreateLocationFsxOpenZfs',
-- createLocationFsxOpenZfs_subdirectory - 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).
--
-- $sel:tags:CreateLocationFsxOpenZfs',
-- createLocationFsxOpenZfs_tags - 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.
--
-- $sel:fsxFilesystemArn:CreateLocationFsxOpenZfs',
-- createLocationFsxOpenZfs_fsxFilesystemArn - The Amazon Resource
-- Name (ARN) of the FSx for OpenZFS file system.
--
-- $sel:protocol:CreateLocationFsxOpenZfs',
-- createLocationFsxOpenZfs_protocol - The type of protocol that
-- DataSync uses to access your file system.
--
-- CreateLocationFsxOpenZfs,
-- createLocationFsxOpenZfs_securityGroupArns - The ARNs of the
-- security groups that are used to configure the FSx for OpenZFS file
-- system.
newCreateLocationFsxOpenZfs :: Text -> FsxProtocol -> NonEmpty Text -> CreateLocationFsxOpenZfs
-- | See: newCreateLocationFsxOpenZfsResponse smart
-- constructor.
data CreateLocationFsxOpenZfsResponse
CreateLocationFsxOpenZfsResponse' :: Maybe Text -> Int -> CreateLocationFsxOpenZfsResponse
-- | Create a value of CreateLocationFsxOpenZfsResponse 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:
--
-- CreateLocationFsxOpenZfsResponse,
-- createLocationFsxOpenZfsResponse_locationArn - The ARN of the
-- FSx for OpenZFS file system location that you created.
--
-- $sel:httpStatus:CreateLocationFsxOpenZfsResponse',
-- createLocationFsxOpenZfsResponse_httpStatus - The response's
-- http status code.
newCreateLocationFsxOpenZfsResponse :: Int -> CreateLocationFsxOpenZfsResponse
-- | See: newCreateLocationFsxWindows smart constructor.
data CreateLocationFsxWindows
CreateLocationFsxWindows' :: Maybe Text -> Maybe Text -> Maybe [TagListEntry] -> Text -> NonEmpty Text -> Text -> Sensitive Text -> CreateLocationFsxWindows
-- | Create a value of CreateLocationFsxWindows 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:
--
-- CreateLocationFsxWindows,
-- createLocationFsxWindows_domain - Specifies the name of the
-- Windows domain that the FSx for Windows File Server belongs to.
--
-- $sel:subdirectory:CreateLocationFsxWindows',
-- createLocationFsxWindows_subdirectory - 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).
--
-- $sel:tags:CreateLocationFsxWindows',
-- createLocationFsxWindows_tags - 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.
--
-- $sel:fsxFilesystemArn:CreateLocationFsxWindows',
-- createLocationFsxWindows_fsxFilesystemArn - Specifies the
-- Amazon Resource Name (ARN) for the FSx for Windows File Server file
-- system.
--
-- CreateLocationFsxWindows,
-- createLocationFsxWindows_securityGroupArns - 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, createLocationFsxWindows_user
-- - 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,
-- createLocationFsxWindows_password - Specifies the password of
-- the user who has the permissions to access files and folders in the
-- file system.
newCreateLocationFsxWindows :: Text -> NonEmpty Text -> Text -> Text -> CreateLocationFsxWindows
-- | See: newCreateLocationFsxWindowsResponse smart
-- constructor.
data CreateLocationFsxWindowsResponse
CreateLocationFsxWindowsResponse' :: Maybe Text -> Int -> CreateLocationFsxWindowsResponse
-- | Create a value of CreateLocationFsxWindowsResponse 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:
--
-- CreateLocationFsxWindowsResponse,
-- createLocationFsxWindowsResponse_locationArn - The ARN of the
-- FSx for Windows File Server file system location you created.
--
-- $sel:httpStatus:CreateLocationFsxWindowsResponse',
-- createLocationFsxWindowsResponse_httpStatus - The response's
-- http status code.
newCreateLocationFsxWindowsResponse :: Int -> CreateLocationFsxWindowsResponse
-- | See: newCreateLocationHdfs smart constructor.
data CreateLocationHdfs
CreateLocationHdfs' :: Maybe Natural -> Maybe Base64 -> Maybe Base64 -> Maybe Text -> Maybe Text -> Maybe QopConfiguration -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe [TagListEntry] -> NonEmpty HdfsNameNode -> HdfsAuthenticationType -> NonEmpty Text -> CreateLocationHdfs
-- | Create a value of CreateLocationHdfs 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:blockSize:CreateLocationHdfs',
-- createLocationHdfs_blockSize - 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).
--
-- $sel:kerberosKeytab:CreateLocationHdfs',
-- createLocationHdfs_kerberosKeytab - 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.
--
-- $sel:kerberosKrb5Conf:CreateLocationHdfs',
-- createLocationHdfs_kerberosKrb5Conf - 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.
--
-- $sel:kerberosPrincipal:CreateLocationHdfs',
-- createLocationHdfs_kerberosPrincipal - The Kerberos principal
-- with access to the files and folders on the HDFS cluster.
--
-- If KERBEROS is specified for AuthenticationType,
-- this parameter is required.
--
-- $sel:kmsKeyProviderUri:CreateLocationHdfs',
-- createLocationHdfs_kmsKeyProviderUri - The URI of the HDFS
-- cluster's Key Management Server (KMS).
--
-- $sel:qopConfiguration:CreateLocationHdfs',
-- createLocationHdfs_qopConfiguration - 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.
--
-- $sel:replicationFactor:CreateLocationHdfs',
-- createLocationHdfs_replicationFactor - The number of DataNodes
-- to replicate the data to when writing to the HDFS cluster. By default,
-- data is replicated to three DataNodes.
--
-- $sel:simpleUser:CreateLocationHdfs',
-- createLocationHdfs_simpleUser - The user name used to identify
-- the client on the host operating system.
--
-- If SIMPLE is specified for AuthenticationType, this
-- parameter is required.
--
-- $sel:subdirectory:CreateLocationHdfs',
-- createLocationHdfs_subdirectory - 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 /.
--
-- $sel:tags:CreateLocationHdfs', createLocationHdfs_tags -
-- 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.
--
-- $sel:nameNodes:CreateLocationHdfs',
-- createLocationHdfs_nameNodes - 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.
--
-- $sel:authenticationType:CreateLocationHdfs',
-- createLocationHdfs_authenticationType - The type of
-- authentication used to determine the identity of the user.
--
-- CreateLocationHdfs, createLocationHdfs_agentArns - The
-- Amazon Resource Names (ARNs) of the agents that are used to connect to
-- the HDFS cluster.
newCreateLocationHdfs :: NonEmpty HdfsNameNode -> HdfsAuthenticationType -> NonEmpty Text -> CreateLocationHdfs
-- | See: newCreateLocationHdfsResponse smart constructor.
data CreateLocationHdfsResponse
CreateLocationHdfsResponse' :: Maybe Text -> Int -> CreateLocationHdfsResponse
-- | Create a value of CreateLocationHdfsResponse 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:
--
-- CreateLocationHdfsResponse,
-- createLocationHdfsResponse_locationArn - The ARN of the source
-- HDFS cluster location that's created.
--
-- $sel:httpStatus:CreateLocationHdfsResponse',
-- createLocationHdfsResponse_httpStatus - The response's http
-- status code.
newCreateLocationHdfsResponse :: Int -> CreateLocationHdfsResponse
-- | CreateLocationNfsRequest
--
-- See: newCreateLocationNfs smart constructor.
data CreateLocationNfs
CreateLocationNfs' :: Maybe NfsMountOptions -> Maybe [TagListEntry] -> Text -> Text -> OnPremConfig -> CreateLocationNfs
-- | Create a value of CreateLocationNfs 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:
--
-- CreateLocationNfs, createLocationNfs_mountOptions - The
-- NFS mount options that DataSync can use to mount your NFS share.
--
-- $sel:tags:CreateLocationNfs', createLocationNfs_tags -
-- 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.
--
-- $sel:subdirectory:CreateLocationNfs',
-- createLocationNfs_subdirectory - 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.
--
-- $sel:serverHostname:CreateLocationNfs',
-- createLocationNfs_serverHostname - 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.
--
-- $sel:onPremConfig:CreateLocationNfs',
-- createLocationNfs_onPremConfig - 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.
newCreateLocationNfs :: Text -> Text -> OnPremConfig -> CreateLocationNfs
-- | CreateLocationNfsResponse
--
-- See: newCreateLocationNfsResponse smart constructor.
data CreateLocationNfsResponse
CreateLocationNfsResponse' :: Maybe Text -> Int -> CreateLocationNfsResponse
-- | Create a value of CreateLocationNfsResponse 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:
--
-- CreateLocationNfsResponse,
-- createLocationNfsResponse_locationArn - The Amazon Resource
-- Name (ARN) of the source NFS file system location that is created.
--
-- $sel:httpStatus:CreateLocationNfsResponse',
-- createLocationNfsResponse_httpStatus - The response's http
-- status code.
newCreateLocationNfsResponse :: Int -> CreateLocationNfsResponse
-- | CreateLocationObjectStorageRequest
--
-- See: newCreateLocationObjectStorage smart constructor.
data CreateLocationObjectStorage
CreateLocationObjectStorage' :: Maybe Text -> Maybe (Sensitive Text) -> Maybe Base64 -> Maybe Natural -> Maybe ObjectStorageServerProtocol -> Maybe Text -> Maybe [TagListEntry] -> Text -> Text -> NonEmpty Text -> CreateLocationObjectStorage
-- | Create a value of CreateLocationObjectStorage 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:accessKey:CreateLocationObjectStorage',
-- createLocationObjectStorage_accessKey - Specifies the access
-- key (for example, a user name) if credentials are required to
-- authenticate with the object storage server.
--
-- $sel:secretKey:CreateLocationObjectStorage',
-- createLocationObjectStorage_secretKey - Specifies the secret
-- key (for example, a password) if credentials are required to
-- authenticate with the object storage server.
--
-- $sel:serverCertificate:CreateLocationObjectStorage',
-- createLocationObjectStorage_serverCertificate - 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.
--
-- $sel:serverPort:CreateLocationObjectStorage',
-- createLocationObjectStorage_serverPort - Specifies the port
-- that your object storage server accepts inbound network traffic on
-- (for example, port 443).
--
-- $sel:serverProtocol:CreateLocationObjectStorage',
-- createLocationObjectStorage_serverProtocol - Specifies the
-- protocol that your object storage server uses to communicate.
--
-- $sel:subdirectory:CreateLocationObjectStorage',
-- createLocationObjectStorage_subdirectory - 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.
--
-- $sel:tags:CreateLocationObjectStorage',
-- createLocationObjectStorage_tags - 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.
--
-- $sel:serverHostname:CreateLocationObjectStorage',
-- createLocationObjectStorage_serverHostname - 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.
--
-- $sel:bucketName:CreateLocationObjectStorage',
-- createLocationObjectStorage_bucketName - Specifies the name of
-- the object storage bucket involved in the transfer.
--
-- CreateLocationObjectStorage,
-- createLocationObjectStorage_agentArns - Specifies the Amazon
-- Resource Names (ARNs) of the DataSync agents that can securely connect
-- with your location.
newCreateLocationObjectStorage :: Text -> Text -> NonEmpty Text -> CreateLocationObjectStorage
-- | CreateLocationObjectStorageResponse
--
-- See: newCreateLocationObjectStorageResponse smart
-- constructor.
data CreateLocationObjectStorageResponse
CreateLocationObjectStorageResponse' :: Maybe Text -> Int -> CreateLocationObjectStorageResponse
-- | Create a value of CreateLocationObjectStorageResponse 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:
--
-- CreateLocationObjectStorageResponse,
-- createLocationObjectStorageResponse_locationArn - Specifies the
-- ARN of the object storage system location that you create.
--
-- $sel:httpStatus:CreateLocationObjectStorageResponse',
-- createLocationObjectStorageResponse_httpStatus - The response's
-- http status code.
newCreateLocationObjectStorageResponse :: Int -> CreateLocationObjectStorageResponse
-- | CreateLocationS3Request
--
-- See: newCreateLocationS3 smart constructor.
data CreateLocationS3
CreateLocationS3' :: Maybe (NonEmpty Text) -> Maybe S3StorageClass -> Maybe Text -> Maybe [TagListEntry] -> Text -> S3Config -> CreateLocationS3
-- | Create a value of CreateLocationS3 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:
--
-- CreateLocationS3, createLocationS3_agentArns - 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.
--
-- $sel:s3StorageClass:CreateLocationS3',
-- createLocationS3_s3StorageClass - 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.
--
-- $sel:subdirectory:CreateLocationS3',
-- createLocationS3_subdirectory - 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.
--
-- $sel:tags:CreateLocationS3', createLocationS3_tags - 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.
--
-- $sel:s3BucketArn:CreateLocationS3',
-- createLocationS3_s3BucketArn - The ARN of the Amazon S3 bucket.
-- If the bucket is on an Amazon Web Services Outpost, this must be an
-- access point ARN.
--
-- $sel:s3Config:CreateLocationS3',
-- createLocationS3_s3Config - Undocumented member.
newCreateLocationS3 :: Text -> S3Config -> CreateLocationS3
-- | CreateLocationS3Response
--
-- See: newCreateLocationS3Response smart constructor.
data CreateLocationS3Response
CreateLocationS3Response' :: Maybe Text -> Int -> CreateLocationS3Response
-- | Create a value of CreateLocationS3Response 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:
--
-- CreateLocationS3Response,
-- createLocationS3Response_locationArn - The Amazon Resource Name
-- (ARN) of the source Amazon S3 bucket location that is created.
--
-- $sel:httpStatus:CreateLocationS3Response',
-- createLocationS3Response_httpStatus - The response's http
-- status code.
newCreateLocationS3Response :: Int -> CreateLocationS3Response
-- | CreateLocationSmbRequest
--
-- See: newCreateLocationSmb smart constructor.
data CreateLocationSmb
CreateLocationSmb' :: Maybe Text -> Maybe SmbMountOptions -> Maybe [TagListEntry] -> Text -> Text -> Text -> Sensitive Text -> NonEmpty Text -> CreateLocationSmb
-- | Create a value of CreateLocationSmb 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:
--
-- CreateLocationSmb, createLocationSmb_domain - The name
-- of the Windows domain that the SMB server belongs to.
--
-- CreateLocationSmb, createLocationSmb_mountOptions - The
-- mount options used by DataSync to access the SMB server.
--
-- $sel:tags:CreateLocationSmb', createLocationSmb_tags -
-- 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.
--
-- $sel:subdirectory:CreateLocationSmb',
-- createLocationSmb_subdirectory - 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.
--
-- $sel:serverHostname:CreateLocationSmb',
-- createLocationSmb_serverHostname - 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, createLocationSmb_user - 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, createLocationSmb_password - The
-- password of the user who can mount the share, has the permissions to
-- access files and folders in the SMB share.
--
-- CreateLocationSmb, createLocationSmb_agentArns - The
-- Amazon Resource Names (ARNs) of agents to use for a Simple Message
-- Block (SMB) location.
newCreateLocationSmb :: Text -> Text -> Text -> Text -> NonEmpty Text -> CreateLocationSmb
-- | CreateLocationSmbResponse
--
-- See: newCreateLocationSmbResponse smart constructor.
data CreateLocationSmbResponse
CreateLocationSmbResponse' :: Maybe Text -> Int -> CreateLocationSmbResponse
-- | Create a value of CreateLocationSmbResponse 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:
--
-- CreateLocationSmbResponse,
-- createLocationSmbResponse_locationArn - The Amazon Resource
-- Name (ARN) of the source SMB file system location that is created.
--
-- $sel:httpStatus:CreateLocationSmbResponse',
-- createLocationSmbResponse_httpStatus - The response's http
-- status code.
newCreateLocationSmbResponse :: Int -> CreateLocationSmbResponse
-- | CreateTaskRequest
--
-- See: newCreateTask smart constructor.
data CreateTask
CreateTask' :: Maybe Text -> Maybe [FilterRule] -> Maybe [FilterRule] -> Maybe Text -> Maybe Options -> Maybe TaskSchedule -> Maybe [TagListEntry] -> Text -> Text -> CreateTask
-- | Create a value of CreateTask 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:cloudWatchLogGroupArn:CreateTask',
-- createTask_cloudWatchLogGroupArn - The Amazon Resource Name
-- (ARN) of the Amazon CloudWatch log group that is used to monitor and
-- log events in the task.
--
-- $sel:excludes:CreateTask', createTask_excludes -
-- Specifies a list of filter rules that exclude specific data during
-- your transfer. For more information and examples, see Filtering
-- data transferred by DataSync.
--
-- $sel:includes:CreateTask', createTask_includes -
-- 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, createTask_name - The name of a task. This
-- value is a text reference that is used to identify the task in the
-- console.
--
-- $sel:options:CreateTask', createTask_options - 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.
--
-- $sel:schedule:CreateTask', createTask_schedule -
-- 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.
--
-- $sel:tags:CreateTask', createTask_tags - 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.
--
-- $sel:sourceLocationArn:CreateTask',
-- createTask_sourceLocationArn - The Amazon Resource Name (ARN)
-- of the source location for the task.
--
-- $sel:destinationLocationArn:CreateTask',
-- createTask_destinationLocationArn - The Amazon Resource Name
-- (ARN) of an Amazon Web Services storage resource's location.
newCreateTask :: Text -> Text -> CreateTask
-- | CreateTaskResponse
--
-- See: newCreateTaskResponse smart constructor.
data CreateTaskResponse
CreateTaskResponse' :: Maybe Text -> Int -> CreateTaskResponse
-- | Create a value of CreateTaskResponse 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:
--
-- CreateTaskResponse, createTaskResponse_taskArn - The
-- Amazon Resource Name (ARN) of the task.
--
-- $sel:httpStatus:CreateTaskResponse',
-- createTaskResponse_httpStatus - The response's http status
-- code.
newCreateTaskResponse :: Int -> CreateTaskResponse
-- | DeleteAgentRequest
--
-- See: newDeleteAgent smart constructor.
data DeleteAgent
DeleteAgent' :: Text -> DeleteAgent
-- | Create a value of DeleteAgent 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:
--
-- DeleteAgent, deleteAgent_agentArn - 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.
newDeleteAgent :: Text -> DeleteAgent
-- | See: newDeleteAgentResponse smart constructor.
data DeleteAgentResponse
DeleteAgentResponse' :: Int -> DeleteAgentResponse
-- | Create a value of DeleteAgentResponse 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:httpStatus:DeleteAgentResponse',
-- deleteAgentResponse_httpStatus - The response's http status
-- code.
newDeleteAgentResponse :: Int -> DeleteAgentResponse
-- | DeleteLocation
--
-- See: newDeleteLocation smart constructor.
data DeleteLocation
DeleteLocation' :: Text -> DeleteLocation
-- | Create a value of DeleteLocation 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:
--
-- DeleteLocation, deleteLocation_locationArn - The Amazon
-- Resource Name (ARN) of the location to delete.
newDeleteLocation :: Text -> DeleteLocation
-- | See: newDeleteLocationResponse smart constructor.
data DeleteLocationResponse
DeleteLocationResponse' :: Int -> DeleteLocationResponse
-- | Create a value of DeleteLocationResponse 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:httpStatus:DeleteLocationResponse',
-- deleteLocationResponse_httpStatus - The response's http status
-- code.
newDeleteLocationResponse :: Int -> DeleteLocationResponse
-- | DeleteTask
--
-- See: newDeleteTask smart constructor.
data DeleteTask
DeleteTask' :: Text -> DeleteTask
-- | Create a value of DeleteTask 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:
--
-- DeleteTask, deleteTask_taskArn - Specifies the Amazon
-- Resource Name (ARN) of the task that you want to delete.
newDeleteTask :: Text -> DeleteTask
-- | See: newDeleteTaskResponse smart constructor.
data DeleteTaskResponse
DeleteTaskResponse' :: Int -> DeleteTaskResponse
-- | Create a value of DeleteTaskResponse 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:httpStatus:DeleteTaskResponse',
-- deleteTaskResponse_httpStatus - The response's http status
-- code.
newDeleteTaskResponse :: Int -> DeleteTaskResponse
-- | DescribeAgent
--
-- See: newDescribeAgent smart constructor.
data DescribeAgent
DescribeAgent' :: Text -> DescribeAgent
-- | Create a value of DescribeAgent 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:
--
-- DescribeAgent, describeAgent_agentArn - The Amazon
-- Resource Name (ARN) of the agent to describe.
newDescribeAgent :: Text -> DescribeAgent
-- | DescribeAgentResponse
--
-- See: newDescribeAgentResponse smart constructor.
data DescribeAgentResponse
DescribeAgentResponse' :: Maybe Text -> Maybe POSIX -> Maybe EndpointType -> Maybe POSIX -> Maybe Text -> Maybe PrivateLinkConfig -> Maybe AgentStatus -> Int -> DescribeAgentResponse
-- | Create a value of DescribeAgentResponse 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:
--
-- DescribeAgent, describeAgentResponse_agentArn - The
-- Amazon Resource Name (ARN) of the agent.
--
-- $sel:creationTime:DescribeAgentResponse',
-- describeAgentResponse_creationTime - The time that the agent
-- was activated (that is, created in your account).
--
-- $sel:endpointType:DescribeAgentResponse',
-- describeAgentResponse_endpointType - 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.
--
-- $sel:lastConnectionTime:DescribeAgentResponse',
-- describeAgentResponse_lastConnectionTime - The time that the
-- agent last connected to DataSync.
--
-- DescribeAgentResponse, describeAgentResponse_name - The
-- name of the agent.
--
-- $sel:privateLinkConfig:DescribeAgentResponse',
-- describeAgentResponse_privateLinkConfig - The subnet and the
-- security group that DataSync used to access a VPC endpoint.
--
-- DescribeAgentResponse, describeAgentResponse_status -
-- 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.
--
-- $sel:httpStatus:DescribeAgentResponse',
-- describeAgentResponse_httpStatus - The response's http status
-- code.
newDescribeAgentResponse :: Int -> DescribeAgentResponse
-- | DescribeLocationEfsRequest
--
-- See: newDescribeLocationEfs smart constructor.
data DescribeLocationEfs
DescribeLocationEfs' :: Text -> DescribeLocationEfs
-- | Create a value of DescribeLocationEfs 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:
--
-- DescribeLocationEfs, describeLocationEfs_locationArn -
-- The Amazon Resource Name (ARN) of the Amazon EFS file system location
-- that you want information about.
newDescribeLocationEfs :: Text -> DescribeLocationEfs
-- | DescribeLocationEfsResponse
--
-- See: newDescribeLocationEfsResponse smart constructor.
data DescribeLocationEfsResponse
DescribeLocationEfsResponse' :: Maybe Text -> Maybe POSIX -> Maybe Ec2Config -> Maybe Text -> Maybe EfsInTransitEncryption -> Maybe Text -> Maybe Text -> Int -> DescribeLocationEfsResponse
-- | Create a value of DescribeLocationEfsResponse 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:accessPointArn:DescribeLocationEfsResponse',
-- describeLocationEfsResponse_accessPointArn - The ARN of the
-- access point that DataSync uses to access the Amazon EFS file system.
--
-- $sel:creationTime:DescribeLocationEfsResponse',
-- describeLocationEfsResponse_creationTime - The time that the
-- location was created.
--
-- $sel:ec2Config:DescribeLocationEfsResponse',
-- describeLocationEfsResponse_ec2Config - Undocumented member.
--
-- $sel:fileSystemAccessRoleArn:DescribeLocationEfsResponse',
-- describeLocationEfsResponse_fileSystemAccessRoleArn - The
-- Identity and Access Management (IAM) role that DataSync assumes when
-- mounting the Amazon EFS file system.
--
-- $sel:inTransitEncryption:DescribeLocationEfsResponse',
-- describeLocationEfsResponse_inTransitEncryption - Describes
-- whether DataSync uses Transport Layer Security (TLS) encryption when
-- copying data to or from the Amazon EFS file system.
--
-- DescribeLocationEfs,
-- describeLocationEfsResponse_locationArn - The ARN of the Amazon
-- EFS file system location.
--
-- DescribeLocationEfsResponse,
-- describeLocationEfsResponse_locationUri - The URL of the Amazon
-- EFS file system location.
--
-- $sel:httpStatus:DescribeLocationEfsResponse',
-- describeLocationEfsResponse_httpStatus - The response's http
-- status code.
newDescribeLocationEfsResponse :: Int -> DescribeLocationEfsResponse
-- | See: newDescribeLocationFsxLustre smart constructor.
data DescribeLocationFsxLustre
DescribeLocationFsxLustre' :: Text -> DescribeLocationFsxLustre
-- | Create a value of DescribeLocationFsxLustre 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:
--
-- DescribeLocationFsxLustre,
-- describeLocationFsxLustre_locationArn - The Amazon Resource
-- Name (ARN) of the FSx for Lustre location to describe.
newDescribeLocationFsxLustre :: Text -> DescribeLocationFsxLustre
-- | See: newDescribeLocationFsxLustreResponse smart
-- constructor.
data DescribeLocationFsxLustreResponse
DescribeLocationFsxLustreResponse' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Int -> DescribeLocationFsxLustreResponse
-- | Create a value of DescribeLocationFsxLustreResponse 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:creationTime:DescribeLocationFsxLustreResponse',
-- describeLocationFsxLustreResponse_creationTime - The time that
-- the FSx for Lustre location was created.
--
-- DescribeLocationFsxLustre,
-- describeLocationFsxLustreResponse_locationArn - The Amazon
-- Resource Name (ARN) of the FSx for Lustre location that was described.
--
-- DescribeLocationFsxLustreResponse,
-- describeLocationFsxLustreResponse_locationUri - The URI of the
-- FSx for Lustre location that was described.
--
-- DescribeLocationFsxLustreResponse,
-- describeLocationFsxLustreResponse_securityGroupArns - The
-- Amazon Resource Names (ARNs) of the security groups that are
-- configured for the FSx for Lustre file system.
--
-- $sel:httpStatus:DescribeLocationFsxLustreResponse',
-- describeLocationFsxLustreResponse_httpStatus - The response's
-- http status code.
newDescribeLocationFsxLustreResponse :: Int -> DescribeLocationFsxLustreResponse
-- | See: newDescribeLocationFsxOntap smart constructor.
data DescribeLocationFsxOntap
DescribeLocationFsxOntap' :: Text -> DescribeLocationFsxOntap
-- | Create a value of DescribeLocationFsxOntap 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:
--
-- DescribeLocationFsxOntap,
-- describeLocationFsxOntap_locationArn - Specifies the Amazon
-- Resource Name (ARN) of the FSx for ONTAP file system location that you
-- want information about.
newDescribeLocationFsxOntap :: Text -> DescribeLocationFsxOntap
-- | See: newDescribeLocationFsxOntapResponse smart
-- constructor.
data DescribeLocationFsxOntapResponse
DescribeLocationFsxOntapResponse' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe FsxProtocol -> Maybe (NonEmpty Text) -> Maybe Text -> Int -> DescribeLocationFsxOntapResponse
-- | Create a value of DescribeLocationFsxOntapResponse 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:creationTime:DescribeLocationFsxOntapResponse',
-- describeLocationFsxOntapResponse_creationTime - The time that
-- the location was created.
--
-- $sel:fsxFilesystemArn:DescribeLocationFsxOntapResponse',
-- describeLocationFsxOntapResponse_fsxFilesystemArn - The ARN of
-- the FSx for ONTAP file system.
--
-- DescribeLocationFsxOntap,
-- describeLocationFsxOntapResponse_locationArn - The ARN of the
-- FSx for ONTAP file system location.
--
-- DescribeLocationFsxOntapResponse,
-- describeLocationFsxOntapResponse_locationUri - The uniform
-- resource identifier (URI) of the FSx for ONTAP file system location.
--
-- $sel:protocol:DescribeLocationFsxOntapResponse',
-- describeLocationFsxOntapResponse_protocol - Undocumented
-- member.
--
-- DescribeLocationFsxOntapResponse,
-- describeLocationFsxOntapResponse_securityGroupArns - The
-- security groups that DataSync uses to access your FSx for ONTAP file
-- system.
--
--
-- $sel:storageVirtualMachineArn:DescribeLocationFsxOntapResponse',
-- describeLocationFsxOntapResponse_storageVirtualMachineArn - The
-- ARN of the storage virtual machine (SVM) on your FSx for ONTAP file
-- system where you're copying data to or from.
--
-- $sel:httpStatus:DescribeLocationFsxOntapResponse',
-- describeLocationFsxOntapResponse_httpStatus - The response's
-- http status code.
newDescribeLocationFsxOntapResponse :: Int -> DescribeLocationFsxOntapResponse
-- | See: newDescribeLocationFsxOpenZfs smart constructor.
data DescribeLocationFsxOpenZfs
DescribeLocationFsxOpenZfs' :: Text -> DescribeLocationFsxOpenZfs
-- | Create a value of DescribeLocationFsxOpenZfs 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:
--
-- DescribeLocationFsxOpenZfs,
-- describeLocationFsxOpenZfs_locationArn - The Amazon Resource
-- Name (ARN) of the FSx for OpenZFS location to describe.
newDescribeLocationFsxOpenZfs :: Text -> DescribeLocationFsxOpenZfs
-- | See: newDescribeLocationFsxOpenZfsResponse smart
-- constructor.
data DescribeLocationFsxOpenZfsResponse
DescribeLocationFsxOpenZfsResponse' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe FsxProtocol -> Maybe (NonEmpty Text) -> Int -> DescribeLocationFsxOpenZfsResponse
-- | Create a value of DescribeLocationFsxOpenZfsResponse 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:creationTime:DescribeLocationFsxOpenZfsResponse',
-- describeLocationFsxOpenZfsResponse_creationTime - The time that
-- the FSx for OpenZFS location was created.
--
-- DescribeLocationFsxOpenZfs,
-- describeLocationFsxOpenZfsResponse_locationArn - The ARN of the
-- FSx for OpenZFS location that was described.
--
-- DescribeLocationFsxOpenZfsResponse,
-- describeLocationFsxOpenZfsResponse_locationUri - The uniform
-- resource identifier (URI) of the FSx for OpenZFS location that was
-- described.
--
-- Example:
-- fsxz://us-west-2.fs-1234567890abcdef02/fsx/folderA/folder
--
-- $sel:protocol:DescribeLocationFsxOpenZfsResponse',
-- describeLocationFsxOpenZfsResponse_protocol - The type of
-- protocol that DataSync uses to access your file system.
--
-- DescribeLocationFsxOpenZfsResponse,
-- describeLocationFsxOpenZfsResponse_securityGroupArns - The ARNs
-- of the security groups that are configured for the FSx for OpenZFS
-- file system.
--
-- $sel:httpStatus:DescribeLocationFsxOpenZfsResponse',
-- describeLocationFsxOpenZfsResponse_httpStatus - The response's
-- http status code.
newDescribeLocationFsxOpenZfsResponse :: Int -> DescribeLocationFsxOpenZfsResponse
-- | See: newDescribeLocationFsxWindows smart constructor.
data DescribeLocationFsxWindows
DescribeLocationFsxWindows' :: Text -> DescribeLocationFsxWindows
-- | Create a value of DescribeLocationFsxWindows 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:
--
-- DescribeLocationFsxWindows,
-- describeLocationFsxWindows_locationArn - The Amazon Resource
-- Name (ARN) of the FSx for Windows File Server location to describe.
newDescribeLocationFsxWindows :: Text -> DescribeLocationFsxWindows
-- | See: newDescribeLocationFsxWindowsResponse smart
-- constructor.
data DescribeLocationFsxWindowsResponse
DescribeLocationFsxWindowsResponse' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe Text -> Int -> DescribeLocationFsxWindowsResponse
-- | Create a value of DescribeLocationFsxWindowsResponse 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:creationTime:DescribeLocationFsxWindowsResponse',
-- describeLocationFsxWindowsResponse_creationTime - The time that
-- the FSx for Windows File Server location was created.
--
-- DescribeLocationFsxWindowsResponse,
-- describeLocationFsxWindowsResponse_domain - The name of the
-- Windows domain that the FSx for Windows File Server belongs to.
--
-- DescribeLocationFsxWindows,
-- describeLocationFsxWindowsResponse_locationArn - The Amazon
-- Resource Name (ARN) of the FSx for Windows File Server location that
-- was described.
--
-- DescribeLocationFsxWindowsResponse,
-- describeLocationFsxWindowsResponse_locationUri - The URL of the
-- FSx for Windows File Server location that was described.
--
-- DescribeLocationFsxWindowsResponse,
-- describeLocationFsxWindowsResponse_securityGroupArns - The
-- Amazon Resource Names (ARNs) of the security groups that are
-- configured for the FSx for Windows File Server file system.
--
-- DescribeLocationFsxWindowsResponse,
-- describeLocationFsxWindowsResponse_user - The user who has the
-- permissions to access files and folders in the FSx for Windows File
-- Server file system.
--
-- $sel:httpStatus:DescribeLocationFsxWindowsResponse',
-- describeLocationFsxWindowsResponse_httpStatus - The response's
-- http status code.
newDescribeLocationFsxWindowsResponse :: Int -> DescribeLocationFsxWindowsResponse
-- | See: newDescribeLocationHdfs smart constructor.
data DescribeLocationHdfs
DescribeLocationHdfs' :: Text -> DescribeLocationHdfs
-- | Create a value of DescribeLocationHdfs 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:
--
-- DescribeLocationHdfs, describeLocationHdfs_locationArn -
-- The Amazon Resource Name (ARN) of the HDFS cluster location to
-- describe.
newDescribeLocationHdfs :: Text -> DescribeLocationHdfs
-- | See: newDescribeLocationHdfsResponse smart constructor.
data DescribeLocationHdfsResponse
DescribeLocationHdfsResponse' :: Maybe (NonEmpty Text) -> Maybe HdfsAuthenticationType -> Maybe Natural -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (NonEmpty HdfsNameNode) -> Maybe QopConfiguration -> Maybe Natural -> Maybe Text -> Int -> DescribeLocationHdfsResponse
-- | Create a value of DescribeLocationHdfsResponse 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:
--
-- DescribeLocationHdfsResponse,
-- describeLocationHdfsResponse_agentArns - The ARNs of the agents
-- that are used to connect to the HDFS cluster.
--
-- $sel:authenticationType:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_authenticationType - The type of
-- authentication used to determine the identity of the user.
--
-- $sel:blockSize:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_blockSize - The size of the data
-- blocks to write into the HDFS cluster.
--
-- $sel:creationTime:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_creationTime - The time that the
-- HDFS location was created.
--
-- $sel:kerberosPrincipal:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_kerberosPrincipal - 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.
--
-- $sel:kmsKeyProviderUri:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_kmsKeyProviderUri - The URI of the
-- HDFS cluster's Key Management Server (KMS).
--
-- DescribeLocationHdfs,
-- describeLocationHdfsResponse_locationArn - The ARN of the HDFS
-- cluster location.
--
-- DescribeLocationHdfsResponse,
-- describeLocationHdfsResponse_locationUri - The URI of the HDFS
-- cluster location.
--
-- $sel:nameNodes:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_nameNodes - The NameNode that
-- manage the HDFS namespace.
--
-- $sel:qopConfiguration:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_qopConfiguration - 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.
--
-- $sel:replicationFactor:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_replicationFactor - The number of
-- DataNodes to replicate the data to when writing to the HDFS cluster.
--
-- $sel:simpleUser:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_simpleUser - The user name used to
-- identify the client on the host operating system. This parameter is
-- used if the AuthenticationType is defined as SIMPLE.
--
-- $sel:httpStatus:DescribeLocationHdfsResponse',
-- describeLocationHdfsResponse_httpStatus - The response's http
-- status code.
newDescribeLocationHdfsResponse :: Int -> DescribeLocationHdfsResponse
-- | DescribeLocationNfsRequest
--
-- See: newDescribeLocationNfs smart constructor.
data DescribeLocationNfs
DescribeLocationNfs' :: Text -> DescribeLocationNfs
-- | Create a value of DescribeLocationNfs 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:
--
-- DescribeLocationNfs, describeLocationNfs_locationArn -
-- The Amazon Resource Name (ARN) of the NFS location to describe.
newDescribeLocationNfs :: Text -> DescribeLocationNfs
-- | DescribeLocationNfsResponse
--
-- See: newDescribeLocationNfsResponse smart constructor.
data DescribeLocationNfsResponse
DescribeLocationNfsResponse' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe NfsMountOptions -> Maybe OnPremConfig -> Int -> DescribeLocationNfsResponse
-- | Create a value of DescribeLocationNfsResponse 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:creationTime:DescribeLocationNfsResponse',
-- describeLocationNfsResponse_creationTime - The time that the
-- NFS location was created.
--
-- DescribeLocationNfs,
-- describeLocationNfsResponse_locationArn - The Amazon Resource
-- Name (ARN) of the NFS location that was described.
--
-- DescribeLocationNfsResponse,
-- describeLocationNfsResponse_locationUri - The URL of the source
-- NFS location that was described.
--
-- DescribeLocationNfsResponse,
-- describeLocationNfsResponse_mountOptions - The NFS mount
-- options that DataSync used to mount your NFS share.
--
-- $sel:onPremConfig:DescribeLocationNfsResponse',
-- describeLocationNfsResponse_onPremConfig - Undocumented member.
--
-- $sel:httpStatus:DescribeLocationNfsResponse',
-- describeLocationNfsResponse_httpStatus - The response's http
-- status code.
newDescribeLocationNfsResponse :: Int -> DescribeLocationNfsResponse
-- | DescribeLocationObjectStorageRequest
--
-- See: newDescribeLocationObjectStorage smart constructor.
data DescribeLocationObjectStorage
DescribeLocationObjectStorage' :: Text -> DescribeLocationObjectStorage
-- | Create a value of DescribeLocationObjectStorage 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:
--
-- DescribeLocationObjectStorage,
-- describeLocationObjectStorage_locationArn - The Amazon Resource
-- Name (ARN) of the object storage system location that you want
-- information about.
newDescribeLocationObjectStorage :: Text -> DescribeLocationObjectStorage
-- | DescribeLocationObjectStorageResponse
--
-- See: newDescribeLocationObjectStorageResponse smart
-- constructor.
data DescribeLocationObjectStorageResponse
DescribeLocationObjectStorageResponse' :: Maybe Text -> Maybe (NonEmpty Text) -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Base64 -> Maybe Natural -> Maybe ObjectStorageServerProtocol -> Int -> DescribeLocationObjectStorageResponse
-- | Create a value of DescribeLocationObjectStorageResponse 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:accessKey:DescribeLocationObjectStorageResponse',
-- describeLocationObjectStorageResponse_accessKey - The access
-- key (for example, a user name) required to authenticate with the
-- object storage system.
--
-- DescribeLocationObjectStorageResponse,
-- describeLocationObjectStorageResponse_agentArns - The ARNs of
-- the DataSync agents that can securely connect with your location.
--
-- $sel:creationTime:DescribeLocationObjectStorageResponse',
-- describeLocationObjectStorageResponse_creationTime - The time
-- that the location was created.
--
-- DescribeLocationObjectStorage,
-- describeLocationObjectStorageResponse_locationArn - The ARN of
-- the object storage system location.
--
-- DescribeLocationObjectStorageResponse,
-- describeLocationObjectStorageResponse_locationUri - The URL of
-- the object storage system location.
--
-- $sel:serverCertificate:DescribeLocationObjectStorageResponse',
-- describeLocationObjectStorageResponse_serverCertificate - 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.
--
-- $sel:serverPort:DescribeLocationObjectStorageResponse',
-- describeLocationObjectStorageResponse_serverPort - The port
-- that your object storage server accepts inbound network traffic on
-- (for example, port 443).
--
-- $sel:serverProtocol:DescribeLocationObjectStorageResponse',
-- describeLocationObjectStorageResponse_serverProtocol - The
-- protocol that your object storage system uses to communicate.
--
-- $sel:httpStatus:DescribeLocationObjectStorageResponse',
-- describeLocationObjectStorageResponse_httpStatus - The
-- response's http status code.
newDescribeLocationObjectStorageResponse :: Int -> DescribeLocationObjectStorageResponse
-- | DescribeLocationS3Request
--
-- See: newDescribeLocationS3 smart constructor.
data DescribeLocationS3
DescribeLocationS3' :: Text -> DescribeLocationS3
-- | Create a value of DescribeLocationS3 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:
--
-- DescribeLocationS3, describeLocationS3_locationArn - The
-- Amazon Resource Name (ARN) of the Amazon S3 bucket location to
-- describe.
newDescribeLocationS3 :: Text -> DescribeLocationS3
-- | DescribeLocationS3Response
--
-- See: newDescribeLocationS3Response smart constructor.
data DescribeLocationS3Response
DescribeLocationS3Response' :: Maybe (NonEmpty Text) -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe S3Config -> Maybe S3StorageClass -> Int -> DescribeLocationS3Response
-- | Create a value of DescribeLocationS3Response 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:
--
-- DescribeLocationS3Response,
-- describeLocationS3Response_agentArns - 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.
--
-- $sel:creationTime:DescribeLocationS3Response',
-- describeLocationS3Response_creationTime - The time that the
-- Amazon S3 bucket location was created.
--
-- DescribeLocationS3,
-- describeLocationS3Response_locationArn - The Amazon Resource
-- Name (ARN) of the Amazon S3 bucket or access point.
--
-- DescribeLocationS3Response,
-- describeLocationS3Response_locationUri - The URL of the Amazon
-- S3 location that was described.
--
-- $sel:s3Config:DescribeLocationS3Response',
-- describeLocationS3Response_s3Config - Undocumented member.
--
-- $sel:s3StorageClass:DescribeLocationS3Response',
-- describeLocationS3Response_s3StorageClass - 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.
--
-- $sel:httpStatus:DescribeLocationS3Response',
-- describeLocationS3Response_httpStatus - The response's http
-- status code.
newDescribeLocationS3Response :: Int -> DescribeLocationS3Response
-- | DescribeLocationSmbRequest
--
-- See: newDescribeLocationSmb smart constructor.
data DescribeLocationSmb
DescribeLocationSmb' :: Text -> DescribeLocationSmb
-- | Create a value of DescribeLocationSmb 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:
--
-- DescribeLocationSmb, describeLocationSmb_locationArn -
-- The Amazon Resource Name (ARN) of the SMB location to describe.
newDescribeLocationSmb :: Text -> DescribeLocationSmb
-- | DescribeLocationSmbResponse
--
-- See: newDescribeLocationSmbResponse smart constructor.
data DescribeLocationSmbResponse
DescribeLocationSmbResponse' :: Maybe (NonEmpty Text) -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SmbMountOptions -> Maybe Text -> Int -> DescribeLocationSmbResponse
-- | Create a value of DescribeLocationSmbResponse 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:
--
-- DescribeLocationSmbResponse,
-- describeLocationSmbResponse_agentArns - The Amazon Resource
-- Name (ARN) of the source SMB file system location that is created.
--
-- $sel:creationTime:DescribeLocationSmbResponse',
-- describeLocationSmbResponse_creationTime - The time that the
-- SMB location was created.
--
-- DescribeLocationSmbResponse,
-- describeLocationSmbResponse_domain - The name of the Windows
-- domain that the SMB server belongs to.
--
-- DescribeLocationSmb,
-- describeLocationSmbResponse_locationArn - The Amazon Resource
-- Name (ARN) of the SMB location that was described.
--
-- DescribeLocationSmbResponse,
-- describeLocationSmbResponse_locationUri - The URL of the source
-- SMB location that was described.
--
-- DescribeLocationSmbResponse,
-- describeLocationSmbResponse_mountOptions - The mount options
-- that are available for DataSync to use to access an SMB location.
--
-- DescribeLocationSmbResponse,
-- describeLocationSmbResponse_user - The user who can mount the
-- share, has the permissions to access files and folders in the SMB
-- share.
--
-- $sel:httpStatus:DescribeLocationSmbResponse',
-- describeLocationSmbResponse_httpStatus - The response's http
-- status code.
newDescribeLocationSmbResponse :: Int -> DescribeLocationSmbResponse
-- | DescribeTaskRequest
--
-- See: newDescribeTask smart constructor.
data DescribeTask
DescribeTask' :: Text -> DescribeTask
-- | Create a value of DescribeTask 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:
--
-- DescribeTask, describeTask_taskArn - The Amazon Resource
-- Name (ARN) of the task to describe.
newDescribeTask :: Text -> DescribeTask
-- | DescribeTaskResponse
--
-- See: newDescribeTaskResponse smart constructor.
data DescribeTaskResponse
DescribeTaskResponse' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe [FilterRule] -> Maybe [FilterRule] -> Maybe Text -> Maybe Options -> Maybe TaskSchedule -> Maybe Text -> Maybe [Text] -> Maybe TaskStatus -> Maybe Text -> Int -> DescribeTaskResponse
-- | Create a value of DescribeTaskResponse 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:cloudWatchLogGroupArn:DescribeTaskResponse',
-- describeTaskResponse_cloudWatchLogGroupArn - 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.
--
-- $sel:creationTime:DescribeTaskResponse',
-- describeTaskResponse_creationTime - The time that the task was
-- created.
--
-- $sel:currentTaskExecutionArn:DescribeTaskResponse',
-- describeTaskResponse_currentTaskExecutionArn - The Amazon
-- Resource Name (ARN) of the task execution that is transferring files.
--
-- $sel:destinationLocationArn:DescribeTaskResponse',
-- describeTaskResponse_destinationLocationArn - The Amazon
-- Resource Name (ARN) of the Amazon Web Services storage resource's
-- location.
--
-- $sel:destinationNetworkInterfaceArns:DescribeTaskResponse',
-- describeTaskResponse_destinationNetworkInterfaceArns - The
-- Amazon Resource Names (ARNs) of the network interfaces created for
-- your destination location. For more information, see Network
-- interface requirements.
--
-- DescribeTaskResponse, describeTaskResponse_errorCode -
-- Errors that DataSync encountered during execution of the task. You can
-- use this error code to help troubleshoot issues.
--
-- DescribeTaskResponse, describeTaskResponse_errorDetail -
-- Detailed description of an error that was encountered during the task
-- execution. You can use this information to help troubleshoot issues.
--
-- $sel:excludes:DescribeTaskResponse',
-- describeTaskResponse_excludes - A list of filter rules that
-- exclude specific data during your transfer. For more information and
-- examples, see Filtering data transferred by DataSync.
--
-- $sel:includes:DescribeTaskResponse',
-- describeTaskResponse_includes - A list of filter rules that
-- include specific data during your transfer. For more information and
-- examples, see Filtering data transferred by DataSync.
--
-- DescribeTaskResponse, describeTaskResponse_name - The
-- name of the task that was described.
--
-- $sel:options:DescribeTaskResponse',
-- describeTaskResponse_options - 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.
--
-- $sel:schedule:DescribeTaskResponse',
-- describeTaskResponse_schedule - The schedule used to
-- periodically transfer files from a source to a destination location.
--
-- $sel:sourceLocationArn:DescribeTaskResponse',
-- describeTaskResponse_sourceLocationArn - The Amazon Resource
-- Name (ARN) of the source file system's location.
--
-- $sel:sourceNetworkInterfaceArns:DescribeTaskResponse',
-- describeTaskResponse_sourceNetworkInterfaceArns - The Amazon
-- Resource Names (ARNs) of the network interfaces created for your
-- source location. For more information, see Network interface
-- requirements.
--
-- DescribeTaskResponse, describeTaskResponse_status - The
-- status of the task that was described.
--
-- For detailed information about task execution statuses, see
-- Understanding Task Statuses in the DataSync User Guide.
--
-- DescribeTask, describeTaskResponse_taskArn - The Amazon
-- Resource Name (ARN) of the task that was described.
--
-- $sel:httpStatus:DescribeTaskResponse',
-- describeTaskResponse_httpStatus - The response's http status
-- code.
newDescribeTaskResponse :: Int -> DescribeTaskResponse
-- | DescribeTaskExecutionRequest
--
-- See: newDescribeTaskExecution smart constructor.
data DescribeTaskExecution
DescribeTaskExecution' :: Text -> DescribeTaskExecution
-- | Create a value of DescribeTaskExecution 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:
--
-- DescribeTaskExecution,
-- describeTaskExecution_taskExecutionArn - The Amazon Resource
-- Name (ARN) of the task that is being executed.
newDescribeTaskExecution :: Text -> DescribeTaskExecution
-- | DescribeTaskExecutionResponse
--
-- See: newDescribeTaskExecutionResponse smart constructor.
data DescribeTaskExecutionResponse
DescribeTaskExecutionResponse' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe [FilterRule] -> Maybe Integer -> Maybe [FilterRule] -> Maybe Options -> Maybe TaskExecutionResultDetail -> Maybe POSIX -> Maybe TaskExecutionStatus -> Maybe Text -> Int -> DescribeTaskExecutionResponse
-- | Create a value of DescribeTaskExecutionResponse 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:bytesCompressed:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_bytesCompressed - 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.
--
-- $sel:bytesTransferred:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_bytesTransferred - The total
-- number of bytes that are involved in the transfer. For the number of
-- bytes sent over the network, see BytesCompressed.
--
-- $sel:bytesWritten:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_bytesWritten - The number of
-- logical bytes written to the destination Amazon Web Services storage
-- resource.
--
-- $sel:estimatedBytesToTransfer:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_estimatedBytesToTransfer - The
-- estimated physical number of bytes that is to be transferred over the
-- network.
--
-- $sel:estimatedFilesToTransfer:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_estimatedFilesToTransfer - 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.
--
-- $sel:excludes:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_excludes - A list of filter rules
-- that exclude specific data during your transfer. For more information
-- and examples, see Filtering data transferred by DataSync.
--
-- $sel:filesTransferred:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_filesTransferred - 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.
--
-- $sel:includes:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_includes - A list of filter rules
-- that include specific data during your transfer. For more information
-- and examples, see Filtering data transferred by DataSync.
--
-- $sel:options:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_options - Undocumented member.
--
-- $sel:result:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_result - The result of the task
-- execution.
--
-- $sel:startTime:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_startTime - The time that the
-- task execution was started.
--
-- DescribeTaskExecutionResponse,
-- describeTaskExecutionResponse_status - The status of the task
-- execution.
--
-- For detailed information about task execution statuses, see
-- Understanding Task Statuses in the DataSync User Guide.
--
-- DescribeTaskExecution,
-- describeTaskExecutionResponse_taskExecutionArn - 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.
--
-- $sel:httpStatus:DescribeTaskExecutionResponse',
-- describeTaskExecutionResponse_httpStatus - The response's http
-- status code.
newDescribeTaskExecutionResponse :: Int -> DescribeTaskExecutionResponse
-- | ListAgentsRequest
--
-- See: newListAgents smart constructor.
data ListAgents
ListAgents' :: Maybe Natural -> Maybe Text -> ListAgents
-- | Create a value of ListAgents 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:maxResults:ListAgents', listAgents_maxResults - The
-- maximum number of agents to list.
--
-- ListAgents, listAgents_nextToken - An opaque string that
-- indicates the position at which to begin the next list of agents.
newListAgents :: ListAgents
-- | ListAgentsResponse
--
-- See: newListAgentsResponse smart constructor.
data ListAgentsResponse
ListAgentsResponse' :: Maybe [AgentListEntry] -> Maybe Text -> Int -> ListAgentsResponse
-- | Create a value of ListAgentsResponse 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:agents:ListAgentsResponse',
-- listAgentsResponse_agents - A list of agents in your account.
--
-- ListAgents, listAgentsResponse_nextToken - An opaque
-- string that indicates the position at which to begin returning the
-- next list of agents.
--
-- $sel:httpStatus:ListAgentsResponse',
-- listAgentsResponse_httpStatus - The response's http status
-- code.
newListAgentsResponse :: Int -> ListAgentsResponse
-- | ListLocationsRequest
--
-- See: newListLocations smart constructor.
data ListLocations
ListLocations' :: Maybe [LocationFilter] -> Maybe Natural -> Maybe Text -> ListLocations
-- | Create a value of ListLocations 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:filters:ListLocations', listLocations_filters - 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.
--
-- $sel:maxResults:ListLocations', listLocations_maxResults
-- - The maximum number of locations to return.
--
-- ListLocations, listLocations_nextToken - An opaque
-- string that indicates the position at which to begin the next list of
-- locations.
newListLocations :: ListLocations
-- | ListLocationsResponse
--
-- See: newListLocationsResponse smart constructor.
data ListLocationsResponse
ListLocationsResponse' :: Maybe [LocationListEntry] -> Maybe Text -> Int -> ListLocationsResponse
-- | Create a value of ListLocationsResponse 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:locations:ListLocationsResponse',
-- listLocationsResponse_locations - An array that contains a list
-- of locations.
--
-- ListLocations, listLocationsResponse_nextToken - An
-- opaque string that indicates the position at which to begin returning
-- the next list of locations.
--
-- $sel:httpStatus:ListLocationsResponse',
-- listLocationsResponse_httpStatus - The response's http status
-- code.
newListLocationsResponse :: Int -> ListLocationsResponse
-- | ListTagsForResourceRequest
--
-- See: newListTagsForResource smart constructor.
data ListTagsForResource
ListTagsForResource' :: Maybe Natural -> Maybe Text -> Text -> ListTagsForResource
-- | Create a value of ListTagsForResource 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:maxResults:ListTagsForResource',
-- listTagsForResource_maxResults - Specifies how many results
-- that you want in the response.
--
-- ListTagsForResource, listTagsForResource_nextToken -
-- Specifies an opaque string that indicates the position to begin the
-- next list of results in the response.
--
-- $sel:resourceArn:ListTagsForResource',
-- listTagsForResource_resourceArn - Specifies the Amazon Resource
-- Name (ARN) of the resource that you want tag information on.
newListTagsForResource :: Text -> ListTagsForResource
-- | ListTagsForResourceResponse
--
-- See: newListTagsForResourceResponse smart constructor.
data ListTagsForResourceResponse
ListTagsForResourceResponse' :: Maybe Text -> Maybe [TagListEntry] -> Int -> ListTagsForResourceResponse
-- | Create a value of ListTagsForResourceResponse 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:
--
-- ListTagsForResource,
-- listTagsForResourceResponse_nextToken - The opaque string that
-- indicates the position to begin the next list of results in the
-- response.
--
-- $sel:tags:ListTagsForResourceResponse',
-- listTagsForResourceResponse_tags - An array of tags applied to
-- the specified resource.
--
-- $sel:httpStatus:ListTagsForResourceResponse',
-- listTagsForResourceResponse_httpStatus - The response's http
-- status code.
newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
-- | ListTaskExecutions
--
-- See: newListTaskExecutions smart constructor.
data ListTaskExecutions
ListTaskExecutions' :: Maybe Natural -> Maybe Text -> Maybe Text -> ListTaskExecutions
-- | Create a value of ListTaskExecutions 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:maxResults:ListTaskExecutions',
-- listTaskExecutions_maxResults - The maximum number of executed
-- tasks to list.
--
-- ListTaskExecutions, listTaskExecutions_nextToken - An
-- opaque string that indicates the position at which to begin the next
-- list of the executed tasks.
--
-- ListTaskExecutions, listTaskExecutions_taskArn - The
-- Amazon Resource Name (ARN) of the task whose tasks you want to list.
newListTaskExecutions :: ListTaskExecutions
-- | ListTaskExecutionsResponse
--
-- See: newListTaskExecutionsResponse smart constructor.
data ListTaskExecutionsResponse
ListTaskExecutionsResponse' :: Maybe Text -> Maybe [TaskExecutionListEntry] -> Int -> ListTaskExecutionsResponse
-- | Create a value of ListTaskExecutionsResponse 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:
--
-- ListTaskExecutions, listTaskExecutionsResponse_nextToken
-- - An opaque string that indicates the position at which to begin
-- returning the next list of executed tasks.
--
-- $sel:taskExecutions:ListTaskExecutionsResponse',
-- listTaskExecutionsResponse_taskExecutions - A list of executed
-- tasks.
--
-- $sel:httpStatus:ListTaskExecutionsResponse',
-- listTaskExecutionsResponse_httpStatus - The response's http
-- status code.
newListTaskExecutionsResponse :: Int -> ListTaskExecutionsResponse
-- | ListTasksRequest
--
-- See: newListTasks smart constructor.
data ListTasks
ListTasks' :: Maybe [TaskFilter] -> Maybe Natural -> Maybe Text -> ListTasks
-- | Create a value of ListTasks 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:filters:ListTasks', listTasks_filters - 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.
--
-- $sel:maxResults:ListTasks', listTasks_maxResults - The
-- maximum number of tasks to return.
--
-- ListTasks, listTasks_nextToken - An opaque string that
-- indicates the position at which to begin the next list of tasks.
newListTasks :: ListTasks
-- | ListTasksResponse
--
-- See: newListTasksResponse smart constructor.
data ListTasksResponse
ListTasksResponse' :: Maybe Text -> Maybe [TaskListEntry] -> Int -> ListTasksResponse
-- | Create a value of ListTasksResponse 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:
--
-- ListTasks, listTasksResponse_nextToken - An opaque
-- string that indicates the position at which to begin returning the
-- next list of tasks.
--
-- $sel:tasks:ListTasksResponse', listTasksResponse_tasks -
-- A list of all the tasks that are returned.
--
-- $sel:httpStatus:ListTasksResponse',
-- listTasksResponse_httpStatus - The response's http status code.
newListTasksResponse :: Int -> ListTasksResponse
-- | StartTaskExecutionRequest
--
-- See: newStartTaskExecution smart constructor.
data StartTaskExecution
StartTaskExecution' :: Maybe [FilterRule] -> Maybe [FilterRule] -> Maybe Options -> Maybe [TagListEntry] -> Text -> StartTaskExecution
-- | Create a value of StartTaskExecution 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:excludes:StartTaskExecution',
-- startTaskExecution_excludes - 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".
--
-- $sel:includes:StartTaskExecution',
-- startTaskExecution_includes - 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".
--
-- $sel:overrideOptions:StartTaskExecution',
-- startTaskExecution_overrideOptions - Undocumented member.
--
-- $sel:tags:StartTaskExecution', startTaskExecution_tags -
-- 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, startTaskExecution_taskArn -
-- Specifies the Amazon Resource Name (ARN) of the task that you want to
-- start.
newStartTaskExecution :: Text -> StartTaskExecution
-- | StartTaskExecutionResponse
--
-- See: newStartTaskExecutionResponse smart constructor.
data StartTaskExecutionResponse
StartTaskExecutionResponse' :: Maybe Text -> Int -> StartTaskExecutionResponse
-- | Create a value of StartTaskExecutionResponse 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:
--
-- StartTaskExecutionResponse,
-- startTaskExecutionResponse_taskExecutionArn - The ARN of the
-- running task execution.
--
-- $sel:httpStatus:StartTaskExecutionResponse',
-- startTaskExecutionResponse_httpStatus - The response's http
-- status code.
newStartTaskExecutionResponse :: Int -> StartTaskExecutionResponse
-- | TagResourceRequest
--
-- See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> [TagListEntry] -> TagResource
-- | Create a value of TagResource 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:resourceArn:TagResource', tagResource_resourceArn -
-- Specifies the Amazon Resource Name (ARN) of the resource to apply the
-- tag to.
--
-- $sel:tags:TagResource', tagResource_tags - Specifies the
-- tags that you want to apply to the resource.
newTagResource :: Text -> TagResource
-- | See: newTagResourceResponse smart constructor.
data TagResourceResponse
TagResourceResponse' :: Int -> TagResourceResponse
-- | Create a value of TagResourceResponse 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:httpStatus:TagResourceResponse',
-- tagResourceResponse_httpStatus - The response's http status
-- code.
newTagResourceResponse :: Int -> TagResourceResponse
-- | UntagResourceRequest
--
-- See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> NonEmpty Text -> UntagResource
-- | Create a value of UntagResource 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:resourceArn:UntagResource',
-- untagResource_resourceArn - Specifies the Amazon Resource Name
-- (ARN) of the resource to remove the tags from.
--
-- $sel:keys:UntagResource', untagResource_keys - Specifies
-- the keys in the tags that you want to remove.
newUntagResource :: Text -> NonEmpty Text -> UntagResource
-- | See: newUntagResourceResponse smart constructor.
data UntagResourceResponse
UntagResourceResponse' :: Int -> UntagResourceResponse
-- | Create a value of UntagResourceResponse 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:httpStatus:UntagResourceResponse',
-- untagResourceResponse_httpStatus - The response's http status
-- code.
newUntagResourceResponse :: Int -> UntagResourceResponse
-- | UpdateAgentRequest
--
-- See: newUpdateAgent smart constructor.
data UpdateAgent
UpdateAgent' :: Maybe Text -> Text -> UpdateAgent
-- | Create a value of UpdateAgent 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:
--
-- UpdateAgent, updateAgent_name - The name that you want
-- to use to configure the agent.
--
-- UpdateAgent, updateAgent_agentArn - The Amazon Resource
-- Name (ARN) of the agent to update.
newUpdateAgent :: Text -> UpdateAgent
-- | See: newUpdateAgentResponse smart constructor.
data UpdateAgentResponse
UpdateAgentResponse' :: Int -> UpdateAgentResponse
-- | Create a value of UpdateAgentResponse 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:httpStatus:UpdateAgentResponse',
-- updateAgentResponse_httpStatus - The response's http status
-- code.
newUpdateAgentResponse :: Int -> UpdateAgentResponse
-- | See: newUpdateLocationHdfs smart constructor.
data UpdateLocationHdfs
UpdateLocationHdfs' :: Maybe (NonEmpty Text) -> Maybe HdfsAuthenticationType -> Maybe Natural -> Maybe Base64 -> Maybe Base64 -> Maybe Text -> Maybe Text -> Maybe (NonEmpty HdfsNameNode) -> Maybe QopConfiguration -> Maybe Natural -> Maybe Text -> Maybe Text -> Text -> UpdateLocationHdfs
-- | Create a value of UpdateLocationHdfs 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:
--
-- UpdateLocationHdfs, updateLocationHdfs_agentArns - The
-- ARNs of the agents that are used to connect to the HDFS cluster.
--
-- $sel:authenticationType:UpdateLocationHdfs',
-- updateLocationHdfs_authenticationType - The type of
-- authentication used to determine the identity of the user.
--
-- $sel:blockSize:UpdateLocationHdfs',
-- updateLocationHdfs_blockSize - The size of the data blocks to
-- write into the HDFS cluster.
--
-- $sel:kerberosKeytab:UpdateLocationHdfs',
-- updateLocationHdfs_kerberosKeytab - 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.
--
-- $sel:kerberosKrb5Conf:UpdateLocationHdfs',
-- updateLocationHdfs_kerberosKrb5Conf - 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.
--
-- $sel:kerberosPrincipal:UpdateLocationHdfs',
-- updateLocationHdfs_kerberosPrincipal - The Kerberos principal
-- with access to the files and folders on the HDFS cluster.
--
-- $sel:kmsKeyProviderUri:UpdateLocationHdfs',
-- updateLocationHdfs_kmsKeyProviderUri - The URI of the HDFS
-- cluster's Key Management Server (KMS).
--
-- $sel:nameNodes:UpdateLocationHdfs',
-- updateLocationHdfs_nameNodes - 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.
--
-- $sel:qopConfiguration:UpdateLocationHdfs',
-- updateLocationHdfs_qopConfiguration - 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.
--
-- $sel:replicationFactor:UpdateLocationHdfs',
-- updateLocationHdfs_replicationFactor - The number of DataNodes
-- to replicate the data to when writing to the HDFS cluster.
--
-- $sel:simpleUser:UpdateLocationHdfs',
-- updateLocationHdfs_simpleUser - The user name used to identify
-- the client on the host operating system.
--
-- $sel:subdirectory:UpdateLocationHdfs',
-- updateLocationHdfs_subdirectory - A subdirectory in the HDFS
-- cluster. This subdirectory is used to read data from or write data to
-- the HDFS cluster.
--
-- UpdateLocationHdfs, updateLocationHdfs_locationArn - The
-- Amazon Resource Name (ARN) of the source HDFS cluster location.
newUpdateLocationHdfs :: Text -> UpdateLocationHdfs
-- | See: newUpdateLocationHdfsResponse smart constructor.
data UpdateLocationHdfsResponse
UpdateLocationHdfsResponse' :: Int -> UpdateLocationHdfsResponse
-- | Create a value of UpdateLocationHdfsResponse 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:httpStatus:UpdateLocationHdfsResponse',
-- updateLocationHdfsResponse_httpStatus - The response's http
-- status code.
newUpdateLocationHdfsResponse :: Int -> UpdateLocationHdfsResponse
-- | See: newUpdateLocationNfs smart constructor.
data UpdateLocationNfs
UpdateLocationNfs' :: Maybe NfsMountOptions -> Maybe OnPremConfig -> Maybe Text -> Text -> UpdateLocationNfs
-- | Create a value of UpdateLocationNfs 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:
--
-- UpdateLocationNfs, updateLocationNfs_mountOptions -
-- Undocumented member.
--
-- $sel:onPremConfig:UpdateLocationNfs',
-- updateLocationNfs_onPremConfig - Undocumented member.
--
-- $sel:subdirectory:UpdateLocationNfs',
-- updateLocationNfs_subdirectory - 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, updateLocationNfs_locationArn - The
-- Amazon Resource Name (ARN) of the NFS location to update.
newUpdateLocationNfs :: Text -> UpdateLocationNfs
-- | See: newUpdateLocationNfsResponse smart constructor.
data UpdateLocationNfsResponse
UpdateLocationNfsResponse' :: Int -> UpdateLocationNfsResponse
-- | Create a value of UpdateLocationNfsResponse 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:httpStatus:UpdateLocationNfsResponse',
-- updateLocationNfsResponse_httpStatus - The response's http
-- status code.
newUpdateLocationNfsResponse :: Int -> UpdateLocationNfsResponse
-- | See: newUpdateLocationObjectStorage smart constructor.
data UpdateLocationObjectStorage
UpdateLocationObjectStorage' :: Maybe Text -> Maybe (NonEmpty Text) -> Maybe (Sensitive Text) -> Maybe Base64 -> Maybe Natural -> Maybe ObjectStorageServerProtocol -> Maybe Text -> Text -> UpdateLocationObjectStorage
-- | Create a value of UpdateLocationObjectStorage 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:accessKey:UpdateLocationObjectStorage',
-- updateLocationObjectStorage_accessKey - Specifies the access
-- key (for example, a user name) if credentials are required to
-- authenticate with the object storage server.
--
-- UpdateLocationObjectStorage,
-- updateLocationObjectStorage_agentArns - Specifies the Amazon
-- Resource Names (ARNs) of the DataSync agents that can securely connect
-- with your location.
--
-- $sel:secretKey:UpdateLocationObjectStorage',
-- updateLocationObjectStorage_secretKey - Specifies the secret
-- key (for example, a password) if credentials are required to
-- authenticate with the object storage server.
--
-- $sel:serverCertificate:UpdateLocationObjectStorage',
-- updateLocationObjectStorage_serverCertificate - 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.
--
-- $sel:serverPort:UpdateLocationObjectStorage',
-- updateLocationObjectStorage_serverPort - Specifies the port
-- that your object storage server accepts inbound network traffic on
-- (for example, port 443).
--
-- $sel:serverProtocol:UpdateLocationObjectStorage',
-- updateLocationObjectStorage_serverProtocol - Specifies the
-- protocol that your object storage server uses to communicate.
--
-- $sel:subdirectory:UpdateLocationObjectStorage',
-- updateLocationObjectStorage_subdirectory - 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,
-- updateLocationObjectStorage_locationArn - Specifies the ARN of
-- the object storage system location that you're updating.
newUpdateLocationObjectStorage :: Text -> UpdateLocationObjectStorage
-- | See: newUpdateLocationObjectStorageResponse smart
-- constructor.
data UpdateLocationObjectStorageResponse
UpdateLocationObjectStorageResponse' :: Int -> UpdateLocationObjectStorageResponse
-- | Create a value of UpdateLocationObjectStorageResponse 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:httpStatus:UpdateLocationObjectStorageResponse',
-- updateLocationObjectStorageResponse_httpStatus - The response's
-- http status code.
newUpdateLocationObjectStorageResponse :: Int -> UpdateLocationObjectStorageResponse
-- | See: newUpdateLocationSmb smart constructor.
data UpdateLocationSmb
UpdateLocationSmb' :: Maybe (NonEmpty Text) -> Maybe Text -> Maybe SmbMountOptions -> Maybe (Sensitive Text) -> Maybe Text -> Maybe Text -> Text -> UpdateLocationSmb
-- | Create a value of UpdateLocationSmb 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:
--
-- UpdateLocationSmb, updateLocationSmb_agentArns - The
-- Amazon Resource Names (ARNs) of agents to use for a Simple Message
-- Block (SMB) location.
--
-- UpdateLocationSmb, updateLocationSmb_domain - The name
-- of the Windows domain that the SMB server belongs to.
--
-- UpdateLocationSmb, updateLocationSmb_mountOptions -
-- Undocumented member.
--
-- UpdateLocationSmb, updateLocationSmb_password - The
-- password of the user who can mount the share has the permissions to
-- access files and folders in the SMB share.
--
-- $sel:subdirectory:UpdateLocationSmb',
-- updateLocationSmb_subdirectory - 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, updateLocationSmb_user - The user who
-- can mount the share has the permissions to access files and folders in
-- the SMB share.
--
-- UpdateLocationSmb, updateLocationSmb_locationArn - The
-- Amazon Resource Name (ARN) of the SMB location to update.
newUpdateLocationSmb :: Text -> UpdateLocationSmb
-- | See: newUpdateLocationSmbResponse smart constructor.
data UpdateLocationSmbResponse
UpdateLocationSmbResponse' :: Int -> UpdateLocationSmbResponse
-- | Create a value of UpdateLocationSmbResponse 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:httpStatus:UpdateLocationSmbResponse',
-- updateLocationSmbResponse_httpStatus - The response's http
-- status code.
newUpdateLocationSmbResponse :: Int -> UpdateLocationSmbResponse
-- | UpdateTaskResponse
--
-- See: newUpdateTask smart constructor.
data UpdateTask
UpdateTask' :: Maybe Text -> Maybe [FilterRule] -> Maybe [FilterRule] -> Maybe Text -> Maybe Options -> Maybe TaskSchedule -> Text -> UpdateTask
-- | Create a value of UpdateTask 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:cloudWatchLogGroupArn:UpdateTask',
-- updateTask_cloudWatchLogGroupArn - The Amazon Resource Name
-- (ARN) of the resource name of the Amazon CloudWatch log group.
--
-- $sel:excludes:UpdateTask', updateTask_excludes -
-- Specifies a list of filter rules that exclude specific data during
-- your transfer. For more information and examples, see Filtering
-- data transferred by DataSync.
--
-- $sel:includes:UpdateTask', updateTask_includes -
-- 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, updateTask_name - The name of the task to
-- update.
--
-- $sel:options:UpdateTask', updateTask_options -
-- Undocumented member.
--
-- $sel:schedule:UpdateTask', updateTask_schedule -
-- 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, updateTask_taskArn - The Amazon Resource
-- Name (ARN) of the resource name of the task to update.
newUpdateTask :: Text -> UpdateTask
-- | See: newUpdateTaskResponse smart constructor.
data UpdateTaskResponse
UpdateTaskResponse' :: Int -> UpdateTaskResponse
-- | Create a value of UpdateTaskResponse 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:httpStatus:UpdateTaskResponse',
-- updateTaskResponse_httpStatus - The response's http status
-- code.
newUpdateTaskResponse :: Int -> UpdateTaskResponse
-- | See: newUpdateTaskExecution smart constructor.
data UpdateTaskExecution
UpdateTaskExecution' :: Text -> Options -> UpdateTaskExecution
-- | Create a value of UpdateTaskExecution 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:
--
-- UpdateTaskExecution,
-- updateTaskExecution_taskExecutionArn - The Amazon Resource Name
-- (ARN) of the specific task execution that is being updated.
--
-- $sel:options:UpdateTaskExecution',
-- updateTaskExecution_options - Undocumented member.
newUpdateTaskExecution :: Text -> Options -> UpdateTaskExecution
-- | See: newUpdateTaskExecutionResponse smart constructor.
data UpdateTaskExecutionResponse
UpdateTaskExecutionResponse' :: Int -> UpdateTaskExecutionResponse
-- | Create a value of UpdateTaskExecutionResponse 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:httpStatus:UpdateTaskExecutionResponse',
-- updateTaskExecutionResponse_httpStatus - The response's http
-- status code.
newUpdateTaskExecutionResponse :: Int -> UpdateTaskExecutionResponse
newtype AgentStatus
AgentStatus' :: Text -> AgentStatus
[fromAgentStatus] :: AgentStatus -> Text
pattern AgentStatus_OFFLINE :: AgentStatus
pattern AgentStatus_ONLINE :: AgentStatus
newtype Atime
Atime' :: Text -> Atime
[fromAtime] :: Atime -> Text
pattern Atime_BEST_EFFORT :: Atime
pattern Atime_NONE :: Atime
newtype EfsInTransitEncryption
EfsInTransitEncryption' :: Text -> EfsInTransitEncryption
[fromEfsInTransitEncryption] :: EfsInTransitEncryption -> Text
pattern EfsInTransitEncryption_NONE :: EfsInTransitEncryption
pattern EfsInTransitEncryption_TLS1_2 :: EfsInTransitEncryption
newtype EndpointType
EndpointType' :: Text -> EndpointType
[fromEndpointType] :: EndpointType -> Text
pattern EndpointType_FIPS :: EndpointType
pattern EndpointType_PRIVATE_LINK :: EndpointType
pattern EndpointType_PUBLIC :: EndpointType
newtype FilterType
FilterType' :: Text -> FilterType
[fromFilterType] :: FilterType -> Text
pattern FilterType_SIMPLE_PATTERN :: FilterType
newtype Gid
Gid' :: Text -> Gid
[fromGid] :: Gid -> Text
pattern Gid_BOTH :: Gid
pattern Gid_INT_VALUE :: Gid
pattern Gid_NAME :: Gid
pattern Gid_NONE :: Gid
newtype HdfsAuthenticationType
HdfsAuthenticationType' :: Text -> HdfsAuthenticationType
[fromHdfsAuthenticationType] :: HdfsAuthenticationType -> Text
pattern HdfsAuthenticationType_KERBEROS :: HdfsAuthenticationType
pattern HdfsAuthenticationType_SIMPLE :: HdfsAuthenticationType
newtype HdfsDataTransferProtection
HdfsDataTransferProtection' :: Text -> HdfsDataTransferProtection
[fromHdfsDataTransferProtection] :: HdfsDataTransferProtection -> Text
pattern HdfsDataTransferProtection_AUTHENTICATION :: HdfsDataTransferProtection
pattern HdfsDataTransferProtection_DISABLED :: HdfsDataTransferProtection
pattern HdfsDataTransferProtection_INTEGRITY :: HdfsDataTransferProtection
pattern HdfsDataTransferProtection_PRIVACY :: HdfsDataTransferProtection
newtype HdfsRpcProtection
HdfsRpcProtection' :: Text -> HdfsRpcProtection
[fromHdfsRpcProtection] :: HdfsRpcProtection -> Text
pattern HdfsRpcProtection_AUTHENTICATION :: HdfsRpcProtection
pattern HdfsRpcProtection_DISABLED :: HdfsRpcProtection
pattern HdfsRpcProtection_INTEGRITY :: HdfsRpcProtection
pattern HdfsRpcProtection_PRIVACY :: HdfsRpcProtection
newtype LocationFilterName
LocationFilterName' :: Text -> LocationFilterName
[fromLocationFilterName] :: LocationFilterName -> Text
pattern LocationFilterName_CreationTime :: LocationFilterName
pattern LocationFilterName_LocationType :: LocationFilterName
pattern LocationFilterName_LocationUri :: LocationFilterName
newtype LogLevel
LogLevel' :: Text -> LogLevel
[fromLogLevel] :: LogLevel -> Text
pattern LogLevel_BASIC :: LogLevel
pattern LogLevel_OFF :: LogLevel
pattern LogLevel_TRANSFER :: LogLevel
newtype Mtime
Mtime' :: Text -> Mtime
[fromMtime] :: Mtime -> Text
pattern Mtime_NONE :: Mtime
pattern Mtime_PRESERVE :: Mtime
newtype NfsVersion
NfsVersion' :: Text -> NfsVersion
[fromNfsVersion] :: NfsVersion -> Text
pattern NfsVersion_AUTOMATIC :: NfsVersion
pattern NfsVersion_NFS3 :: NfsVersion
pattern NfsVersion_NFS4_0 :: NfsVersion
pattern NfsVersion_NFS4_1 :: NfsVersion
newtype ObjectStorageServerProtocol
ObjectStorageServerProtocol' :: Text -> ObjectStorageServerProtocol
[fromObjectStorageServerProtocol] :: ObjectStorageServerProtocol -> Text
pattern ObjectStorageServerProtocol_HTTP :: ObjectStorageServerProtocol
pattern ObjectStorageServerProtocol_HTTPS :: ObjectStorageServerProtocol
newtype ObjectTags
ObjectTags' :: Text -> ObjectTags
[fromObjectTags] :: ObjectTags -> Text
pattern ObjectTags_NONE :: ObjectTags
pattern ObjectTags_PRESERVE :: ObjectTags
newtype Operator
Operator' :: Text -> Operator
[fromOperator] :: Operator -> 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
newtype OverwriteMode
OverwriteMode' :: Text -> OverwriteMode
[fromOverwriteMode] :: OverwriteMode -> Text
pattern OverwriteMode_ALWAYS :: OverwriteMode
pattern OverwriteMode_NEVER :: OverwriteMode
newtype PhaseStatus
PhaseStatus' :: Text -> PhaseStatus
[fromPhaseStatus] :: PhaseStatus -> Text
pattern PhaseStatus_ERROR :: PhaseStatus
pattern PhaseStatus_PENDING :: PhaseStatus
pattern PhaseStatus_SUCCESS :: PhaseStatus
newtype PosixPermissions
PosixPermissions' :: Text -> PosixPermissions
[fromPosixPermissions] :: PosixPermissions -> Text
pattern PosixPermissions_NONE :: PosixPermissions
pattern PosixPermissions_PRESERVE :: PosixPermissions
newtype PreserveDeletedFiles
PreserveDeletedFiles' :: Text -> PreserveDeletedFiles
[fromPreserveDeletedFiles] :: PreserveDeletedFiles -> Text
pattern PreserveDeletedFiles_PRESERVE :: PreserveDeletedFiles
pattern PreserveDeletedFiles_REMOVE :: PreserveDeletedFiles
newtype PreserveDevices
PreserveDevices' :: Text -> PreserveDevices
[fromPreserveDevices] :: PreserveDevices -> Text
pattern PreserveDevices_NONE :: PreserveDevices
pattern PreserveDevices_PRESERVE :: PreserveDevices
newtype S3StorageClass
S3StorageClass' :: Text -> S3StorageClass
[fromS3StorageClass] :: S3StorageClass -> Text
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
SmbSecurityDescriptorCopyFlags' :: Text -> SmbSecurityDescriptorCopyFlags
[fromSmbSecurityDescriptorCopyFlags] :: SmbSecurityDescriptorCopyFlags -> Text
pattern SmbSecurityDescriptorCopyFlags_NONE :: SmbSecurityDescriptorCopyFlags
pattern SmbSecurityDescriptorCopyFlags_OWNER_DACL :: SmbSecurityDescriptorCopyFlags
pattern SmbSecurityDescriptorCopyFlags_OWNER_DACL_SACL :: SmbSecurityDescriptorCopyFlags
newtype SmbVersion
SmbVersion' :: Text -> SmbVersion
[fromSmbVersion] :: SmbVersion -> Text
pattern SmbVersion_AUTOMATIC :: SmbVersion
pattern SmbVersion_SMB2 :: SmbVersion
pattern SmbVersion_SMB3 :: SmbVersion
newtype TaskExecutionStatus
TaskExecutionStatus' :: Text -> TaskExecutionStatus
[fromTaskExecutionStatus] :: TaskExecutionStatus -> Text
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
TaskFilterName' :: Text -> TaskFilterName
[fromTaskFilterName] :: TaskFilterName -> Text
pattern TaskFilterName_CreationTime :: TaskFilterName
pattern TaskFilterName_LocationId :: TaskFilterName
newtype TaskQueueing
TaskQueueing' :: Text -> TaskQueueing
[fromTaskQueueing] :: TaskQueueing -> Text
pattern TaskQueueing_DISABLED :: TaskQueueing
pattern TaskQueueing_ENABLED :: TaskQueueing
newtype TaskStatus
TaskStatus' :: Text -> TaskStatus
[fromTaskStatus] :: TaskStatus -> Text
pattern TaskStatus_AVAILABLE :: TaskStatus
pattern TaskStatus_CREATING :: TaskStatus
pattern TaskStatus_QUEUED :: TaskStatus
pattern TaskStatus_RUNNING :: TaskStatus
pattern TaskStatus_UNAVAILABLE :: TaskStatus
newtype TransferMode
TransferMode' :: Text -> TransferMode
[fromTransferMode] :: TransferMode -> Text
pattern TransferMode_ALL :: TransferMode
pattern TransferMode_CHANGED :: TransferMode
newtype Uid
Uid' :: Text -> Uid
[fromUid] :: Uid -> Text
pattern Uid_BOTH :: Uid
pattern Uid_INT_VALUE :: Uid
pattern Uid_NAME :: Uid
pattern Uid_NONE :: Uid
newtype VerifyMode
VerifyMode' :: Text -> VerifyMode
[fromVerifyMode] :: VerifyMode -> Text
pattern VerifyMode_NONE :: VerifyMode
pattern VerifyMode_ONLY_FILES_TRANSFERRED :: VerifyMode
pattern VerifyMode_POINT_IN_TIME_CONSISTENT :: VerifyMode
-- | 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.
data AgentListEntry
AgentListEntry' :: Maybe Text -> Maybe Text -> Maybe AgentStatus -> AgentListEntry
-- | 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.
newAgentListEntry :: AgentListEntry
-- | The subnet and security groups that DataSync uses to access your
-- Amazon EFS file system.
--
-- See: newEc2Config smart constructor.
data Ec2Config
Ec2Config' :: Text -> NonEmpty Text -> Ec2Config
-- | 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.
newEc2Config :: Text -> NonEmpty Text -> Ec2Config
-- | Specifies which files, folders, and objects to include or exclude when
-- transferring files from source to destination.
--
-- See: newFilterRule smart constructor.
data FilterRule
FilterRule' :: Maybe FilterType -> Maybe Text -> FilterRule
-- | 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
newFilterRule :: FilterRule
-- | Specifies the data transfer protocol that DataSync uses to access your
-- Amazon FSx file system.
--
-- See: newFsxProtocol smart constructor.
data FsxProtocol
FsxProtocol' :: Maybe FsxProtocolNfs -> Maybe FsxProtocolSmb -> FsxProtocol
-- | 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.
newFsxProtocol :: FsxProtocol
-- | 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.
data FsxProtocolNfs
FsxProtocolNfs' :: Maybe NfsMountOptions -> FsxProtocolNfs
-- | 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.
newFsxProtocolNfs :: FsxProtocolNfs
-- | 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.
data FsxProtocolSmb
FsxProtocolSmb' :: Maybe Text -> Maybe SmbMountOptions -> Sensitive Text -> Text -> FsxProtocolSmb
-- | 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.
--
newFsxProtocolSmb :: Text -> Text -> FsxProtocolSmb
-- | 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.
data HdfsNameNode
HdfsNameNode' :: Text -> Natural -> HdfsNameNode
-- | 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.
newHdfsNameNode :: Text -> Natural -> HdfsNameNode
-- | 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.
data LocationFilter
LocationFilter' :: LocationFilterName -> [Text] -> Operator -> LocationFilter
-- | 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).
newLocationFilter :: LocationFilterName -> Operator -> LocationFilter
-- | 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.
data LocationListEntry
LocationListEntry' :: Maybe Text -> Maybe Text -> LocationListEntry
-- | 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.
newLocationListEntry :: LocationListEntry
-- | Specifies how DataSync can access a location using the NFS protocol.
--
-- See: newNfsMountOptions smart constructor.
data NfsMountOptions
NfsMountOptions' :: Maybe NfsVersion -> NfsMountOptions
-- | 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.
newNfsMountOptions :: NfsMountOptions
-- | A list of Amazon Resource Names (ARNs) of agents to use for a Network
-- File System (NFS) location.
--
-- See: newOnPremConfig smart constructor.
data OnPremConfig
OnPremConfig' :: NonEmpty Text -> OnPremConfig
-- | 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.
newOnPremConfig :: NonEmpty Text -> OnPremConfig
-- | 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.
data Options
Options' :: Maybe Atime -> Maybe Integer -> Maybe Gid -> Maybe LogLevel -> Maybe Mtime -> Maybe ObjectTags -> Maybe OverwriteMode -> Maybe PosixPermissions -> Maybe PreserveDeletedFiles -> Maybe PreserveDevices -> Maybe SmbSecurityDescriptorCopyFlags -> Maybe TaskQueueing -> Maybe TransferMode -> Maybe Uid -> Maybe VerifyMode -> Options
-- | 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.
newOptions :: Options
-- | 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.
data PrivateLinkConfig
PrivateLinkConfig' :: Maybe Text -> Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe Text -> PrivateLinkConfig
-- | 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.
newPrivateLinkConfig :: PrivateLinkConfig
-- | 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.
data QopConfiguration
QopConfiguration' :: Maybe HdfsDataTransferProtection -> Maybe HdfsRpcProtection -> QopConfiguration
-- | 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.
newQopConfiguration :: QopConfiguration
-- | 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.
data S3Config
S3Config' :: Text -> 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.
newS3Config :: Text -> S3Config
-- | Specifies how DataSync can access a location using the SMB protocol.
--
-- See: newSmbMountOptions smart constructor.
data SmbMountOptions
SmbMountOptions' :: Maybe SmbVersion -> SmbMountOptions
-- | 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.
newSmbMountOptions :: SmbMountOptions
-- | A key-value pair representing a single tag that's been applied to an
-- Amazon Web Services resource.
--
-- See: newTagListEntry smart constructor.
data TagListEntry
TagListEntry' :: Maybe Text -> Text -> TagListEntry
-- | 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.
newTagListEntry :: Text -> TagListEntry
-- | 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.
data TaskExecutionListEntry
TaskExecutionListEntry' :: Maybe TaskExecutionStatus -> Maybe Text -> TaskExecutionListEntry
-- | 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.
newTaskExecutionListEntry :: TaskExecutionListEntry
-- | 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.
data TaskExecutionResultDetail
TaskExecutionResultDetail' :: Maybe Text -> Maybe Text -> Maybe Natural -> Maybe PhaseStatus -> Maybe Natural -> Maybe Natural -> Maybe PhaseStatus -> Maybe Natural -> Maybe PhaseStatus -> TaskExecutionResultDetail
-- | 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.
newTaskExecutionResultDetail :: TaskExecutionResultDetail
-- | 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.
data TaskFilter
TaskFilter' :: TaskFilterName -> [Text] -> Operator -> TaskFilter
-- | 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).
newTaskFilter :: TaskFilterName -> Operator -> TaskFilter
-- | 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.
data TaskListEntry
TaskListEntry' :: Maybe Text -> Maybe TaskStatus -> Maybe Text -> TaskListEntry
-- | 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.
newTaskListEntry :: TaskListEntry
-- | Specifies the schedule you want your task to use for repeated
-- executions. For more information, see Schedule Expressions for
-- Rules.
--
-- See: newTaskSchedule smart constructor.
data TaskSchedule
TaskSchedule' :: Text -> TaskSchedule
-- | 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.
newTaskSchedule :: Text -> TaskSchedule