aws_sdk_bedrockagent/client/
delete_agent_alias.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 [`DeleteAgentAlias`](crate::operation::delete_agent_alias::builders::DeleteAgentAliasFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`agent_id(impl Into<String>)`](crate::operation::delete_agent_alias::builders::DeleteAgentAliasFluentBuilder::agent_id) / [`set_agent_id(Option<String>)`](crate::operation::delete_agent_alias::builders::DeleteAgentAliasFluentBuilder::set_agent_id):<br>required: **true**<br><p>The unique identifier of the agent that the alias belongs to.</p><br>
7    ///   - [`agent_alias_id(impl Into<String>)`](crate::operation::delete_agent_alias::builders::DeleteAgentAliasFluentBuilder::agent_alias_id) / [`set_agent_alias_id(Option<String>)`](crate::operation::delete_agent_alias::builders::DeleteAgentAliasFluentBuilder::set_agent_alias_id):<br>required: **true**<br><p>The unique identifier of the alias to delete.</p><br>
8    /// - On success, responds with [`DeleteAgentAliasOutput`](crate::operation::delete_agent_alias::DeleteAgentAliasOutput) with field(s):
9    ///   - [`agent_id(String)`](crate::operation::delete_agent_alias::DeleteAgentAliasOutput::agent_id): <p>The unique identifier of the agent that the alias belongs to.</p>
10    ///   - [`agent_alias_id(String)`](crate::operation::delete_agent_alias::DeleteAgentAliasOutput::agent_alias_id): <p>The unique identifier of the alias that was deleted.</p>
11    ///   - [`agent_alias_status(AgentAliasStatus)`](crate::operation::delete_agent_alias::DeleteAgentAliasOutput::agent_alias_status): <p>The status of the alias.</p>
12    /// - On failure, responds with [`SdkError<DeleteAgentAliasError>`](crate::operation::delete_agent_alias::DeleteAgentAliasError)
13    pub fn delete_agent_alias(&self) -> crate::operation::delete_agent_alias::builders::DeleteAgentAliasFluentBuilder {
14        crate::operation::delete_agent_alias::builders::DeleteAgentAliasFluentBuilder::new(self.handle.clone())
15    }
16}