// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AcceptVpcPeeringConnection`](crate::operation::accept_vpc_peering_connection::builders::AcceptVpcPeeringConnectionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`dry_run(bool)`](crate::operation::accept_vpc_peering_connection::builders::AcceptVpcPeeringConnectionFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::accept_vpc_peering_connection::builders::AcceptVpcPeeringConnectionFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
/// - [`vpc_peering_connection_id(impl Into<String>)`](crate::operation::accept_vpc_peering_connection::builders::AcceptVpcPeeringConnectionFluentBuilder::vpc_peering_connection_id) / [`set_vpc_peering_connection_id(Option<String>)`](crate::operation::accept_vpc_peering_connection::builders::AcceptVpcPeeringConnectionFluentBuilder::set_vpc_peering_connection_id):<br>required: **true**<br><p>The ID of the VPC peering connection. You must specify this parameter in the request.</p><br>
/// - On success, responds with [`AcceptVpcPeeringConnectionOutput`](crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionOutput) with field(s):
/// - [`vpc_peering_connection(Option<VpcPeeringConnection>)`](crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionOutput::vpc_peering_connection): <p>Information about the VPC peering connection.</p>
/// - On failure, responds with [`SdkError<AcceptVpcPeeringConnectionError>`](crate::operation::accept_vpc_peering_connection::AcceptVpcPeeringConnectionError)
pub fn accept_vpc_peering_connection(
&self,
) -> crate::operation::accept_vpc_peering_connection::builders::AcceptVpcPeeringConnectionFluentBuilder {
crate::operation::accept_vpc_peering_connection::builders::AcceptVpcPeeringConnectionFluentBuilder::new(self.handle.clone())
}
}