aws_sdk_bedrockagentcorecontrol/client/delete_agent_runtime.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 [`DeleteAgentRuntime`](crate::operation::delete_agent_runtime::builders::DeleteAgentRuntimeFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`agent_runtime_id(impl Into<String>)`](crate::operation::delete_agent_runtime::builders::DeleteAgentRuntimeFluentBuilder::agent_runtime_id) / [`set_agent_runtime_id(Option<String>)`](crate::operation::delete_agent_runtime::builders::DeleteAgentRuntimeFluentBuilder::set_agent_runtime_id):<br>required: **true**<br><p>The unique identifier of the AgentCore Runtime to delete.</p><br>
7 /// - [`client_token(impl Into<String>)`](crate::operation::delete_agent_runtime::builders::DeleteAgentRuntimeFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_agent_runtime::builders::DeleteAgentRuntimeFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.</p><br>
8 /// - On success, responds with [`DeleteAgentRuntimeOutput`](crate::operation::delete_agent_runtime::DeleteAgentRuntimeOutput) with field(s):
9 /// - [`status(AgentRuntimeStatus)`](crate::operation::delete_agent_runtime::DeleteAgentRuntimeOutput::status): <p>The current status of the AgentCore Runtime deletion.</p>
10 /// - [`agent_runtime_id(Option<String>)`](crate::operation::delete_agent_runtime::DeleteAgentRuntimeOutput::agent_runtime_id): <p>The unique identifier of the AgentCore Runtime.</p>
11 /// - On failure, responds with [`SdkError<DeleteAgentRuntimeError>`](crate::operation::delete_agent_runtime::DeleteAgentRuntimeError)
12 pub fn delete_agent_runtime(&self) -> crate::operation::delete_agent_runtime::builders::DeleteAgentRuntimeFluentBuilder {
13 crate::operation::delete_agent_runtime::builders::DeleteAgentRuntimeFluentBuilder::new(self.handle.clone())
14 }
15}