aws_sdk_gamelift/client/delete_vpc_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 [`DeleteVpcPeeringConnection`](crate::operation::delete_vpc_peering_connection::builders::DeleteVpcPeeringConnectionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`fleet_id(impl Into<String>)`](crate::operation::delete_vpc_peering_connection::builders::DeleteVpcPeeringConnectionFluentBuilder::fleet_id) / [`set_fleet_id(Option<String>)`](crate::operation::delete_vpc_peering_connection::builders::DeleteVpcPeeringConnectionFluentBuilder::set_fleet_id):<br>required: **true**<br><p>A unique identifier for the fleet. This fleet specified must match the fleet referenced in the VPC peering connection record. You can use either the fleet ID or ARN value.</p><br>
7 /// - [`vpc_peering_connection_id(impl Into<String>)`](crate::operation::delete_vpc_peering_connection::builders::DeleteVpcPeeringConnectionFluentBuilder::vpc_peering_connection_id) / [`set_vpc_peering_connection_id(Option<String>)`](crate::operation::delete_vpc_peering_connection::builders::DeleteVpcPeeringConnectionFluentBuilder::set_vpc_peering_connection_id):<br>required: **true**<br><p>A unique identifier for a VPC peering connection.</p><br>
8 /// - On success, responds with [`DeleteVpcPeeringConnectionOutput`](crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionOutput)
9 /// - On failure, responds with [`SdkError<DeleteVpcPeeringConnectionError>`](crate::operation::delete_vpc_peering_connection::DeleteVpcPeeringConnectionError)
10 pub fn delete_vpc_peering_connection(
11 &self,
12 ) -> crate::operation::delete_vpc_peering_connection::builders::DeleteVpcPeeringConnectionFluentBuilder {
13 crate::operation::delete_vpc_peering_connection::builders::DeleteVpcPeeringConnectionFluentBuilder::new(self.handle.clone())
14 }
15}