create_odb_peering_connection
¶
create_odb_peering_connection(
odb_network_id: ResourceIdOrArn,
peer_network_id: ResourceIdOrArn,
*,
config_overrides: Optional[odbClientConfig] = None,
display_name: Optional[ResourceDisplayName] = None,
peer_network_cidrs_to_be_added: Optional[PeeredCidrList] = None,
peer_network_route_table_ids: Optional[PeerNetworkRouteTableIdList] = None,
client_token: Optional[GeneralInputString] = None,
tags: Optional[RequestTagMap] = None,
) -> CreateOdbPeeringConnectionOutput
Creates a peering connection between an ODB network and a VPC.
A peering connection enables private connectivity between the networks for application-tier communication.
Parameters:
-
odb_network_id(ResourceIdOrArn) –The unique identifier of the ODB network that initiates the peering connection.
-
peer_network_id(ResourceIdOrArn) –The unique identifier of the peer network. This can be either a VPC ID or another ODB network ID.
-
display_name(Optional[ResourceDisplayName], default:None) –The display name for the ODB 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.
-
peer_network_route_table_ids(Optional[PeerNetworkRouteTableIdList], default:None) –The unique identifier of the VPC route table for which a route to the ODB network is automatically created during peering connection establishment.
-
client_token(Optional[GeneralInputString], default:None) –The client token for the ODB peering connection request.
Constraints:
-
Must be unique for each request.
-
-
tags(Optional[RequestTagMap], default:None) –The tags to assign to the ODB 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/odb.py
6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 | |