Skip to content

Commit 59cd4c6

Browse files
4.1.836
1 parent 7b3d8dd commit 59cd4c6

27 files changed

+1089
-919
lines changed

Include/sdk/_sdk-versions.json

Lines changed: 816 additions & 816 deletions
Large diffs are not rendered by default.

changelogs/CHANGELOG.2025.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1-
### 4.1.835 (2025-06-05 20:31Z)
1+
### 4.1.836 (2025-06-06 20:23Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.1060.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/aws-sdk-net-v3.7/changelogs/SDK.CHANGELOG.ALL.md.
3+
* Amazon Bedrock Agent Runtime
4+
* Modified cmdlet Invoke-BARAgent: added parameters PromptCreationConfigurations_ExcludePreviousThinkingStep and PromptCreationConfigurations_PreviousConversationTurnsToInclude.
5+
* Modified cmdlet Invoke-BARInlineAgent: added parameters PromptCreationConfigurations_ExcludePreviousThinkingStep and PromptCreationConfigurations_PreviousConversationTurnsToInclude.
6+
* Amazon Rekognition
7+
* Modified cmdlet New-REKFaceLivenessSession: added parameter Settings_ChallengePreference.
8+
* Amazon S3 Tables
9+
* Modified cmdlet Get-S3TTable: added parameter TableArn.
10+
11+
### 4.1.835 (2025-06-05 20:31Z)
212
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.1059.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/aws-sdk-net-v3.7/changelogs/SDK.CHANGELOG.ALL.md.
313
* Amazon Key Management Service
414
* Modified cmdlet Get-KMSKeyRotation: added parameter IncludeKeyMaterial.

changelogs/CHANGELOG.ALL.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1-
### 4.1.835 (2025-06-05 20:31Z)
1+
### 4.1.836 (2025-06-06 20:23Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.1060.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/aws-sdk-net-v3.7/changelogs/SDK.CHANGELOG.ALL.md.
3+
* Amazon Bedrock Agent Runtime
4+
* Modified cmdlet Invoke-BARAgent: added parameters PromptCreationConfigurations_ExcludePreviousThinkingStep and PromptCreationConfigurations_PreviousConversationTurnsToInclude.
5+
* Modified cmdlet Invoke-BARInlineAgent: added parameters PromptCreationConfigurations_ExcludePreviousThinkingStep and PromptCreationConfigurations_PreviousConversationTurnsToInclude.
6+
* Amazon Rekognition
7+
* Modified cmdlet New-REKFaceLivenessSession: added parameter Settings_ChallengePreference.
8+
* Amazon S3 Tables
9+
* Modified cmdlet Get-S3TTable: added parameter TableArn.
10+
11+
### 4.1.835 (2025-06-05 20:31Z)
212
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.1059.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/aws-sdk-net-v3.7/changelogs/SDK.CHANGELOG.ALL.md.
313
* Amazon Key Management Service
414
* Modified cmdlet Get-KMSKeyRotation: added parameter IncludeKeyMaterial.

modules/AWSPowerShell/AWSPowerShellCompleters.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63847,7 +63847,7 @@ $R53_Completers = {
6384763847
($_ -eq "Update-R53HealthCheck/AlarmIdentifier_Region")
6384863848
}
6384963849
{
63850-
$v = "af-south-1","ap-east-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-south-1","ap-south-2","ap-southeast-1","ap-southeast-2","ap-southeast-3","ap-southeast-4","ap-southeast-5","ap-southeast-7","ca-central-1","ca-west-1","cn-north-1","cn-northwest-1","eu-central-1","eu-central-2","eu-north-1","eu-south-1","eu-south-2","eu-west-1","eu-west-2","eu-west-3","il-central-1","me-central-1","me-south-1","mx-central-1","sa-east-1","us-east-1","us-east-2","us-gov-east-1","us-gov-west-1","us-iso-east-1","us-iso-west-1","us-isob-east-1","us-isof-east-1","us-isof-south-1","us-west-1","us-west-2"
63850+
$v = "af-south-1","ap-east-1","ap-east-2","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-south-1","ap-south-2","ap-southeast-1","ap-southeast-2","ap-southeast-3","ap-southeast-4","ap-southeast-5","ap-southeast-7","ca-central-1","ca-west-1","cn-north-1","cn-northwest-1","eu-central-1","eu-central-2","eu-north-1","eu-south-1","eu-south-2","eu-west-1","eu-west-2","eu-west-3","il-central-1","me-central-1","me-south-1","mx-central-1","sa-east-1","us-east-1","us-east-2","us-gov-east-1","us-gov-west-1","us-iso-east-1","us-iso-west-1","us-isob-east-1","us-isof-east-1","us-isof-south-1","us-west-1","us-west-2"
6385163851
break
6385263852
}
6385363853

@@ -63923,7 +63923,7 @@ $R53_Completers = {
6392363923
($_ -eq "Get-R53HostedZonesByVPC/VPCRegion")
6392463924
}
6392563925
{
63926-
$v = "af-south-1","ap-east-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-south-1","ap-south-2","ap-southeast-1","ap-southeast-2","ap-southeast-3","ap-southeast-4","ap-southeast-5","ap-southeast-7","ca-central-1","ca-west-1","cn-north-1","cn-northwest-1","eu-central-1","eu-central-2","eu-north-1","eu-south-1","eu-south-2","eu-west-1","eu-west-2","eu-west-3","il-central-1","me-central-1","me-south-1","mx-central-1","sa-east-1","us-east-1","us-east-2","us-gov-east-1","us-gov-west-1","us-iso-east-1","us-iso-west-1","us-isob-east-1","us-isof-east-1","us-isof-south-1","us-west-1","us-west-2"
63926+
$v = "af-south-1","ap-east-1","ap-east-2","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-south-1","ap-south-2","ap-southeast-1","ap-southeast-2","ap-southeast-3","ap-southeast-4","ap-southeast-5","ap-southeast-7","ca-central-1","ca-west-1","cn-north-1","cn-northwest-1","eu-central-1","eu-central-2","eu-north-1","eu-south-1","eu-south-2","eu-west-1","eu-west-2","eu-west-3","il-central-1","me-central-1","me-south-1","mx-central-1","sa-east-1","us-east-1","us-east-2","us-gov-east-1","us-gov-west-1","us-iso-east-1","us-iso-west-1","us-isob-east-1","us-isof-east-1","us-isof-south-1","us-west-1","us-west-2"
6392763927
break
6392863928
}
6392963929

modules/AWSPowerShell/Cmdlets/BedrockAgentRuntime/Basic/Get-BARExecutionFlowSnapshot-Cmdlet.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@
2828
namespace Amazon.PowerShell.Cmdlets.BAR
2929
{
3030
/// <summary>
31-
/// Retrieves the flow definition snapshot used for an asynchronous execution. The snapshot
32-
/// represents the flow metadata and definition as it existed at the time the asynchronous
33-
/// execution was started. Note that even if the flow is edited after an execution starts,
34-
/// the snapshot connected to the execution remains unchanged.
31+
/// Retrieves the flow definition snapshot used for a flow execution. The snapshot represents
32+
/// the flow metadata and definition as it existed at the time the execution was started.
33+
/// Note that even if the flow is edited after an execution starts, the snapshot connected
34+
/// to the execution remains unchanged.
3535
///
3636
/// <note><para>
37-
/// Asynchronous flows is in preview release for Amazon Bedrock and is subject to change.
37+
/// Flow executions is in preview release for Amazon Bedrock and is subject to change.
3838
/// </para></note>
3939
/// </summary>
4040
[Cmdlet("Get", "BARExecutionFlowSnapshot")]
@@ -51,7 +51,7 @@ public partial class GetBARExecutionFlowSnapshotCmdlet : AmazonBedrockAgentRunti
5151
#region Parameter ExecutionIdentifier
5252
/// <summary>
5353
/// <para>
54-
/// <para>The unique identifier of the async execution.</para>
54+
/// <para>The unique identifier of the flow execution.</para>
5555
/// </para>
5656
/// </summary>
5757
#if !MODULAR
@@ -68,7 +68,7 @@ public partial class GetBARExecutionFlowSnapshotCmdlet : AmazonBedrockAgentRunti
6868
#region Parameter FlowAliasIdentifier
6969
/// <summary>
7070
/// <para>
71-
/// <para>The unique identifier of the flow alias used for the async execution.</para>
71+
/// <para>The unique identifier of the flow alias used for the flow execution.</para>
7272
/// </para>
7373
/// </summary>
7474
#if !MODULAR

modules/AWSPowerShell/Cmdlets/BedrockAgentRuntime/Basic/Get-BARFlowExecution-Cmdlet.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
namespace Amazon.PowerShell.Cmdlets.BAR
2929
{
3030
/// <summary>
31-
/// Retrieves details about a specific asynchronous execution of a flow, including its
32-
/// status, start and end times, and any errors that occurred during execution.
31+
/// Retrieves details about a specific flow execution, including its status, start and
32+
/// end times, and any errors that occurred during execution.
3333
/// </summary>
3434
[Cmdlet("Get", "BARFlowExecution")]
3535
[OutputType("Amazon.BedrockAgentRuntime.Model.GetFlowExecutionResponse")]
@@ -45,7 +45,7 @@ public partial class GetBARFlowExecutionCmdlet : AmazonBedrockAgentRuntimeClient
4545
#region Parameter ExecutionIdentifier
4646
/// <summary>
4747
/// <para>
48-
/// <para>The unique identifier of the async execution to retrieve.</para>
48+
/// <para>The unique identifier of the flow execution to retrieve.</para>
4949
/// </para>
5050
/// </summary>
5151
#if !MODULAR

modules/AWSPowerShell/Cmdlets/BedrockAgentRuntime/Basic/Get-BARFlowExecutionEventList-Cmdlet.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
namespace Amazon.PowerShell.Cmdlets.BAR
2929
{
3030
/// <summary>
31-
/// Lists events that occurred during an asynchronous execution of a flow. Events provide
32-
/// detailed information about the execution progress, including node inputs and outputs,
33-
/// flow inputs and outputs, condition results, and failure events.
31+
/// Lists events that occurred during a flow execution. Events provide detailed information
32+
/// about the execution progress, including node inputs and outputs, flow inputs and outputs,
33+
/// condition results, and failure events.
3434
///
3535
/// <note><para>
36-
/// Asynchronous flows is in preview release for Amazon Bedrock and is subject to change.
36+
/// Flow executions is in preview release for Amazon Bedrock and is subject to change.
3737
/// </para></note><br/><br/>This cmdlet automatically pages all available results to the pipeline - parameters related to iteration are only needed if you want to manually control the paginated output. To disable autopagination, use -NoAutoIteration.
3838
/// </summary>
3939
[Cmdlet("Get", "BARFlowExecutionEventList")]
@@ -71,7 +71,7 @@ public partial class GetBARFlowExecutionEventListCmdlet : AmazonBedrockAgentRunt
7171
#region Parameter ExecutionIdentifier
7272
/// <summary>
7373
/// <para>
74-
/// <para>The unique identifier of the async execution.</para>
74+
/// <para>The unique identifier of the flow execution.</para>
7575
/// </para>
7676
/// </summary>
7777
#if !MODULAR

modules/AWSPowerShell/Cmdlets/BedrockAgentRuntime/Basic/Get-BARFlowExecutionList-Cmdlet.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
namespace Amazon.PowerShell.Cmdlets.BAR
2929
{
3030
/// <summary>
31-
/// Lists all asynchronous executions for a flow. Results can be paginated and include
32-
/// summary information about each execution, such as status, start and end times, and
33-
/// the execution's Amazon Resource Name (ARN).
31+
/// Lists all executions of a flow. Results can be paginated and include summary information
32+
/// about each execution, such as status, start and end times, and the execution's Amazon
33+
/// Resource Name (ARN).
3434
///
3535
/// <note><para>
36-
/// Asynchronous flows is in preview release for Amazon Bedrock and is subject to change.
36+
/// Flow executions is in preview release for Amazon Bedrock and is subject to change.
3737
/// </para></note><br/><br/>This cmdlet automatically pages all available results to the pipeline - parameters related to iteration are only needed if you want to manually control the paginated output. To disable autopagination, use -NoAutoIteration.
3838
/// </summary>
3939
[Cmdlet("Get", "BARFlowExecutionList")]
@@ -78,9 +78,9 @@ public partial class GetBARFlowExecutionListCmdlet : AmazonBedrockAgentRuntimeCl
7878
#region Parameter MaxResult
7979
/// <summary>
8080
/// <para>
81-
/// <para>The maximum number of async executions to return in a single response. If more executions
82-
/// exist than the specified maxResults value, a token is included in the response so
83-
/// that the remaining results can be retrieved.</para>
81+
/// <para>The maximum number of flow executions to return in a single response. If more executions
82+
/// exist than the specified <c>maxResults</c> value, a token is included in the response
83+
/// so that the remaining results can be retrieved.</para>
8484
/// </para>
8585
/// </summary>
8686
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]

modules/AWSPowerShell/Cmdlets/BedrockAgentRuntime/Basic/Invoke-BARAgent-Cmdlet.cs

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,21 @@ public partial class InvokeBARAgentCmdlet : AmazonBedrockAgentRuntimeClientCmdle
145145
public System.Boolean? EndSession { get; set; }
146146
#endregion
147147

148+
#region Parameter PromptCreationConfigurations_ExcludePreviousThinkingStep
149+
/// <summary>
150+
/// <para>
151+
/// <para>If <c>true</c>, the service removes any content between <c>&lt;thinking&gt;</c> tags
152+
/// from previous conversations in an agent session. The service will only remove content
153+
/// from already processed turns. This helps you remove content which might not be useful
154+
/// for current and subsequent invocations. This can reduce the input token count and
155+
/// potentially save costs. The default value is <c>false</c>.</para>
156+
/// </para>
157+
/// </summary>
158+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
159+
[Alias("PromptCreationConfigurations_ExcludePreviousThinkingSteps")]
160+
public System.Boolean? PromptCreationConfigurations_ExcludePreviousThinkingStep { get; set; }
161+
#endregion
162+
148163
#region Parameter SessionState_File
149164
/// <summary>
150165
/// <para>
@@ -226,6 +241,20 @@ public partial class InvokeBARAgentCmdlet : AmazonBedrockAgentRuntimeClientCmdle
226241
public Amazon.BedrockAgentRuntime.Model.Message[] ConversationHistory_Message { get; set; }
227242
#endregion
228243

244+
#region Parameter PromptCreationConfigurations_PreviousConversationTurnsToInclude
245+
/// <summary>
246+
/// <para>
247+
/// <para>The number of previous conversations from the ongoing agent session to include in
248+
/// the conversation history of the agent prompt, during the current invocation. This
249+
/// gives you more granular control over the context that the model is made aware of,
250+
/// and helps the model remove older context which is no longer useful during the ongoing
251+
/// agent session.</para>
252+
/// </para>
253+
/// </summary>
254+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
255+
public System.Int32? PromptCreationConfigurations_PreviousConversationTurnsToInclude { get; set; }
256+
#endregion
257+
229258
#region Parameter SessionState_PromptSessionAttribute
230259
/// <summary>
231260
/// <para>
@@ -389,6 +418,8 @@ protected override void ProcessRecord()
389418
context.EndSession = this.EndSession;
390419
context.InputText = this.InputText;
391420
context.MemoryId = this.MemoryId;
421+
context.PromptCreationConfigurations_ExcludePreviousThinkingStep = this.PromptCreationConfigurations_ExcludePreviousThinkingStep;
422+
context.PromptCreationConfigurations_PreviousConversationTurnsToInclude = this.PromptCreationConfigurations_PreviousConversationTurnsToInclude;
392423
context.SessionId = this.SessionId;
393424
#if MODULAR
394425
if (this.SessionId == null && ParameterWasBound(nameof(this.SessionId)))
@@ -506,6 +537,35 @@ public object Execute(ExecutorContext context)
506537
{
507538
request.MemoryId = cmdletContext.MemoryId;
508539
}
540+
541+
// populate PromptCreationConfigurations
542+
var requestPromptCreationConfigurationsIsNull = true;
543+
request.PromptCreationConfigurations = new Amazon.BedrockAgentRuntime.Model.PromptCreationConfigurations();
544+
System.Boolean? requestPromptCreationConfigurations_promptCreationConfigurations_ExcludePreviousThinkingStep = null;
545+
if (cmdletContext.PromptCreationConfigurations_ExcludePreviousThinkingStep != null)
546+
{
547+
requestPromptCreationConfigurations_promptCreationConfigurations_ExcludePreviousThinkingStep = cmdletContext.PromptCreationConfigurations_ExcludePreviousThinkingStep.Value;
548+
}
549+
if (requestPromptCreationConfigurations_promptCreationConfigurations_ExcludePreviousThinkingStep != null)
550+
{
551+
request.PromptCreationConfigurations.ExcludePreviousThinkingSteps = requestPromptCreationConfigurations_promptCreationConfigurations_ExcludePreviousThinkingStep.Value;
552+
requestPromptCreationConfigurationsIsNull = false;
553+
}
554+
System.Int32? requestPromptCreationConfigurations_promptCreationConfigurations_PreviousConversationTurnsToInclude = null;
555+
if (cmdletContext.PromptCreationConfigurations_PreviousConversationTurnsToInclude != null)
556+
{
557+
requestPromptCreationConfigurations_promptCreationConfigurations_PreviousConversationTurnsToInclude = cmdletContext.PromptCreationConfigurations_PreviousConversationTurnsToInclude.Value;
558+
}
559+
if (requestPromptCreationConfigurations_promptCreationConfigurations_PreviousConversationTurnsToInclude != null)
560+
{
561+
request.PromptCreationConfigurations.PreviousConversationTurnsToInclude = requestPromptCreationConfigurations_promptCreationConfigurations_PreviousConversationTurnsToInclude.Value;
562+
requestPromptCreationConfigurationsIsNull = false;
563+
}
564+
// determine if request.PromptCreationConfigurations should be set to null
565+
if (requestPromptCreationConfigurationsIsNull)
566+
{
567+
request.PromptCreationConfigurations = null;
568+
}
509569
if (cmdletContext.SessionId != null)
510570
{
511571
request.SessionId = cmdletContext.SessionId;
@@ -705,6 +765,8 @@ internal partial class CmdletContext : ExecutorContext
705765
public System.Boolean? EndSession { get; set; }
706766
public System.String InputText { get; set; }
707767
public System.String MemoryId { get; set; }
768+
public System.Boolean? PromptCreationConfigurations_ExcludePreviousThinkingStep { get; set; }
769+
public System.Int32? PromptCreationConfigurations_PreviousConversationTurnsToInclude { get; set; }
708770
public System.String SessionId { get; set; }
709771
public List<Amazon.BedrockAgentRuntime.Model.Message> ConversationHistory_Message { get; set; }
710772
public List<Amazon.BedrockAgentRuntime.Model.InputFile> SessionState_File { get; set; }

0 commit comments

Comments
 (0)