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 [`UpdateVirtualGateway`](crate::operation::update_virtual_gateway::builders::UpdateVirtualGatewayFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`virtual_gateway_name(impl Into<String>)`](crate::operation::update_virtual_gateway::builders::UpdateVirtualGatewayFluentBuilder::virtual_gateway_name) / [`set_virtual_gateway_name(Option<String>)`](crate::operation::update_virtual_gateway::builders::UpdateVirtualGatewayFluentBuilder::set_virtual_gateway_name):<br>required: **true**<br><p>The name of the virtual gateway to update.</p><br>
    ///   - [`mesh_name(impl Into<String>)`](crate::operation::update_virtual_gateway::builders::UpdateVirtualGatewayFluentBuilder::mesh_name) / [`set_mesh_name(Option<String>)`](crate::operation::update_virtual_gateway::builders::UpdateVirtualGatewayFluentBuilder::set_mesh_name):<br>required: **true**<br><p>The name of the service mesh that the virtual gateway resides in.</p><br>
    ///   - [`spec(VirtualGatewaySpec)`](crate::operation::update_virtual_gateway::builders::UpdateVirtualGatewayFluentBuilder::spec) / [`set_spec(Option<VirtualGatewaySpec>)`](crate::operation::update_virtual_gateway::builders::UpdateVirtualGatewayFluentBuilder::set_spec):<br>required: **true**<br><p>The new virtual gateway specification to apply. This overwrites the existing data.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::update_virtual_gateway::builders::UpdateVirtualGatewayFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_virtual_gateway::builders::UpdateVirtualGatewayFluentBuilder::set_client_token):<br>required: **false**<br><p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.</p><br>
    ///   - [`mesh_owner(impl Into<String>)`](crate::operation::update_virtual_gateway::builders::UpdateVirtualGatewayFluentBuilder::mesh_owner) / [`set_mesh_owner(Option<String>)`](crate::operation::update_virtual_gateway::builders::UpdateVirtualGatewayFluentBuilder::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>
    /// - On success, responds with [`UpdateVirtualGatewayOutput`](crate::operation::update_virtual_gateway::UpdateVirtualGatewayOutput) with field(s):
    ///   - [`virtual_gateway(Option<VirtualGatewayData>)`](crate::operation::update_virtual_gateway::UpdateVirtualGatewayOutput::virtual_gateway): <p>A full description of the virtual gateway that was updated.</p>
    /// - On failure, responds with [`SdkError<UpdateVirtualGatewayError>`](crate::operation::update_virtual_gateway::UpdateVirtualGatewayError)
    pub fn update_virtual_gateway(&self) -> crate::operation::update_virtual_gateway::builders::UpdateVirtualGatewayFluentBuilder {
        crate::operation::update_virtual_gateway::builders::UpdateVirtualGatewayFluentBuilder::new(self.handle.clone())
    }
}