1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeletePeering`](crate::operation::delete_peering::builders::DeletePeeringFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`peering_id(impl Into<String>)`](crate::operation::delete_peering::builders::DeletePeeringFluentBuilder::peering_id) / [`set_peering_id(Option<String>)`](crate::operation::delete_peering::builders::DeletePeeringFluentBuilder::set_peering_id): <p>The ID of the peering connection to delete.</p>
/// - On success, responds with [`DeletePeeringOutput`](crate::operation::delete_peering::DeletePeeringOutput) with field(s):
/// - [`peering(Option<Peering>)`](crate::operation::delete_peering::DeletePeeringOutput::peering): <p>Information about a deleted peering connection.</p>
/// - On failure, responds with [`SdkError<DeletePeeringError>`](crate::operation::delete_peering::DeletePeeringError)
pub fn delete_peering(
&self,
) -> crate::operation::delete_peering::builders::DeletePeeringFluentBuilder {
crate::operation::delete_peering::builders::DeletePeeringFluentBuilder::new(
self.handle.clone(),
)
}
}