update_odb_peering_connection
¶
update_odb_peering_connection(
odb_peering_connection_id: ResourceIdOrArn,
*,
config_overrides: Optional[odbClientConfig] = 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/odb.py
6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 | |