modify_replication_subnet_group
async
¶
modify_replication_subnet_group(
replication_subnet_group_identifier: String,
subnet_ids: SubnetIdentifierList,
*,
config_overrides: Optional[AsyncDatabaseMigrationServiceClientConfig] = None,
replication_subnet_group_description: Optional[String] = None,
) -> ModifyReplicationSubnetGroupResponse
Modifies the settings for the specified replication subnet group.
Parameters:
-
replication_subnet_group_identifier(String) –The name of the replication instance subnet group.
-
replication_subnet_group_description(Optional[String], default:None) –A description for the replication instance subnet group.
-
subnet_ids(SubnetIdentifierList) –A list of subnet IDs.
Raises:
-
AccessDeniedFault–DMS was denied access to the endpoint. Check that the role is correctly configured.
-
InvalidSubnet–The subnet provided isn't valid.
-
ReplicationSubnetGroupDoesNotCoverEnoughAZs–The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
-
ResourceNotFoundFault–The resource could not be found.
-
ResourceQuotaExceededFault–The quota for this resource quota has been exceeded.
-
SubnetAlreadyInUse–The specified subnet is already in use.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Modify replication subnet group Modifies the settings for the specified replication subnet group.
>>> await client.modify_replication_subnet_group(replication_subnet_group_identifier='', replication_subnet_group_description='', subnet_ids=[])
Source code in docs_src/capo_database_migration_service/_services/async_database_migration_service.py
8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 | |