aws_sdk_vpclattice/client/
delete_resource_gateway.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteResourceGateway`](crate::operation::delete_resource_gateway::builders::DeleteResourceGatewayFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_gateway_identifier(impl Into<String>)`](crate::operation::delete_resource_gateway::builders::DeleteResourceGatewayFluentBuilder::resource_gateway_identifier) / [`set_resource_gateway_identifier(Option<String>)`](crate::operation::delete_resource_gateway::builders::DeleteResourceGatewayFluentBuilder::set_resource_gateway_identifier):<br>required: **true**<br><p>The ID or ARN of the resource gateway.</p><br>
    /// - On success, responds with [`DeleteResourceGatewayOutput`](crate::operation::delete_resource_gateway::DeleteResourceGatewayOutput) with field(s):
    ///   - [`id(Option<String>)`](crate::operation::delete_resource_gateway::DeleteResourceGatewayOutput::id): <p>The ID of the resource gateway.</p>
    ///   - [`arn(Option<String>)`](crate::operation::delete_resource_gateway::DeleteResourceGatewayOutput::arn): <p>The Amazon Resource Name (ARN) of the resource gateway.</p>
    ///   - [`name(Option<String>)`](crate::operation::delete_resource_gateway::DeleteResourceGatewayOutput::name): <p>The name of the resource gateway.</p>
    ///   - [`status(Option<ResourceGatewayStatus>)`](crate::operation::delete_resource_gateway::DeleteResourceGatewayOutput::status): <p>The status of the resource gateway.</p>
    /// - On failure, responds with [`SdkError<DeleteResourceGatewayError>`](crate::operation::delete_resource_gateway::DeleteResourceGatewayError)
    pub fn delete_resource_gateway(&self) -> crate::operation::delete_resource_gateway::builders::DeleteResourceGatewayFluentBuilder {
        crate::operation::delete_resource_gateway::builders::DeleteResourceGatewayFluentBuilder::new(self.handle.clone())
    }
}