Skip to content

Commit 9501e51

Browse files
4.1.731
1 parent 3e4b39a commit 9501e51

18 files changed

+1356
-841
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: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
### 4.1.730 (2025-01-06 21:32Z)
1+
### 4.1.731 (2025-01-07 21:35Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.958.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 CloudHSM V2
4+
* Modified cmdlet Edit-HSM2Cluster: added parameter HsmType.
5+
* Amazon DynamoDB
6+
* Modified cmdlet Update-DDBContinuousBackup: added parameter PointInTimeRecoverySpecification_RecoveryPeriodInDay.
7+
* Amazon EC2 Image Builder
8+
* Added cmdlet Import-EC2IBDiskImage leveraging the ImportDiskImage service API.
9+
10+
### 4.1.730 (2025-01-06 21:32Z)
211
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.957.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.
312
* Amazon Supply Chain
413
* Modified cmdlet New-SUPCHInstance: added parameter WebAppDnsDomain.

changelogs/CHANGELOG.ALL.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
### 4.1.730 (2025-01-06 21:32Z)
1+
### 4.1.731 (2025-01-07 21:35Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.958.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 CloudHSM V2
4+
* Modified cmdlet Edit-HSM2Cluster: added parameter HsmType.
5+
* Amazon DynamoDB
6+
* Modified cmdlet Update-DDBContinuousBackup: added parameter PointInTimeRecoverySpecification_RecoveryPeriodInDay.
7+
* Amazon EC2 Image Builder
8+
* Added cmdlet Import-EC2IBDiskImage leveraging the ImportDiskImage service API.
9+
10+
### 4.1.730 (2025-01-06 21:32Z)
211
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.957.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.
312
* Amazon Supply Chain
413
* Modified cmdlet New-SUPCHInstance: added parameter WebAppDnsDomain.

generator/AWSPSGeneratorLib/Config/ServiceConfig/imagebuilder.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@
171171
<Params />
172172
<TypesNotToFlatten />
173173
</ServiceOperation>
174+
<ServiceOperation MethodName="ImportDiskImage" OutputProperty="ImageBuildVersionArn" Verb="Import" Noun="DiskImage" AnonymousShouldProcessTarget="true" PipelineParameter="Uri" NoPipelineParameter="false">
175+
<Params />
176+
<TypesNotToFlatten />
177+
</ServiceOperation>
174178
<ServiceOperation MethodName="ImportVmImage" OutputProperty="ImageArn" Verb="Import" Noun="VmImage" ShouldProcessTarget="VmImportTaskId" PipelineParameter="VmImportTaskId" NoPipelineParameter="false">
175179
<Params />
176180
<TypesNotToFlatten />

modules/AWSPowerShell/AWSAliases.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15247,6 +15247,7 @@ Set-Alias -Name EC2IB-GetWorkflow -Value Get-EC2IBWorkflow
1524715247
Set-Alias -Name EC2IB-GetWorkflowExecution -Value Get-EC2IBWorkflowExecution
1524815248
Set-Alias -Name EC2IB-GetWorkflowStepExecution -Value Get-EC2IBWorkflowStepExecution
1524915249
Set-Alias -Name EC2IB-ImportComponent -Value Import-EC2IBComponent
15250+
Set-Alias -Name EC2IB-ImportDiskImage -Value Import-EC2IBDiskImage
1525015251
Set-Alias -Name EC2IB-ImportVmImage -Value Import-EC2IBVmImage
1525115252
Set-Alias -Name List-EC2IBComponentBuildVersions -Value Get-EC2IBComponentBuildVersionList
1525215253
Set-Alias -Name List-EC2IBComponentBuildVersionList -Value Get-EC2IBComponentBuildVersionList

modules/AWSPowerShell/AWSPowerShellCompleters.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36557,6 +36557,7 @@ $EC2IB_SelectMap = @{
3655736557
"Get-EC2IBWorkflowExecution",
3655836558
"Get-EC2IBWorkflowStepExecution",
3655936559
"Import-EC2IBComponent",
36560+
"Import-EC2IBDiskImage",
3656036561
"Import-EC2IBVmImage",
3656136562
"Get-EC2IBComponentBuildVersionList",
3656236563
"Get-EC2IBComponentList",

modules/AWSPowerShell/Cmdlets/CloudHSMV2/Basic/Edit-HSM2Cluster-Cmdlet.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@ public partial class EditHSM2ClusterCmdlet : AmazonCloudHSMV2ClientCmdlet, IExec
6565
public System.String ClusterId { get; set; }
6666
#endregion
6767

68+
#region Parameter HsmType
69+
/// <summary>
70+
/// <para>
71+
/// <para>The desired HSM type of the cluster.</para>
72+
/// </para>
73+
/// </summary>
74+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
75+
public System.String HsmType { get; set; }
76+
#endregion
77+
6878
#region Parameter BackupRetentionPolicy_Type
6979
/// <summary>
7080
/// <para>
@@ -158,6 +168,7 @@ protected override void ProcessRecord()
158168
WriteWarning("You are passing $null as a value for parameter ClusterId 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.");
159169
}
160170
#endif
171+
context.HsmType = this.HsmType;
161172

162173
// allow further manipulation of loaded context prior to processing
163174
PostExecutionContextLoad(context);
@@ -207,6 +218,10 @@ public object Execute(ExecutorContext context)
207218
{
208219
request.ClusterId = cmdletContext.ClusterId;
209220
}
221+
if (cmdletContext.HsmType != null)
222+
{
223+
request.HsmType = cmdletContext.HsmType;
224+
}
210225

211226
CmdletOutput output;
212227

@@ -271,6 +286,7 @@ internal partial class CmdletContext : ExecutorContext
271286
public Amazon.CloudHSMV2.BackupRetentionType BackupRetentionPolicy_Type { get; set; }
272287
public System.String BackupRetentionPolicy_Value { get; set; }
273288
public System.String ClusterId { get; set; }
289+
public System.String HsmType { get; set; }
274290
public System.Func<Amazon.CloudHSMV2.Model.ModifyClusterResponse, EditHSM2ClusterCmdlet, object> Select { get; set; } =
275291
(response, cmdlet) => response.Cluster;
276292
}

modules/AWSPowerShell/Cmdlets/DynamoDBv2/Basic/Get-DDBContinuousBackup-Cmdlet.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ namespace Amazon.PowerShell.Cmdlets.DDB
3838
/// to any point in time within <c>EarliestRestorableDateTime</c> and <c>LatestRestorableDateTime</c>.
3939
///
4040
/// </para><para><c>LatestRestorableDateTime</c> is typically 5 minutes before the current time. You
41-
/// can restore your table to any point in time during the last 35 days.
41+
/// can restore your table to any point in time in the last 35 days. You can set the recovery
42+
/// period to any value between 1 and 35 days.
4243
/// </para><para>
4344
/// You can call <c>DescribeContinuousBackups</c> at a maximum rate of 10 times per second.
4445
/// </para>

modules/AWSPowerShell/Cmdlets/DynamoDBv2/Basic/Restore-DDBTableToPointInTime-Cmdlet.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ namespace Amazon.PowerShell.Cmdlets.DDB
3030
/// <summary>
3131
/// Restores the specified table to the specified point in time within <c>EarliestRestorableDateTime</c>
3232
/// and <c>LatestRestorableDateTime</c>. You can restore your table to any point in time
33-
/// during the last 35 days. Any number of users can execute up to 50 concurrent restores
34-
/// (any type of restore) in a given account.
33+
/// in the last 35 days. You can set the recovery period to any value between 1 and 35
34+
/// days. Any number of users can execute up to 50 concurrent restores (any type of restore)
35+
/// in a given account.
3536
///
3637
///
3738
/// <para>

modules/AWSPowerShell/Cmdlets/DynamoDBv2/Basic/Update-DDBContinuousBackup-Cmdlet.cs

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ namespace Amazon.PowerShell.Cmdlets.DDB
4040
/// any point in time within <c>EarliestRestorableDateTime</c> and <c>LatestRestorableDateTime</c>.
4141
///
4242
/// </para><para><c>LatestRestorableDateTime</c> is typically 5 minutes before the current time. You
43-
/// can restore your table to any point in time during the last 35 days.
43+
/// can restore your table to any point in time in the last 35 days. You can set the recovery
44+
/// period to any value between 1 and 35 days.
4445
/// </para>
4546
/// </summary>
4647
[Cmdlet("Update", "DDBContinuousBackup", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)]
@@ -72,6 +73,20 @@ public partial class UpdateDDBContinuousBackupCmdlet : AmazonDynamoDBClientCmdle
7273
public System.Boolean? PointInTimeRecoverySpecification_PointInTimeRecoveryEnabled { get; set; }
7374
#endregion
7475

76+
#region Parameter PointInTimeRecoverySpecification_RecoveryPeriodInDay
77+
/// <summary>
78+
/// <para>
79+
/// <para>The number of preceding days for which continuous backups are taken and maintained.
80+
/// Your table data is only recoverable to any point-in-time from within the configured
81+
/// recovery period. This parameter is optional. If no value is provided, the value will
82+
/// default to 35.</para>
83+
/// </para>
84+
/// </summary>
85+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
86+
[Alias("PointInTimeRecoverySpecification_RecoveryPeriodInDays")]
87+
public System.Int32? PointInTimeRecoverySpecification_RecoveryPeriodInDay { get; set; }
88+
#endregion
89+
7590
#region Parameter TableName
7691
/// <summary>
7792
/// <para>
@@ -159,6 +174,7 @@ protected override void ProcessRecord()
159174
WriteWarning("You are passing $null as a value for parameter PointInTimeRecoverySpecification_PointInTimeRecoveryEnabled 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.");
160175
}
161176
#endif
177+
context.PointInTimeRecoverySpecification_RecoveryPeriodInDay = this.PointInTimeRecoverySpecification_RecoveryPeriodInDay;
162178
context.TableName = this.TableName;
163179
#if MODULAR
164180
if (this.TableName == null && ParameterWasBound(nameof(this.TableName)))
@@ -195,6 +211,16 @@ public object Execute(ExecutorContext context)
195211
{
196212
request.PointInTimeRecoverySpecification.PointInTimeRecoveryEnabled = requestPointInTimeRecoverySpecification_pointInTimeRecoverySpecification_PointInTimeRecoveryEnabled.Value;
197213
requestPointInTimeRecoverySpecificationIsNull = false;
214+
}
215+
System.Int32? requestPointInTimeRecoverySpecification_pointInTimeRecoverySpecification_RecoveryPeriodInDay = null;
216+
if (cmdletContext.PointInTimeRecoverySpecification_RecoveryPeriodInDay != null)
217+
{
218+
requestPointInTimeRecoverySpecification_pointInTimeRecoverySpecification_RecoveryPeriodInDay = cmdletContext.PointInTimeRecoverySpecification_RecoveryPeriodInDay.Value;
219+
}
220+
if (requestPointInTimeRecoverySpecification_pointInTimeRecoverySpecification_RecoveryPeriodInDay != null)
221+
{
222+
request.PointInTimeRecoverySpecification.RecoveryPeriodInDays = requestPointInTimeRecoverySpecification_pointInTimeRecoverySpecification_RecoveryPeriodInDay.Value;
223+
requestPointInTimeRecoverySpecificationIsNull = false;
198224
}
199225
// determine if request.PointInTimeRecoverySpecification should be set to null
200226
if (requestPointInTimeRecoverySpecificationIsNull)
@@ -267,6 +293,7 @@ private Amazon.DynamoDBv2.Model.UpdateContinuousBackupsResponse CallAWSServiceOp
267293
internal partial class CmdletContext : ExecutorContext
268294
{
269295
public System.Boolean? PointInTimeRecoverySpecification_PointInTimeRecoveryEnabled { get; set; }
296+
public System.Int32? PointInTimeRecoverySpecification_RecoveryPeriodInDay { get; set; }
270297
public System.String TableName { get; set; }
271298
public System.Func<Amazon.DynamoDBv2.Model.UpdateContinuousBackupsResponse, UpdateDDBContinuousBackupCmdlet, object> Select { get; set; } =
272299
(response, cmdlet) => response.ContinuousBackupsDescription;

0 commit comments

Comments
 (0)