Skip to content

Commit 34e0e05

Browse files
5.0.118
1 parent c686f4e commit 34e0e05

22 files changed

+724
-165
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" : "4.0.0.0",
4-
"ProductVersion" : "4.0.153.0",
4+
"ProductVersion" : "4.0.154.0",
55
"CoreVersion" : "4.0.3.6",
66
"OverrideCoreVersion" : "4.0",
77
"DefaultToPreview" : false,
@@ -308,7 +308,7 @@
308308
"InPreview" : false
309309
},
310310
"S3" : {
311-
"Version" : "4.0.15.0",
311+
"Version" : "4.0.15.1",
312312
"AssemblyVersionOverride" : "4.0",
313313
"Dependencies" : {
314314
"Core" : "4.0.3.6"
@@ -460,7 +460,7 @@
460460
"InPreview" : false
461461
},
462462
"IoT" : {
463-
"Version" : "4.0.3.10",
463+
"Version" : "4.0.4.0",
464464
"AssemblyVersionOverride" : "4.0",
465465
"Dependencies" : {
466466
"Core" : "4.0.3.6"
@@ -2884,7 +2884,7 @@
28842884
"InPreview" : false
28852885
},
28862886
"TimestreamInfluxDB" : {
2887-
"Version" : "4.0.4.11",
2887+
"Version" : "4.0.5.0",
28882888
"AssemblyVersionOverride" : "4.0",
28892889
"Dependencies" : {
28902890
"Core" : "4.0.3.6"
@@ -3350,7 +3350,7 @@
33503350
},
33513351
"ExtensionVersions" : {
33523352
"Extensions.Bedrock.MEAI" : {
3353-
"Version" : "4.0.5.0",
3353+
"Version" : "4.0.5.1",
33543354
"AssemblyVersionOverride" : "4.0",
33553355
"Dependencies" : {
33563356
"Core" : "4.0.3.6",

changelogs/CHANGELOG.2025.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1-
### 5.0.117 (2025-12-15 22:00Z)
1+
### 5.0.118 (2025-12-16 21:45Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 4.0.154.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 IoT
4+
* Modified cmdlet New-IOTCommand: added parameters PayloadTemplate and Preprocessor_AwsJsonSubstitution_OutputFormat.
5+
* Amazon Simple Storage Service (S3)
6+
* [Breaking Change] Modified cmdlet Update-S3BucketMetadataJournalTableConfiguration: removed parameters EncryptionConfiguration_KmsKeyArn, EncryptionConfiguration_SseAlgorithm and JournalTableConfiguration_ConfigurationState; added parameters JournalTableConfiguration_RecordExpiration_Day and JournalTableConfiguration_RecordExpiration_Expiration.
7+
* Amazon Timestream InfluxDB
8+
* Added cmdlet Restart-TIDBDbCluster leveraging the RebootDbCluster service API.
9+
* Added cmdlet Restart-TIDBDbInstance leveraging the RebootDbInstance service API.
10+
11+
### 5.0.117 (2025-12-15 22:00Z)
212
* AWS Tools for PowerShell now use AWS .NET SDK 4.0.153.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.
313
* Amazon CloudWatch Logs
414
* Added cmdlet Get-CWLCWLImportTask leveraging the DescribeImportTasks service API.

changelogs/CHANGELOG.ALL.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1-
### 5.0.117 (2025-12-15 22:00Z)
1+
### 5.0.118 (2025-12-16 21:45Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 4.0.154.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 IoT
4+
* Modified cmdlet New-IOTCommand: added parameters PayloadTemplate and Preprocessor_AwsJsonSubstitution_OutputFormat.
5+
* Amazon Simple Storage Service (S3)
6+
* [Breaking Change] Modified cmdlet Update-S3BucketMetadataJournalTableConfiguration: removed parameters EncryptionConfiguration_KmsKeyArn, EncryptionConfiguration_SseAlgorithm and JournalTableConfiguration_ConfigurationState; added parameters JournalTableConfiguration_RecordExpiration_Day and JournalTableConfiguration_RecordExpiration_Expiration.
7+
* Amazon Timestream InfluxDB
8+
* Added cmdlet Restart-TIDBDbCluster leveraging the RebootDbCluster service API.
9+
* Added cmdlet Restart-TIDBDbInstance leveraging the RebootDbInstance service API.
10+
11+
### 5.0.117 (2025-12-15 22:00Z)
212
* AWS Tools for PowerShell now use AWS .NET SDK 4.0.153.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.
313
* Amazon CloudWatch Logs
414
* Added cmdlet Get-CWLCWLImportTask leveraging the DescribeImportTasks service API.

generator/AWSPSGeneratorLib/Config/ServiceConfig/timestream-influxdb.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,16 @@
243243
<Params />
244244
<TypesNotToFlatten />
245245
</ServiceOperation>
246+
<ServiceOperation MethodName="RebootDbCluster" OutputProperty="DbClusterStatus" Verb="Restart" Noun="DbCluster" ShouldProcessTarget="DbClusterId" PipelineParameter="DbClusterId" NoPipelineParameter="false">
247+
<Params>
248+
<Param Name="InstanceIds" Alias="InstanceIds" />
249+
</Params>
250+
<TypesNotToFlatten />
251+
</ServiceOperation>
252+
<ServiceOperation MethodName="RebootDbInstance" OutputProperty="*" Verb="Restart" Noun="DbInstance" ShouldProcessTarget="Identifier" PipelineParameter="Identifier" NoPipelineParameter="false">
253+
<Params />
254+
<TypesNotToFlatten />
255+
</ServiceOperation>
246256
<ServiceOperation MethodName="TagResource" Verb="Add" Noun="ResourceTag" ShouldProcessTarget="ResourceArn" PipelineParameter="ResourceArn" NoPipelineParameter="false" LegacyV4Pagination="true">
247257
<Params />
248258
<TypesNotToFlatten />

modules/AWSPowerShell/AWSAliases.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32094,6 +32094,10 @@ Set-Alias -Name List-TIDBDbParameterGroups -Value Get-TIDBDbParameterGroupList
3209432094
Set-Alias -Name List-TIDBDbParameterGroupList -Value Get-TIDBDbParameterGroupList
3209532095
Set-Alias -Name TIDB-ListDbParameterGroups -Value Get-TIDBDbParameterGroupList
3209632096
Set-Alias -Name TIDB-ListTagsForResource -Value Get-TIDBResourceTag
32097+
Set-Alias -Name Reboot-TIDBDbCluster -Value Restart-TIDBDbCluster
32098+
Set-Alias -Name TIDB-RebootDbCluster -Value Restart-TIDBDbCluster
32099+
Set-Alias -Name Reboot-TIDBDbInstance -Value Restart-TIDBDbInstance
32100+
Set-Alias -Name TIDB-RebootDbInstance -Value Restart-TIDBDbInstance
3209732101
Set-Alias -Name TIDB-TagResource -Value Add-TIDBResourceTag
3209832102
Set-Alias -Name TIDB-UntagResource -Value Remove-TIDBResourceTag
3209932103
Set-Alias -Name TIDB-UpdateDbCluster -Value Update-TIDBDbCluster

modules/AWSPowerShell/AWSPowerShellCompleters.psm1

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41994,6 +41994,13 @@ $IOT_Completers = {
4199441994
break
4199541995
}
4199641996

41997+
# Amazon.IoT.OutputFormat
41998+
"New-IOTCommand/Preprocessor_AwsJsonSubstitution_OutputFormat"
41999+
{
42000+
$v = "CBOR","JSON"
42001+
break
42002+
}
42003+
4199742004
# Amazon.IoT.PackageVersionAction
4199842005
"Update-IOTPackageVersion/Action"
4199942006
{
@@ -42161,6 +42168,7 @@ $IOT_map = @{
4216142168
"NewAutoRegistrationStatus"=@("Update-IOTCACertificate")
4216242169
"NewStatus"=@("Update-IOTCACertificate","Update-IOTCertificate")
4216342170
"OtaUpdateStatus"=@("Get-IOTOTAUpdateList")
42171+
"Preprocessor_AwsJsonSubstitution_OutputFormat"=@("New-IOTCommand")
4216442172
"ReplaceDefaultPolicyVersionParams_TemplateName"=@("New-IOTMitigationAction","Update-IOTMitigationAction")
4216542173
"ReportType"=@("Get-IOTThingRegistrationTaskReportList")
4216642174
"S3_CannedAcl"=@("New-IOTTopicRule","Set-IOTTopicRule")
@@ -70350,7 +70358,10 @@ $S3_Completers = {
7035070358
}
7035170359

7035270360
# Amazon.S3.ExpirationState
70353-
"New-S3BucketMetadataConfiguration/RecordExpiration_Expiration"
70361+
{
70362+
($_ -eq "Update-S3BucketMetadataJournalTableConfiguration/JournalTableConfiguration_RecordExpiration_Expiration") -Or
70363+
($_ -eq "New-S3BucketMetadataConfiguration/RecordExpiration_Expiration")
70364+
}
7035470365
{
7035570366
$v = "DISABLED","ENABLED"
7035670367
break
@@ -70411,13 +70422,6 @@ $S3_Completers = {
7041170422
break
7041270423
}
7041370424

70414-
# Amazon.S3.JournalConfigurationState
70415-
"Update-S3BucketMetadataJournalTableConfiguration/JournalTableConfiguration_ConfigurationState"
70416-
{
70417-
$v = "DISABLED","ENABLED"
70418-
break
70419-
}
70420-
7042170425
# Amazon.S3.ObjectLockEnabled
7042270426
"Write-S3ObjectLockConfiguration/ObjectLockConfiguration_ObjectLockEnabled"
7042370427
{
@@ -70583,7 +70587,6 @@ $S3_Completers = {
7058370587
# Amazon.S3.TableSseAlgorithm
7058470588
{
7058570589
($_ -eq "Update-S3BucketMetadataInventoryTableConfiguration/EncryptionConfiguration_SseAlgorithm") -Or
70586-
($_ -eq "Update-S3BucketMetadataJournalTableConfiguration/EncryptionConfiguration_SseAlgorithm") -Or
7058770590
($_ -eq "New-S3BucketMetadataConfiguration/MetadataConfiguration_InventoryTableConfiguration_EncryptionConfiguration_SseAlgorithm") -Or
7058870591
($_ -eq "New-S3BucketMetadataConfiguration/MetadataConfiguration_JournalTableConfiguration_EncryptionConfiguration_SseAlgorithm")
7058970592
}
@@ -70627,12 +70630,12 @@ $S3_map = @{
7062770630
"DefaultRetention_Mode"=@("Write-S3ObjectLockConfiguration")
7062870631
"Encoding"=@("Get-S3MultipartUpload","Get-S3Object","Get-S3ObjectV2","Get-S3Version")
7062970632
"Encryption_EncryptionType"=@("Restore-S3Object")
70630-
"EncryptionConfiguration_SseAlgorithm"=@("Update-S3BucketMetadataInventoryTableConfiguration","Update-S3BucketMetadataJournalTableConfiguration")
70633+
"EncryptionConfiguration_SseAlgorithm"=@("Update-S3BucketMetadataInventoryTableConfiguration")
7063170634
"ExpressionType"=@("Select-S3ObjectContent")
7063270635
"IntelligentTieringConfiguration_Status"=@("Write-S3BucketIntelligentTieringConfiguration")
7063370636
"InventoryConfiguration_IncludedObjectVersion"=@("Write-S3BucketInventoryConfiguration")
7063470637
"InventoryTableConfiguration_ConfigurationState"=@("New-S3BucketMetadataConfiguration","Update-S3BucketMetadataInventoryTableConfiguration")
70635-
"JournalTableConfiguration_ConfigurationState"=@("Update-S3BucketMetadataJournalTableConfiguration")
70638+
"JournalTableConfiguration_RecordExpiration_Expiration"=@("Update-S3BucketMetadataJournalTableConfiguration")
7063670639
"LegalHold_Status"=@("Write-S3ObjectLegalHold")
7063770640
"MetadataConfiguration_InventoryTableConfiguration_EncryptionConfiguration_SseAlgorithm"=@("New-S3BucketMetadataConfiguration")
7063870641
"MetadataConfiguration_JournalTableConfiguration_EncryptionConfiguration_SseAlgorithm"=@("New-S3BucketMetadataConfiguration")
@@ -80795,6 +80798,8 @@ $TIDB_SelectMap = @{
8079580798
"Get-TIDBDbInstancesForClusterList",
8079680799
"Get-TIDBDbParameterGroupList",
8079780800
"Get-TIDBResourceTag",
80801+
"Restart-TIDBDbCluster",
80802+
"Restart-TIDBDbInstance",
8079880803
"Add-TIDBResourceTag",
8079980804
"Remove-TIDBResourceTag",
8080080805
"Update-TIDBDbCluster",

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,13 @@ $IOT_Completers = {
402402
break
403403
}
404404

405+
# Amazon.IoT.OutputFormat
406+
"New-IOTCommand/Preprocessor_AwsJsonSubstitution_OutputFormat"
407+
{
408+
$v = "CBOR","JSON"
409+
break
410+
}
411+
405412
# Amazon.IoT.PackageVersionAction
406413
"Update-IOTPackageVersion/Action"
407414
{
@@ -569,6 +576,7 @@ $IOT_map = @{
569576
"NewAutoRegistrationStatus"=@("Update-IOTCACertificate")
570577
"NewStatus"=@("Update-IOTCACertificate","Update-IOTCertificate")
571578
"OtaUpdateStatus"=@("Get-IOTOTAUpdateList")
579+
"Preprocessor_AwsJsonSubstitution_OutputFormat"=@("New-IOTCommand")
572580
"ReplaceDefaultPolicyVersionParams_TemplateName"=@("New-IOTMitigationAction","Update-IOTMitigationAction")
573581
"ReportType"=@("Get-IOTThingRegistrationTaskReportList")
574582
"S3_CannedAcl"=@("New-IOTTopicRule","Set-IOTTopicRule")

modules/AWSPowerShell/Cmdlets/IoT/Basic/Get-IOTEncryptionConfiguration-Cmdlet.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ namespace Amazon.PowerShell.Cmdlets.IOT
3131
{
3232
/// <summary>
3333
/// Retrieves the encryption configuration for resources and data of your Amazon Web Services
34-
/// account in Amazon Web Services IoT Core. For more information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/key-management.html">Key
35-
/// management in IoT</a> from the <i>Amazon Web Services IoT Core Developer Guide</i>.
34+
/// account in Amazon Web Services IoT Core. For more information, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/encryption-at-rest.html">Data
35+
/// encryption at rest</a> in the <i>Amazon Web Services IoT Core Developer Guide</i>.
3636
/// </summary>
3737
[Cmdlet("Get", "IOTEncryptionConfiguration")]
3838
[OutputType("Amazon.IoT.Model.DescribeEncryptionConfigurationResponse")]

modules/AWSPowerShell/Cmdlets/IoT/Basic/New-IOTCommand-Cmdlet.cs

Lines changed: 69 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,8 @@ public partial class NewIOTCommandCmdlet : AmazonIoTClientCmdlet, IExecutor
112112
#region Parameter MandatoryParameter
113113
/// <summary>
114114
/// <para>
115-
/// <para>A list of parameters that are required by the <c>StartCommandExecution</c> API. These
116-
/// parameters need to be specified only when using the <c>AWS-IoT-FleetWise</c> namespace.
117-
/// You can either specify them here or when running the command using the <c>StartCommandExecution</c>
118-
/// API.</para><para />
115+
/// <para>A list of parameters that are used by <c>StartCommandExecution</c> API for execution
116+
/// payload generation.</para><para />
119117
/// Starting with version 4 of the SDK this property will default to null. If no data for this property is returned
120118
/// from the service the property will also be null. This was changed to improve performance and allow the SDK and caller
121119
/// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous
@@ -139,12 +137,36 @@ public partial class NewIOTCommandCmdlet : AmazonIoTClientCmdlet, IExecutor
139137
public Amazon.IoT.CommandNamespace Namespace { get; set; }
140138
#endregion
141139

140+
#region Parameter Preprocessor_AwsJsonSubstitution_OutputFormat
141+
/// <summary>
142+
/// <para>
143+
/// <para>Converts the command preprocessor result to the format defined by this parameter,
144+
/// before sending it to the device.</para>
145+
/// </para>
146+
/// </summary>
147+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
148+
[AWSConstantClassSource("Amazon.IoT.OutputFormat")]
149+
public Amazon.IoT.OutputFormat Preprocessor_AwsJsonSubstitution_OutputFormat { get; set; }
150+
#endregion
151+
152+
#region Parameter PayloadTemplate
153+
/// <summary>
154+
/// <para>
155+
/// <para>The payload template for the dynamic command.</para><note><para>This parameter is required for dynamic commands where the command execution placeholders
156+
/// are supplied either from <c>mandatoryParameters</c> or when <c>StartCommandExecution</c>
157+
/// is invoked.</para></note>
158+
/// </para>
159+
/// </summary>
160+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
161+
public System.String PayloadTemplate { get; set; }
162+
#endregion
163+
142164
#region Parameter RoleArn
143165
/// <summary>
144166
/// <para>
145167
/// <para>The IAM role that you must provide when using the <c>AWS-IoT-FleetWise</c> namespace.
146168
/// The role grants IoT Device Management the permission to access IoT FleetWise resources
147-
/// for generating the payload for the command. This field is not required when you use
169+
/// for generating the payload for the command. This field is not supported when you use
148170
/// the <c>AWS-IoT</c> namespace.</para>
149171
/// </para>
150172
/// </summary>
@@ -229,6 +251,8 @@ protected override void ProcessRecord()
229251
context.Namespace = this.Namespace;
230252
context.Payload_Content = this.Payload_Content;
231253
context.Payload_ContentType = this.Payload_ContentType;
254+
context.PayloadTemplate = this.PayloadTemplate;
255+
context.Preprocessor_AwsJsonSubstitution_OutputFormat = this.Preprocessor_AwsJsonSubstitution_OutputFormat;
232256
context.RoleArn = this.RoleArn;
233257
if (this.Tag != null)
234258
{
@@ -304,6 +328,44 @@ public object Execute(ExecutorContext context)
304328
{
305329
request.Payload = null;
306330
}
331+
if (cmdletContext.PayloadTemplate != null)
332+
{
333+
request.PayloadTemplate = cmdletContext.PayloadTemplate;
334+
}
335+
336+
// populate Preprocessor
337+
var requestPreprocessorIsNull = true;
338+
request.Preprocessor = new Amazon.IoT.Model.CommandPreprocessor();
339+
Amazon.IoT.Model.AwsJsonSubstitutionCommandPreprocessorConfig requestPreprocessor_preprocessor_AwsJsonSubstitution = null;
340+
341+
// populate AwsJsonSubstitution
342+
var requestPreprocessor_preprocessor_AwsJsonSubstitutionIsNull = true;
343+
requestPreprocessor_preprocessor_AwsJsonSubstitution = new Amazon.IoT.Model.AwsJsonSubstitutionCommandPreprocessorConfig();
344+
Amazon.IoT.OutputFormat requestPreprocessor_preprocessor_AwsJsonSubstitution_preprocessor_AwsJsonSubstitution_OutputFormat = null;
345+
if (cmdletContext.Preprocessor_AwsJsonSubstitution_OutputFormat != null)
346+
{
347+
requestPreprocessor_preprocessor_AwsJsonSubstitution_preprocessor_AwsJsonSubstitution_OutputFormat = cmdletContext.Preprocessor_AwsJsonSubstitution_OutputFormat;
348+
}
349+
if (requestPreprocessor_preprocessor_AwsJsonSubstitution_preprocessor_AwsJsonSubstitution_OutputFormat != null)
350+
{
351+
requestPreprocessor_preprocessor_AwsJsonSubstitution.OutputFormat = requestPreprocessor_preprocessor_AwsJsonSubstitution_preprocessor_AwsJsonSubstitution_OutputFormat;
352+
requestPreprocessor_preprocessor_AwsJsonSubstitutionIsNull = false;
353+
}
354+
// determine if requestPreprocessor_preprocessor_AwsJsonSubstitution should be set to null
355+
if (requestPreprocessor_preprocessor_AwsJsonSubstitutionIsNull)
356+
{
357+
requestPreprocessor_preprocessor_AwsJsonSubstitution = null;
358+
}
359+
if (requestPreprocessor_preprocessor_AwsJsonSubstitution != null)
360+
{
361+
request.Preprocessor.AwsJsonSubstitution = requestPreprocessor_preprocessor_AwsJsonSubstitution;
362+
requestPreprocessorIsNull = false;
363+
}
364+
// determine if request.Preprocessor should be set to null
365+
if (requestPreprocessorIsNull)
366+
{
367+
request.Preprocessor = null;
368+
}
307369
if (cmdletContext.RoleArn != null)
308370
{
309371
request.RoleArn = cmdletContext.RoleArn;
@@ -382,6 +444,8 @@ internal partial class CmdletContext : ExecutorContext
382444
public Amazon.IoT.CommandNamespace Namespace { get; set; }
383445
public byte[] Payload_Content { get; set; }
384446
public System.String Payload_ContentType { get; set; }
447+
public System.String PayloadTemplate { get; set; }
448+
public Amazon.IoT.OutputFormat Preprocessor_AwsJsonSubstitution_OutputFormat { get; set; }
385449
public System.String RoleArn { get; set; }
386450
public List<Amazon.IoT.Model.Tag> Tag { get; set; }
387451
public System.Func<Amazon.IoT.Model.CreateCommandResponse, NewIOTCommandCmdlet, object> Select { get; set; } =

0 commit comments

Comments
 (0)