#[non_exhaustive]pub struct UpdateAgentInput {
pub agent_id: Option<String>,
pub agent_name: Option<String>,
pub instruction: Option<String>,
pub foundation_model: Option<String>,
pub description: Option<String>,
pub idle_session_ttl_in_seconds: Option<i32>,
pub agent_resource_role_arn: Option<String>,
pub customer_encryption_key_arn: Option<String>,
pub prompt_override_configuration: Option<PromptOverrideConfiguration>,
}Expand description
Update Agent 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_name: Option<String>Name for a resource.
instruction: Option<String>Instruction for the agent.
foundation_model: Option<String>ARN or name of a Bedrock model.
description: Option<String>Description of the Resource.
idle_session_ttl_in_seconds: Option<i32>Max Session Time.
agent_resource_role_arn: Option<String>ARN of a IAM role.
customer_encryption_key_arn: Option<String>A KMS key ARN
prompt_override_configuration: Option<PromptOverrideConfiguration>Configuration for prompt override.
Implementations§
source§impl UpdateAgentInput
impl UpdateAgentInput
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_name(&self) -> Option<&str>
pub fn agent_name(&self) -> Option<&str>
Name for a resource.
sourcepub fn instruction(&self) -> Option<&str>
pub fn instruction(&self) -> Option<&str>
Instruction for the agent.
sourcepub fn foundation_model(&self) -> Option<&str>
pub fn foundation_model(&self) -> Option<&str>
ARN or name of a Bedrock model.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Description of the Resource.
sourcepub fn idle_session_ttl_in_seconds(&self) -> Option<i32>
pub fn idle_session_ttl_in_seconds(&self) -> Option<i32>
Max Session Time.
sourcepub fn agent_resource_role_arn(&self) -> Option<&str>
pub fn agent_resource_role_arn(&self) -> Option<&str>
ARN of a IAM role.
sourcepub fn customer_encryption_key_arn(&self) -> Option<&str>
pub fn customer_encryption_key_arn(&self) -> Option<&str>
A KMS key ARN
sourcepub fn prompt_override_configuration(
&self
) -> Option<&PromptOverrideConfiguration>
pub fn prompt_override_configuration( &self ) -> Option<&PromptOverrideConfiguration>
Configuration for prompt override.
source§impl UpdateAgentInput
impl UpdateAgentInput
sourcepub fn builder() -> UpdateAgentInputBuilder
pub fn builder() -> UpdateAgentInputBuilder
Creates a new builder-style object to manufacture UpdateAgentInput.
Trait Implementations§
source§impl Clone for UpdateAgentInput
impl Clone for UpdateAgentInput
source§fn clone(&self) -> UpdateAgentInput
fn clone(&self) -> UpdateAgentInput
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 Debug for UpdateAgentInput
impl Debug for UpdateAgentInput
source§impl PartialEq for UpdateAgentInput
impl PartialEq for UpdateAgentInput
source§fn eq(&self, other: &UpdateAgentInput) -> bool
fn eq(&self, other: &UpdateAgentInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAgentInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateAgentInput
impl Send for UpdateAgentInput
impl Sync for UpdateAgentInput
impl Unpin for UpdateAgentInput
impl UnwindSafe for UpdateAgentInput
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.