aws_sdk_iotsitewise/client/delete_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 [`DeleteGateway`](crate::operation::delete_gateway::builders::DeleteGatewayFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`gateway_id(impl Into<String>)`](crate::operation::delete_gateway::builders::DeleteGatewayFluentBuilder::gateway_id) / [`set_gateway_id(Option<String>)`](crate::operation::delete_gateway::builders::DeleteGatewayFluentBuilder::set_gateway_id):<br>required: **true**<br><p>The ID of the gateway to delete.</p><br>
7 /// - On success, responds with [`DeleteGatewayOutput`](crate::operation::delete_gateway::DeleteGatewayOutput)
8 /// - On failure, responds with [`SdkError<DeleteGatewayError>`](crate::operation::delete_gateway::DeleteGatewayError)
9 pub fn delete_gateway(&self) -> crate::operation::delete_gateway::builders::DeleteGatewayFluentBuilder {
10 crate::operation::delete_gateway::builders::DeleteGatewayFluentBuilder::new(self.handle.clone())
11 }
12}