modify_replication_subnet_group
¶
modify_replication_subnet_group(
replication_subnet_group_identifier: String,
subnet_ids: SubnetIdentifierList,
*,
config_overrides: Optional[DatabaseMigrationServiceClientConfig] = 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.
>>> 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/database_migration_service.py
8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 | |