Skip to content

Commit 3eaf0d1

Browse files
4.1.903
1 parent 8007ab3 commit 3eaf0d1

20 files changed

+109
-60
lines changed

Include/sdk/_sdk-versions.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
{
33
"NewServiceVersion" : "3.7.500.0",
4-
"ProductVersion" : "3.7.1125.0",
4+
"ProductVersion" : "3.7.1126.0",
55
"CoreVersion" : "3.7.500.20",
66
"OverrideCoreVersion" : "3.3",
77
"DefaultToPreview" : false,
@@ -154,7 +154,7 @@
154154
"InPreview" : false
155155
},
156156
"EC2" : {
157-
"Version" : "3.7.512.0",
157+
"Version" : "3.7.513.0",
158158
"AssemblyVersionOverride" : "3.3",
159159
"Dependencies" : {
160160
"Core" : "3.7.500.20"
@@ -588,7 +588,7 @@
588588
"InPreview" : false
589589
},
590590
"Budgets" : {
591-
"Version" : "3.7.503.0",
591+
"Version" : "3.7.504.0",
592592
"AssemblyVersionOverride" : "3.3",
593593
"Dependencies" : {
594594
"Core" : "3.7.500.20"
@@ -2092,7 +2092,7 @@
20922092
"InPreview" : false
20932093
},
20942094
"ChimeSDKMessaging" : {
2095-
"Version" : "3.7.500.20",
2095+
"Version" : "3.7.501.0",
20962096
"AssemblyVersionOverride" : "3.3",
20972097
"Dependencies" : {
20982098
"Core" : "3.7.500.20"
@@ -2724,7 +2724,7 @@
27242724
"InPreview" : false
27252725
},
27262726
"Bedrock" : {
2727-
"Version" : "3.7.502.14",
2727+
"Version" : "3.7.503.0",
27282728
"AssemblyVersionOverride" : "3.3",
27292729
"Dependencies" : {
27302730
"Core" : "3.7.500.20"

changelogs/CHANGELOG.2025.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
### 4.1.902 (2025-09-17 20:28Z)
1+
### 4.1.903 (2025-09-18 20:24Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.1126.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
4+
* [Breaking Change] Modified cmdlet Update-BDRAutomatedReasoningPolicyTestCase: removed parameter KmsKeyArn.
5+
* Amazon Chime SDK Messaging
6+
* Modified cmdlet Get-CHMMGMessagingSessionEndpoint: added parameters NetworkType and PassThru.
7+
8+
### 4.1.902 (2025-09-17 20:28Z)
29
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.1125.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.
310
* Amazon Network Firewall
411
* Modified cmdlet New-NWFWFirewallPolicy: added parameter FirewallPolicy_EnableTLSSessionHolding.

changelogs/CHANGELOG.ALL.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
### 4.1.902 (2025-09-17 20:28Z)
1+
### 4.1.903 (2025-09-18 20:24Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.1126.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
4+
* [Breaking Change] Modified cmdlet Update-BDRAutomatedReasoningPolicyTestCase: removed parameter KmsKeyArn.
5+
* Amazon Chime SDK Messaging
6+
* Modified cmdlet Get-CHMMGMessagingSessionEndpoint: added parameters NetworkType and PassThru.
7+
8+
### 4.1.902 (2025-09-17 20:28Z)
29
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.1125.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.
310
* Amazon Network Firewall
411
* Modified cmdlet New-NWFWFirewallPolicy: added parameter FirewallPolicy_EnableTLSSessionHolding.

generator/AWSPSGeneratorLib/Config/ServiceConfig/chime-sdk-messaging.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
<Params />
123123
<TypesNotToFlatten />
124124
</ServiceOperation>
125-
<ServiceOperation MethodName="GetMessagingSessionEndpoint" OutputProperty="Endpoint" Verb="Get" Noun="MessagingSessionEndpoint" PipelineParameter="" NoPipelineParameter="false" LegacyV4Pagination="true">
125+
<ServiceOperation MethodName="GetMessagingSessionEndpoint" OutputProperty="Endpoint" Verb="Get" Noun="MessagingSessionEndpoint" PipelineParameter="NetworkType" NoPipelineParameter="false" LegacyV4Pagination="true">
126126
<Params />
127127
<TypesNotToFlatten />
128128
</ServiceOperation>

modules/AWSPowerShell/AWSPowerShellCompleters.psm1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11144,6 +11144,13 @@ $CHMMG_Completers = {
1114411144
break
1114511145
}
1114611146

11147+
# Amazon.ChimeSDKMessaging.NetworkType
11148+
"Get-CHMMGMessagingSessionEndpoint/NetworkType"
11149+
{
11150+
$v = "DUAL_STACK","IPV4_ONLY"
11151+
break
11152+
}
11153+
1114711154
# Amazon.ChimeSDKMessaging.PushNotificationType
1114811155
{
1114911156
($_ -eq "Send-CHMMGChannelFlowCallback/PushNotification_Type") -Or
@@ -11172,6 +11179,7 @@ $CHMMG_Completers = {
1117211179
$CHMMG_map = @{
1117311180
"ExpirationSettings_ExpirationCriterion"=@("New-CHMMGChannel","Write-CHMMGChannelExpirationSetting")
1117411181
"Mode"=@("New-CHMMGChannel","Update-CHMMGChannel")
11182+
"NetworkType"=@("Get-CHMMGMessagingSessionEndpoint")
1117511183
"Persistence"=@("Send-CHMMGChannelMessage")
1117611184
"Privacy"=@("Get-CHMMGChannelList","New-CHMMGChannel")
1117711185
"PushNotification_Type"=@("Send-CHMMGChannelFlowCallback","Send-CHMMGChannelMessage")

modules/AWSPowerShell/Cmdlets/Bedrock/Basic/Update-BDRAutomatedReasoningPolicyTestCase-Cmdlet.cs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,6 @@ public partial class UpdateBDRAutomatedReasoningPolicyTestCaseCmdlet : AmazonBed
101101
public System.String GuardContent { get; set; }
102102
#endregion
103103

104-
#region Parameter KmsKeyArn
105-
/// <summary>
106-
/// <para>
107-
/// <para>The KMS key ARN for encrypting the test at rest. If not provided, the key will not
108-
/// be updated. Use <c>DISCARD</c> to remove the key.</para>
109-
/// </para>
110-
/// </summary>
111-
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
112-
public System.String KmsKeyArn { get; set; }
113-
#endregion
114-
115104
#region Parameter LastUpdatedAt
116105
/// <summary>
117106
/// <para>
@@ -252,7 +241,6 @@ protected override void ProcessRecord()
252241
WriteWarning("You are passing $null as a value for parameter GuardContent 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.");
253242
}
254243
#endif
255-
context.KmsKeyArn = this.KmsKeyArn;
256244
context.LastUpdatedAt = this.LastUpdatedAt;
257245
#if MODULAR
258246
if (this.LastUpdatedAt == null && ParameterWasBound(nameof(this.LastUpdatedAt)))
@@ -307,10 +295,6 @@ public object Execute(ExecutorContext context)
307295
{
308296
request.GuardContent = cmdletContext.GuardContent;
309297
}
310-
if (cmdletContext.KmsKeyArn != null)
311-
{
312-
request.KmsKeyArn = cmdletContext.KmsKeyArn;
313-
}
314298
if (cmdletContext.LastUpdatedAt != null)
315299
{
316300
request.LastUpdatedAt = cmdletContext.LastUpdatedAt.Value;
@@ -392,7 +376,6 @@ internal partial class CmdletContext : ExecutorContext
392376
public System.Double? ConfidenceThreshold { get; set; }
393377
public Amazon.Bedrock.AutomatedReasoningCheckResult ExpectedAggregatedFindingsResult { get; set; }
394378
public System.String GuardContent { get; set; }
395-
public System.String KmsKeyArn { get; set; }
396379
public System.DateTime? LastUpdatedAt { get; set; }
397380
public System.String PolicyArn { get; set; }
398381
public System.String QueryContent { get; set; }

modules/AWSPowerShell/Cmdlets/ChimeSDKMessaging/AWS.Tools.ChimeSDKMessaging.Completers.psm1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,13 @@ $CHMMG_Completers = {
142142
break
143143
}
144144

145+
# Amazon.ChimeSDKMessaging.NetworkType
146+
"Get-CHMMGMessagingSessionEndpoint/NetworkType"
147+
{
148+
$v = "DUAL_STACK","IPV4_ONLY"
149+
break
150+
}
151+
145152
# Amazon.ChimeSDKMessaging.PushNotificationType
146153
{
147154
($_ -eq "Send-CHMMGChannelFlowCallback/PushNotification_Type") -Or
@@ -170,6 +177,7 @@ $CHMMG_Completers = {
170177
$CHMMG_map = @{
171178
"ExpirationSettings_ExpirationCriterion"=@("New-CHMMGChannel","Write-CHMMGChannelExpirationSetting")
172179
"Mode"=@("New-CHMMGChannel","Update-CHMMGChannel")
180+
"NetworkType"=@("Get-CHMMGMessagingSessionEndpoint")
173181
"Persistence"=@("Send-CHMMGChannelMessage")
174182
"Privacy"=@("Get-CHMMGChannelList","New-CHMMGChannel")
175183
"PushNotification_Type"=@("Send-CHMMGChannelFlowCallback","Send-CHMMGChannelMessage")

modules/AWSPowerShell/Cmdlets/ChimeSDKMessaging/Basic/Get-CHMMGChannelMembershipList-Cmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace Amazon.PowerShell.Cmdlets.CHMMG
3535
/// or <c>AppInstanceBot</c> that makes the API call as the value in the header.
3636
/// </para></note><para>
3737
/// If you want to list the channels to which a specific app instance user belongs, see
38-
/// the <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_messaging-chime_ListChannelMembershipsForAppInstanceUser.html">ListChannelMembershipsForAppInstanceUser</a>
38+
/// the <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_messaging-chime_ListChannelMembershipsForAppInstanceUser.html">ListChannelMembershipsForAppInstanceUser</a>
3939
/// API.
4040
/// </para>
4141
/// </summary>

modules/AWSPowerShell/Cmdlets/ChimeSDKMessaging/Basic/Get-CHMMGMessagingSessionEndpoint-Cmdlet.cs

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@ public partial class GetCHMMGMessagingSessionEndpointCmdlet : AmazonChimeSDKMess
4242

4343
protected override bool IsGeneratedCmdlet { get; set; } = true;
4444

45+
#region Parameter NetworkType
46+
/// <summary>
47+
/// <para>
48+
/// <para>The type of network for the messaging session endpoint. Either IPv4 only or dual-stack
49+
/// (IPv4 and IPv6).</para>
50+
/// </para>
51+
/// </summary>
52+
[System.Management.Automation.Parameter(Position = 0, ValueFromPipelineByPropertyName = true, ValueFromPipeline = true)]
53+
[AWSConstantClassSource("Amazon.ChimeSDKMessaging.NetworkType")]
54+
public Amazon.ChimeSDKMessaging.NetworkType NetworkType { get; set; }
55+
#endregion
56+
4557
#region Parameter Select
4658
/// <summary>
4759
/// Use the -Select parameter to control the cmdlet output. The default value is 'Endpoint'.
@@ -53,6 +65,16 @@ public partial class GetCHMMGMessagingSessionEndpointCmdlet : AmazonChimeSDKMess
5365
public string Select { get; set; } = "Endpoint";
5466
#endregion
5567

68+
#region Parameter PassThru
69+
/// <summary>
70+
/// Changes the cmdlet behavior to return the value passed to the NetworkType parameter.
71+
/// The -PassThru parameter is deprecated, use -Select '^NetworkType' instead. This parameter will be removed in a future version.
72+
/// </summary>
73+
[System.Obsolete("The -PassThru parameter is deprecated, use -Select '^NetworkType' instead. This parameter will be removed in a future version.")]
74+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
75+
public SwitchParameter PassThru { get; set; }
76+
#endregion
77+
5678
protected override void ProcessRecord()
5779
{
5880
this._AWSSignerType = "v4";
@@ -63,11 +85,22 @@ protected override void ProcessRecord()
6385
// allow for manipulation of parameters prior to loading into context
6486
PreExecutionContextLoad(context);
6587

88+
#pragma warning disable CS0618, CS0612 //A class member was marked with the Obsolete attribute
6689
if (ParameterWasBound(nameof(this.Select)))
6790
{
6891
context.Select = CreateSelectDelegate<Amazon.ChimeSDKMessaging.Model.GetMessagingSessionEndpointResponse, GetCHMMGMessagingSessionEndpointCmdlet>(Select) ??
6992
throw new System.ArgumentException("Invalid value for -Select parameter.", nameof(this.Select));
93+
if (this.PassThru.IsPresent)
94+
{
95+
throw new System.ArgumentException("-PassThru cannot be used when -Select is specified.", nameof(this.Select));
96+
}
7097
}
98+
else if (this.PassThru.IsPresent)
99+
{
100+
context.Select = (response, cmdlet) => this.NetworkType;
101+
}
102+
#pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute
103+
context.NetworkType = this.NetworkType;
71104

72105
// allow further manipulation of loaded context prior to processing
73106
PostExecutionContextLoad(context);
@@ -84,6 +117,10 @@ public object Execute(ExecutorContext context)
84117
// create request
85118
var request = new Amazon.ChimeSDKMessaging.Model.GetMessagingSessionEndpointRequest();
86119

120+
if (cmdletContext.NetworkType != null)
121+
{
122+
request.NetworkType = cmdletContext.NetworkType;
123+
}
87124

88125
CmdletOutput output;
89126

@@ -145,6 +182,7 @@ private Amazon.ChimeSDKMessaging.Model.GetMessagingSessionEndpointResponse CallA
145182

146183
internal partial class CmdletContext : ExecutorContext
147184
{
185+
public Amazon.ChimeSDKMessaging.NetworkType NetworkType { get; set; }
148186
public System.Func<Amazon.ChimeSDKMessaging.Model.GetMessagingSessionEndpointResponse, GetCHMMGMessagingSessionEndpointCmdlet, object> Select { get; set; } =
149187
(response, cmdlet) => response.Endpoint;
150188
}

modules/AWSPowerShell/Cmdlets/ChimeSDKMessaging/Basic/Hide-CHMMGChannelMessage-Cmdlet.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
namespace Amazon.PowerShell.Cmdlets.CHMMG
2929
{
3030
/// <summary>
31-
/// Redacts message content, but not metadata. The message exists in the back end, but
32-
/// the action returns null content, and the state shows as redacted.
31+
/// Redacts message content and metadata. The message exists in the back end, but the
32+
/// action returns null content, and the state shows as redacted.
3333
///
3434
/// <note><para>
3535
/// The <c>x-amz-chime-bearer</c> request header is mandatory. Use the ARN of the <c>AppInstanceUser</c>

0 commit comments

Comments
 (0)