Skip to content

Commit 81d3fd6

Browse files
4.1.748
1 parent 0d03b90 commit 81d3fd6

26 files changed

+298
-59
lines changed

Include/sdk/_sdk-versions.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
{
33
"NewServiceVersion" : "3.7.400.0",
4-
"ProductVersion" : "3.7.973.0",
4+
"ProductVersion" : "3.7.974.0",
55
"CoreVersion" : "3.7.401.6",
66
"OverrideCoreVersion" : "3.3",
77
"DefaultToPreview" : false,
@@ -284,7 +284,7 @@
284284
"InPreview" : false
285285
},
286286
"RDS" : {
287-
"Version" : "3.7.410.23",
287+
"Version" : "3.7.410.24",
288288
"AssemblyVersionOverride" : "3.3",
289289
"Dependencies" : {
290290
"Core" : "3.7.401.6"
@@ -660,7 +660,7 @@
660660
"InPreview" : false
661661
},
662662
"CodeBuild" : {
663-
"Version" : "3.7.408.10",
663+
"Version" : "3.7.409.0",
664664
"AssemblyVersionOverride" : "3.3",
665665
"Dependencies" : {
666666
"Core" : "3.7.401.6"
@@ -932,7 +932,7 @@
932932
"InPreview" : false
933933
},
934934
"SageMaker" : {
935-
"Version" : "3.7.421.5",
935+
"Version" : "3.7.422.0",
936936
"AssemblyVersionOverride" : "3.3",
937937
"Dependencies" : {
938938
"Core" : "3.7.401.6"
@@ -1940,7 +1940,7 @@
19401940
"InPreview" : false
19411941
},
19421942
"PrometheusService" : {
1943-
"Version" : "3.7.401.42",
1943+
"Version" : "3.7.402.0",
19441944
"AssemblyVersionOverride" : "3.3",
19451945
"Dependencies" : {
19461946
"Core" : "3.7.401.6"
@@ -2868,7 +2868,7 @@
28682868
"InPreview" : false
28692869
},
28702870
"BedrockAgentRuntime" : {
2871-
"Version" : "3.7.417.0",
2871+
"Version" : "3.7.418.0",
28722872
"AssemblyVersionOverride" : "3.3",
28732873
"Dependencies" : {
28742874
"Core" : "3.7.401.6"
@@ -3108,7 +3108,7 @@
31083108
"InPreview" : false
31093109
},
31103110
"GeoRoutes" : {
3111-
"Version" : "3.7.400.43",
3111+
"Version" : "3.7.401.0",
31123112
"AssemblyVersionOverride" : "3.3",
31133113
"Dependencies" : {
31143114
"Core" : "3.7.401.6"

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.747 (2025-01-30 21:59Z)
1+
### 4.1.748 (2025-01-31 21:36Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.974.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 Location Service Routes V2
4+
* Modified cmdlet Get-GEOROptimizedWaypoint: added parameters Clustering_Algorithm and DrivingDistanceOptions_DrivingDistance.
5+
* Amazon Prometheus Service
6+
* Modified cmdlet New-PROMScraper: added parameters RoleConfiguration_SourceRoleArn and RoleConfiguration_TargetRoleArn.
7+
* Modified cmdlet Update-PROMScraper: added parameters RoleConfiguration_SourceRoleArn and RoleConfiguration_TargetRoleArn.
8+
9+
### 4.1.747 (2025-01-30 21:59Z)
210
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.973.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 Elemental MediaTailor
412
* Modified cmdlet Set-EMTPlaybackConfiguration: added parameter AdConditioningConfiguration_StreamingMediaFileConditioning.

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.747 (2025-01-30 21:59Z)
1+
### 4.1.748 (2025-01-31 21:36Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.974.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 Location Service Routes V2
4+
* Modified cmdlet Get-GEOROptimizedWaypoint: added parameters Clustering_Algorithm and DrivingDistanceOptions_DrivingDistance.
5+
* Amazon Prometheus Service
6+
* Modified cmdlet New-PROMScraper: added parameters RoleConfiguration_SourceRoleArn and RoleConfiguration_TargetRoleArn.
7+
* Modified cmdlet Update-PROMScraper: added parameters RoleConfiguration_SourceRoleArn and RoleConfiguration_TargetRoleArn.
8+
9+
### 4.1.747 (2025-01-30 21:59Z)
210
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.973.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 Elemental MediaTailor
412
* Modified cmdlet Set-EMTPlaybackConfiguration: added parameter AdConditioningConfiguration_StreamingMediaFileConditioning.

modules/AWSPowerShell/AWSPowerShellCompleters.psm1

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14007,7 +14007,7 @@ $CB_Completers = {
1400714007
($_ -eq "Update-CBWebhook/BuildType")
1400814008
}
1400914009
{
14010-
$v = "BUILD","BUILD_BATCH"
14010+
$v = "BUILD","BUILD_BATCH","RUNNER_BUILDKITE_BUILD"
1401114011
break
1401214012
}
1401314013

@@ -33694,6 +33694,13 @@ $GEOR_Completers = {
3369433694
break
3369533695
}
3369633696

33697+
# Amazon.GeoRoutes.WaypointOptimizationClusteringAlgorithm
33698+
"Get-GEOROptimizedWaypoint/Clustering_Algorithm"
33699+
{
33700+
$v = "DrivingDistance","TopologySegment"
33701+
break
33702+
}
33703+
3369733704
# Amazon.GeoRoutes.WaypointOptimizationSequencingObjective
3369833705
"Get-GEOROptimizedWaypoint/OptimizeSequencingFor"
3369933706
{
@@ -33732,6 +33739,7 @@ $GEOR_Completers = {
3373233739

3373333740
$GEOR_map = @{
3373433741
"Car_EngineType"=@("Get-GEORIsoline","Get-GEORRoute")
33742+
"Clustering_Algorithm"=@("Get-GEOROptimizedWaypoint")
3373533743
"DestinationOptions_Matching_Strategy"=@("Get-GEORIsoline","Get-GEORRoute")
3373633744
"DestinationOptions_SideOfStreet_UseWith"=@("Get-GEORIsoline","Get-GEORRoute")
3373733745
"Driver_TreatServiceTimeAs"=@("Get-GEOROptimizedWaypoint")

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ $CB_Completers = {
435435
($_ -eq "Update-CBWebhook/BuildType")
436436
}
437437
{
438-
$v = "BUILD","BUILD_BATCH"
438+
$v = "BUILD","BUILD_BATCH","RUNNER_BUILDKITE_BUILD"
439439
break
440440
}
441441

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,13 @@ $GEOR_Completers = {
248248
break
249249
}
250250

251+
# Amazon.GeoRoutes.WaypointOptimizationClusteringAlgorithm
252+
"Get-GEOROptimizedWaypoint/Clustering_Algorithm"
253+
{
254+
$v = "DrivingDistance","TopologySegment"
255+
break
256+
}
257+
251258
# Amazon.GeoRoutes.WaypointOptimizationSequencingObjective
252259
"Get-GEOROptimizedWaypoint/OptimizeSequencingFor"
253260
{
@@ -286,6 +293,7 @@ $GEOR_Completers = {
286293

287294
$GEOR_map = @{
288295
"Car_EngineType"=@("Get-GEORIsoline","Get-GEORRoute")
296+
"Clustering_Algorithm"=@("Get-GEOROptimizedWaypoint")
289297
"DestinationOptions_Matching_Strategy"=@("Get-GEORIsoline","Get-GEORRoute")
290298
"DestinationOptions_SideOfStreet_UseWith"=@("Get-GEORIsoline","Get-GEORRoute")
291299
"Driver_TreatServiceTimeAs"=@("Get-GEOROptimizedWaypoint")

modules/AWSPowerShell/Cmdlets/GeoRoutes/Basic/Get-GEORIsoline-Cmdlet.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
116116
#region Parameter Avoid_CarShuttleTrain
117117
/// <summary>
118118
/// <para>
119-
/// <para>Avoid car-shuttle-trains while calculating the route.</para>
119+
/// <para>Avoid car-shuttle-trains while calculating an isoline.</para>
120120
/// </para>
121121
/// </summary>
122122
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
@@ -127,7 +127,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
127127
#region Parameter Avoid_ControlledAccessHighway
128128
/// <summary>
129129
/// <para>
130-
/// <para>Avoid controlled access highways while calculating the route.</para>
130+
/// <para>Avoid controlled access highways while calculating an isoline.</para>
131131
/// </para>
132132
/// </summary>
133133
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
@@ -169,7 +169,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
169169
#region Parameter Avoid_DirtRoad
170170
/// <summary>
171171
/// <para>
172-
/// <para>Avoid dirt roads while calculating the route.</para>
172+
/// <para>Avoid dirt roads while calculating an isoline.</para>
173173
/// </para>
174174
/// </summary>
175175
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
@@ -226,7 +226,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
226226
#region Parameter Avoid_Ferry
227227
/// <summary>
228228
/// <para>
229-
/// <para>Avoid ferries while calculating the route.</para>
229+
/// <para>Avoid ferries while calculating an isoline.</para>
230230
/// </para>
231231
/// </summary>
232232
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
@@ -315,7 +315,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
315315
#region Parameter Allow_Hot
316316
/// <summary>
317317
/// <para>
318-
/// <para>Allow Hot (High Occupancy Toll) lanes while calculating the route.</para>
318+
/// <para>Allow Hot (High Occupancy Toll) lanes while calculating an isoline.</para><para>Default value: <c>false</c></para>
319319
/// </para>
320320
/// </summary>
321321
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
@@ -325,7 +325,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
325325
#region Parameter Allow_Hov
326326
/// <summary>
327327
/// <para>
328-
/// <para>Allow Hov (High Occupancy vehicle) lanes while calculating the route.</para>
328+
/// <para>Allow Hov (High Occupancy vehicle) lanes while calculating an isoline.</para><para>Default value: <c>false</c></para>
329329
/// </para>
330330
/// </summary>
331331
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
@@ -420,7 +420,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
420420
#region Parameter IsolineGranularity_MaxResolution
421421
/// <summary>
422422
/// <para>
423-
/// <para>Maximum resolution of the returned isoline.</para><para><b>Unit</b>: <c>centimeters</c></para>
423+
/// <para>Maximum resolution of the returned isoline.</para><para><b>Unit</b>: <c>meters</c></para>
424424
/// </para>
425425
/// </summary>
426426
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
@@ -649,7 +649,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
649649
#region Parameter Avoid_SeasonalClosure
650650
/// <summary>
651651
/// <para>
652-
/// <para>Avoid roads that have seasonal closure while calculating the route.</para>
652+
/// <para>Avoid roads that have seasonal closure while calculating an isoline.</para>
653653
/// </para>
654654
/// </summary>
655655
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
@@ -822,7 +822,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
822822
#region Parameter Avoid_Tunnel
823823
/// <summary>
824824
/// <para>
825-
/// <para>Avoid tunnels while calculating the route.</para>
825+
/// <para>Avoid tunnels while calculating an isoline.</para>
826826
/// </para>
827827
/// </summary>
828828
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]

modules/AWSPowerShell/Cmdlets/GeoRoutes/Basic/Get-GEOROptimizedWaypoint-Cmdlet.cs

Lines changed: 77 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
namespace Amazon.PowerShell.Cmdlets.GEOR
2929
{
3030
/// <summary>
31-
/// Calculates the optimal order to travel between a set of waypoints to minimize either
32-
/// the travel time or the distance travelled during the journey, based on road network
33-
/// restrictions and the traffic pattern data.
31+
/// <c>OptimizeWaypoints</c> calculates the optimal order to travel between a set of
32+
/// waypoints to minimize either the travel time or the distance travelled during the
33+
/// journey, based on road network restrictions and the traffic pattern data.
3434
/// </summary>
3535
[Cmdlet("Get", "GEOROptimizedWaypoint")]
3636
[OutputType("Amazon.GeoRoutes.Model.OptimizeWaypointsResponse")]
@@ -47,6 +47,20 @@ public partial class GetGEOROptimizedWaypointCmdlet : AmazonGeoRoutesClientCmdle
4747

4848
protected override bool IsGeneratedCmdlet { get; set; } = true;
4949

50+
#region Parameter Clustering_Algorithm
51+
/// <summary>
52+
/// <para>
53+
/// <para>The algorithm to be used. <c>DrivingDistance</c> assigns all the waypoints that are
54+
/// within driving distance of each other into a single cluster. <c>TopologySegment</c>
55+
/// assigns all the waypoints that are within the same topology segment into a single
56+
/// cluster. A Topology segment is a linear stretch of road between two junctions.</para>
57+
/// </para>
58+
/// </summary>
59+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
60+
[AWSConstantClassSource("Amazon.GeoRoutes.WaypointOptimizationClusteringAlgorithm")]
61+
public Amazon.GeoRoutes.WaypointOptimizationClusteringAlgorithm Clustering_Algorithm { get; set; }
62+
#endregion
63+
5064
#region Parameter DestinationOptions_AppointmentTime
5165
/// <summary>
5266
/// <para>
@@ -157,6 +171,18 @@ public partial class GetGEOROptimizedWaypointCmdlet : AmazonGeoRoutesClientCmdle
157171
public System.Boolean? Avoid_DirtRoad { get; set; }
158172
#endregion
159173

174+
#region Parameter DrivingDistanceOptions_DrivingDistance
175+
/// <summary>
176+
/// <para>
177+
/// <para>DrivingDistance assigns all the waypoints that are within driving distance of each
178+
/// other into a single cluster.</para>
179+
/// </para>
180+
/// </summary>
181+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
182+
[Alias("Clustering_DrivingDistanceOptions_DrivingDistance")]
183+
public System.Int64? DrivingDistanceOptions_DrivingDistance { get; set; }
184+
#endregion
185+
160186
#region Parameter Avoid_Ferry
161187
/// <summary>
162188
/// <para>
@@ -580,6 +606,8 @@ protected override void ProcessRecord()
580606
context.Avoid_TollRoad = this.Avoid_TollRoad;
581607
context.Avoid_Tunnel = this.Avoid_Tunnel;
582608
context.Avoid_UTurn = this.Avoid_UTurn;
609+
context.Clustering_Algorithm = this.Clustering_Algorithm;
610+
context.DrivingDistanceOptions_DrivingDistance = this.DrivingDistanceOptions_DrivingDistance;
583611
context.DepartureTime = this.DepartureTime;
584612
if (this.Destination != null)
585613
{
@@ -745,6 +773,50 @@ public object Execute(ExecutorContext context)
745773
{
746774
request.Avoid = null;
747775
}
776+
777+
// populate Clustering
778+
var requestClusteringIsNull = true;
779+
request.Clustering = new Amazon.GeoRoutes.Model.WaypointOptimizationClusteringOptions();
780+
Amazon.GeoRoutes.WaypointOptimizationClusteringAlgorithm requestClustering_clustering_Algorithm = null;
781+
if (cmdletContext.Clustering_Algorithm != null)
782+
{
783+
requestClustering_clustering_Algorithm = cmdletContext.Clustering_Algorithm;
784+
}
785+
if (requestClustering_clustering_Algorithm != null)
786+
{
787+
request.Clustering.Algorithm = requestClustering_clustering_Algorithm;
788+
requestClusteringIsNull = false;
789+
}
790+
Amazon.GeoRoutes.Model.WaypointOptimizationDrivingDistanceOptions requestClustering_clustering_DrivingDistanceOptions = null;
791+
792+
// populate DrivingDistanceOptions
793+
var requestClustering_clustering_DrivingDistanceOptionsIsNull = true;
794+
requestClustering_clustering_DrivingDistanceOptions = new Amazon.GeoRoutes.Model.WaypointOptimizationDrivingDistanceOptions();
795+
System.Int64? requestClustering_clustering_DrivingDistanceOptions_drivingDistanceOptions_DrivingDistance = null;
796+
if (cmdletContext.DrivingDistanceOptions_DrivingDistance != null)
797+
{
798+
requestClustering_clustering_DrivingDistanceOptions_drivingDistanceOptions_DrivingDistance = cmdletContext.DrivingDistanceOptions_DrivingDistance.Value;
799+
}
800+
if (requestClustering_clustering_DrivingDistanceOptions_drivingDistanceOptions_DrivingDistance != null)
801+
{
802+
requestClustering_clustering_DrivingDistanceOptions.DrivingDistance = requestClustering_clustering_DrivingDistanceOptions_drivingDistanceOptions_DrivingDistance.Value;
803+
requestClustering_clustering_DrivingDistanceOptionsIsNull = false;
804+
}
805+
// determine if requestClustering_clustering_DrivingDistanceOptions should be set to null
806+
if (requestClustering_clustering_DrivingDistanceOptionsIsNull)
807+
{
808+
requestClustering_clustering_DrivingDistanceOptions = null;
809+
}
810+
if (requestClustering_clustering_DrivingDistanceOptions != null)
811+
{
812+
request.Clustering.DrivingDistanceOptions = requestClustering_clustering_DrivingDistanceOptions;
813+
requestClusteringIsNull = false;
814+
}
815+
// determine if request.Clustering should be set to null
816+
if (requestClusteringIsNull)
817+
{
818+
request.Clustering = null;
819+
}
748820
if (cmdletContext.DepartureTime != null)
749821
{
750822
request.DepartureTime = cmdletContext.DepartureTime;
@@ -1351,6 +1423,8 @@ internal partial class CmdletContext : ExecutorContext
13511423
public System.Boolean? Avoid_TollRoad { get; set; }
13521424
public System.Boolean? Avoid_Tunnel { get; set; }
13531425
public System.Boolean? Avoid_UTurn { get; set; }
1426+
public Amazon.GeoRoutes.WaypointOptimizationClusteringAlgorithm Clustering_Algorithm { get; set; }
1427+
public System.Int64? DrivingDistanceOptions_DrivingDistance { get; set; }
13541428
public System.String DepartureTime { get; set; }
13551429
public List<System.Double> Destination { get; set; }
13561430
public Amazon.GeoRoutes.DayOfWeek From_DayOfWeek { get; set; }

modules/AWSPowerShell/Cmdlets/GeoRoutes/Basic/Get-GEORRoute-Cmdlet.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
namespace Amazon.PowerShell.Cmdlets.GEOR
2929
{
3030
/// <summary>
31-
/// Calculates a route given the following required parameters: <c>Origin</c> and <c>Destination</c>.
31+
/// <c>CalculateRoutes</c> computes routes given the following required parameters: <c>Origin</c>
32+
/// and <c>Destination</c>.
3233
/// </summary>
3334
[Cmdlet("Get", "GEORRoute")]
3435
[OutputType("Amazon.GeoRoutes.Model.CalculateRoutesResponse")]
@@ -391,7 +392,7 @@ public partial class GetGEORRouteCmdlet : AmazonGeoRoutesClientCmdlet, IExecutor
391392
#region Parameter Allow_Hot
392393
/// <summary>
393394
/// <para>
394-
/// <para>Allow Hot (High Occupancy Toll) lanes while calculating the route.</para>
395+
/// <para>Allow Hot (High Occupancy Toll) lanes while calculating the route.</para><para>Default value: <c>false</c></para>
395396
/// </para>
396397
/// </summary>
397398
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
@@ -401,7 +402,7 @@ public partial class GetGEORRouteCmdlet : AmazonGeoRoutesClientCmdlet, IExecutor
401402
#region Parameter Allow_Hov
402403
/// <summary>
403404
/// <para>
404-
/// <para>Allow Hov (High Occupancy vehicle) lanes while calculating the route.</para>
405+
/// <para>Allow Hov (High Occupancy vehicle) lanes while calculating the route.</para><para>Default value: <c>false</c></para>
405406
/// </para>
406407
/// </summary>
407408
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
@@ -905,7 +906,7 @@ public partial class GetGEORRouteCmdlet : AmazonGeoRoutesClientCmdlet, IExecutor
905906
/// <para>
906907
/// <para>Type of step returned by the response. Default provides basic steps intended for web
907908
/// based applications. TurnByTurn provides detailed instructions with more granularity
908-
/// intended for a turn based naviagtion system.</para>
909+
/// intended for a turn based navigation system.</para>
909910
/// </para>
910911
/// </summary>
911912
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]

0 commit comments

Comments
 (0)