Struct aws_sdk_bedrockagent::operation::update_agent_action_group::builders::UpdateAgentActionGroupFluentBuilder
source · pub struct UpdateAgentActionGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateAgentActionGroup
.
Updates the configuration for an action group for an agent.
Implementations§
source§impl UpdateAgentActionGroupFluentBuilder
impl UpdateAgentActionGroupFluentBuilder
sourcepub fn as_input(&self) -> &UpdateAgentActionGroupInputBuilder
pub fn as_input(&self) -> &UpdateAgentActionGroupInputBuilder
Access the UpdateAgentActionGroup as a reference.
sourcepub async fn send(
self
) -> Result<UpdateAgentActionGroupOutput, SdkError<UpdateAgentActionGroupError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateAgentActionGroupOutput, SdkError<UpdateAgentActionGroupError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateAgentActionGroupOutput, UpdateAgentActionGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateAgentActionGroupOutput, UpdateAgentActionGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn agent_id(self, input: impl Into<String>) -> Self
pub fn agent_id(self, input: impl Into<String>) -> Self
The unique identifier of the agent for which to update the action group.
sourcepub fn set_agent_id(self, input: Option<String>) -> Self
pub fn set_agent_id(self, input: Option<String>) -> Self
The unique identifier of the agent for which to update the action group.
sourcepub fn get_agent_id(&self) -> &Option<String>
pub fn get_agent_id(&self) -> &Option<String>
The unique identifier of the agent for which to update the action group.
sourcepub fn agent_version(self, input: impl Into<String>) -> Self
pub fn agent_version(self, input: impl Into<String>) -> Self
The unique identifier of the agent version for which to update the action group.
sourcepub fn set_agent_version(self, input: Option<String>) -> Self
pub fn set_agent_version(self, input: Option<String>) -> Self
The unique identifier of the agent version for which to update the action group.
sourcepub fn get_agent_version(&self) -> &Option<String>
pub fn get_agent_version(&self) -> &Option<String>
The unique identifier of the agent version for which to update the action group.
sourcepub fn action_group_id(self, input: impl Into<String>) -> Self
pub fn action_group_id(self, input: impl Into<String>) -> Self
The unique identifier of the action group.
sourcepub fn set_action_group_id(self, input: Option<String>) -> Self
pub fn set_action_group_id(self, input: Option<String>) -> Self
The unique identifier of the action group.
sourcepub fn get_action_group_id(&self) -> &Option<String>
pub fn get_action_group_id(&self) -> &Option<String>
The unique identifier of the action group.
sourcepub fn action_group_name(self, input: impl Into<String>) -> Self
pub fn action_group_name(self, input: impl Into<String>) -> Self
Specifies a new name for the action group.
sourcepub fn set_action_group_name(self, input: Option<String>) -> Self
pub fn set_action_group_name(self, input: Option<String>) -> Self
Specifies a new name for the action group.
sourcepub fn get_action_group_name(&self) -> &Option<String>
pub fn get_action_group_name(&self) -> &Option<String>
Specifies a new name for the action group.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Specifies a new name for the action group.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Specifies a new name for the action group.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Specifies a new name for the action group.
sourcepub fn parent_action_group_signature(self, input: ActionGroupSignature) -> Self
pub fn parent_action_group_signature(self, input: ActionGroupSignature) -> Self
To allow your agent to request the user for additional information when trying to complete a task, set this field to AMAZON.UserInput
. You must leave the description
, apiSchema
, and actionGroupExecutor
fields blank for this action group.
During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
sourcepub fn set_parent_action_group_signature(
self,
input: Option<ActionGroupSignature>
) -> Self
pub fn set_parent_action_group_signature( self, input: Option<ActionGroupSignature> ) -> Self
To allow your agent to request the user for additional information when trying to complete a task, set this field to AMAZON.UserInput
. You must leave the description
, apiSchema
, and actionGroupExecutor
fields blank for this action group.
During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
sourcepub fn get_parent_action_group_signature(&self) -> &Option<ActionGroupSignature>
pub fn get_parent_action_group_signature(&self) -> &Option<ActionGroupSignature>
To allow your agent to request the user for additional information when trying to complete a task, set this field to AMAZON.UserInput
. You must leave the description
, apiSchema
, and actionGroupExecutor
fields blank for this action group.
During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
sourcepub fn action_group_executor(self, input: ActionGroupExecutor) -> Self
pub fn action_group_executor(self, input: ActionGroupExecutor) -> Self
The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
sourcepub fn set_action_group_executor(
self,
input: Option<ActionGroupExecutor>
) -> Self
pub fn set_action_group_executor( self, input: Option<ActionGroupExecutor> ) -> Self
The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
sourcepub fn get_action_group_executor(&self) -> &Option<ActionGroupExecutor>
pub fn get_action_group_executor(&self) -> &Option<ActionGroupExecutor>
The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
sourcepub fn action_group_state(self, input: ActionGroupState) -> Self
pub fn action_group_state(self, input: ActionGroupState) -> Self
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
sourcepub fn set_action_group_state(self, input: Option<ActionGroupState>) -> Self
pub fn set_action_group_state(self, input: Option<ActionGroupState>) -> Self
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
sourcepub fn get_action_group_state(&self) -> &Option<ActionGroupState>
pub fn get_action_group_state(&self) -> &Option<ActionGroupState>
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
sourcepub fn api_schema(self, input: ApiSchema) -> Self
pub fn api_schema(self, input: ApiSchema) -> Self
Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas.
sourcepub fn set_api_schema(self, input: Option<ApiSchema>) -> Self
pub fn set_api_schema(self, input: Option<ApiSchema>) -> Self
Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas.
sourcepub fn get_api_schema(&self) -> &Option<ApiSchema>
pub fn get_api_schema(&self) -> &Option<ApiSchema>
Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas.
sourcepub fn function_schema(self, input: FunctionSchema) -> Self
pub fn function_schema(self, input: FunctionSchema) -> Self
Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema.
sourcepub fn set_function_schema(self, input: Option<FunctionSchema>) -> Self
pub fn set_function_schema(self, input: Option<FunctionSchema>) -> Self
Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema.
sourcepub fn get_function_schema(&self) -> &Option<FunctionSchema>
pub fn get_function_schema(&self) -> &Option<FunctionSchema>
Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema.
Trait Implementations§
source§impl Clone for UpdateAgentActionGroupFluentBuilder
impl Clone for UpdateAgentActionGroupFluentBuilder
source§fn clone(&self) -> UpdateAgentActionGroupFluentBuilder
fn clone(&self) -> UpdateAgentActionGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateAgentActionGroupFluentBuilder
impl !RefUnwindSafe for UpdateAgentActionGroupFluentBuilder
impl Send for UpdateAgentActionGroupFluentBuilder
impl Sync for UpdateAgentActionGroupFluentBuilder
impl Unpin for UpdateAgentActionGroupFluentBuilder
impl !UnwindSafe for UpdateAgentActionGroupFluentBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more