Skip to content

Commit 5340898

Browse files
4.1.737
1 parent 616e113 commit 5340898

File tree

49 files changed

+1856
-962
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1856
-962
lines changed

Include/sdk/_sdk-versions.json

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

changelogs/CHANGELOG.2025.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
### 4.1.736 (2025-01-14 21:25Z)
1+
### 4.1.737 (2025-01-15 22:38Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.963.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/main/changelogs/SDK.CHANGELOG.ALL.md.
3+
* Amazon Bedrock Agent Runtime
4+
* Modified cmdlet Invoke-BARInlineAgent: added parameters StreamingConfigurations_ApplyGuardrailInterval and StreamingConfigurations_StreamFinalResponse.
5+
* Amazon Partner Central Selling API
6+
* Added cmdlet Add-PCResourceTag leveraging the TagResource service API.
7+
* Added cmdlet Get-PCResourceTag leveraging the ListTagsForResource service API.
8+
* Added cmdlet Remove-PCResourceTag leveraging the UntagResource service API.
9+
* Modified cmdlet Invoke-PCResourceSnapshotJob: added parameter Tag.
10+
* Modified cmdlet Invoke-PCStartEngagementByAcceptingInvitationTask: added parameter Tag.
11+
* Modified cmdlet Invoke-PCStartEngagementFromOpportunityTask: added parameter Tag.
12+
* Amazon Simple Storage Service (S3)
13+
* Modified cmdlet Write-S3Object: added parameters ChecksumValue and MpuObjectSize.
14+
* Modified cmdlet Write-S3GetObjectResponse: added parameter ChecksumCRC64NVME.
15+
16+
### 4.1.736 (2025-01-14 21:25Z)
217
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.962.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/main/changelogs/SDK.CHANGELOG.ALL.md.
318
* Amazon GameLift Service
419
* Modified cmdlet Start-GMLGameSessionPlacement: added parameters PriorityConfigurationOverride_LocationOrder and PriorityConfigurationOverride_PlacementFallbackStrategy.

changelogs/CHANGELOG.ALL.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
### 4.1.736 (2025-01-14 21:25Z)
1+
### 4.1.737 (2025-01-15 22:38Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.963.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/main/changelogs/SDK.CHANGELOG.ALL.md.
3+
* Amazon Bedrock Agent Runtime
4+
* Modified cmdlet Invoke-BARInlineAgent: added parameters StreamingConfigurations_ApplyGuardrailInterval and StreamingConfigurations_StreamFinalResponse.
5+
* Amazon Partner Central Selling API
6+
* Added cmdlet Add-PCResourceTag leveraging the TagResource service API.
7+
* Added cmdlet Get-PCResourceTag leveraging the ListTagsForResource service API.
8+
* Added cmdlet Remove-PCResourceTag leveraging the UntagResource service API.
9+
* Modified cmdlet Invoke-PCResourceSnapshotJob: added parameter Tag.
10+
* Modified cmdlet Invoke-PCStartEngagementByAcceptingInvitationTask: added parameter Tag.
11+
* Modified cmdlet Invoke-PCStartEngagementFromOpportunityTask: added parameter Tag.
12+
* Amazon Simple Storage Service (S3)
13+
* Modified cmdlet Write-S3Object: added parameters ChecksumValue and MpuObjectSize.
14+
* Modified cmdlet Write-S3GetObjectResponse: added parameter ChecksumCRC64NVME.
15+
16+
### 4.1.736 (2025-01-14 21:25Z)
217
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.962.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/main/changelogs/SDK.CHANGELOG.ALL.md.
318
* Amazon GameLift Service
419
* Modified cmdlet Start-GMLGameSessionPlacement: added parameters PriorityConfigurationOverride_LocationOrder and PriorityConfigurationOverride_PlacementFallbackStrategy.

generator/AWSPSGeneratorLib/Config/ServiceConfig/partnercentral-selling.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@
126126
<Params />
127127
<TypesNotToFlatten />
128128
</ServiceOperation>
129+
<ServiceOperation MethodName="ListTagsForResource" OutputProperty="Tags" Verb="Get" Noun="ResourceTag" PipelineParameter="ResourceArn" NoPipelineParameter="false">
130+
<Params />
131+
<TypesNotToFlatten />
132+
</ServiceOperation>
129133
<ServiceOperation MethodName="PutSellingSystemSettings" OutputProperty="*" Verb="Write" Noun="SellingSystemSetting" ShouldProcessTarget="ResourceSnapshotJobRoleIdentifier" PipelineParameter="Catalog" NoPipelineParameter="false">
130134
<Params />
131135
<TypesNotToFlatten />
@@ -154,6 +158,14 @@
154158
<Params />
155159
<TypesNotToFlatten />
156160
</ServiceOperation>
161+
<ServiceOperation MethodName="TagResource" Verb="Add" Noun="ResourceTag" ShouldProcessTarget="ResourceArn" PipelineParameter="ResourceArn" NoPipelineParameter="false">
162+
<Params />
163+
<TypesNotToFlatten />
164+
</ServiceOperation>
165+
<ServiceOperation MethodName="UntagResource" Verb="Remove" Noun="ResourceTag" ShouldProcessTarget="ResourceArn" PipelineParameter="ResourceArn" NoPipelineParameter="false">
166+
<Params />
167+
<TypesNotToFlatten />
168+
</ServiceOperation>
157169
<ServiceOperation MethodName="UpdateOpportunity" OutputProperty="*" Verb="Update" Noun="Opportunity" ShouldProcessTarget="Identifier" PipelineParameter="Identifier" NoPipelineParameter="false">
158170
<Params />
159171
<TypesNotToFlatten />

modules/AWSPowerShell/AWSAliases.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22418,6 +22418,7 @@ Set-Alias -Name PC-ListResourceSnapshots -Value Get-PCResourceSnapshotList
2241822418
Set-Alias -Name List-PCSolutions -Value Get-PCSolutionList
2241922419
Set-Alias -Name List-PCSolutionList -Value Get-PCSolutionList
2242022420
Set-Alias -Name PC-ListSolutions -Value Get-PCSolutionList
22421+
Set-Alias -Name PC-ListTagsForResource -Value Get-PCResourceTag
2242122422
Set-Alias -Name Put-PCSellingSystemSettings -Value Write-PCSellingSystemSetting
2242222423
Set-Alias -Name Put-PCSellingSystemSetting -Value Write-PCSellingSystemSetting
2242322424
Set-Alias -Name PC-PutSellingSystemSettings -Value Write-PCSellingSystemSetting
@@ -22433,6 +22434,8 @@ Set-Alias -Name PC-StartEngagementFromOpportunityTask -Value Invoke-PCStartEngag
2243322434
Set-Alias -Name PC-StartResourceSnapshotJob -Value Start-PCResourceSnapshotJob
2243422435
Set-Alias -Name PC-StopResourceSnapshotJob -Value Stop-PCResourceSnapshotJob
2243522436
Set-Alias -Name PC-SubmitOpportunity -Value Submit-PCOpportunity
22437+
Set-Alias -Name PC-TagResource -Value Add-PCResourceTag
22438+
Set-Alias -Name PC-UntagResource -Value Remove-PCResourceTag
2243622439
Set-Alias -Name PC-UpdateOpportunity -Value Update-PCOpportunity
2243722440
Set-Alias -Name Create-PAYCCAlias -Value New-PAYCCAlias
2243822441
Set-Alias -Name PAYCC-CreateAlias -Value New-PAYCCAlias

modules/AWSPowerShell/AWSPowerShellCompleters.psm1

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55174,13 +55174,16 @@ $PC_SelectMap = @{
5517455174
"Get-PCResourceSnapshotJobList",
5517555175
"Get-PCResourceSnapshotList",
5517655176
"Get-PCSolutionList",
55177+
"Get-PCResourceTag",
5517755178
"Write-PCSellingSystemSetting",
5517855179
"Invoke-PCRejectEngagementInvitation",
5517955180
"Invoke-PCStartEngagementByAcceptingInvitationTask",
5518055181
"Invoke-PCStartEngagementFromOpportunityTask",
5518155182
"Start-PCResourceSnapshotJob",
5518255183
"Stop-PCResourceSnapshotJob",
5518355184
"Submit-PCOpportunity",
55185+
"Add-PCResourceTag",
55186+
"Remove-PCResourceTag",
5518455187
"Update-PCOpportunity")
5518555188
}
5518655189

@@ -64094,7 +64097,7 @@ $S3_Completers = {
6409464097
($_ -eq "Write-S3ObjectTagSet/ChecksumAlgorithm")
6409564098
}
6409664099
{
64097-
$v = "CRC32","CRC32C","SHA1","SHA256"
64100+
$v = "CRC32","CRC32C","CRC64NVME","SHA1","SHA256"
6409864101
break
6409964102
}
6410064103

@@ -77294,7 +77297,7 @@ $WKS_Completers = {
7729477297
($_ -eq "Edit-WKSWorkspaceProperty/WorkspaceProperties_ComputeTypeName")
7729577298
}
7729677299
{
77297-
$v = "GRAPHICS","GRAPHICSPRO","GRAPHICSPRO_G4DN","GRAPHICS_G4DN","PERFORMANCE","POWER","POWERPRO","STANDARD","VALUE"
77300+
$v = "GENERALPURPOSE_4XLARGE","GENERALPURPOSE_8XLARGE","GRAPHICS","GRAPHICSPRO","GRAPHICSPRO_G4DN","GRAPHICS_G4DN","PERFORMANCE","POWER","POWERPRO","STANDARD","VALUE"
7729877301
break
7729977302
}
7730077303

modules/AWSPowerShell/Cmdlets/APIGateway/Basic/Get-AGDomainName-Cmdlet.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ public partial class GetAGDomainNameCmdlet : AmazonAPIGatewayClientCmdlet, IExec
6262
#region Parameter DomainNameId
6363
/// <summary>
6464
/// <para>
65-
/// <para> The identifier for the domain name resource. Supported only for private custom domain
66-
/// names. </para>
65+
/// <para> The identifier for the domain name resource. Required for private custom domain names.
66+
/// </para>
6767
/// </para>
6868
/// </summary>
6969
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]

modules/AWSPowerShell/Cmdlets/APIGateway/Basic/New-AGBasePathMapping-Cmdlet.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ public partial class NewAGBasePathMappingCmdlet : AmazonAPIGatewayClientCmdlet,
7474
#region Parameter DomainNameId
7575
/// <summary>
7676
/// <para>
77-
/// <para>The identifier for the domain name resource. Supported only for private custom domain
78-
/// names.</para>
77+
/// <para>The identifier for the domain name resource. Required for private custom domain names.</para>
7978
/// </para>
8079
/// </summary>
8180
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@
2828
namespace Amazon.PowerShell.Cmdlets.BAR
2929
{
3030
/// <summary>
31-
/// <note><para>
32-
/// The CLI doesn't support streaming operations in Amazon Bedrock, including <c>InvokeAgent</c>.
33-
/// </para></note><para>
31+
/// <note></note><para>
3432
/// Sends a prompt for the agent to process and respond to. Note the following fields
3533
/// for the request:
3634
/// </para><ul><li><para>
@@ -53,7 +51,10 @@ namespace Amazon.PowerShell.Cmdlets.BAR
5351
/// or, if you configured an action group to return control, results from invocation of
5452
/// the action group.
5553
/// </para></li></ul><para>
56-
/// The response is returned in the <c>bytes</c> field of the <c>chunk</c> object.
54+
/// The response contains both <b>chunk</b> and <b>trace</b> attributes.
55+
/// </para><para>
56+
/// The final response is returned in the <c>bytes</c> field of the <c>chunk</c> object.
57+
/// The <c>InvokeAgent</c> returns one chunk for the entire interaction.
5758
/// </para><ul><li><para>
5859
/// The <c>attribution</c> object contains citations for parts of the response.
5960
/// </para></li><li><para>

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

Lines changed: 55 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ namespace Amazon.PowerShell.Cmdlets.BAR
4848
/// </para></li><li><para>
4949
/// The agent instructions will not be honored if your agent has only one knowledge base,
5050
/// uses default prompts, has no action group, and user input is disabled.
51-
/// </para></li></ul><note><para>
52-
/// The CLI doesn't support streaming operations in Amazon Bedrock, including <c>InvokeInlineAgent</c>.
53-
/// </para></note>
51+
/// </para></li></ul><note></note>
5452
/// </summary>
5553
[Cmdlet("Invoke", "BARInlineAgent", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)]
5654
[OutputType("Amazon.BedrockAgentRuntime.Model.InvokeInlineAgentResponse")]
@@ -77,6 +75,16 @@ public partial class InvokeBARInlineAgentCmdlet : AmazonBedrockAgentRuntimeClien
7775
public Amazon.BedrockAgentRuntime.Model.AgentActionGroup[] ActionGroup { get; set; }
7876
#endregion
7977

78+
#region Parameter StreamingConfigurations_ApplyGuardrailInterval
79+
/// <summary>
80+
/// <para>
81+
/// <para> The guardrail interval to apply as response is generated. </para>
82+
/// </para>
83+
/// </summary>
84+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
85+
public System.Int32? StreamingConfigurations_ApplyGuardrailInterval { get; set; }
86+
#endregion
87+
8088
#region Parameter CustomerEncryptionKeyArn
8189
/// <summary>
8290
/// <para>
@@ -321,6 +329,17 @@ public partial class InvokeBARInlineAgentCmdlet : AmazonBedrockAgentRuntimeClien
321329
public System.String SessionId { get; set; }
322330
#endregion
323331

332+
#region Parameter StreamingConfigurations_StreamFinalResponse
333+
/// <summary>
334+
/// <para>
335+
/// <para> Specifies whether to enable streaming for the final response. This is set to <c>false</c>
336+
/// by default. </para>
337+
/// </para>
338+
/// </summary>
339+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
340+
public System.Boolean? StreamingConfigurations_StreamFinalResponse { get; set; }
341+
#endregion
342+
324343
#region Parameter Select
325344
/// <summary>
326345
/// Use the -Select parameter to control the cmdlet output. The default value is '*'.
@@ -450,6 +469,8 @@ protected override void ProcessRecord()
450469
WriteWarning("You are passing $null as a value for parameter SessionId which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues.");
451470
}
452471
#endif
472+
context.StreamingConfigurations_ApplyGuardrailInterval = this.StreamingConfigurations_ApplyGuardrailInterval;
473+
context.StreamingConfigurations_StreamFinalResponse = this.StreamingConfigurations_StreamFinalResponse;
453474

454475
// allow further manipulation of loaded context prior to processing
455476
PostExecutionContextLoad(context);
@@ -658,6 +679,35 @@ public object Execute(ExecutorContext context)
658679
request.SessionId = cmdletContext.SessionId;
659680
}
660681

682+
// populate StreamingConfigurations
683+
var requestStreamingConfigurationsIsNull = true;
684+
request.StreamingConfigurations = new Amazon.BedrockAgentRuntime.Model.StreamingConfigurations();
685+
System.Int32? requestStreamingConfigurations_streamingConfigurations_ApplyGuardrailInterval = null;
686+
if (cmdletContext.StreamingConfigurations_ApplyGuardrailInterval != null)
687+
{
688+
requestStreamingConfigurations_streamingConfigurations_ApplyGuardrailInterval = cmdletContext.StreamingConfigurations_ApplyGuardrailInterval.Value;
689+
}
690+
if (requestStreamingConfigurations_streamingConfigurations_ApplyGuardrailInterval != null)
691+
{
692+
request.StreamingConfigurations.ApplyGuardrailInterval = requestStreamingConfigurations_streamingConfigurations_ApplyGuardrailInterval.Value;
693+
requestStreamingConfigurationsIsNull = false;
694+
}
695+
System.Boolean? requestStreamingConfigurations_streamingConfigurations_StreamFinalResponse = null;
696+
if (cmdletContext.StreamingConfigurations_StreamFinalResponse != null)
697+
{
698+
requestStreamingConfigurations_streamingConfigurations_StreamFinalResponse = cmdletContext.StreamingConfigurations_StreamFinalResponse.Value;
699+
}
700+
if (requestStreamingConfigurations_streamingConfigurations_StreamFinalResponse != null)
701+
{
702+
request.StreamingConfigurations.StreamFinalResponse = requestStreamingConfigurations_streamingConfigurations_StreamFinalResponse.Value;
703+
requestStreamingConfigurationsIsNull = false;
704+
}
705+
// determine if request.StreamingConfigurations should be set to null
706+
if (requestStreamingConfigurationsIsNull)
707+
{
708+
request.StreamingConfigurations = null;
709+
}
710+
661711
CmdletOutput output;
662712

663713
// issue call
@@ -738,6 +788,8 @@ internal partial class CmdletContext : ExecutorContext
738788
public System.String PromptOverrideConfiguration_OverrideLambda { get; set; }
739789
public List<Amazon.BedrockAgentRuntime.Model.PromptConfiguration> PromptOverrideConfiguration_PromptConfiguration { get; set; }
740790
public System.String SessionId { get; set; }
791+
public System.Int32? StreamingConfigurations_ApplyGuardrailInterval { get; set; }
792+
public System.Boolean? StreamingConfigurations_StreamFinalResponse { get; set; }
741793
public System.Func<Amazon.BedrockAgentRuntime.Model.InvokeInlineAgentResponse, InvokeBARInlineAgentCmdlet, object> Select { get; set; } =
742794
(response, cmdlet) => response;
743795
}

0 commit comments

Comments
 (0)