Skip to content

Commit 8eb689b

Browse files
5.0.17
1 parent 4e01d27 commit 8eb689b

File tree

12 files changed

+943
-864
lines changed

12 files changed

+943
-864
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-
### 5.0.16 (2025-07-22 19:55Z)
1+
### 5.0.17 (2025-07-23 20:02Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 4.0.54.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 Elastic Compute Cloud
4+
* Modified cmdlet Stop-EC2Instance: added parameter SkipOsShutdown.
5+
* Modified cmdlet Remove-EC2Instance: added parameter SkipOsShutdown.
6+
* Amazon Glue
7+
* Modified cmdlet Start-GLUEJobRun: added parameter ExecutionRoleSessionPolicy.
8+
9+
### 5.0.16 (2025-07-22 19:55Z)
210
* AWS Tools for PowerShell now use AWS .NET SDK 4.0.53.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.
311
* Amazon EC2 Container Registry
412
* Modified cmdlet New-ECRRepository: added parameter ImageTagMutabilityExclusionFilter.

changelogs/CHANGELOG.ALL.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
### 5.0.16 (2025-07-22 19:55Z)
1+
### 5.0.17 (2025-07-23 20:02Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 4.0.54.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 Elastic Compute Cloud
4+
* Modified cmdlet Stop-EC2Instance: added parameter SkipOsShutdown.
5+
* Modified cmdlet Remove-EC2Instance: added parameter SkipOsShutdown.
6+
* Amazon Glue
7+
* Modified cmdlet Start-GLUEJobRun: added parameter ExecutionRoleSessionPolicy.
8+
9+
### 5.0.16 (2025-07-22 19:55Z)
210
* AWS Tools for PowerShell now use AWS .NET SDK 4.0.53.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.
311
* Amazon EC2 Container Registry
412
* Modified cmdlet New-ECRRepository: added parameter ImageTagMutabilityExclusionFilter.

modules/AWSPowerShell/Cmdlets/EC2/Basic/Add-EC2CapacityReservation-Cmdlet.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,8 @@ public partial class AddEC2CapacityReservationCmdlet : AmazonEC2ClientCmdlet, IE
189189
/// <summary>
190190
/// <para>
191191
/// <para>The number of instances for which to reserve capacity.</para><note><para>You can request future-dated Capacity Reservations for an instance count with a minimum
192-
/// of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for
193-
/// <c>m5.xlarge</c> instances, you must request at least 25 instances (<i>25 * m5.xlarge
194-
/// = 100 vCPUs</i>).</para></note><para>Valid range: 1 - 1000</para>
192+
/// of 64 vCPUs. For example, if you request a future-dated Capacity Reservation for <c>m5.xlarge</c>
193+
/// instances, you must request at least 25 instances (<i>16 * m5.xlarge = 64 vCPUs</i>).</para></note><para>Valid range: 1 - 1000</para>
195194
/// </para>
196195
/// </summary>
197196
#if !MODULAR
@@ -244,7 +243,7 @@ public partial class AddEC2CapacityReservationCmdlet : AmazonEC2ClientCmdlet, IE
244243
/// <summary>
245244
/// <para>
246245
/// <para>The instance type for which to reserve capacity.</para><note><para>You can request future-dated Capacity Reservations for instance types in the C, M,
247-
/// R, I, and T instance families only.</para></note><para>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance
246+
/// R, I, T, and G instance families only.</para></note><para>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance
248247
/// types</a> in the <i>Amazon EC2 User Guide</i>.</para>
249248
/// </para>
250249
/// </summary>

modules/AWSPowerShell/Cmdlets/EC2/Basic/Get-EC2InstanceType-Cmdlet.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ public partial class GetEC2InstanceTypeCmdlet : AmazonEC2ClientCmdlet, IExecutor
7575
/// performance for an EBS-optimized instance type, in MB/s.</para></li><li><para><c>ebs-info.ebs-optimized-support</c> - Indicates whether the instance type is EBS-optimized
7676
/// (<c>supported</c> | <c>unsupported</c> | <c>default</c>).</para></li><li><para><c>ebs-info.encryption-support</c> - Indicates whether EBS encryption is supported
7777
/// (<c>supported</c> | <c>unsupported</c>).</para></li><li><para><c>ebs-info.nvme-support</c> - Indicates whether non-volatile memory express (NVMe)
78-
/// is supported for EBS volumes (<c>required</c> | <c>supported</c> | <c>unsupported</c>).</para></li><li><para><c>free-tier-eligible</c> - Indicates whether the instance type is eligible to use
79-
/// in the free tier (<c>true</c> | <c>false</c>).</para></li><li><para><c>hibernation-supported</c> - Indicates whether On-Demand hibernation is supported
78+
/// is supported for EBS volumes (<c>required</c> | <c>supported</c> | <c>unsupported</c>).</para></li><li><para><c>free-tier-eligible</c> - A Boolean that indicates whether this instance type can
79+
/// be used under the Amazon Web Services Free Tier (<c>true</c> | <c>false</c>).</para></li><li><para><c>hibernation-supported</c> - Indicates whether On-Demand hibernation is supported
8080
/// (<c>true</c> | <c>false</c>).</para></li><li><para><c>hypervisor</c> - The hypervisor (<c>nitro</c> | <c>xen</c>).</para></li><li><para><c>instance-storage-info.disk.count</c> - The number of local disks.</para></li><li><para><c>instance-storage-info.disk.size-in-gb</c> - The storage size of each instance
8181
/// storage disk, in GB.</para></li><li><para><c>instance-storage-info.disk.type</c> - The storage technology for the local instance
8282
/// storage disks (<c>hdd</c> | <c>ssd</c>).</para></li><li><para><c>instance-storage-info.encryption-support</c> - Indicates whether data is encrypted

modules/AWSPowerShell/Cmdlets/EC2/Basic/New-EC2Instance-Cmdlet.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ public partial class NewEC2InstanceCmdlet : AmazonEC2ClientCmdlet, IExecutor
261261
/// <summary>
262262
/// <para>
263263
/// <para>Indicates whether an instance is enabled for stop protection. For more information,
264-
/// see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection">Stop
265-
/// protection</a>. </para>
264+
/// see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html">Enable
265+
/// stop protection for your EC2 instances</a>.</para>
266266
/// </para>
267267
/// </summary>
268268
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
@@ -553,8 +553,8 @@ public partial class NewEC2InstanceCmdlet : AmazonEC2ClientCmdlet, IExecutor
553553
#region Parameter InstanceType
554554
/// <summary>
555555
/// <para>
556-
/// <para>The instance type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Amazon
557-
/// EC2 instance types</a> in the <i>Amazon EC2 User Guide</i>.</para>
556+
/// <para>The instance type. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-types.html">Amazon
557+
/// EC2 Instance Types Guide</a>.</para>
558558
/// </para>
559559
/// </summary>
560560
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
@@ -608,8 +608,8 @@ public partial class NewEC2InstanceCmdlet : AmazonEC2ClientCmdlet, IExecutor
608608
#region Parameter KeyName
609609
/// <summary>
610610
/// <para>
611-
/// <para>The name of the key pair. You can create a key pair using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html">CreateKeyPair</a>
612-
/// or <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html">ImportKeyPair</a>.</para><important><para>If you do not specify a key pair, you can't connect to the instance unless you choose
611+
/// <para>The name of the key pair. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html">Create
612+
/// a key pair for your EC2 instance</a>.</para><important><para>If you do not specify a key pair, you can't connect to the instance unless you choose
613613
/// an AMI that is configured to allow users another way to log in.</para></important>
614614
/// </para>
615615
/// </summary>
@@ -763,7 +763,7 @@ public partial class NewEC2InstanceCmdlet : AmazonEC2ClientCmdlet, IExecutor
763763
#region Parameter SecurityGroupId
764764
/// <summary>
765765
/// <para>
766-
/// <para>The IDs of the security groups. You can create a security group using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html">CreateSecurityGroup</a>.</para><para>If you specify a network interface, you must specify any security groups as part of
766+
/// <para>The IDs of the security groups.</para><para>If you specify a network interface, you must specify any security groups as part of
767767
/// the network interface instead of using this parameter.</para><para />
768768
/// Starting with version 4 of the SDK this property will default to null. If no data for this property is returned
769769
/// from the service the property will also be null. This was changed to improve performance and allow the SDK and caller
@@ -856,8 +856,8 @@ public partial class NewEC2InstanceCmdlet : AmazonEC2ClientCmdlet, IExecutor
856856
/// <para>
857857
/// <para>Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
858858
/// If you do not specify a client token, a randomly generated token is used for the request
859-
/// to ensure idempotency.</para><para>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
860-
/// Idempotency</a>.</para><para>Constraints: Maximum 64 ASCII characters</para>
859+
/// to ensure idempotency.</para><para>For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring
860+
/// idempotency in Amazon EC2 API requests</a>.</para><para>Constraints: Maximum 64 ASCII characters</para>
861861
/// </para>
862862
/// </summary>
863863
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]

modules/AWSPowerShell/Cmdlets/EC2/Basic/Remove-EC2Instance-Cmdlet.cs

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,24 @@ namespace Amazon.PowerShell.Cmdlets.EC2
7272
/// By default, Amazon EC2 deletes all EBS volumes that were attached when the instance
7373
/// launched. Volumes attached after instance launch continue running.
7474
/// </para><para>
75+
/// By default, the TerminateInstances operation includes a graceful operating system
76+
/// (OS) shutdown. To bypass the graceful shutdown, use the <c>skipOsShutdown</c> parameter;
77+
/// however, this might risk data integrity.
78+
/// </para><para>
7579
/// You can stop, start, and terminate EBS-backed instances. You can only terminate instance
7680
/// store-backed instances. What happens to an instance differs if you stop or terminate
7781
/// it. For example, when you stop an instance, the root device and any other devices
7882
/// attached to the instance persist. When you terminate an instance, any attached EBS
7983
/// volumes with the <c>DeleteOnTermination</c> block device mapping parameter set to
8084
/// <c>true</c> are automatically deleted. For more information about the differences
81-
/// between stopping and terminating instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Instance
82-
/// lifecycle</a> in the <i>Amazon EC2 User Guide</i>.
85+
/// between stopping and terminating instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Amazon
86+
/// EC2 instance state changes</a> in the <i>Amazon EC2 User Guide</i>.
8387
/// </para><para>
84-
/// For more information about troubleshooting, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html">Troubleshooting
88+
/// When you terminate an instance, we attempt to terminate it forcibly after a short
89+
/// while. If your instance appears stuck in the shutting-down state after a period of
90+
/// time, there might be an issue with the underlying host computer. For more information
91+
/// about terminating and troubleshooting terminating your instances, see <a href="https://docs.aws.amazon.com/">Terminate
92+
/// Amazon EC2 instances</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html">Troubleshooting
8593
/// terminating your instance</a> in the <i>Amazon EC2 User Guide</i>.
8694
/// </para>
8795
/// </summary>
@@ -133,6 +141,17 @@ public partial class RemoveEC2InstanceCmdlet : AmazonEC2ClientCmdlet, IExecutor
133141
public object[] InstanceId { get; set; }
134142
#endregion
135143

144+
#region Parameter SkipOsShutdown
145+
/// <summary>
146+
/// <para>
147+
/// <para>Specifies whether to bypass the graceful OS shutdown process when the instance is
148+
/// terminated.</para><para>Default: <c>false</c></para>
149+
/// </para>
150+
/// </summary>
151+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
152+
public System.Boolean? SkipOsShutdown { get; set; }
153+
#endregion
154+
136155
#region Parameter Select
137156
/// <summary>
138157
/// Use the -Select parameter to control the cmdlet output. The default value is 'TerminatingInstances'.
@@ -185,6 +204,7 @@ protected override void ProcessRecord()
185204
context.InstanceId = AmazonEC2Helper.InstanceParamToIDs(this.InstanceId);
186205
}
187206

207+
context.SkipOsShutdown = this.SkipOsShutdown;
188208

189209
// allow further manipulation of loaded context prior to processing
190210
PostExecutionContextLoad(context);
@@ -209,6 +229,10 @@ public object Execute(ExecutorContext context)
209229
{
210230
request.InstanceIds = cmdletContext.InstanceId;
211231
}
232+
if (cmdletContext.SkipOsShutdown != null)
233+
{
234+
request.SkipOsShutdown = cmdletContext.SkipOsShutdown.Value;
235+
}
212236

213237
CmdletOutput output;
214238

@@ -266,6 +290,7 @@ internal partial class CmdletContext : ExecutorContext
266290
{
267291
public System.Boolean? DryRun { get; set; }
268292
public List<System.String> InstanceId { get; set; }
293+
public System.Boolean? SkipOsShutdown { get; set; }
269294
public System.Func<Amazon.EC2.Model.TerminateInstancesResponse, RemoveEC2InstanceCmdlet, object> Select { get; set; } =
270295
(response, cmdlet) => response.TerminatingInstances;
271296
}

modules/AWSPowerShell/Cmdlets/EC2/Basic/Start-EC2DeclarativePoliciesReport-Cmdlet.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ namespace Amazon.PowerShell.Cmdlets.EC2
4242
/// Web Services Organization).
4343
/// </para><para>
4444
/// The report is saved to your specified S3 bucket, using the following path structure
45-
/// (with the <i>italicized placeholders</i> representing your specific values):
46-
/// </para><para><c>s3://<i>amzn-s3-demo-bucket</i>/<i>your-optional-s3-prefix</i>/ec2_<i>targetId</i>_<i>reportId</i>_<i>yyyyMMdd</i>T<i>hhmm</i>Z.csv</c></para><para><b>Prerequisites for generating a report</b></para><ul><li><para>
45+
/// (with the capitalized placeholders representing your specific values):
46+
/// </para><para><c>s3://AMZN-S3-DEMO-BUCKET/YOUR-OPTIONAL-S3-PREFIX/ec2_TARGETID_REPORTID_YYYYMMDDTHHMMZ.csv</c></para><para><b>Prerequisites for generating a report</b></para><ul><li><para>
4747
/// The <c>StartDeclarativePoliciesReport</c> API can only be called by the management
4848
/// account or delegated administrators for the organization.
4949
/// </para></li><li><para>

0 commit comments

Comments
 (0)