Struct aws_sdk_bedrockagent::types::AgentAlias
source · #[non_exhaustive]pub struct AgentAlias {
pub agent_id: String,
pub agent_alias_id: String,
pub agent_alias_name: String,
pub agent_alias_arn: String,
pub client_token: Option<String>,
pub description: Option<String>,
pub routing_configuration: Vec<AgentAliasRoutingConfigurationListItem>,
pub created_at: DateTime,
pub updated_at: DateTime,
pub agent_alias_history_events: Option<Vec<AgentAliasHistoryEvent>>,
pub agent_alias_status: AgentAliasStatus,
}Expand description
Contains the information of an agent alias
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.agent_id: StringIdentifier for a resource.
agent_alias_id: StringId for an Agent Alias generated at the server side.
agent_alias_name: StringName for a resource.
agent_alias_arn: StringArn representation of the Agent Alias.
client_token: Option<String>Client specified token used for idempotency checks
description: Option<String>Description of the Resource.
routing_configuration: Vec<AgentAliasRoutingConfigurationListItem>Routing configuration for an Agent alias.
created_at: DateTimeTime Stamp.
updated_at: DateTimeTime Stamp.
agent_alias_history_events: Option<Vec<AgentAliasHistoryEvent>>The list of history events for an alias for an Agent.
agent_alias_status: AgentAliasStatusThe statuses an Agent Alias can be in.
Implementations§
source§impl AgentAlias
impl AgentAlias
sourcepub fn agent_alias_id(&self) -> &str
pub fn agent_alias_id(&self) -> &str
Id for an Agent Alias generated at the server side.
sourcepub fn agent_alias_name(&self) -> &str
pub fn agent_alias_name(&self) -> &str
Name for a resource.
sourcepub fn agent_alias_arn(&self) -> &str
pub fn agent_alias_arn(&self) -> &str
Arn representation of the Agent Alias.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Client specified token used for idempotency checks
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Description of the Resource.
sourcepub fn routing_configuration(&self) -> &[AgentAliasRoutingConfigurationListItem]
pub fn routing_configuration(&self) -> &[AgentAliasRoutingConfigurationListItem]
Routing configuration for an Agent alias.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
Time Stamp.
sourcepub fn updated_at(&self) -> &DateTime
pub fn updated_at(&self) -> &DateTime
Time Stamp.
sourcepub fn agent_alias_history_events(&self) -> &[AgentAliasHistoryEvent]
pub fn agent_alias_history_events(&self) -> &[AgentAliasHistoryEvent]
The list of history events for an alias for an Agent.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .agent_alias_history_events.is_none().
sourcepub fn agent_alias_status(&self) -> &AgentAliasStatus
pub fn agent_alias_status(&self) -> &AgentAliasStatus
The statuses an Agent Alias can be in.
source§impl AgentAlias
impl AgentAlias
sourcepub fn builder() -> AgentAliasBuilder
pub fn builder() -> AgentAliasBuilder
Creates a new builder-style object to manufacture AgentAlias.
Trait Implementations§
source§impl Clone for AgentAlias
impl Clone for AgentAlias
source§fn clone(&self) -> AgentAlias
fn clone(&self) -> AgentAlias
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AgentAlias
impl Debug for AgentAlias
source§impl PartialEq for AgentAlias
impl PartialEq for AgentAlias
source§fn eq(&self, other: &AgentAlias) -> bool
fn eq(&self, other: &AgentAlias) -> bool
self and other values to be equal, and is used
by ==.