aws_sdk_gamelift/client/
describe_vpc_peering_connections.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 [`DescribeVpcPeeringConnections`](crate::operation::describe_vpc_peering_connections::builders::DescribeVpcPeeringConnectionsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`fleet_id(impl Into<String>)`](crate::operation::describe_vpc_peering_connections::builders::DescribeVpcPeeringConnectionsFluentBuilder::fleet_id) / [`set_fleet_id(Option<String>)`](crate::operation::describe_vpc_peering_connections::builders::DescribeVpcPeeringConnectionsFluentBuilder::set_fleet_id):<br>required: **false**<br><p>A unique identifier for the fleet. You can use either the fleet ID or ARN value.</p><br>
7    /// - On success, responds with [`DescribeVpcPeeringConnectionsOutput`](crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsOutput) with field(s):
8    ///   - [`vpc_peering_connections(Option<Vec::<VpcPeeringConnection>>)`](crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsOutput::vpc_peering_connections): <p>A collection of VPC peering connection records that match the request.</p>
9    /// - On failure, responds with [`SdkError<DescribeVpcPeeringConnectionsError>`](crate::operation::describe_vpc_peering_connections::DescribeVpcPeeringConnectionsError)
10    pub fn describe_vpc_peering_connections(
11        &self,
12    ) -> crate::operation::describe_vpc_peering_connections::builders::DescribeVpcPeeringConnectionsFluentBuilder {
13        crate::operation::describe_vpc_peering_connections::builders::DescribeVpcPeeringConnectionsFluentBuilder::new(self.handle.clone())
14    }
15}