Struct aws_sdk_bedrockagent::operation::update_agent_knowledge_base::UpdateAgentKnowledgeBaseInput
source · #[non_exhaustive]pub struct UpdateAgentKnowledgeBaseInput {
pub agent_id: Option<String>,
pub agent_version: Option<String>,
pub knowledge_base_id: Option<String>,
pub description: Option<String>,
pub knowledge_base_state: Option<KnowledgeBaseState>,
}Expand description
Update Agent Knowledge Base Request
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.agent_id: Option<String>Id generated at the server side when an Agent is created
agent_version: Option<String>Draft Version of the Agent.
knowledge_base_id: Option<String>Id generated at the server side when a Knowledge Base is associated to an Agent
description: Option<String>Description of the Resource.
knowledge_base_state: Option<KnowledgeBaseState>State of the knowledge base; whether it is enabled or disabled
Implementations§
source§impl UpdateAgentKnowledgeBaseInput
impl UpdateAgentKnowledgeBaseInput
sourcepub fn agent_id(&self) -> Option<&str>
pub fn agent_id(&self) -> Option<&str>
Id generated at the server side when an Agent is created
sourcepub fn agent_version(&self) -> Option<&str>
pub fn agent_version(&self) -> Option<&str>
Draft Version of the Agent.
sourcepub fn knowledge_base_id(&self) -> Option<&str>
pub fn knowledge_base_id(&self) -> Option<&str>
Id generated at the server side when a Knowledge Base is associated to an Agent
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Description of the Resource.
sourcepub fn knowledge_base_state(&self) -> Option<&KnowledgeBaseState>
pub fn knowledge_base_state(&self) -> Option<&KnowledgeBaseState>
State of the knowledge base; whether it is enabled or disabled
source§impl UpdateAgentKnowledgeBaseInput
impl UpdateAgentKnowledgeBaseInput
sourcepub fn builder() -> UpdateAgentKnowledgeBaseInputBuilder
pub fn builder() -> UpdateAgentKnowledgeBaseInputBuilder
Creates a new builder-style object to manufacture UpdateAgentKnowledgeBaseInput.
Trait Implementations§
source§impl Clone for UpdateAgentKnowledgeBaseInput
impl Clone for UpdateAgentKnowledgeBaseInput
source§fn clone(&self) -> UpdateAgentKnowledgeBaseInput
fn clone(&self) -> UpdateAgentKnowledgeBaseInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq for UpdateAgentKnowledgeBaseInput
impl PartialEq for UpdateAgentKnowledgeBaseInput
source§fn eq(&self, other: &UpdateAgentKnowledgeBaseInput) -> bool
fn eq(&self, other: &UpdateAgentKnowledgeBaseInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAgentKnowledgeBaseInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateAgentKnowledgeBaseInput
impl Send for UpdateAgentKnowledgeBaseInput
impl Sync for UpdateAgentKnowledgeBaseInput
impl Unpin for UpdateAgentKnowledgeBaseInput
impl UnwindSafe for UpdateAgentKnowledgeBaseInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.