Skip to content

Commit 52d2df3

Browse files
5.0.44
1 parent 9e553c8 commit 52d2df3

14 files changed

+1037
-868
lines changed

Include/sdk/_sdk-versions.json

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

changelogs/CHANGELOG.2025.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
### 5.0.43 (2025-08-28 21:26Z)
1+
### 5.0.44 (2025-08-29 20:21Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 4.0.81.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 X-Ray
4+
* Modified cmdlet Get-XRSamplingTarget: added parameter SamplingBoostStatisticsDocument.
5+
* Modified cmdlet New-XRSamplingRule: added parameters SamplingRateBoost_CooldownWindowMinute and SamplingRateBoost_MaxRate.
6+
* Modified cmdlet Update-XRSamplingRule: added parameters SamplingRateBoost_CooldownWindowMinute and SamplingRateBoost_MaxRate.
7+
8+
### 5.0.43 (2025-08-28 21:26Z)
29
* AWS Tools for PowerShell now use AWS .NET SDK 4.0.80.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.
310
* Amazon Connect Service
411
* Modified cmdlet Get-CONNCurrentMetricData: added parameter Filters_AgentStatus.

changelogs/CHANGELOG.ALL.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
### 5.0.43 (2025-08-28 21:26Z)
1+
### 5.0.44 (2025-08-29 20:21Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 4.0.81.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 X-Ray
4+
* Modified cmdlet Get-XRSamplingTarget: added parameter SamplingBoostStatisticsDocument.
5+
* Modified cmdlet New-XRSamplingRule: added parameters SamplingRateBoost_CooldownWindowMinute and SamplingRateBoost_MaxRate.
6+
* Modified cmdlet Update-XRSamplingRule: added parameters SamplingRateBoost_CooldownWindowMinute and SamplingRateBoost_MaxRate.
7+
8+
### 5.0.43 (2025-08-28 21:26Z)
29
* AWS Tools for PowerShell now use AWS .NET SDK 4.0.80.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.
310
* Amazon Connect Service
411
* Modified cmdlet Get-CONNCurrentMetricData: added parameter Filters_AgentStatus.

modules/AWSPowerShell/Cmdlets/EC2/Basic/Edit-EC2TransitGateway-Cmdlet.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,10 @@ public partial class EditEC2TransitGatewayCmdlet : AmazonEC2ClientCmdlet, IExecu
112112
#region Parameter Options_DefaultRouteTablePropagation
113113
/// <summary>
114114
/// <para>
115-
/// <para>Enable or disable automatic propagation of routes to the default propagation route
116-
/// table.</para>
115+
/// <para>Indicates whether resource attachments automatically propagate routes to the default
116+
/// propagation route table. Enabled by default. If <c>defaultRouteTablePropagation</c>
117+
/// is set to <c>enable</c>, Amazon Web Services Transit Gateway will create the default
118+
/// transit gateway route table.</para>
117119
/// </para>
118120
/// </summary>
119121
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public partial class GetEC2VpcEndpointAssociationCmdlet : AmazonEC2ClientCmdlet,
6565
/// is <c>accessible</c>, it returns <c>AVAILABLE</c>. When the state is <c>inaccessible</c>,
6666
/// it returns <c>PENDING</c> or <c>FAILED</c>.</para></li><li><para><c>association-id</c> - The ID of the VPC endpoint association.</para></li><li><para><c>associated-resource-id</c> - The ID of the associated resource configuration.</para></li><li><para><c>service-network-arn</c> - The Amazon Resource Name (ARN) of the associated service
6767
/// network. Only VPC endpoints of type service network will be returned.</para></li><li><para><c>resource-configuration-group-arn</c> - The Amazon Resource Name (ARN) of the resource
68-
/// configuration of type GROUP.</para></li><li><para><c>service-network-resource-association-id</c> - The ID of the association.</para></li></ul><para />
68+
/// configuration of type GROUP.</para></li></ul><para />
6969
/// Starting with version 4 of the SDK this property will default to null. If no data for this property is returned
7070
/// from the service the property will also be null. This was changed to improve performance and allow the SDK and caller
7171
/// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous

modules/AWSPowerShell/Cmdlets/S3/Basic/Get-S3ObjectMetadata-Cmdlet.cs

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,10 @@ public partial class GetS3ObjectMetadataCmdlet : AmazonS3ClientCmdlet, IExecutor
247247
#region Parameter ModifiedSinceDate
248248
/// <summary>
249249
/// <para>
250-
/// Returns the object only if it has been modified since the specified time,
251-
/// otherwise returns a PreconditionFailed.
250+
/// <para>Return the object only if it has been modified since the specified time; otherwise,
251+
/// return a 304 (not modified) error.</para><para>If both of the <c>If-None-Match</c> and <c>If-Modified-Since</c> headers are present
252+
/// in the request as follows:</para><ul><li><para><c>If-None-Match</c> condition evaluates to <c>false</c>, and;</para></li><li><para><c>If-Modified-Since</c> condition evaluates to <c>true</c>;</para></li></ul><para>Then Amazon S3 returns the <c>304 Not Modified</c> response code.</para><para>For more information about conditional requests, see <a href="https://tools.ietf.org/html/rfc7232">RFC
253+
/// 7232</a>.</para>
252254
/// </para>
253255
/// </summary>
254256
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
@@ -390,8 +392,10 @@ public partial class GetS3ObjectMetadataCmdlet : AmazonS3ClientCmdlet, IExecutor
390392
#region Parameter UnmodifiedSinceDate
391393
/// <summary>
392394
/// <para>
393-
/// Returns the object only if it has not been modified since the specified time,
394-
/// otherwise returns a PreconditionFailed.
395+
/// <para>Return the object only if it has not been modified since the specified time; otherwise,
396+
/// return a 412 (precondition failed) error.</para><para>If both of the <c>If-Match</c> and <c>If-Unmodified-Since</c> headers are present
397+
/// in the request as follows:</para><ul><li><para><c>If-Match</c> condition evaluates to <c>true</c>, and;</para></li><li><para><c>If-Unmodified-Since</c> condition evaluates to <c>false</c>;</para></li></ul><para>Then Amazon S3 returns <c>200 OK</c> and the data requested.</para><para>For more information about conditional requests, see <a href="https://tools.ietf.org/html/rfc7232">RFC
398+
/// 7232</a>.</para>
395399
/// </para>
396400
/// </summary>
397401
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
@@ -439,8 +443,6 @@ protected override void ProcessRecord()
439443
context.Select = CreateSelectDelegate<Amazon.S3.Model.GetObjectMetadataResponse, GetS3ObjectMetadataCmdlet>(Select) ??
440444
throw new System.ArgumentException("Invalid value for -Select parameter.", nameof(this.Select));
441445
}
442-
context.ModifiedSinceDate = this.ModifiedSinceDate;
443-
context.UnmodifiedSinceDate = this.UnmodifiedSinceDate;
444446
context.BucketName = this.BucketName;
445447
#if MODULAR
446448
if (this.BucketName == null && ParameterWasBound(nameof(this.BucketName)))
@@ -459,6 +461,7 @@ protected override void ProcessRecord()
459461
WriteWarning("You are passing $null as a value for parameter Key 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.");
460462
}
461463
#endif
464+
context.ModifiedSinceDate = this.ModifiedSinceDate;
462465
context.PartNumber = this.PartNumber;
463466
context.Range = this.Range;
464467
context.RequestPayer = this.RequestPayer;
@@ -471,6 +474,7 @@ protected override void ProcessRecord()
471474
context.ServerSideEncryptionCustomerMethod = this.ServerSideEncryptionCustomerMethod;
472475
context.ServerSideEncryptionCustomerProvidedKey = this.ServerSideEncryptionCustomerProvidedKey;
473476
context.ServerSideEncryptionCustomerProvidedKeyMD5 = this.ServerSideEncryptionCustomerProvidedKeyMD5;
477+
context.UnmodifiedSinceDate = this.UnmodifiedSinceDate;
474478
context.VersionId = this.VersionId;
475479

476480
// allow further manipulation of loaded context prior to processing
@@ -488,14 +492,6 @@ public object Execute(ExecutorContext context)
488492
// create request
489493
var request = new Amazon.S3.Model.GetObjectMetadataRequest();
490494

491-
if (cmdletContext.ModifiedSinceDate != null)
492-
{
493-
request.ModifiedSinceDate = cmdletContext.ModifiedSinceDate.Value;
494-
}
495-
if (cmdletContext.UnmodifiedSinceDate != null)
496-
{
497-
request.UnmodifiedSinceDate = cmdletContext.UnmodifiedSinceDate.Value;
498-
}
499495
if (cmdletContext.BucketName != null)
500496
{
501497
request.BucketName = cmdletContext.BucketName;
@@ -520,6 +516,10 @@ public object Execute(ExecutorContext context)
520516
{
521517
request.Key = cmdletContext.Key;
522518
}
519+
if (cmdletContext.ModifiedSinceDate != null)
520+
{
521+
request.ModifiedSinceDate = cmdletContext.ModifiedSinceDate.Value;
522+
}
523523
if (cmdletContext.PartNumber != null)
524524
{
525525
request.PartNumber = cmdletContext.PartNumber.Value;
@@ -568,6 +568,10 @@ public object Execute(ExecutorContext context)
568568
{
569569
request.ServerSideEncryptionCustomerProvidedKeyMD5 = cmdletContext.ServerSideEncryptionCustomerProvidedKeyMD5;
570570
}
571+
if (cmdletContext.UnmodifiedSinceDate != null)
572+
{
573+
request.UnmodifiedSinceDate = cmdletContext.UnmodifiedSinceDate.Value;
574+
}
571575
if (cmdletContext.VersionId != null)
572576
{
573577
request.VersionId = cmdletContext.VersionId;
@@ -627,14 +631,13 @@ private Amazon.S3.Model.GetObjectMetadataResponse CallAWSServiceOperation(IAmazo
627631

628632
internal partial class CmdletContext : ExecutorContext
629633
{
630-
public System.DateTime? ModifiedSinceDate { get; set; }
631-
public System.DateTime? UnmodifiedSinceDate { get; set; }
632634
public System.String BucketName { get; set; }
633635
public Amazon.S3.ChecksumMode ChecksumMode { get; set; }
634636
public System.String EtagToMatch { get; set; }
635637
public System.String EtagToNotMatch { get; set; }
636638
public System.String ExpectedBucketOwner { get; set; }
637639
public System.String Key { get; set; }
640+
public System.DateTime? ModifiedSinceDate { get; set; }
638641
public System.Int32? PartNumber { get; set; }
639642
public System.String Range { get; set; }
640643
public Amazon.S3.RequestPayer RequestPayer { get; set; }
@@ -647,6 +650,7 @@ internal partial class CmdletContext : ExecutorContext
647650
public Amazon.S3.ServerSideEncryptionCustomerMethod ServerSideEncryptionCustomerMethod { get; set; }
648651
public System.String ServerSideEncryptionCustomerProvidedKey { get; set; }
649652
public System.String ServerSideEncryptionCustomerProvidedKeyMD5 { get; set; }
653+
public System.DateTime? UnmodifiedSinceDate { get; set; }
650654
public System.String VersionId { get; set; }
651655
public System.Func<Amazon.S3.Model.GetObjectMetadataResponse, GetS3ObjectMetadataCmdlet, object> Select { get; set; } =
652656
(response, cmdlet) => response;

modules/AWSPowerShell/Cmdlets/XRay/Basic/Get-XRRetrievedTraceList-Cmdlet.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,20 @@ namespace Amazon.PowerShell.Cmdlets.XR
3737
///
3838
///
3939
/// <para>
40-
/// This API does not initiate a retrieval job. To start a trace retrieval, use <c>StartTraceRetrieval</c>,
40+
/// This API does not initiate a retrieval process. To start a trace retrieval, use <c>StartTraceRetrieval</c>,
4141
/// which generates the required <c>RetrievalToken</c>.
4242
/// </para><para>
4343
/// When the <c>RetrievalStatus</c> is not <i>COMPLETE</i>, the API will return an empty
4444
/// response. Retry the request once the retrieval has completed to access the full list
4545
/// of traces.
4646
/// </para><para>
4747
/// For cross-account observability, this API can retrieve traces from linked accounts
48-
/// when CloudWatch log is the destination across relevant accounts. For more details,
48+
/// when CloudWatch log is set as the destination across relevant accounts. For more details,
4949
/// see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch
5050
/// cross-account observability</a>.
5151
/// </para><para>
52-
/// For retrieving data from X-Ray directly as opposed to the Transaction-Search Log group,
53-
/// see <a href="https://docs.aws.amazon.com/xray/latest/api/API_BatchGetTraces.html">BatchGetTraces</a>.
52+
/// For retrieving data from X-Ray directly as opposed to the Transaction Search generated
53+
/// log group, see <a href="https://docs.aws.amazon.com/xray/latest/api/API_BatchGetTraces.html">BatchGetTraces</a>.
5454
/// </para><br/><br/>This cmdlet automatically pages all available results to the pipeline - parameters related to iteration are only needed if you want to manually control the paginated output. To disable autopagination, use -NoAutoIteration.
5555
/// </summary>
5656
[Cmdlet("Get", "XRRetrievedTraceList")]

modules/AWSPowerShell/Cmdlets/XRay/Basic/Get-XRSamplingTarget-Cmdlet.cs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,21 @@ public partial class GetXRSamplingTargetCmdlet : AmazonXRayClientCmdlet, IExecut
4444
protected override bool IsGeneratedCmdlet { get; set; } = true;
4545
private readonly CancellationTokenSource _cancellationTokenSource = new CancellationTokenSource();
4646

47+
#region Parameter SamplingBoostStatisticsDocument
48+
/// <summary>
49+
/// <para>
50+
/// <para>Information about rules that the service is using to boost sampling rate.</para><para />
51+
/// Starting with version 4 of the SDK this property will default to null. If no data for this property is returned
52+
/// from the service the property will also be null. This was changed to improve performance and allow the SDK and caller
53+
/// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous
54+
/// SDK behavior set the AWSConfigs.InitializeCollections static property to true.
55+
/// </para>
56+
/// </summary>
57+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
58+
[Alias("SamplingBoostStatisticsDocuments")]
59+
public Amazon.XRay.Model.SamplingBoostStatisticsDocument[] SamplingBoostStatisticsDocument { get; set; }
60+
#endregion
61+
4762
#region Parameter SamplingStatisticsDocument
4863
/// <summary>
4964
/// <para>
@@ -96,6 +111,10 @@ protected override void ProcessRecord()
96111
context.Select = CreateSelectDelegate<Amazon.XRay.Model.GetSamplingTargetsResponse, GetXRSamplingTargetCmdlet>(Select) ??
97112
throw new System.ArgumentException("Invalid value for -Select parameter.", nameof(this.Select));
98113
}
114+
if (this.SamplingBoostStatisticsDocument != null)
115+
{
116+
context.SamplingBoostStatisticsDocument = new List<Amazon.XRay.Model.SamplingBoostStatisticsDocument>(this.SamplingBoostStatisticsDocument);
117+
}
99118
if (this.SamplingStatisticsDocument != null)
100119
{
101120
context.SamplingStatisticsDocument = new List<Amazon.XRay.Model.SamplingStatisticsDocument>(this.SamplingStatisticsDocument);
@@ -122,6 +141,10 @@ public object Execute(ExecutorContext context)
122141
// create request
123142
var request = new Amazon.XRay.Model.GetSamplingTargetsRequest();
124143

144+
if (cmdletContext.SamplingBoostStatisticsDocument != null)
145+
{
146+
request.SamplingBoostStatisticsDocuments = cmdletContext.SamplingBoostStatisticsDocument;
147+
}
125148
if (cmdletContext.SamplingStatisticsDocument != null)
126149
{
127150
request.SamplingStatisticsDocuments = cmdletContext.SamplingStatisticsDocument;
@@ -181,6 +204,7 @@ private Amazon.XRay.Model.GetSamplingTargetsResponse CallAWSServiceOperation(IAm
181204

182205
internal partial class CmdletContext : ExecutorContext
183206
{
207+
public List<Amazon.XRay.Model.SamplingBoostStatisticsDocument> SamplingBoostStatisticsDocument { get; set; }
184208
public List<Amazon.XRay.Model.SamplingStatisticsDocument> SamplingStatisticsDocument { get; set; }
185209
public System.Func<Amazon.XRay.Model.GetSamplingTargetsResponse, GetXRSamplingTargetCmdlet, object> Select { get; set; } =
186210
(response, cmdlet) => response;

modules/AWSPowerShell/Cmdlets/XRay/Basic/Get-XRTraceSegmentDestination-Cmdlet.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
namespace Amazon.PowerShell.Cmdlets.XR
3131
{
3232
/// <summary>
33-
/// Retrieves the current destination of data sent to <c>PutTraceSegments</c> and <i>OpenTelemetry</i>
34-
/// API. The Transaction Search feature requires a CloudWatchLogs destination. For more
35-
/// information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Transaction-Search.html">Transaction
33+
/// Retrieves the current destination of data sent to <c>PutTraceSegments</c> and <i>OpenTelemetry
34+
/// protocol (OTLP)</i> endpoint. The Transaction Search feature requires a CloudWatchLogs
35+
/// destination. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Transaction-Search.html">Transaction
3636
/// Search</a> and <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-OpenTelemetry-Sections.html">OpenTelemetry</a>.
3737
/// </summary>
3838
[Cmdlet("Get", "XRTraceSegmentDestination")]

0 commit comments

Comments
 (0)