aws_sdk_vpclattice/client/
update_resource_gateway.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateResourceGateway`](crate::operation::update_resource_gateway::builders::UpdateResourceGatewayFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_gateway_identifier(impl Into<String>)`](crate::operation::update_resource_gateway::builders::UpdateResourceGatewayFluentBuilder::resource_gateway_identifier) / [`set_resource_gateway_identifier(Option<String>)`](crate::operation::update_resource_gateway::builders::UpdateResourceGatewayFluentBuilder::set_resource_gateway_identifier):<br>required: **true**<br><p>The ID or ARN of the resource gateway.</p><br>
    ///   - [`security_group_ids(impl Into<String>)`](crate::operation::update_resource_gateway::builders::UpdateResourceGatewayFluentBuilder::security_group_ids) / [`set_security_group_ids(Option<Vec::<String>>)`](crate::operation::update_resource_gateway::builders::UpdateResourceGatewayFluentBuilder::set_security_group_ids):<br>required: **false**<br><p>The IDs of the security groups associated with the resource gateway.</p><br>
    /// - On success, responds with [`UpdateResourceGatewayOutput`](crate::operation::update_resource_gateway::UpdateResourceGatewayOutput) with field(s):
    ///   - [`name(Option<String>)`](crate::operation::update_resource_gateway::UpdateResourceGatewayOutput::name): <p>The name of the resource gateway.</p>
    ///   - [`id(Option<String>)`](crate::operation::update_resource_gateway::UpdateResourceGatewayOutput::id): <p>The ID of the resource gateway.</p>
    ///   - [`arn(Option<String>)`](crate::operation::update_resource_gateway::UpdateResourceGatewayOutput::arn): <p>The Amazon Resource Name (ARN) of the resource gateway.</p>
    ///   - [`status(Option<ResourceGatewayStatus>)`](crate::operation::update_resource_gateway::UpdateResourceGatewayOutput::status): <p>The status of the resource gateway.</p>
    ///   - [`vpc_id(Option<String>)`](crate::operation::update_resource_gateway::UpdateResourceGatewayOutput::vpc_id): <p>The ID of the VPC for the resource gateway.</p>
    ///   - [`subnet_ids(Option<Vec::<String>>)`](crate::operation::update_resource_gateway::UpdateResourceGatewayOutput::subnet_ids): <p>The IDs of the VPC subnets for the resource gateway.</p>
    ///   - [`security_group_ids(Option<Vec::<String>>)`](crate::operation::update_resource_gateway::UpdateResourceGatewayOutput::security_group_ids): <p>The IDs of the security groups associated with the resource gateway.</p>
    ///   - [`ip_address_type(Option<IpAddressType>)`](crate::operation::update_resource_gateway::UpdateResourceGatewayOutput::ip_address_type): <p>The type of IP address used by the resource gateway.</p>
    /// - On failure, responds with [`SdkError<UpdateResourceGatewayError>`](crate::operation::update_resource_gateway::UpdateResourceGatewayError)
    pub fn update_resource_gateway(&self) -> crate::operation::update_resource_gateway::builders::UpdateResourceGatewayFluentBuilder {
        crate::operation::update_resource_gateway::builders::UpdateResourceGatewayFluentBuilder::new(self.handle.clone())
    }
}