aws_sdk_bedrockagentcorecontrol/client/
delete_gateway_target.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 [`DeleteGatewayTarget`](crate::operation::delete_gateway_target::builders::DeleteGatewayTargetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`gateway_identifier(impl Into<String>)`](crate::operation::delete_gateway_target::builders::DeleteGatewayTargetFluentBuilder::gateway_identifier) / [`set_gateway_identifier(Option<String>)`](crate::operation::delete_gateway_target::builders::DeleteGatewayTargetFluentBuilder::set_gateway_identifier):<br>required: **true**<br><p>The unique identifier of the Gateway associated with the target.</p><br>
7    ///   - [`target_id(impl Into<String>)`](crate::operation::delete_gateway_target::builders::DeleteGatewayTargetFluentBuilder::target_id) / [`set_target_id(Option<String>)`](crate::operation::delete_gateway_target::builders::DeleteGatewayTargetFluentBuilder::set_target_id):<br>required: **true**<br><p>The unique identifier of the Gateway Target to delete.</p><br>
8    /// - On success, responds with [`DeleteGatewayTargetOutput`](crate::operation::delete_gateway_target::DeleteGatewayTargetOutput) with field(s):
9    ///   - [`gateway_arn(String)`](crate::operation::delete_gateway_target::DeleteGatewayTargetOutput::gateway_arn): <p>The Amazon Resource Name (ARN) of the Gateway.</p>
10    ///   - [`target_id(String)`](crate::operation::delete_gateway_target::DeleteGatewayTargetOutput::target_id): <p>The unique identifier of the deleted Gateway Target.</p>
11    ///   - [`status(TargetStatus)`](crate::operation::delete_gateway_target::DeleteGatewayTargetOutput::status): <p>The current status of the Gateway Target deletion.</p>
12    ///   - [`status_reasons(Option<Vec::<String>>)`](crate::operation::delete_gateway_target::DeleteGatewayTargetOutput::status_reasons): <p>The reasons for the current status of the Gateway Target deletion.</p>
13    /// - On failure, responds with [`SdkError<DeleteGatewayTargetError>`](crate::operation::delete_gateway_target::DeleteGatewayTargetError)
14    pub fn delete_gateway_target(&self) -> crate::operation::delete_gateway_target::builders::DeleteGatewayTargetFluentBuilder {
15        crate::operation::delete_gateway_target::builders::DeleteGatewayTargetFluentBuilder::new(self.handle.clone())
16    }
17}