Skip to content

Commit 3c410fe

Browse files
4.1.963
1 parent bf7b36b commit 3c410fe

18 files changed

+1442
-865
lines changed

Include/sdk/_sdk-versions.json

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

changelogs/CHANGELOG.2025.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
### 4.1.962 (2025-12-15 21:00Z)
1+
### 4.1.963 (2025-12-16 22:19Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.1186.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 IoT
4+
* Modified cmdlet New-IOTCommand: added parameters PayloadTemplate and Preprocessor_AwsJsonSubstitution_OutputFormat.
5+
* Amazon Timestream InfluxDB
6+
* Added cmdlet Restart-TIDBDbCluster leveraging the RebootDbCluster service API.
7+
* Added cmdlet Restart-TIDBDbInstance leveraging the RebootDbInstance service API.
8+
9+
### 4.1.962 (2025-12-15 21:00Z)
210
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.1185.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.
311
* Amazon CloudWatch Logs
412
* Added cmdlet Get-CWLCWLImportTask leveraging the DescribeImportTasks service API.

changelogs/CHANGELOG.ALL.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
### 4.1.962 (2025-12-15 21:00Z)
1+
### 4.1.963 (2025-12-16 22:19Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.1186.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 IoT
4+
* Modified cmdlet New-IOTCommand: added parameters PayloadTemplate and Preprocessor_AwsJsonSubstitution_OutputFormat.
5+
* Amazon Timestream InfluxDB
6+
* Added cmdlet Restart-TIDBDbCluster leveraging the RebootDbCluster service API.
7+
* Added cmdlet Restart-TIDBDbInstance leveraging the RebootDbInstance service API.
8+
9+
### 4.1.962 (2025-12-15 21:00Z)
210
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.1185.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.
311
* Amazon CloudWatch Logs
412
* 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
@@ -32085,6 +32085,10 @@ Set-Alias -Name List-TIDBDbParameterGroups -Value Get-TIDBDbParameterGroupList
3208532085
Set-Alias -Name List-TIDBDbParameterGroupList -Value Get-TIDBDbParameterGroupList
3208632086
Set-Alias -Name TIDB-ListDbParameterGroups -Value Get-TIDBDbParameterGroupList
3208732087
Set-Alias -Name TIDB-ListTagsForResource -Value Get-TIDBResourceTag
32088+
Set-Alias -Name Reboot-TIDBDbCluster -Value Restart-TIDBDbCluster
32089+
Set-Alias -Name TIDB-RebootDbCluster -Value Restart-TIDBDbCluster
32090+
Set-Alias -Name Reboot-TIDBDbInstance -Value Restart-TIDBDbInstance
32091+
Set-Alias -Name TIDB-RebootDbInstance -Value Restart-TIDBDbInstance
3208832092
Set-Alias -Name TIDB-TagResource -Value Add-TIDBResourceTag
3208932093
Set-Alias -Name TIDB-UntagResource -Value Remove-TIDBResourceTag
3209032094
Set-Alias -Name TIDB-UpdateDbCluster -Value Update-TIDBDbCluster

modules/AWSPowerShell/AWSPowerShellCompleters.psm1

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42039,6 +42039,13 @@ $IOT_Completers = {
4203942039
break
4204042040
}
4204142041

42042+
# Amazon.IoT.OutputFormat
42043+
"New-IOTCommand/Preprocessor_AwsJsonSubstitution_OutputFormat"
42044+
{
42045+
$v = "CBOR","JSON"
42046+
break
42047+
}
42048+
4204242049
# Amazon.IoT.PackageVersionAction
4204342050
"Update-IOTPackageVersion/Action"
4204442051
{
@@ -42206,6 +42213,7 @@ $IOT_map = @{
4220642213
"NewAutoRegistrationStatus"=@("Update-IOTCACertificate")
4220742214
"NewStatus"=@("Update-IOTCACertificate","Update-IOTCertificate")
4220842215
"OtaUpdateStatus"=@("Get-IOTOTAUpdateList")
42216+
"Preprocessor_AwsJsonSubstitution_OutputFormat"=@("New-IOTCommand")
4220942217
"ReplaceDefaultPolicyVersionParams_TemplateName"=@("New-IOTMitigationAction","Update-IOTMitigationAction")
4221042218
"ReportType"=@("Get-IOTThingRegistrationTaskReportList")
4221142219
"S3_CannedAcl"=@("New-IOTTopicRule","Set-IOTTopicRule")
@@ -80825,6 +80833,8 @@ $TIDB_SelectMap = @{
8082580833
"Get-TIDBDbInstancesForClusterList",
8082680834
"Get-TIDBDbParameterGroupList",
8082780835
"Get-TIDBResourceTag",
80836+
"Restart-TIDBDbCluster",
80837+
"Restart-TIDBDbInstance",
8082880838
"Add-TIDBResourceTag",
8082980839
"Remove-TIDBResourceTag",
8083080840
"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
@@ -29,8 +29,8 @@ namespace Amazon.PowerShell.Cmdlets.IOT
2929
{
3030
/// <summary>
3131
/// Retrieves the encryption configuration for resources and data of your Amazon Web Services
32-
/// 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
33-
/// management in IoT</a> from the <i>Amazon Web Services IoT Core Developer Guide</i>.
32+
/// 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
33+
/// encryption at rest</a> in the <i>Amazon Web Services IoT Core Developer Guide</i>.
3434
/// </summary>
3535
[Cmdlet("Get", "IOTEncryptionConfiguration")]
3636
[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
@@ -109,10 +109,8 @@ public partial class NewIOTCommandCmdlet : AmazonIoTClientCmdlet, IExecutor
109109
#region Parameter MandatoryParameter
110110
/// <summary>
111111
/// <para>
112-
/// <para>A list of parameters that are required by the <c>StartCommandExecution</c> API. These
113-
/// parameters need to be specified only when using the <c>AWS-IoT-FleetWise</c> namespace.
114-
/// You can either specify them here or when running the command using the <c>StartCommandExecution</c>
115-
/// API.</para>
112+
/// <para>A list of parameters that are used by <c>StartCommandExecution</c> API for execution
113+
/// payload generation.</para>
116114
/// </para>
117115
/// </summary>
118116
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
@@ -132,12 +130,36 @@ public partial class NewIOTCommandCmdlet : AmazonIoTClientCmdlet, IExecutor
132130
public Amazon.IoT.CommandNamespace Namespace { get; set; }
133131
#endregion
134132

133+
#region Parameter Preprocessor_AwsJsonSubstitution_OutputFormat
134+
/// <summary>
135+
/// <para>
136+
/// <para>Converts the command preprocessor result to the format defined by this parameter,
137+
/// before sending it to the device.</para>
138+
/// </para>
139+
/// </summary>
140+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
141+
[AWSConstantClassSource("Amazon.IoT.OutputFormat")]
142+
public Amazon.IoT.OutputFormat Preprocessor_AwsJsonSubstitution_OutputFormat { get; set; }
143+
#endregion
144+
145+
#region Parameter PayloadTemplate
146+
/// <summary>
147+
/// <para>
148+
/// <para>The payload template for the dynamic command.</para><note><para>This parameter is required for dynamic commands where the command execution placeholders
149+
/// are supplied either from <c>mandatoryParameters</c> or when <c>StartCommandExecution</c>
150+
/// is invoked.</para></note>
151+
/// </para>
152+
/// </summary>
153+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
154+
public System.String PayloadTemplate { get; set; }
155+
#endregion
156+
135157
#region Parameter RoleArn
136158
/// <summary>
137159
/// <para>
138160
/// <para>The IAM role that you must provide when using the <c>AWS-IoT-FleetWise</c> namespace.
139161
/// The role grants IoT Device Management the permission to access IoT FleetWise resources
140-
/// for generating the payload for the command. This field is not required when you use
162+
/// for generating the payload for the command. This field is not supported when you use
141163
/// the <c>AWS-IoT</c> namespace.</para>
142164
/// </para>
143165
/// </summary>
@@ -234,6 +256,8 @@ protected override void ProcessRecord()
234256
context.Namespace = this.Namespace;
235257
context.Payload_Content = this.Payload_Content;
236258
context.Payload_ContentType = this.Payload_ContentType;
259+
context.PayloadTemplate = this.PayloadTemplate;
260+
context.Preprocessor_AwsJsonSubstitution_OutputFormat = this.Preprocessor_AwsJsonSubstitution_OutputFormat;
237261
context.RoleArn = this.RoleArn;
238262
if (this.Tag != null)
239263
{
@@ -309,6 +333,44 @@ public object Execute(ExecutorContext context)
309333
{
310334
request.Payload = null;
311335
}
336+
if (cmdletContext.PayloadTemplate != null)
337+
{
338+
request.PayloadTemplate = cmdletContext.PayloadTemplate;
339+
}
340+
341+
// populate Preprocessor
342+
var requestPreprocessorIsNull = true;
343+
request.Preprocessor = new Amazon.IoT.Model.CommandPreprocessor();
344+
Amazon.IoT.Model.AwsJsonSubstitutionCommandPreprocessorConfig requestPreprocessor_preprocessor_AwsJsonSubstitution = null;
345+
346+
// populate AwsJsonSubstitution
347+
var requestPreprocessor_preprocessor_AwsJsonSubstitutionIsNull = true;
348+
requestPreprocessor_preprocessor_AwsJsonSubstitution = new Amazon.IoT.Model.AwsJsonSubstitutionCommandPreprocessorConfig();
349+
Amazon.IoT.OutputFormat requestPreprocessor_preprocessor_AwsJsonSubstitution_preprocessor_AwsJsonSubstitution_OutputFormat = null;
350+
if (cmdletContext.Preprocessor_AwsJsonSubstitution_OutputFormat != null)
351+
{
352+
requestPreprocessor_preprocessor_AwsJsonSubstitution_preprocessor_AwsJsonSubstitution_OutputFormat = cmdletContext.Preprocessor_AwsJsonSubstitution_OutputFormat;
353+
}
354+
if (requestPreprocessor_preprocessor_AwsJsonSubstitution_preprocessor_AwsJsonSubstitution_OutputFormat != null)
355+
{
356+
requestPreprocessor_preprocessor_AwsJsonSubstitution.OutputFormat = requestPreprocessor_preprocessor_AwsJsonSubstitution_preprocessor_AwsJsonSubstitution_OutputFormat;
357+
requestPreprocessor_preprocessor_AwsJsonSubstitutionIsNull = false;
358+
}
359+
// determine if requestPreprocessor_preprocessor_AwsJsonSubstitution should be set to null
360+
if (requestPreprocessor_preprocessor_AwsJsonSubstitutionIsNull)
361+
{
362+
requestPreprocessor_preprocessor_AwsJsonSubstitution = null;
363+
}
364+
if (requestPreprocessor_preprocessor_AwsJsonSubstitution != null)
365+
{
366+
request.Preprocessor.AwsJsonSubstitution = requestPreprocessor_preprocessor_AwsJsonSubstitution;
367+
requestPreprocessorIsNull = false;
368+
}
369+
// determine if request.Preprocessor should be set to null
370+
if (requestPreprocessorIsNull)
371+
{
372+
request.Preprocessor = null;
373+
}
312374
if (cmdletContext.RoleArn != null)
313375
{
314376
request.RoleArn = cmdletContext.RoleArn;
@@ -393,6 +455,8 @@ internal partial class CmdletContext : ExecutorContext
393455
public Amazon.IoT.CommandNamespace Namespace { get; set; }
394456
public byte[] Payload_Content { get; set; }
395457
public System.String Payload_ContentType { get; set; }
458+
public System.String PayloadTemplate { get; set; }
459+
public Amazon.IoT.OutputFormat Preprocessor_AwsJsonSubstitution_OutputFormat { get; set; }
396460
public System.String RoleArn { get; set; }
397461
public List<Amazon.IoT.Model.Tag> Tag { get; set; }
398462
public System.Func<Amazon.IoT.Model.CreateCommandResponse, NewIOTCommandCmdlet, object> Select { get; set; } =

modules/AWSPowerShell/Cmdlets/IoT/Basic/Request-IOTCertificateTransfer-Cmdlet.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,32 +35,32 @@ namespace Amazon.PowerShell.Cmdlets.IOT
3535
/// Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">TransferCertificate</a>
3636
/// action.
3737
/// </para><para>
38-
/// You can cancel the transfer until it is acknowledged by the recipient.
38+
/// You can cancel the transfer until it is accepted by the recipient.
3939
/// </para><para>
40-
/// No notification is sent to the transfer destination's account. It's up to the caller
41-
/// to notify the transfer target.
40+
/// No notification is sent to the transfer destination's account. The caller is responsible
41+
/// for notifying the transfer target.
4242
/// </para><para>
4343
/// The certificate being transferred must not be in the <c>ACTIVE</c> state. You can
4444
/// use the <a>UpdateCertificate</a> action to deactivate it.
4545
/// </para><para>
4646
/// The certificate must not have any policies attached to it. You can use the <a>DetachPolicy</a>
4747
/// action to detach them.
48-
/// </para><para><b>Customer managed key behavior:</b> When you use a customer managed key to secure
49-
/// your data and then transfer the key to a customer in a different account using the
50-
/// <a>TransferCertificate</a> operation, the certificates will no longer be protected
48+
/// </para><para><b>Customer managed key behavior:</b> When you use a customer managed key to encrypt
49+
/// your data and then transfer the certificate to a customer in a different account using
50+
/// the <c>TransferCertificate</c> operation, the certificates will no longer be encrypted
5151
/// by their customer managed key configuration. During the transfer process, certificates
52-
/// are encrypted using IoT owned keys.
52+
/// are encrypted using Amazon Web Services IoT Core owned keys.
5353
/// </para><para>
5454
/// While a certificate is in the <b>PENDING_TRANSFER</b> state, it's always protected
55-
/// by IoT owned keys, regardless of the customer managed key configuration of either
56-
/// the source or destination account.
55+
/// by Amazon Web Services IoT Core owned keys, regardless of the customer managed key
56+
/// configuration of either the source or destination account.
5757
/// </para><para>
5858
/// Once the transfer is completed through <a>AcceptCertificateTransfer</a>, <a>RejectCertificateTransfer</a>,
5959
/// or <a>CancelCertificateTransfer</a>, the certificate will be protected by the customer
6060
/// managed key configuration of the account that owns the certificate after the transfer
6161
/// operation:
6262
/// </para><ul><li><para>
63-
/// If the transfer is accepted: The certificate is protected by the destination account's
63+
/// If the transfer is accepted: The certificate is encrypted by the target account's
6464
/// customer managed key configuration.
6565
/// </para></li><li><para>
6666
/// If the transfer is rejected or cancelled: The certificate is protected by the source

0 commit comments

Comments
 (0)