aws_sdk_odb/client/update_odb_peering_connection.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateOdbPeeringConnection`](crate::operation::update_odb_peering_connection::builders::UpdateOdbPeeringConnectionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`odb_peering_connection_id(impl Into<String>)`](crate::operation::update_odb_peering_connection::builders::UpdateOdbPeeringConnectionFluentBuilder::odb_peering_connection_id) / [`set_odb_peering_connection_id(Option<String>)`](crate::operation::update_odb_peering_connection::builders::UpdateOdbPeeringConnectionFluentBuilder::set_odb_peering_connection_id):<br>required: **true**<br><p>The identifier of the Oracle Database@Amazon Web Services peering connection to update.</p><br>
7 /// - [`display_name(impl Into<String>)`](crate::operation::update_odb_peering_connection::builders::UpdateOdbPeeringConnectionFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_odb_peering_connection::builders::UpdateOdbPeeringConnectionFluentBuilder::set_display_name):<br>required: **false**<br><p>A new display name for the peering connection.</p><br>
8 /// - [`peer_network_cidrs_to_be_added(impl Into<String>)`](crate::operation::update_odb_peering_connection::builders::UpdateOdbPeeringConnectionFluentBuilder::peer_network_cidrs_to_be_added) / [`set_peer_network_cidrs_to_be_added(Option<Vec::<String>>)`](crate::operation::update_odb_peering_connection::builders::UpdateOdbPeeringConnectionFluentBuilder::set_peer_network_cidrs_to_be_added):<br>required: **false**<br><p>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.</p><br>
9 /// - [`peer_network_cidrs_to_be_removed(impl Into<String>)`](crate::operation::update_odb_peering_connection::builders::UpdateOdbPeeringConnectionFluentBuilder::peer_network_cidrs_to_be_removed) / [`set_peer_network_cidrs_to_be_removed(Option<Vec::<String>>)`](crate::operation::update_odb_peering_connection::builders::UpdateOdbPeeringConnectionFluentBuilder::set_peer_network_cidrs_to_be_removed):<br>required: **false**<br><p>A list of CIDR blocks to remove from the peering connection. The CIDR blocks must currently exist in the peering connection.</p><br>
10 /// - On success, responds with [`UpdateOdbPeeringConnectionOutput`](crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionOutput) with field(s):
11 /// - [`display_name(Option<String>)`](crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionOutput::display_name): <p>The display name of the peering connection.</p>
12 /// - [`status(Option<ResourceStatus>)`](crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionOutput::status): <p>The status of the peering connection update operation.</p>
13 /// - [`status_reason(Option<String>)`](crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionOutput::status_reason): <p>Additional information about the status of the peering connection update operation.</p>
14 /// - [`odb_peering_connection_id(String)`](crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionOutput::odb_peering_connection_id): <p>The identifier of the Oracle Database@Amazon Web Services peering connection that was updated.</p>
15 /// - On failure, responds with [`SdkError<UpdateOdbPeeringConnectionError>`](crate::operation::update_odb_peering_connection::UpdateOdbPeeringConnectionError)
16 pub fn update_odb_peering_connection(
17 &self,
18 ) -> crate::operation::update_odb_peering_connection::builders::UpdateOdbPeeringConnectionFluentBuilder {
19 crate::operation::update_odb_peering_connection::builders::UpdateOdbPeeringConnectionFluentBuilder::new(self.handle.clone())
20 }
21}