update_odb_peering_connection
async
¶
update_odb_peering_connection(
odb_peering_connection_id: ResourceIdOrArn,
*,
config_overrides: Optional[AsyncodbClientConfig] = None,
display_name: Optional[ResourceDisplayName] = None,
peer_network_cidrs_to_be_added: Optional[PeeredCidrList] = None,
peer_network_cidrs_to_be_removed: Optional[PeeredCidrList] = None,
) -> UpdateOdbPeeringConnectionOutput
Modifies the settings of an Oracle Database@Amazon Web Services peering connection. You can update the display name and add or remove CIDR blocks from the peering connection.
Parameters:
-
odb_peering_connection_id(ResourceIdOrArn) –The identifier of the Oracle Database@Amazon Web Services peering connection to update.
-
display_name(Optional[ResourceDisplayName], default:None) –A new display name for the peering connection.
-
peer_network_cidrs_to_be_added(Optional[PeeredCidrList], default:None) –A list of CIDR blocks to add to the peering connection. These CIDR blocks define the IP address ranges that can communicate through the peering connection. The CIDR blocks must not overlap with existing CIDR blocks in the Oracle Database@Amazon Web Services network.
-
peer_network_cidrs_to_be_removed(Optional[PeeredCidrList], default:None) –A list of CIDR blocks to remove from the peering connection. The CIDR blocks must currently exist in the peering connection.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.
-
ConflictException–Occurs when a conflict with the current status of your resource. Fix any inconsistencies with your resource and try again.
-
InternalServerException–Occurs when there is an internal failure in the Oracle Database@Amazon Web Services service. Wait and try again.
-
ResourceNotFoundException–The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request has failed validation because it is missing required fields or has invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_odb/_services/async_odb.py
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 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 | |