#[non_exhaustive]pub struct CreateAgentInput {
pub agent_name: Option<String>,
pub client_token: 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 tags: Option<HashMap<String, String>>,
pub prompt_override_configuration: Option<PromptOverrideConfiguration>,
}Expand description
Create 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_name: Option<String>Name for a resource.
client_token: Option<String>Client specified token used for idempotency checks
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
A map of tag keys and values
prompt_override_configuration: Option<PromptOverrideConfiguration>Configuration for prompt override.
Implementations§
source§impl CreateAgentInput
impl CreateAgentInput
sourcepub fn agent_name(&self) -> Option<&str>
pub fn agent_name(&self) -> Option<&str>
Name for a resource.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Client specified token used for idempotency checks
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
A map of tag keys and values
sourcepub fn prompt_override_configuration(
&self
) -> Option<&PromptOverrideConfiguration>
pub fn prompt_override_configuration( &self ) -> Option<&PromptOverrideConfiguration>
Configuration for prompt override.
source§impl CreateAgentInput
impl CreateAgentInput
sourcepub fn builder() -> CreateAgentInputBuilder
pub fn builder() -> CreateAgentInputBuilder
Creates a new builder-style object to manufacture CreateAgentInput.
Trait Implementations§
source§impl Clone for CreateAgentInput
impl Clone for CreateAgentInput
source§fn clone(&self) -> CreateAgentInput
fn clone(&self) -> CreateAgentInput
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 CreateAgentInput
impl Debug for CreateAgentInput
source§impl PartialEq for CreateAgentInput
impl PartialEq for CreateAgentInput
source§fn eq(&self, other: &CreateAgentInput) -> bool
fn eq(&self, other: &CreateAgentInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateAgentInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateAgentInput
impl Send for CreateAgentInput
impl Sync for CreateAgentInput
impl Unpin for CreateAgentInput
impl UnwindSafe for CreateAgentInput
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.