prepare_migration
¶
prepare_migration(
*,
config_overrides: Optional[ElastiCacheClientConfig] = 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/elasti_cache.py
6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 | |