aws_sdk_bedrockagent/client/get_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 [`GetAgentActionGroup`](crate::operation::get_agent_action_group::builders::GetAgentActionGroupFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`agent_id(impl Into<String>)`](crate::operation::get_agent_action_group::builders::GetAgentActionGroupFluentBuilder::agent_id) / [`set_agent_id(Option<String>)`](crate::operation::get_agent_action_group::builders::GetAgentActionGroupFluentBuilder::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::get_agent_action_group::builders::GetAgentActionGroupFluentBuilder::agent_version) / [`set_agent_version(Option<String>)`](crate::operation::get_agent_action_group::builders::GetAgentActionGroupFluentBuilder::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::get_agent_action_group::builders::GetAgentActionGroupFluentBuilder::action_group_id) / [`set_action_group_id(Option<String>)`](crate::operation::get_agent_action_group::builders::GetAgentActionGroupFluentBuilder::set_action_group_id):<br>required: **true**<br><p>The unique identifier of the action group for which to get information.</p><br>
9 /// - On success, responds with [`GetAgentActionGroupOutput`](crate::operation::get_agent_action_group::GetAgentActionGroupOutput) with field(s):
10 /// - [`agent_action_group(Option<AgentActionGroup>)`](crate::operation::get_agent_action_group::GetAgentActionGroupOutput::agent_action_group): <p>Contains details about the action group.</p>
11 /// - On failure, responds with [`SdkError<GetAgentActionGroupError>`](crate::operation::get_agent_action_group::GetAgentActionGroupError)
12 pub fn get_agent_action_group(&self) -> crate::operation::get_agent_action_group::builders::GetAgentActionGroupFluentBuilder {
13 crate::operation::get_agent_action_group::builders::GetAgentActionGroupFluentBuilder::new(self.handle.clone())
14 }
15}