aws_sdk_bedrockagent/client/delete_agent_action_group.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 [`DeleteAgentActionGroup`](crate::operation::delete_agent_action_group::builders::DeleteAgentActionGroupFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`agent_id(impl Into<String>)`](crate::operation::delete_agent_action_group::builders::DeleteAgentActionGroupFluentBuilder::agent_id) / [`set_agent_id(Option<String>)`](crate::operation::delete_agent_action_group::builders::DeleteAgentActionGroupFluentBuilder::set_agent_id):<br>required: **true**<br><p>The unique identifier of the agent that the action group belongs to.</p><br>
7 /// - [`agent_version(impl Into<String>)`](crate::operation::delete_agent_action_group::builders::DeleteAgentActionGroupFluentBuilder::agent_version) / [`set_agent_version(Option<String>)`](crate::operation::delete_agent_action_group::builders::DeleteAgentActionGroupFluentBuilder::set_agent_version):<br>required: **true**<br><p>The version of the agent that the action group belongs to.</p><br>
8 /// - [`action_group_id(impl Into<String>)`](crate::operation::delete_agent_action_group::builders::DeleteAgentActionGroupFluentBuilder::action_group_id) / [`set_action_group_id(Option<String>)`](crate::operation::delete_agent_action_group::builders::DeleteAgentActionGroupFluentBuilder::set_action_group_id):<br>required: **true**<br><p>The unique identifier of the action group to delete.</p><br>
9 /// - [`skip_resource_in_use_check(bool)`](crate::operation::delete_agent_action_group::builders::DeleteAgentActionGroupFluentBuilder::skip_resource_in_use_check) / [`set_skip_resource_in_use_check(Option<bool>)`](crate::operation::delete_agent_action_group::builders::DeleteAgentActionGroupFluentBuilder::set_skip_resource_in_use_check):<br>required: **false**<br><p>By default, this value is <code>false</code> and deletion is stopped if the resource is in use. If you set it to <code>true</code>, the resource will be deleted even if the resource is in use.</p><br>
10 /// - On success, responds with [`DeleteAgentActionGroupOutput`](crate::operation::delete_agent_action_group::DeleteAgentActionGroupOutput)
11 /// - On failure, responds with [`SdkError<DeleteAgentActionGroupError>`](crate::operation::delete_agent_action_group::DeleteAgentActionGroupError)
12 pub fn delete_agent_action_group(&self) -> crate::operation::delete_agent_action_group::builders::DeleteAgentActionGroupFluentBuilder {
13 crate::operation::delete_agent_action_group::builders::DeleteAgentActionGroupFluentBuilder::new(self.handle.clone())
14 }
15}