Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Amazon Server Migration Service automates the process of migrating servers to EC2.
- sms :: Service
- _ReplicationRunLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- _NoConnectorsAvailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _ReplicationJobNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServerCannotBeReplicatedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalError :: AsError a => Getting (First ServiceError) a ServiceError
- _ReplicationJobAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _OperationNotPermittedException :: AsError a => Getting (First ServiceError) a ServiceError
- _MissingRequiredParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnauthorizedOperationException :: AsError a => Getting (First ServiceError) a ServiceError
- module Network.AWS.SMS.DeleteServerCatalog
- module Network.AWS.SMS.GetReplicationRuns
- module Network.AWS.SMS.GetServers
- module Network.AWS.SMS.ImportServerCatalog
- module Network.AWS.SMS.GetConnectors
- module Network.AWS.SMS.GetReplicationJobs
- module Network.AWS.SMS.DisassociateConnector
- module Network.AWS.SMS.CreateReplicationJob
- module Network.AWS.SMS.UpdateReplicationJob
- module Network.AWS.SMS.DeleteReplicationJob
- module Network.AWS.SMS.StartOnDemandReplicationRun
- data ConnectorCapability = CCVsphere
- data ConnectorStatus
- data LicenseType
- data ReplicationJobState
- data ReplicationRunState
- data ReplicationRunType
- data ServerCatalogStatus
- data ServerType = VirtualMachine
- data VMManagerType = Vsphere
- data Connector
- connector :: Connector
- cStatus :: Lens' Connector (Maybe ConnectorStatus)
- cVmManagerName :: Lens' Connector (Maybe Text)
- cIpAddress :: Lens' Connector (Maybe Text)
- cVmManagerId :: Lens' Connector (Maybe Text)
- cVmManagerType :: Lens' Connector (Maybe VMManagerType)
- cConnectorId :: Lens' Connector (Maybe Text)
- cAssociatedOn :: Lens' Connector (Maybe UTCTime)
- cMacAddress :: Lens' Connector (Maybe Text)
- cVersion :: Lens' Connector (Maybe Text)
- cCapabilityList :: Lens' Connector [ConnectorCapability]
- data ReplicationJob
- replicationJob :: ReplicationJob
- rjFrequency :: Lens' ReplicationJob (Maybe Int)
- rjState :: Lens' ReplicationJob (Maybe ReplicationJobState)
- rjServerType :: Lens' ReplicationJob (Maybe ServerType)
- rjServerId :: Lens' ReplicationJob (Maybe Text)
- rjLicenseType :: Lens' ReplicationJob (Maybe LicenseType)
- rjRoleName :: Lens' ReplicationJob (Maybe Text)
- rjVmServer :: Lens' ReplicationJob (Maybe VMServer)
- rjReplicationJobId :: Lens' ReplicationJob (Maybe Text)
- rjReplicationRunList :: Lens' ReplicationJob [ReplicationRun]
- rjNextReplicationRunStartTime :: Lens' ReplicationJob (Maybe UTCTime)
- rjStatusMessage :: Lens' ReplicationJob (Maybe Text)
- rjLatestAMIId :: Lens' ReplicationJob (Maybe Text)
- rjSeedReplicationTime :: Lens' ReplicationJob (Maybe UTCTime)
- rjDescription :: Lens' ReplicationJob (Maybe Text)
- data ReplicationRun
- replicationRun :: ReplicationRun
- rrState :: Lens' ReplicationRun (Maybe ReplicationRunState)
- rrReplicationRunId :: Lens' ReplicationRun (Maybe Text)
- rrScheduledStartTime :: Lens' ReplicationRun (Maybe UTCTime)
- rrStatusMessage :: Lens' ReplicationRun (Maybe Text)
- rrCompletedTime :: Lens' ReplicationRun (Maybe UTCTime)
- rrAmiId :: Lens' ReplicationRun (Maybe Text)
- rrType :: Lens' ReplicationRun (Maybe ReplicationRunType)
- rrDescription :: Lens' ReplicationRun (Maybe Text)
- data Server
- server :: Server
- sServerType :: Lens' Server (Maybe ServerType)
- sServerId :: Lens' Server (Maybe Text)
- sReplicationJobTerminated :: Lens' Server (Maybe Bool)
- sVmServer :: Lens' Server (Maybe VMServer)
- sReplicationJobId :: Lens' Server (Maybe Text)
- data VMServer
- vMServer :: VMServer
- vmsVmManagerName :: Lens' VMServer (Maybe Text)
- vmsVmManagerType :: Lens' VMServer (Maybe VMManagerType)
- vmsVmServerAddress :: Lens' VMServer (Maybe VMServerAddress)
- vmsVmName :: Lens' VMServer (Maybe Text)
- vmsVmPath :: Lens' VMServer (Maybe Text)
- data VMServerAddress
- vMServerAddress :: VMServerAddress
- vmsaVmManagerId :: Lens' VMServerAddress (Maybe Text)
- vmsaVmId :: Lens' VMServerAddress (Maybe Text)
Service Configuration
API version 2016-10-24
of the Amazon Server Migration Service SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by SMS
.
ReplicationRunLimitExceededException
_ReplicationRunLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
This user has exceeded the maximum allowed Replication Run limit.
InvalidParameterException
_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A parameter specified in the request is not valid, is unsupported, or cannot be used.
NoConnectorsAvailableException
_NoConnectorsAvailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
No connectors are available to handle this request. Please associate connector(s) and verify any existing connectors are healthy and can respond to requests.
ReplicationJobNotFoundException
_ReplicationJobNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified Replication Job cannot be found.
ServerCannotBeReplicatedException
_ServerCannotBeReplicatedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The provided server cannot be replicated.
InternalError
_InternalError :: AsError a => Getting (First ServiceError) a ServiceError Source #
An internal error has occured.
ReplicationJobAlreadyExistsException
_ReplicationJobAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An active Replication Job already exists for the specified server.
OperationNotPermittedException
_OperationNotPermittedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified operation is not allowed. This error can occur for a number of reasons; for example, you might be trying to start a Replication Run before seed Replication Run.
MissingRequiredParameterException
_MissingRequiredParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request is missing a required parameter. Ensure that you have supplied all the required parameters for the request.
UnauthorizedOperationException
_UnauthorizedOperationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
This user does not have permissions to perform this operation.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
DeleteServerCatalog
GetReplicationRuns
GetServers
module Network.AWS.SMS.GetServers
ImportServerCatalog
GetConnectors
GetReplicationJobs
DisassociateConnector
CreateReplicationJob
UpdateReplicationJob
DeleteReplicationJob
StartOnDemandReplicationRun
Types
ConnectorCapability
data ConnectorCapability Source #
Capabilities for a Connector
ConnectorStatus
data ConnectorStatus Source #
Status of on-premise Connector
LicenseType
data LicenseType Source #
The license type to be used for the Amazon Machine Image (AMI) created after a successful ReplicationRun.
ReplicationJobState
data ReplicationJobState Source #
Current state of Replication Job
ReplicationRunState
data ReplicationRunState Source #
Current state of Replication Run
ReplicationRunType
data ReplicationRunType Source #
Type of Replication Run
ServerCatalogStatus
data ServerCatalogStatus Source #
Status of Server catalog
ServerType
data ServerType Source #
Type of server.
VMManagerType
data VMManagerType Source #
VM Management Product
Connector
Object representing a Connector
See: connector
smart constructor.
connector :: Connector Source #
Creates a value of Connector
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cStatus
- Undocumented member.cVmManagerName
- Undocumented member.cIpAddress
- Undocumented member.cVmManagerId
- Undocumented member.cVmManagerType
- Undocumented member.cConnectorId
- Undocumented member.cAssociatedOn
- Undocumented member.cMacAddress
- Undocumented member.cVersion
- Undocumented member.cCapabilityList
- Undocumented member.
cVmManagerType :: Lens' Connector (Maybe VMManagerType) Source #
Undocumented member.
cCapabilityList :: Lens' Connector [ConnectorCapability] Source #
Undocumented member.
ReplicationJob
data ReplicationJob Source #
Object representing a Replication Job
See: replicationJob
smart constructor.
replicationJob :: ReplicationJob Source #
Creates a value of ReplicationJob
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rjFrequency
- Undocumented member.rjState
- Undocumented member.rjServerType
- Undocumented member.rjServerId
- Undocumented member.rjLicenseType
- Undocumented member.rjRoleName
- Undocumented member.rjVmServer
- Undocumented member.rjReplicationJobId
- Undocumented member.rjReplicationRunList
- Undocumented member.rjNextReplicationRunStartTime
- Undocumented member.rjStatusMessage
- Undocumented member.rjLatestAMIId
- Undocumented member.rjSeedReplicationTime
- Undocumented member.rjDescription
- Undocumented member.
rjFrequency :: Lens' ReplicationJob (Maybe Int) Source #
Undocumented member.
rjState :: Lens' ReplicationJob (Maybe ReplicationJobState) Source #
Undocumented member.
rjServerType :: Lens' ReplicationJob (Maybe ServerType) Source #
Undocumented member.
rjServerId :: Lens' ReplicationJob (Maybe Text) Source #
Undocumented member.
rjLicenseType :: Lens' ReplicationJob (Maybe LicenseType) Source #
Undocumented member.
rjRoleName :: Lens' ReplicationJob (Maybe Text) Source #
Undocumented member.
rjVmServer :: Lens' ReplicationJob (Maybe VMServer) Source #
Undocumented member.
rjReplicationJobId :: Lens' ReplicationJob (Maybe Text) Source #
Undocumented member.
rjReplicationRunList :: Lens' ReplicationJob [ReplicationRun] Source #
Undocumented member.
rjNextReplicationRunStartTime :: Lens' ReplicationJob (Maybe UTCTime) Source #
Undocumented member.
rjStatusMessage :: Lens' ReplicationJob (Maybe Text) Source #
Undocumented member.
rjLatestAMIId :: Lens' ReplicationJob (Maybe Text) Source #
Undocumented member.
rjSeedReplicationTime :: Lens' ReplicationJob (Maybe UTCTime) Source #
Undocumented member.
rjDescription :: Lens' ReplicationJob (Maybe Text) Source #
Undocumented member.
ReplicationRun
data ReplicationRun Source #
Object representing a Replication Run
See: replicationRun
smart constructor.
replicationRun :: ReplicationRun Source #
Creates a value of ReplicationRun
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rrState
- Undocumented member.rrReplicationRunId
- Undocumented member.rrScheduledStartTime
- Undocumented member.rrStatusMessage
- Undocumented member.rrCompletedTime
- Undocumented member.rrAmiId
- Undocumented member.rrType
- Undocumented member.rrDescription
- Undocumented member.
rrState :: Lens' ReplicationRun (Maybe ReplicationRunState) Source #
Undocumented member.
rrReplicationRunId :: Lens' ReplicationRun (Maybe Text) Source #
Undocumented member.
rrScheduledStartTime :: Lens' ReplicationRun (Maybe UTCTime) Source #
Undocumented member.
rrStatusMessage :: Lens' ReplicationRun (Maybe Text) Source #
Undocumented member.
rrCompletedTime :: Lens' ReplicationRun (Maybe UTCTime) Source #
Undocumented member.
rrType :: Lens' ReplicationRun (Maybe ReplicationRunType) Source #
Undocumented member.
rrDescription :: Lens' ReplicationRun (Maybe Text) Source #
Undocumented member.
Server
Object representing a server
See: server
smart constructor.
Creates a value of Server
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sServerType
- Undocumented member.sServerId
- Undocumented member.sReplicationJobTerminated
- Undocumented member.sVmServer
- Undocumented member.sReplicationJobId
- Undocumented member.
sServerType :: Lens' Server (Maybe ServerType) Source #
Undocumented member.
VMServer
Object representing a VM server
See: vMServer
smart constructor.
Creates a value of VMServer
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vmsVmManagerName
- Undocumented member.vmsVmManagerType
- Undocumented member.vmsVmServerAddress
- Undocumented member.vmsVmName
- Undocumented member.vmsVmPath
- Undocumented member.
vmsVmManagerType :: Lens' VMServer (Maybe VMManagerType) Source #
Undocumented member.
vmsVmServerAddress :: Lens' VMServer (Maybe VMServerAddress) Source #
Undocumented member.
VMServerAddress
data VMServerAddress Source #
Object representing a server's location
See: vMServerAddress
smart constructor.
vMServerAddress :: VMServerAddress Source #
Creates a value of VMServerAddress
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vmsaVmManagerId
- Undocumented member.vmsaVmId
- Undocumented member.
vmsaVmManagerId :: Lens' VMServerAddress (Maybe Text) Source #
Undocumented member.