aws_sdk_appmesh/client/
describe_virtual_gateway.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 [`DescribeVirtualGateway`](crate::operation::describe_virtual_gateway::builders::DescribeVirtualGatewayFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`virtual_gateway_name(impl Into<String>)`](crate::operation::describe_virtual_gateway::builders::DescribeVirtualGatewayFluentBuilder::virtual_gateway_name) / [`set_virtual_gateway_name(Option<String>)`](crate::operation::describe_virtual_gateway::builders::DescribeVirtualGatewayFluentBuilder::set_virtual_gateway_name):<br>required: **true**<br><p>The name of the virtual gateway to describe.</p><br>
7    ///   - [`mesh_name(impl Into<String>)`](crate::operation::describe_virtual_gateway::builders::DescribeVirtualGatewayFluentBuilder::mesh_name) / [`set_mesh_name(Option<String>)`](crate::operation::describe_virtual_gateway::builders::DescribeVirtualGatewayFluentBuilder::set_mesh_name):<br>required: **true**<br><p>The name of the service mesh that the gateway route resides in.</p><br>
8    ///   - [`mesh_owner(impl Into<String>)`](crate::operation::describe_virtual_gateway::builders::DescribeVirtualGatewayFluentBuilder::mesh_owner) / [`set_mesh_owner(Option<String>)`](crate::operation::describe_virtual_gateway::builders::DescribeVirtualGatewayFluentBuilder::set_mesh_owner):<br>required: **false**<br><p>The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working with shared meshes</a>.</p><br>
9    /// - On success, responds with [`DescribeVirtualGatewayOutput`](crate::operation::describe_virtual_gateway::DescribeVirtualGatewayOutput) with field(s):
10    ///   - [`virtual_gateway(Option<VirtualGatewayData>)`](crate::operation::describe_virtual_gateway::DescribeVirtualGatewayOutput::virtual_gateway): <p>The full description of your virtual gateway.</p>
11    /// - On failure, responds with [`SdkError<DescribeVirtualGatewayError>`](crate::operation::describe_virtual_gateway::DescribeVirtualGatewayError)
12    pub fn describe_virtual_gateway(&self) -> crate::operation::describe_virtual_gateway::builders::DescribeVirtualGatewayFluentBuilder {
13        crate::operation::describe_virtual_gateway::builders::DescribeVirtualGatewayFluentBuilder::new(self.handle.clone())
14    }
15}