1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteAgentActionGroup`](crate::operation::delete_agent_action_group::builders::DeleteAgentActionGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteAgentActionGroupOutput`](crate::operation::delete_agent_action_group::DeleteAgentActionGroupOutput)
    /// - On failure, responds with [`SdkError<DeleteAgentActionGroupError>`](crate::operation::delete_agent_action_group::DeleteAgentActionGroupError)
    pub fn delete_agent_action_group(&self) -> crate::operation::delete_agent_action_group::builders::DeleteAgentActionGroupFluentBuilder {
        crate::operation::delete_agent_action_group::builders::DeleteAgentActionGroupFluentBuilder::new(self.handle.clone())
    }
}