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
6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 | |