aws_sdk_bedrockagentcorecontrol/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_identifier(impl Into<String>)`](crate::operation::delete_gateway::builders::DeleteGatewayFluentBuilder::gateway_identifier) / [`set_gateway_identifier(Option<String>)`](crate::operation::delete_gateway::builders::DeleteGatewayFluentBuilder::set_gateway_identifier):<br>required: **true**<br><p>The identifier of the gateway to delete.</p><br>
7 /// - On success, responds with [`DeleteGatewayOutput`](crate::operation::delete_gateway::DeleteGatewayOutput) with field(s):
8 /// - [`gateway_id(String)`](crate::operation::delete_gateway::DeleteGatewayOutput::gateway_id): <p>The unique identifier of the deleted gateway.</p>
9 /// - [`status(GatewayStatus)`](crate::operation::delete_gateway::DeleteGatewayOutput::status): <p>The current status of the gateway deletion.</p>
10 /// - [`status_reasons(Option<Vec::<String>>)`](crate::operation::delete_gateway::DeleteGatewayOutput::status_reasons): <p>The reasons for the current status of the gateway deletion.</p>
11 /// - On failure, responds with [`SdkError<DeleteGatewayError>`](crate::operation::delete_gateway::DeleteGatewayError)
12 pub fn delete_gateway(&self) -> crate::operation::delete_gateway::builders::DeleteGatewayFluentBuilder {
13 crate::operation::delete_gateway::builders::DeleteGatewayFluentBuilder::new(self.handle.clone())
14 }
15}