aws-sdk-bedrockagentcore 1.11.0

AWS SDK for Amazon Bedrock AgentCore Data Plane Fronting Layer
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAgentCard`](crate::operation::get_agent_card::builders::GetAgentCardFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`runtime_session_id(impl Into<String>)`](crate::operation::get_agent_card::builders::GetAgentCardFluentBuilder::runtime_session_id) / [`set_runtime_session_id(Option<String>)`](crate::operation::get_agent_card::builders::GetAgentCardFluentBuilder::set_runtime_session_id):<br>required: **false**<br><p>The session ID that the AgentCore Runtime agent is using.</p><br>
    ///   - [`agent_runtime_arn(impl Into<String>)`](crate::operation::get_agent_card::builders::GetAgentCardFluentBuilder::agent_runtime_arn) / [`set_agent_runtime_arn(Option<String>)`](crate::operation::get_agent_card::builders::GetAgentCardFluentBuilder::set_agent_runtime_arn):<br>required: **true**<br><p>The ARN of the AgentCore Runtime agent for which you want to get the A2A agent card.</p><br>
    ///   - [`qualifier(impl Into<String>)`](crate::operation::get_agent_card::builders::GetAgentCardFluentBuilder::qualifier) / [`set_qualifier(Option<String>)`](crate::operation::get_agent_card::builders::GetAgentCardFluentBuilder::set_qualifier):<br>required: **false**<br><p>Optional qualifier to specify an agent alias, such as <code>prod</code>code&gt; or <code>dev</code>. If you don't provide a value, the DEFAULT alias is used.</p><br>
    /// - On success, responds with [`GetAgentCardOutput`](crate::operation::get_agent_card::GetAgentCardOutput) with field(s):
    ///   - [`runtime_session_id(Option<String>)`](crate::operation::get_agent_card::GetAgentCardOutput::runtime_session_id): <p>The ID of the session associated with the AgentCore Runtime agent.</p>
    ///   - [`agent_card(Document)`](crate::operation::get_agent_card::GetAgentCardOutput::agent_card): <p>An agent card document that contains metadata and capabilities for an AgentCore Runtime agent.</p>
    ///   - [`status_code(Option<i32>)`](crate::operation::get_agent_card::GetAgentCardOutput::status_code): <p>The status code of the request.</p>
    /// - On failure, responds with [`SdkError<GetAgentCardError>`](crate::operation::get_agent_card::GetAgentCardError)
    pub fn get_agent_card(&self) -> crate::operation::get_agent_card::builders::GetAgentCardFluentBuilder {
        crate::operation::get_agent_card::builders::GetAgentCardFluentBuilder::new(self.handle.clone())
    }
}