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
6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 | |