Skip to content

Commit 7cdc352

Browse files
4.1.365
1 parent 469e970 commit 7cdc352

13 files changed

+862
-724
lines changed

Include/sdk/_sdk-versions.json

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

changelogs/CHANGELOG.2023.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
### 4.1.364 (2023-06-30 21:07Z)
1+
### 4.1.365 (2023-07-03 21:20Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.582.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/master/changelogs/SDK.CHANGELOG.ALL.md.
3+
* Amazon Batch
4+
* Modified cmdlet Register-BATJobDefinition: added parameters RuntimePlatform_CpuArchitecture and RuntimePlatform_OperatingSystemFamily.
5+
* Amazon SageMaker Service
6+
* Modified cmdlet New-SMInferenceRecommendationsJob: added parameter ContainerConfig_SupportedEndpointType.
7+
8+
### 4.1.364 (2023-06-30 21:07Z)
29
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.581.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/master/changelogs/SDK.CHANGELOG.ALL.md.
310
* Amazon SageMaker Service
411
* Modified cmdlet New-SMEndpoint: added parameters MaximumBatchSize_Type, MaximumBatchSize_Value, RollbackMaximumBatchSize_Type, RollbackMaximumBatchSize_Value, RollingUpdatePolicy_MaximumExecutionTimeoutInSecond and RollingUpdatePolicy_WaitIntervalInSecond.

changelogs/CHANGELOG.ALL.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
### 4.1.364 (2023-06-30 21:07Z)
1+
### 4.1.365 (2023-07-03 21:20Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.582.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/master/changelogs/SDK.CHANGELOG.ALL.md.
3+
* Amazon Batch
4+
* Modified cmdlet Register-BATJobDefinition: added parameters RuntimePlatform_CpuArchitecture and RuntimePlatform_OperatingSystemFamily.
5+
* Amazon SageMaker Service
6+
* Modified cmdlet New-SMInferenceRecommendationsJob: added parameter ContainerConfig_SupportedEndpointType.
7+
8+
### 4.1.364 (2023-06-30 21:07Z)
29
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.581.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/master/changelogs/SDK.CHANGELOG.ALL.md.
310
* Amazon SageMaker Service
411
* Modified cmdlet New-SMEndpoint: added parameters MaximumBatchSize_Type, MaximumBatchSize_Value, RollbackMaximumBatchSize_Type, RollbackMaximumBatchSize_Value, RollingUpdatePolicy_MaximumExecutionTimeoutInSecond and RollingUpdatePolicy_WaitIntervalInSecond.

modules/AWSPowerShell/AWSPowerShellCompleters.psm1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51851,6 +51851,13 @@ $SM_Completers = {
5185151851
break
5185251852
}
5185351853

51854+
# Amazon.SageMaker.RecommendationJobSupportedEndpointType
51855+
"New-SMInferenceRecommendationsJob/InputConfig_ContainerConfig_SupportedEndpointType"
51856+
{
51857+
$v = "RealTime","Serverless"
51858+
break
51859+
}
51860+
5185451861
# Amazon.SageMaker.RecommendationJobType
5185551862
"New-SMInferenceRecommendationsJob/JobType"
5185651863
{
@@ -52285,6 +52292,7 @@ $SM_map = @{
5228552292
"HyperParameterTuningJobConfig_TrainingJobEarlyStoppingType"=@("New-SMHyperParameterTuningJob")
5228652293
"HyperParameterTuningJobConfig_TuningJobCompletionCriteria_ConvergenceDetected_CompleteOnConvergence"=@("New-SMHyperParameterTuningJob")
5228752294
"InferenceExecutionConfig_Mode"=@("New-SMModel")
52295+
"InputConfig_ContainerConfig_SupportedEndpointType"=@("New-SMInferenceRecommendationsJob")
5228852296
"InputConfig_Framework"=@("New-SMCompilationJob")
5228952297
"InputConfig_TrafficPattern_TrafficType"=@("New-SMInferenceRecommendationsJob")
5229052298
"InstanceType"=@("New-SMNotebookInstance","Update-SMNotebookInstance")

modules/AWSPowerShell/Cmdlets/Batch/Basic/New-BATComputeEnvironment-Cmdlet.cs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ namespace Amazon.PowerShell.Cmdlets.BAT
8888
/// or <code>SPOT_CAPACITY_OPTIMIZED</code>.
8989
/// </para></li><li><para>
9090
/// Set the update to latest image version (<code>updateToLatestImageVersion</code>) parameter
91-
/// to <code>true</code>.
91+
/// to <code>true</code>. The <code>updateToLatestImageVersion</code> parameter is used
92+
/// when you update a compute environment. This parameter is ignored when you create a
93+
/// compute environment.
9294
/// </para></li><li><para>
9395
/// Don't specify an AMI ID in <code>imageId</code>, <code>imageIdOverride</code> (in
9496
/// <a href="https://docs.aws.amazon.com/batch/latest/APIReference/API_Ec2Configuration.html"><code>ec2Configuration</code></a>), or in the launch template (<code>launchTemplate</code>).
@@ -194,8 +196,8 @@ public partial class NewBATComputeEnvironmentCmdlet : AmazonBatchClientCmdlet, I
194196
#region Parameter ComputeResources_DesiredvCpu
195197
/// <summary>
196198
/// <para>
197-
/// <para>The desired number of Amazon EC2 vCPUS in the compute environment. Batch modifies
198-
/// this value between the minimum and maximum values based on job queue demand.</para><note><para>This parameter isn't applicable to jobs that are running on Fargate resources. Don't
199+
/// <para>The desired number of vCPUS in the compute environment. Batch modifies this value
200+
/// between the minimum and maximum values based on job queue demand.</para><note><para>This parameter isn't applicable to jobs that are running on Fargate resources. Don't
199201
/// specify it.</para></note>
200202
/// </para>
201203
/// </summary>
@@ -313,7 +315,7 @@ public partial class NewBATComputeEnvironmentCmdlet : AmazonBatchClientCmdlet, I
313315
#region Parameter ComputeResources_MaxvCpu
314316
/// <summary>
315317
/// <para>
316-
/// <para>The maximum number of Amazon EC2 vCPUs that a compute environment can reach.</para><note><para>With both <code>BEST_FIT_PROGRESSIVE</code> and <code>SPOT_CAPACITY_OPTIMIZED</code>
318+
/// <para>The maximum number of vCPUs that a compute environment can support.</para><note><para>With both <code>BEST_FIT_PROGRESSIVE</code> and <code>SPOT_CAPACITY_OPTIMIZED</code>
317319
/// allocation strategies using On-Demand or Spot Instances, and the <code>BEST_FIT</code>
318320
/// strategy using Spot Instances, Batch might need to exceed <code>maxvCpus</code> to
319321
/// meet your capacity requirements. In this event, Batch never exceeds <code>maxvCpus</code>
@@ -329,8 +331,8 @@ public partial class NewBATComputeEnvironmentCmdlet : AmazonBatchClientCmdlet, I
329331
#region Parameter ComputeResources_MinvCpu
330332
/// <summary>
331333
/// <para>
332-
/// <para>The minimum number of Amazon EC2 vCPUs that an environment should maintain (even if
333-
/// the compute environment is <code>DISABLED</code>).</para><note><para>This parameter isn't applicable to jobs that are running on Fargate resources. Don't
334+
/// <para>The minimum number of vCPUs that a compute environment should maintain (even if the
335+
/// compute environment is <code>DISABLED</code>).</para><note><para>This parameter isn't applicable to jobs that are running on Fargate resources. Don't
334336
/// specify it.</para></note>
335337
/// </para>
336338
/// </summary>

modules/AWSPowerShell/Cmdlets/Batch/Basic/Register-BATJobDefinition-Cmdlet.cs

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,18 @@ public partial class RegisterBATJobDefinitionCmdlet : AmazonBatchClientCmdlet, I
9494
public Amazon.Batch.Model.EksContainer[] PodProperties_Container { get; set; }
9595
#endregion
9696

97+
#region Parameter RuntimePlatform_CpuArchitecture
98+
/// <summary>
99+
/// <para>
100+
/// <para>The vCPU architecture. The default value is <code>X86_64</code>. Valid values are
101+
/// <code>X86_64</code> and <code> ARM64</code>.</para><note><para>This parameter must be set to <code>X86_64</code> for Windows containers.</para></note>
102+
/// </para>
103+
/// </summary>
104+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
105+
[Alias("ContainerProperties_RuntimePlatform_CpuArchitecture")]
106+
public System.String RuntimePlatform_CpuArchitecture { get; set; }
107+
#endregion
108+
97109
#region Parameter LinuxParameters_Device
98110
/// <summary>
99111
/// <para>
@@ -387,6 +399,27 @@ public partial class RegisterBATJobDefinitionCmdlet : AmazonBatchClientCmdlet, I
387399
public System.Int32? NodeProperties_NumNode { get; set; }
388400
#endregion
389401

402+
#region Parameter RuntimePlatform_OperatingSystemFamily
403+
/// <summary>
404+
/// <para>
405+
/// <para>The operating system for the compute environment. Valid values are: <code>LINUX</code>
406+
/// (default), <code>WINDOWS_SERVER_2019_CORE</code>, <code>WINDOWS_SERVER_2019_FULL</code>,
407+
/// <code>WINDOWS_SERVER_2022_CORE</code>, and <code>WINDOWS_SERVER_2022_FULL</code>.</para><note><para>The following parameters can’t be set for Windows containers: <code>linuxParameters</code>,
408+
/// <code>privileged</code>, <code>user</code>, <code>ulimits</code>, <code>readonlyRootFilesystem</code>,
409+
/// and <code>efsVolumeConfiguration</code>.</para></note><note><para>The Batch Scheduler checks before registering a task definition with Fargate. If the
410+
/// job requires a Windows container and the first compute environment is <code>LINUX</code>,
411+
/// the compute environment is skipped and the next is checked until a Windows-based compute
412+
/// environment is found.</para></note><note><para>Fargate Spot is not supported for Windows-based containers on Fargate. A job queue
413+
/// will be blocked if a Fargate Windows job is submitted to a job queue with only Fargate
414+
/// Spot compute environments. However, you can attach both <code>FARGATE</code> and <code>FARGATE_SPOT</code>
415+
/// compute environments to the same job queue.</para></note>
416+
/// </para>
417+
/// </summary>
418+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
419+
[Alias("ContainerProperties_RuntimePlatform_OperatingSystemFamily")]
420+
public System.String RuntimePlatform_OperatingSystemFamily { get; set; }
421+
#endregion
422+
390423
#region Parameter LogConfiguration_Option
391424
/// <summary>
392425
/// <para>
@@ -872,6 +905,8 @@ protected override void ProcessRecord()
872905
{
873906
context.ContainerProperties_ResourceRequirement = new List<Amazon.Batch.Model.ResourceRequirement>(this.ContainerProperties_ResourceRequirement);
874907
}
908+
context.RuntimePlatform_CpuArchitecture = this.RuntimePlatform_CpuArchitecture;
909+
context.RuntimePlatform_OperatingSystemFamily = this.RuntimePlatform_OperatingSystemFamily;
875910
if (this.ContainerProperties_Secret != null)
876911
{
877912
context.ContainerProperties_Secret = new List<Amazon.Batch.Model.Secret>(this.ContainerProperties_Secret);
@@ -1214,6 +1249,41 @@ public object Execute(ExecutorContext context)
12141249
request.ContainerProperties.NetworkConfiguration = requestContainerProperties_containerProperties_NetworkConfiguration;
12151250
requestContainerPropertiesIsNull = false;
12161251
}
1252+
Amazon.Batch.Model.RuntimePlatform requestContainerProperties_containerProperties_RuntimePlatform = null;
1253+
1254+
// populate RuntimePlatform
1255+
var requestContainerProperties_containerProperties_RuntimePlatformIsNull = true;
1256+
requestContainerProperties_containerProperties_RuntimePlatform = new Amazon.Batch.Model.RuntimePlatform();
1257+
System.String requestContainerProperties_containerProperties_RuntimePlatform_runtimePlatform_CpuArchitecture = null;
1258+
if (cmdletContext.RuntimePlatform_CpuArchitecture != null)
1259+
{
1260+
requestContainerProperties_containerProperties_RuntimePlatform_runtimePlatform_CpuArchitecture = cmdletContext.RuntimePlatform_CpuArchitecture;
1261+
}
1262+
if (requestContainerProperties_containerProperties_RuntimePlatform_runtimePlatform_CpuArchitecture != null)
1263+
{
1264+
requestContainerProperties_containerProperties_RuntimePlatform.CpuArchitecture = requestContainerProperties_containerProperties_RuntimePlatform_runtimePlatform_CpuArchitecture;
1265+
requestContainerProperties_containerProperties_RuntimePlatformIsNull = false;
1266+
}
1267+
System.String requestContainerProperties_containerProperties_RuntimePlatform_runtimePlatform_OperatingSystemFamily = null;
1268+
if (cmdletContext.RuntimePlatform_OperatingSystemFamily != null)
1269+
{
1270+
requestContainerProperties_containerProperties_RuntimePlatform_runtimePlatform_OperatingSystemFamily = cmdletContext.RuntimePlatform_OperatingSystemFamily;
1271+
}
1272+
if (requestContainerProperties_containerProperties_RuntimePlatform_runtimePlatform_OperatingSystemFamily != null)
1273+
{
1274+
requestContainerProperties_containerProperties_RuntimePlatform.OperatingSystemFamily = requestContainerProperties_containerProperties_RuntimePlatform_runtimePlatform_OperatingSystemFamily;
1275+
requestContainerProperties_containerProperties_RuntimePlatformIsNull = false;
1276+
}
1277+
// determine if requestContainerProperties_containerProperties_RuntimePlatform should be set to null
1278+
if (requestContainerProperties_containerProperties_RuntimePlatformIsNull)
1279+
{
1280+
requestContainerProperties_containerProperties_RuntimePlatform = null;
1281+
}
1282+
if (requestContainerProperties_containerProperties_RuntimePlatform != null)
1283+
{
1284+
request.ContainerProperties.RuntimePlatform = requestContainerProperties_containerProperties_RuntimePlatform;
1285+
requestContainerPropertiesIsNull = false;
1286+
}
12171287
Amazon.Batch.Model.LogConfiguration requestContainerProperties_containerProperties_LogConfiguration = null;
12181288

12191289
// populate LogConfiguration
@@ -1623,6 +1693,8 @@ internal partial class CmdletContext : ExecutorContext
16231693
public System.Boolean? ContainerProperties_Privileged { get; set; }
16241694
public System.Boolean? ContainerProperties_ReadonlyRootFilesystem { get; set; }
16251695
public List<Amazon.Batch.Model.ResourceRequirement> ContainerProperties_ResourceRequirement { get; set; }
1696+
public System.String RuntimePlatform_CpuArchitecture { get; set; }
1697+
public System.String RuntimePlatform_OperatingSystemFamily { get; set; }
16261698
public List<Amazon.Batch.Model.Secret> ContainerProperties_Secret { get; set; }
16271699
public List<Amazon.Batch.Model.Ulimit> ContainerProperties_Ulimit { get; set; }
16281700
public System.String ContainerProperties_User { get; set; }

modules/AWSPowerShell/Cmdlets/Batch/Basic/Stop-BATJob-Cmdlet.cs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,14 @@ namespace Amazon.PowerShell.Cmdlets.BAT
3232
/// <code>PENDING</code> are canceled. A job in<code>RUNNABLE</code> remains in <code>RUNNABLE</code>
3333
/// until it reaches the head of the job queue. Then the job status is updated to <code>FAILED</code>.
3434
///
35-
///
36-
/// <para>
35+
/// <note><para>
36+
/// A <code>PENDING</code> job is canceled after all dependency jobs are completed. Therefore,
37+
/// it may take longer than expected to cancel a job in <code>PENDING</code> status.
38+
/// </para><para>
39+
/// When you try to cancel an array parent job in <code>PENDING</code>, Batch attempts
40+
/// to cancel all child jobs. The array parent job is canceled when all child jobs are
41+
/// completed.
42+
/// </para></note><para>
3743
/// Jobs that progressed to the <code>STARTING</code> or <code>RUNNING</code> state aren't
3844
/// canceled. However, the API operation still succeeds, even if no job is canceled. These
3945
/// jobs must be terminated with the <a>TerminateJob</a> operation.

modules/AWSPowerShell/Cmdlets/Batch/Basic/Submit-BATJob-Cmdlet.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public partial class SubmitBATJobCmdlet : AmazonBatchClientCmdlet, IExecutor
7171
/// <summary>
7272
/// <para>
7373
/// <para>The command to send to the container that overrides the default command from the Docker
74-
/// image or the job definition.</para>
74+
/// image or the job definition.</para><note><para>This parameter can't contain an empty string.</para></note>
7575
/// </para>
7676
/// </summary>
7777
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
@@ -295,9 +295,10 @@ public partial class SubmitBATJobCmdlet : AmazonBatchClientCmdlet, IExecutor
295295
#region Parameter ShareIdentifier
296296
/// <summary>
297297
/// <para>
298-
/// <para>The share identifier for the job. If the job queue doesn't have a scheduling policy,
299-
/// then this parameter must not be specified. If the job queue has a scheduling policy,
300-
/// then this parameter must be specified.</para>
298+
/// <para>The share identifier for the job. Don't specify this parameter if the job queue doesn't
299+
/// have a scheduling policy. If the job queue has a scheduling policy, then this parameter
300+
/// must be specified.</para><para>This string is limited to 255 alphanumeric characters, and can be followed by an asterisk
301+
/// (*).</para>
301302
/// </para>
302303
/// </summary>
303304
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]

modules/AWSPowerShell/Cmdlets/Batch/Basic/Update-BATComputeEnvironment-Cmdlet.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ public partial class UpdateBATComputeEnvironmentCmdlet : AmazonBatchClientCmdlet
106106
#region Parameter ComputeResources_DesiredvCpu
107107
/// <summary>
108108
/// <para>
109-
/// <para>The desired number of Amazon EC2 vCPUS in the compute environment. Batch modifies
110-
/// this value between the minimum and maximum values based on job queue demand.</para><note><para>This parameter isn't applicable to jobs that are running on Fargate resources. Don't
109+
/// <para>The desired number of vCPUS in the compute environment. Batch modifies this value
110+
/// between the minimum and maximum values based on job queue demand.</para><note><para>This parameter isn't applicable to jobs that are running on Fargate resources. Don't
111111
/// specify it.</para></note><note><para>Batch doesn't support changing the desired number of vCPUs of an existing compute
112112
/// environment. Don't specify this parameter for compute environments using Amazon EKS
113113
/// clusters.</para></note><note><para>When you update the <code>desiredvCpus</code> setting, the value must be between the
@@ -266,8 +266,8 @@ public partial class UpdateBATComputeEnvironmentCmdlet : AmazonBatchClientCmdlet
266266
#region Parameter ComputeResources_MinvCpu
267267
/// <summary>
268268
/// <para>
269-
/// <para>The minimum number of Amazon EC2 vCPUs that an environment should maintain (even if
270-
/// the compute environment is <code>DISABLED</code>).</para><note><para>This parameter isn't applicable to jobs that are running on Fargate resources. Don't
269+
/// <para>The minimum number of vCPUs that an environment should maintain (even if the compute
270+
/// environment is <code>DISABLED</code>).</para><note><para>This parameter isn't applicable to jobs that are running on Fargate resources. Don't
271271
/// specify it.</para></note>
272272
/// </para>
273273
/// </summary>

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,13 @@ $SM_Completers = {
957957
break
958958
}
959959

960+
# Amazon.SageMaker.RecommendationJobSupportedEndpointType
961+
"New-SMInferenceRecommendationsJob/InputConfig_ContainerConfig_SupportedEndpointType"
962+
{
963+
$v = "RealTime","Serverless"
964+
break
965+
}
966+
960967
# Amazon.SageMaker.RecommendationJobType
961968
"New-SMInferenceRecommendationsJob/JobType"
962969
{
@@ -1391,6 +1398,7 @@ $SM_map = @{
13911398
"HyperParameterTuningJobConfig_TrainingJobEarlyStoppingType"=@("New-SMHyperParameterTuningJob")
13921399
"HyperParameterTuningJobConfig_TuningJobCompletionCriteria_ConvergenceDetected_CompleteOnConvergence"=@("New-SMHyperParameterTuningJob")
13931400
"InferenceExecutionConfig_Mode"=@("New-SMModel")
1401+
"InputConfig_ContainerConfig_SupportedEndpointType"=@("New-SMInferenceRecommendationsJob")
13941402
"InputConfig_Framework"=@("New-SMCompilationJob")
13951403
"InputConfig_TrafficPattern_TrafficType"=@("New-SMInferenceRecommendationsJob")
13961404
"InstanceType"=@("New-SMNotebookInstance","Update-SMNotebookInstance")

0 commit comments

Comments
 (0)