StopMigration
Stops an ongoing data sync between the source and the serverless cache. The migration returns
to ready-to-sync, and you can start the data sync again. If the migration has
reported an error, a later StartMigration is rejected, and you must use
CompleteMigration with Force to end the migration. This operation is
valid only while the migration is syncing. While the migration is cutting-over,
StopMigration fails with InvalidServerlessCacheStateFault.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- ServerlessCacheName
-
The name of the serverless cache for which to stop the data sync.
Type: String
Required: Yes
Response Elements
The following element is returned by the service.
- ServerlessCache
-
Provides the details of the serverless cache for which the data sync stopped.
Type: ServerlessCache object
Errors
For information about the errors that are common to all actions, see Common Error Types.
- InvalidParameterValue
-
The value for a parameter is invalid.
- message
-
A parameter value is invalid.
HTTP Status Code: 400
- InvalidServerlessCacheStateFault
-
The serverless cache or the migration is not in a state that allows the operation.
HTTP Status Code: 400
- ServerlessCacheNotFoundFault
-
The serverless cache was not found or does not exist.
HTTP Status Code: 404
- ServerlessCacheNotUnderMigrationFault
-
The serverless cache is not currently under migration.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: