The alias of the agent to use.
Required? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The unique identifier of the agent to use.
Required? | True |
Position? | 1 |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Amazon.PowerShell.Cmdlets.BAR.AmazonBedrockAgentRuntimeClientCmdlet.ClientConfig
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The conversation's messages. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SessionState_ConversationHistory_Messages |
Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see
Trace enablement.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Specifies whether to end the session with the agent or not.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The prompt text to send the agent.If you include returnControlInvocationResults in the sessionState field, the inputText field will be ignored.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The unique identifier of the agent memory.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
To use a latency-optimized version of the model, set to optimized.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | BedrockModelConfigurations_PerformanceConfig_Latency |
-PromptCreationConfigurations_ExcludePreviousThinkingStep <
Boolean>
If true, the service removes any content between <thinking> tags from previous conversations in an agent session. The service will only remove content from already processed turns. This helps you remove content which might not be useful for current and subsequent invocations. This can reduce the input token count and potentially save costs. The default value is false.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | PromptCreationConfigurations_ExcludePreviousThinkingSteps |
-PromptCreationConfigurations_PreviousConversationTurnsToInclude <
Int32>
The number of previous conversations from the ongoing agent session to include in the conversation history of the agent prompt, during the current invocation. This gives you more granular control over the context that the model is made aware of, and helps the model remove older context which is no longer useful during the ongoing agent session.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Use the -Select parameter to control the cmdlet output. The default value is '*'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.BedrockAgentRuntime.Model.InvokeAgentResponse). Specifying the name of a property of type Amazon.BedrockAgentRuntime.Model.InvokeAgentResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The unique identifier of the session. Use the same value across requests to continue the same conversation.
Required? | True |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Contains information about the files used by code interpreter. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SessionState_Files |
-SessionState_InvocationId <
String>
The identifier of the invocation of an action. This value must match the
invocationId returned in the
InvokeAgent response for the action whose results are provided in the
returnControlInvocationResults field. For more information, see
Return control to the agent developer and
Control session context.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
An array of configurations, each of which applies to a knowledge base attached to the agent. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SessionState_KnowledgeBaseConfigurations |
-SessionState_PromptSessionAttribute <
Hashtable>
Contains attributes that persist across a prompt and the values of those attributes.
- In orchestration prompt template, these attributes replace the $prompt_session_attributes$ placeholder variable. For more information, see Prompt template placeholder variables.
- In multi-agent collaboration, the promptSessionAttributes will only be used by supervisor agent when $prompt_session_attributes$ is present in prompt template.
Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SessionState_PromptSessionAttributes |
Contains information about the results from the action group invocation. For more information, see
Return control to the agent developer and
Control session context.If you include this field, the
inputText field will be ignored. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SessionState_ReturnControlInvocationResults |
Contains attributes that persist across a session and the values of those attributes. If
sessionAttributes are passed to a supervisor agent in
multi-agent collaboration, it will be forwarded to all agent collaborators. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SessionState_SessionAttributes |
The ARN of the resource making the request.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
-StreamingConfigurations_ApplyGuardrailInterval <
Int32>
The guardrail interval to apply as response is generated. By default, the guardrail interval is set to 50 characters. If a larger interval is specified, the response will be generated in larger chunks with fewer ApplyGuardrail calls. The following examples show the response generated for Hello, I am an agent input string.Example response in chunks: Interval set to 3 characters'Hel', 'lo, ','I am', ' an', ' Age', 'nt'Each chunk has at least 3 characters except for the last chunkExample response in chunks: Interval set to 20 or more charactersHello, I am an Agent
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
-StreamingConfigurations_StreamFinalResponse <
Boolean>
Specifies whether to enable streaming for the final response. This is set to false by default.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |