prepare_migration
async
¶
prepare_migration(
*,
config_overrides: Optional[AsyncElastiCacheClientConfig] = None,
serverless_cache_name: Optional[String] = None,
customer_node_endpoint_list: Optional[CustomerNodeEndpointList] = None,
source_authentication_configuration: Optional[
SourceAuthenticationConfiguration
] = None,
source_tls_configuration: Optional[SourceTlsConfiguration] = None,
) -> PrepareMigrationResponse
Prepares the serverless cache for data migration by validating the configuration and setting up the migration resources.
Parameters:
-
serverless_cache_name(Optional[String], default:None) –The name of the serverless cache to prepare for migration.
-
customer_node_endpoint_list(Optional[CustomerNodeEndpointList], default:None) –The list of endpoints from which to migrate data. For serverless cache migrations, the list should have only one element.
-
source_authentication_configuration(Optional[SourceAuthenticationConfiguration], default:None) –The authentication configuration for connecting to the source during migration.
-
source_tls_configuration(Optional[SourceTlsConfiguration], default:None) –The TLS configuration for connecting to the source during migration.
Raises:
-
InvalidParameterValueException–The value for a parameter is invalid.
-
InvalidServerlessCacheStateFault–The account for these credentials is not currently active.
-
ServerlessCacheAlreadyUnderMigrationFault–A migration is already in progress for this serverless cache. You cannot start another migration until the current one completes.
-
ServerlessCacheNotFoundFault–The serverless cache was not found or does not exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_elasticache/_services/async_elasti_cache.py
6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 | |