2025/10/10 - odb - 1 new3 updated api methods
Changes This release adds APIs that allow you to specify CIDR ranges in your ODB peering connection.
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.
See also: AWS API Documentation
Request Syntax
client.update_odb_peering_connection( odbPeeringConnectionId='string', displayName='string', peerNetworkCidrsToBeAdded=[ 'string', ], peerNetworkCidrsToBeRemoved=[ 'string', ] )
string
[REQUIRED]
The identifier of the Oracle Database@Amazon Web Services peering connection to update.
string
A new display name for the peering connection.
list
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.
(string) --
list
A list of CIDR blocks to remove from the peering connection. The CIDR blocks must currently exist in the peering connection.
(string) --
dict
Response Syntax
{ 'displayName': 'string', 'status': 'AVAILABLE'|'FAILED'|'PROVISIONING'|'TERMINATED'|'TERMINATING'|'UPDATING'|'MAINTENANCE_IN_PROGRESS', 'statusReason': 'string', 'odbPeeringConnectionId': 'string' }
Response Structure
(dict) --
displayName (string) --
The display name of the peering connection.
status (string) --
The status of the peering connection update operation.
statusReason (string) --
Additional information about the status of the peering connection update operation.
odbPeeringConnectionId (string) --
The identifier of the Oracle Database@Amazon Web Services peering connection that was updated.
{'peerNetworkCidrsToBeAdded': ['string']}
Creates a peering connection between an ODB network and a VPC.
A peering connection enables private connectivity between the networks for application-tier communication.
See also: AWS API Documentation
Request Syntax
client.create_odb_peering_connection( odbNetworkId='string', peerNetworkId='string', displayName='string', peerNetworkCidrsToBeAdded=[ 'string', ], clientToken='string', tags={ 'string': 'string' } )
string
[REQUIRED]
The unique identifier of the ODB network that initiates the peering connection.
string
[REQUIRED]
The unique identifier of the peer network. This can be either a VPC ID or another ODB network ID.
string
The display name for the ODB peering connection.
list
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.
(string) --
string
The client token for the ODB peering connection request.
Constraints:
Must be unique for each request.
This field is autopopulated if not provided.
dict
The tags to assign to the ODB peering connection.
(string) --
(string) --
dict
Response Syntax
{ 'displayName': 'string', 'status': 'AVAILABLE'|'FAILED'|'PROVISIONING'|'TERMINATED'|'TERMINATING'|'UPDATING'|'MAINTENANCE_IN_PROGRESS', 'statusReason': 'string', 'odbPeeringConnectionId': 'string' }
Response Structure
(dict) --
displayName (string) --
The display name of the ODB peering connection.
status (string) --
The status of the ODB peering connection.
Valid Values: provisioning | active | terminating | terminated | failed
statusReason (string) --
The reason for the current status of the ODB peering connection.
odbPeeringConnectionId (string) --
The unique identifier of the ODB peering connection.
{'odbPeeringConnection': {'peerNetworkCidrs': ['string']}}
Retrieves information about an ODB peering connection.
See also: AWS API Documentation
Request Syntax
client.get_odb_peering_connection( odbPeeringConnectionId='string' )
string
[REQUIRED]
The unique identifier of the ODB peering connection to retrieve information about.
dict
Response Syntax
{ 'odbPeeringConnection': { 'odbPeeringConnectionId': 'string', 'displayName': 'string', 'status': 'AVAILABLE'|'FAILED'|'PROVISIONING'|'TERMINATED'|'TERMINATING'|'UPDATING'|'MAINTENANCE_IN_PROGRESS', 'statusReason': 'string', 'odbPeeringConnectionArn': 'string', 'odbNetworkArn': 'string', 'peerNetworkArn': 'string', 'odbPeeringConnectionType': 'string', 'peerNetworkCidrs': [ 'string', ], 'createdAt': datetime(2015, 1, 1), 'percentProgress': ... } }
Response Structure
(dict) --
odbPeeringConnection (dict) --
A peering connection between an ODB network and either another ODB network or a customer-owned VPC.
odbPeeringConnectionId (string) --
The unique identifier of the ODB peering connection. A sample ID is odbpcx-abcdefgh12345678.
displayName (string) --
The display name of the ODB peering connection.
status (string) --
The status of the ODB peering connection.
Valid Values: provisioning | active | terminating | terminated | failed
statusReason (string) --
The reason for the current status of the ODB peering connection.
odbPeeringConnectionArn (string) --
The Amazon Resource Name (ARN) of the ODB peering connection.
Example: arn:aws:odb:us-east-1:123456789012:odb-peering-connection/odbpcx-abcdefgh12345678
odbNetworkArn (string) --
The Amazon Resource Name (ARN) of the ODB network that initiated the peering connection.
peerNetworkArn (string) --
The Amazon Resource Name (ARN) of the peer network.
odbPeeringConnectionType (string) --
The type of the ODB peering connection.
Valid Values: ODB-VPC | ODB-ODB
peerNetworkCidrs (list) --
The CIDR blocks associated with the peering connection. These CIDR blocks define the IP address ranges that can communicate through the peering connection.
(string) --
createdAt (datetime) --
The timestamp when the ODB peering connection was created.
percentProgress (float) --
The percentage progress of the ODB peering connection creation or deletion.
{'odbPeeringConnections': {'peerNetworkCidrs': ['string']}}
Lists all ODB peering connections or those associated with a specific ODB network.
See also: AWS API Documentation
Request Syntax
client.list_odb_peering_connections( maxResults=123, nextToken='string', odbNetworkId='string' )
integer
The maximum number of ODB peering connections to return in the response.
Default: 20
Constraints:
Must be between 1 and 100.
string
The pagination token for the next page of ODB peering connections.
string
The identifier of the ODB network to list peering connections for.
If not specified, lists all ODB peering connections in the account.
dict
Response Syntax
{ 'nextToken': 'string', 'odbPeeringConnections': [ { 'odbPeeringConnectionId': 'string', 'displayName': 'string', 'status': 'AVAILABLE'|'FAILED'|'PROVISIONING'|'TERMINATED'|'TERMINATING'|'UPDATING'|'MAINTENANCE_IN_PROGRESS', 'statusReason': 'string', 'odbPeeringConnectionArn': 'string', 'odbNetworkArn': 'string', 'peerNetworkArn': 'string', 'odbPeeringConnectionType': 'string', 'peerNetworkCidrs': [ 'string', ], 'createdAt': datetime(2015, 1, 1), 'percentProgress': ... }, ] }
Response Structure
(dict) --
nextToken (string) --
The pagination token for the next page of ODB peering connections.
odbPeeringConnections (list) --
The list of ODB peering connections.
(dict) --
A summary of an ODB peering connection.
odbPeeringConnectionId (string) --
The unique identifier of the ODB peering connection. A sample ID is odbpcx-abcdefgh12345678.
displayName (string) --
The display name of the ODB peering connection.
status (string) --
The status of the ODB peering connection.
Valid Values: provisioning | active | terminating | terminated | failed
statusReason (string) --
The reason for the current status of the ODB peering connection.
odbPeeringConnectionArn (string) --
The Amazon Resource Name (ARN) of the ODB peering connection.
odbNetworkArn (string) --
The Amazon Resource Name (ARN) of the ODB network that initiated the peering connection.
peerNetworkArn (string) --
The Amazon Resource Name (ARN) of the peer network.
odbPeeringConnectionType (string) --
The type of the ODB peering connection.
Valid Values: ODB-VPC | ODB-ODB
peerNetworkCidrs (list) --
The CIDR blocks associated with the peering connection. These CIDR blocks define the IP address ranges that can communicate through the peering connection.
(string) --
createdAt (datetime) --
The timestamp when the ODB peering connection was created.
percentProgress (float) --
The percentage progress of the ODB peering connection creation or deletion.