Skip to content

Commit

Permalink
4.1.748
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-dotnet-automation committed Jan 31, 2025
1 parent 0d03b90 commit 81d3fd6
Show file tree
Hide file tree
Showing 26 changed files with 298 additions and 59 deletions.
14 changes: 7 additions & 7 deletions Include/sdk/_sdk-versions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

{
"NewServiceVersion" : "3.7.400.0",
"ProductVersion" : "3.7.973.0",
"ProductVersion" : "3.7.974.0",
"CoreVersion" : "3.7.401.6",
"OverrideCoreVersion" : "3.3",
"DefaultToPreview" : false,
Expand Down Expand Up @@ -284,7 +284,7 @@
"InPreview" : false
},
"RDS" : {
"Version" : "3.7.410.23",
"Version" : "3.7.410.24",
"AssemblyVersionOverride" : "3.3",
"Dependencies" : {
"Core" : "3.7.401.6"
Expand Down Expand Up @@ -660,7 +660,7 @@
"InPreview" : false
},
"CodeBuild" : {
"Version" : "3.7.408.10",
"Version" : "3.7.409.0",
"AssemblyVersionOverride" : "3.3",
"Dependencies" : {
"Core" : "3.7.401.6"
Expand Down Expand Up @@ -932,7 +932,7 @@
"InPreview" : false
},
"SageMaker" : {
"Version" : "3.7.421.5",
"Version" : "3.7.422.0",
"AssemblyVersionOverride" : "3.3",
"Dependencies" : {
"Core" : "3.7.401.6"
Expand Down Expand Up @@ -1940,7 +1940,7 @@
"InPreview" : false
},
"PrometheusService" : {
"Version" : "3.7.401.42",
"Version" : "3.7.402.0",
"AssemblyVersionOverride" : "3.3",
"Dependencies" : {
"Core" : "3.7.401.6"
Expand Down Expand Up @@ -2868,7 +2868,7 @@
"InPreview" : false
},
"BedrockAgentRuntime" : {
"Version" : "3.7.417.0",
"Version" : "3.7.418.0",
"AssemblyVersionOverride" : "3.3",
"Dependencies" : {
"Core" : "3.7.401.6"
Expand Down Expand Up @@ -3108,7 +3108,7 @@
"InPreview" : false
},
"GeoRoutes" : {
"Version" : "3.7.400.43",
"Version" : "3.7.401.0",
"AssemblyVersionOverride" : "3.3",
"Dependencies" : {
"Core" : "3.7.401.6"
Expand Down
10 changes: 9 additions & 1 deletion changelogs/CHANGELOG.2025.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
### 4.1.747 (2025-01-30 21:59Z)
### 4.1.748 (2025-01-31 21:36Z)
* 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.
* Amazon Location Service Routes V2
* Modified cmdlet Get-GEOROptimizedWaypoint: added parameters Clustering_Algorithm and DrivingDistanceOptions_DrivingDistance.
* Amazon Prometheus Service
* Modified cmdlet New-PROMScraper: added parameters RoleConfiguration_SourceRoleArn and RoleConfiguration_TargetRoleArn.
* Modified cmdlet Update-PROMScraper: added parameters RoleConfiguration_SourceRoleArn and RoleConfiguration_TargetRoleArn.

### 4.1.747 (2025-01-30 21:59Z)
* 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.
* Amazon Elemental MediaTailor
* Modified cmdlet Set-EMTPlaybackConfiguration: added parameter AdConditioningConfiguration_StreamingMediaFileConditioning.
Expand Down
10 changes: 9 additions & 1 deletion changelogs/CHANGELOG.ALL.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
### 4.1.747 (2025-01-30 21:59Z)
### 4.1.748 (2025-01-31 21:36Z)
* 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.
* Amazon Location Service Routes V2
* Modified cmdlet Get-GEOROptimizedWaypoint: added parameters Clustering_Algorithm and DrivingDistanceOptions_DrivingDistance.
* Amazon Prometheus Service
* Modified cmdlet New-PROMScraper: added parameters RoleConfiguration_SourceRoleArn and RoleConfiguration_TargetRoleArn.
* Modified cmdlet Update-PROMScraper: added parameters RoleConfiguration_SourceRoleArn and RoleConfiguration_TargetRoleArn.

### 4.1.747 (2025-01-30 21:59Z)
* 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.
* Amazon Elemental MediaTailor
* Modified cmdlet Set-EMTPlaybackConfiguration: added parameter AdConditioningConfiguration_StreamingMediaFileConditioning.
Expand Down
10 changes: 9 additions & 1 deletion modules/AWSPowerShell/AWSPowerShellCompleters.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -14007,7 +14007,7 @@ $CB_Completers = {
($_ -eq "Update-CBWebhook/BuildType")
}
{
$v = "BUILD","BUILD_BATCH"
$v = "BUILD","BUILD_BATCH","RUNNER_BUILDKITE_BUILD"
break
}

Expand Down Expand Up @@ -33694,6 +33694,13 @@ $GEOR_Completers = {
break
}

# Amazon.GeoRoutes.WaypointOptimizationClusteringAlgorithm
"Get-GEOROptimizedWaypoint/Clustering_Algorithm"
{
$v = "DrivingDistance","TopologySegment"
break
}

# Amazon.GeoRoutes.WaypointOptimizationSequencingObjective
"Get-GEOROptimizedWaypoint/OptimizeSequencingFor"
{
Expand Down Expand Up @@ -33732,6 +33739,7 @@ $GEOR_Completers = {

$GEOR_map = @{
"Car_EngineType"=@("Get-GEORIsoline","Get-GEORRoute")
"Clustering_Algorithm"=@("Get-GEOROptimizedWaypoint")
"DestinationOptions_Matching_Strategy"=@("Get-GEORIsoline","Get-GEORRoute")
"DestinationOptions_SideOfStreet_UseWith"=@("Get-GEORIsoline","Get-GEORRoute")
"Driver_TreatServiceTimeAs"=@("Get-GEOROptimizedWaypoint")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ $CB_Completers = {
($_ -eq "Update-CBWebhook/BuildType")
}
{
$v = "BUILD","BUILD_BATCH"
$v = "BUILD","BUILD_BATCH","RUNNER_BUILDKITE_BUILD"
break
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,13 @@ $GEOR_Completers = {
break
}

# Amazon.GeoRoutes.WaypointOptimizationClusteringAlgorithm
"Get-GEOROptimizedWaypoint/Clustering_Algorithm"
{
$v = "DrivingDistance","TopologySegment"
break
}

# Amazon.GeoRoutes.WaypointOptimizationSequencingObjective
"Get-GEOROptimizedWaypoint/OptimizeSequencingFor"
{
Expand Down Expand Up @@ -286,6 +293,7 @@ $GEOR_Completers = {

$GEOR_map = @{
"Car_EngineType"=@("Get-GEORIsoline","Get-GEORRoute")
"Clustering_Algorithm"=@("Get-GEOROptimizedWaypoint")
"DestinationOptions_Matching_Strategy"=@("Get-GEORIsoline","Get-GEORRoute")
"DestinationOptions_SideOfStreet_UseWith"=@("Get-GEORIsoline","Get-GEORRoute")
"Driver_TreatServiceTimeAs"=@("Get-GEOROptimizedWaypoint")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
#region Parameter Avoid_CarShuttleTrain
/// <summary>
/// <para>
/// <para>Avoid car-shuttle-trains while calculating the route.</para>
/// <para>Avoid car-shuttle-trains while calculating an isoline.</para>
/// </para>
/// </summary>
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
Expand All @@ -127,7 +127,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
#region Parameter Avoid_ControlledAccessHighway
/// <summary>
/// <para>
/// <para>Avoid controlled access highways while calculating the route.</para>
/// <para>Avoid controlled access highways while calculating an isoline.</para>
/// </para>
/// </summary>
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
Expand Down Expand Up @@ -169,7 +169,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
#region Parameter Avoid_DirtRoad
/// <summary>
/// <para>
/// <para>Avoid dirt roads while calculating the route.</para>
/// <para>Avoid dirt roads while calculating an isoline.</para>
/// </para>
/// </summary>
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
Expand Down Expand Up @@ -226,7 +226,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
#region Parameter Avoid_Ferry
/// <summary>
/// <para>
/// <para>Avoid ferries while calculating the route.</para>
/// <para>Avoid ferries while calculating an isoline.</para>
/// </para>
/// </summary>
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
Expand Down Expand Up @@ -315,7 +315,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
#region Parameter Allow_Hot
/// <summary>
/// <para>
/// <para>Allow Hot (High Occupancy Toll) lanes while calculating the route.</para>
/// <para>Allow Hot (High Occupancy Toll) lanes while calculating an isoline.</para><para>Default value: <c>false</c></para>
/// </para>
/// </summary>
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
Expand All @@ -325,7 +325,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
#region Parameter Allow_Hov
/// <summary>
/// <para>
/// <para>Allow Hov (High Occupancy vehicle) lanes while calculating the route.</para>
/// <para>Allow Hov (High Occupancy vehicle) lanes while calculating an isoline.</para><para>Default value: <c>false</c></para>
/// </para>
/// </summary>
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
Expand Down Expand Up @@ -420,7 +420,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
#region Parameter IsolineGranularity_MaxResolution
/// <summary>
/// <para>
/// <para>Maximum resolution of the returned isoline.</para><para><b>Unit</b>: <c>centimeters</c></para>
/// <para>Maximum resolution of the returned isoline.</para><para><b>Unit</b>: <c>meters</c></para>
/// </para>
/// </summary>
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
Expand Down Expand Up @@ -649,7 +649,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
#region Parameter Avoid_SeasonalClosure
/// <summary>
/// <para>
/// <para>Avoid roads that have seasonal closure while calculating the route.</para>
/// <para>Avoid roads that have seasonal closure while calculating an isoline.</para>
/// </para>
/// </summary>
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
Expand Down Expand Up @@ -822,7 +822,7 @@ public partial class GetGEORIsolineCmdlet : AmazonGeoRoutesClientCmdlet, IExecut
#region Parameter Avoid_Tunnel
/// <summary>
/// <para>
/// <para>Avoid tunnels while calculating the route.</para>
/// <para>Avoid tunnels while calculating an isoline.</para>
/// </para>
/// </summary>
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
namespace Amazon.PowerShell.Cmdlets.GEOR
{
/// <summary>
/// Calculates the optimal order to travel between a set of waypoints to minimize either
/// the travel time or the distance travelled during the journey, based on road network
/// restrictions and the traffic pattern data.
/// <c>OptimizeWaypoints</c> calculates the optimal order to travel between a set of
/// waypoints to minimize either the travel time or the distance travelled during the
/// journey, based on road network restrictions and the traffic pattern data.
/// </summary>
[Cmdlet("Get", "GEOROptimizedWaypoint")]
[OutputType("Amazon.GeoRoutes.Model.OptimizeWaypointsResponse")]
Expand All @@ -47,6 +47,20 @@ public partial class GetGEOROptimizedWaypointCmdlet : AmazonGeoRoutesClientCmdle

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

#region Parameter Clustering_Algorithm
/// <summary>
/// <para>
/// <para>The algorithm to be used. <c>DrivingDistance</c> assigns all the waypoints that are
/// within driving distance of each other into a single cluster. <c>TopologySegment</c>
/// assigns all the waypoints that are within the same topology segment into a single
/// cluster. A Topology segment is a linear stretch of road between two junctions.</para>
/// </para>
/// </summary>
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[AWSConstantClassSource("Amazon.GeoRoutes.WaypointOptimizationClusteringAlgorithm")]
public Amazon.GeoRoutes.WaypointOptimizationClusteringAlgorithm Clustering_Algorithm { get; set; }
#endregion

#region Parameter DestinationOptions_AppointmentTime
/// <summary>
/// <para>
Expand Down Expand Up @@ -157,6 +171,18 @@ public partial class GetGEOROptimizedWaypointCmdlet : AmazonGeoRoutesClientCmdle
public System.Boolean? Avoid_DirtRoad { get; set; }
#endregion

#region Parameter DrivingDistanceOptions_DrivingDistance
/// <summary>
/// <para>
/// <para>DrivingDistance assigns all the waypoints that are within driving distance of each
/// other into a single cluster.</para>
/// </para>
/// </summary>
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
[Alias("Clustering_DrivingDistanceOptions_DrivingDistance")]
public System.Int64? DrivingDistanceOptions_DrivingDistance { get; set; }
#endregion

#region Parameter Avoid_Ferry
/// <summary>
/// <para>
Expand Down Expand Up @@ -580,6 +606,8 @@ protected override void ProcessRecord()
context.Avoid_TollRoad = this.Avoid_TollRoad;
context.Avoid_Tunnel = this.Avoid_Tunnel;
context.Avoid_UTurn = this.Avoid_UTurn;
context.Clustering_Algorithm = this.Clustering_Algorithm;
context.DrivingDistanceOptions_DrivingDistance = this.DrivingDistanceOptions_DrivingDistance;
context.DepartureTime = this.DepartureTime;
if (this.Destination != null)
{
Expand Down Expand Up @@ -745,6 +773,50 @@ public object Execute(ExecutorContext context)
{
request.Avoid = null;
}

// populate Clustering
var requestClusteringIsNull = true;
request.Clustering = new Amazon.GeoRoutes.Model.WaypointOptimizationClusteringOptions();
Amazon.GeoRoutes.WaypointOptimizationClusteringAlgorithm requestClustering_clustering_Algorithm = null;
if (cmdletContext.Clustering_Algorithm != null)
{
requestClustering_clustering_Algorithm = cmdletContext.Clustering_Algorithm;
}
if (requestClustering_clustering_Algorithm != null)
{
request.Clustering.Algorithm = requestClustering_clustering_Algorithm;
requestClusteringIsNull = false;
}
Amazon.GeoRoutes.Model.WaypointOptimizationDrivingDistanceOptions requestClustering_clustering_DrivingDistanceOptions = null;

// populate DrivingDistanceOptions
var requestClustering_clustering_DrivingDistanceOptionsIsNull = true;
requestClustering_clustering_DrivingDistanceOptions = new Amazon.GeoRoutes.Model.WaypointOptimizationDrivingDistanceOptions();
System.Int64? requestClustering_clustering_DrivingDistanceOptions_drivingDistanceOptions_DrivingDistance = null;
if (cmdletContext.DrivingDistanceOptions_DrivingDistance != null)
{
requestClustering_clustering_DrivingDistanceOptions_drivingDistanceOptions_DrivingDistance = cmdletContext.DrivingDistanceOptions_DrivingDistance.Value;
}
if (requestClustering_clustering_DrivingDistanceOptions_drivingDistanceOptions_DrivingDistance != null)
{
requestClustering_clustering_DrivingDistanceOptions.DrivingDistance = requestClustering_clustering_DrivingDistanceOptions_drivingDistanceOptions_DrivingDistance.Value;
requestClustering_clustering_DrivingDistanceOptionsIsNull = false;
}
// determine if requestClustering_clustering_DrivingDistanceOptions should be set to null
if (requestClustering_clustering_DrivingDistanceOptionsIsNull)
{
requestClustering_clustering_DrivingDistanceOptions = null;
}
if (requestClustering_clustering_DrivingDistanceOptions != null)
{
request.Clustering.DrivingDistanceOptions = requestClustering_clustering_DrivingDistanceOptions;
requestClusteringIsNull = false;
}
// determine if request.Clustering should be set to null
if (requestClusteringIsNull)
{
request.Clustering = null;
}
if (cmdletContext.DepartureTime != null)
{
request.DepartureTime = cmdletContext.DepartureTime;
Expand Down Expand Up @@ -1351,6 +1423,8 @@ internal partial class CmdletContext : ExecutorContext
public System.Boolean? Avoid_TollRoad { get; set; }
public System.Boolean? Avoid_Tunnel { get; set; }
public System.Boolean? Avoid_UTurn { get; set; }
public Amazon.GeoRoutes.WaypointOptimizationClusteringAlgorithm Clustering_Algorithm { get; set; }
public System.Int64? DrivingDistanceOptions_DrivingDistance { get; set; }
public System.String DepartureTime { get; set; }
public List<System.Double> Destination { get; set; }
public Amazon.GeoRoutes.DayOfWeek From_DayOfWeek { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
namespace Amazon.PowerShell.Cmdlets.GEOR
{
/// <summary>
/// Calculates a route given the following required parameters: <c>Origin</c> and <c>Destination</c>.
/// <c>CalculateRoutes</c> computes routes given the following required parameters: <c>Origin</c>
/// and <c>Destination</c>.
/// </summary>
[Cmdlet("Get", "GEORRoute")]
[OutputType("Amazon.GeoRoutes.Model.CalculateRoutesResponse")]
Expand Down Expand Up @@ -391,7 +392,7 @@ public partial class GetGEORRouteCmdlet : AmazonGeoRoutesClientCmdlet, IExecutor
#region Parameter Allow_Hot
/// <summary>
/// <para>
/// <para>Allow Hot (High Occupancy Toll) lanes while calculating the route.</para>
/// <para>Allow Hot (High Occupancy Toll) lanes while calculating the route.</para><para>Default value: <c>false</c></para>
/// </para>
/// </summary>
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
Expand All @@ -401,7 +402,7 @@ public partial class GetGEORRouteCmdlet : AmazonGeoRoutesClientCmdlet, IExecutor
#region Parameter Allow_Hov
/// <summary>
/// <para>
/// <para>Allow Hov (High Occupancy vehicle) lanes while calculating the route.</para>
/// <para>Allow Hov (High Occupancy vehicle) lanes while calculating the route.</para><para>Default value: <c>false</c></para>
/// </para>
/// </summary>
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
Expand Down Expand Up @@ -905,7 +906,7 @@ public partial class GetGEORRouteCmdlet : AmazonGeoRoutesClientCmdlet, IExecutor
/// <para>
/// <para>Type of step returned by the response. Default provides basic steps intended for web
/// based applications. TurnByTurn provides detailed instructions with more granularity
/// intended for a turn based naviagtion system.</para>
/// intended for a turn based navigation system.</para>
/// </para>
/// </summary>
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
Expand Down
Loading

0 comments on commit 81d3fd6

Please sign in to comment.