Skip to content

Commit 7ca1439

Browse files
4.1.722
1 parent bbaa020 commit 7ca1439

20 files changed

+1417
-820
lines changed

Include/sdk/_sdk-versions.json

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

changelogs/CHANGELOG.2024.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
### 4.1.721 (2024-12-18 21:41Z)
1+
### 4.1.722 (2024-12-19 21:37Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.950.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 Elemental MediaLive
4+
* Added cmdlet Get-EMLVersionList leveraging the ListVersions service API.
5+
* Modified cmdlet New-EMLChannel: added parameters ChannelEngineVersion_Version and DryRun.
6+
* Modified cmdlet Update-EMLChannel: added parameters ChannelEngineVersion_Version and DryRun.
7+
* Amazon Q Connect
8+
* Modified cmdlet New-QCAIAgent: added parameters AnswerRecommendationAIAgentConfiguration_Locale and ManualSearchAIAgentConfiguration_Locale.
9+
* Modified cmdlet Update-QCAIAgent: added parameters AnswerRecommendationAIAgentConfiguration_Locale and ManualSearchAIAgentConfiguration_Locale.
10+
* Amazon Systems Manager for SAP
11+
* Modified cmdlet Register-SMSAPApplication: added parameter ComponentsInfo.
12+
* Amazon WorkSpaces
13+
* Modified cmdlet Edit-WKSStreamingProperty: added parameters GlobalAccelerator_Mode and GlobalAccelerator_PreferredProtocol.
14+
* Modified cmdlet Edit-WKSWorkspaceProperty: added parameters GlobalAccelerator_Mode and GlobalAccelerator_PreferredProtocol.
15+
16+
### 4.1.721 (2024-12-18 21:41Z)
217
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.949.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.
318
* Amazon Connect Participant Service
419
* Added cmdlet Get-CONNPAuthenticationUrl leveraging the GetAuthenticationUrl service API.

changelogs/CHANGELOG.ALL.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
### 4.1.721 (2024-12-18 21:41Z)
1+
### 4.1.722 (2024-12-19 21:37Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.950.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 Elemental MediaLive
4+
* Added cmdlet Get-EMLVersionList leveraging the ListVersions service API.
5+
* Modified cmdlet New-EMLChannel: added parameters ChannelEngineVersion_Version and DryRun.
6+
* Modified cmdlet Update-EMLChannel: added parameters ChannelEngineVersion_Version and DryRun.
7+
* Amazon Q Connect
8+
* Modified cmdlet New-QCAIAgent: added parameters AnswerRecommendationAIAgentConfiguration_Locale and ManualSearchAIAgentConfiguration_Locale.
9+
* Modified cmdlet Update-QCAIAgent: added parameters AnswerRecommendationAIAgentConfiguration_Locale and ManualSearchAIAgentConfiguration_Locale.
10+
* Amazon Systems Manager for SAP
11+
* Modified cmdlet Register-SMSAPApplication: added parameter ComponentsInfo.
12+
* Amazon WorkSpaces
13+
* Modified cmdlet Edit-WKSStreamingProperty: added parameters GlobalAccelerator_Mode and GlobalAccelerator_PreferredProtocol.
14+
* Modified cmdlet Edit-WKSWorkspaceProperty: added parameters GlobalAccelerator_Mode and GlobalAccelerator_PreferredProtocol.
15+
16+
### 4.1.721 (2024-12-18 21:41Z)
217
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.949.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.
318
* Amazon Connect Participant Service
419
* Added cmdlet Get-CONNPAuthenticationUrl leveraging the GetAuthenticationUrl service API.

generator/AWSPSGeneratorLib/Config/ServiceConfig/medialive.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,10 @@
343343
<Params />
344344
<TypesNotToFlatten />
345345
</ServiceOperation>
346+
<ServiceOperation MethodName="ListVersions" OutputProperty="Versions" Verb="Get" Noun="VersionList" PipelineParameter="" NoPipelineParameter="false">
347+
<Params />
348+
<TypesNotToFlatten />
349+
</ServiceOperation>
346350
<ServiceOperation MethodName="PurchaseOffering" OutputProperty="Reservation" Verb="New" Noun="OfferingPurchase" ShouldProcessTarget="OfferingId" PipelineParameter="OfferingId" NoPipelineParameter="false">
347351
<Params />
348352
<TypesNotToFlatten />

modules/AWSPowerShell/AWSAliases.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19688,6 +19688,9 @@ Set-Alias -Name List-EMLSignalMaps -Value Get-EMLSignalMapList
1968819688
Set-Alias -Name List-EMLSignalMapList -Value Get-EMLSignalMapList
1968919689
Set-Alias -Name EML-ListSignalMaps -Value Get-EMLSignalMapList
1969019690
Set-Alias -Name EML-ListTagsForResource -Value Get-EMLResourceTag
19691+
Set-Alias -Name List-EMLVersions -Value Get-EMLVersionList
19692+
Set-Alias -Name List-EMLVersionList -Value Get-EMLVersionList
19693+
Set-Alias -Name EML-ListVersions -Value Get-EMLVersionList
1969119694
Set-Alias -Name Purchase-EMLOffering -Value New-EMLOfferingPurchase
1969219695
Set-Alias -Name Purchase-EMLOfferingPurchase -Value New-EMLOfferingPurchase
1969319696
Set-Alias -Name EML-PurchaseOffering -Value New-EMLOfferingPurchase

modules/AWSPowerShell/AWSPowerShellCompleters.psm1

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3588,7 +3588,7 @@ $APS_Completers = {
35883588
($_ -eq "Update-APSFleet/Platform")
35893589
}
35903590
{
3591-
$v = "AMAZON_LINUX2","RHEL8","WINDOWS","WINDOWS_SERVER_2016","WINDOWS_SERVER_2019","WINDOWS_SERVER_2022"
3591+
$v = "AMAZON_LINUX2","RHEL8","ROCKY_LINUX8","WINDOWS","WINDOWS_SERVER_2016","WINDOWS_SERVER_2019","WINDOWS_SERVER_2022"
35923592
break
35933593
}
35943594

@@ -47912,6 +47912,7 @@ $EML_SelectMap = @{
4791247912
"Get-EMLReservationList",
4791347913
"Get-EMLSignalMapList",
4791447914
"Get-EMLResourceTag",
47915+
"Get-EMLVersionList",
4791547916
"New-EMLOfferingPurchase",
4791647917
"Restart-EMLInputDevice",
4791747918
"Deny-EMLInputDeviceTransfer",
@@ -77140,6 +77141,34 @@ $WKS_Completers = {
7714077141
break
7714177142
}
7714277143

77144+
# Amazon.WorkSpaces.AGAModeForDirectoryEnum
77145+
"Edit-WKSStreamingProperty/GlobalAccelerator_Mode"
77146+
{
77147+
$v = "DISABLED","ENABLED_AUTO"
77148+
break
77149+
}
77150+
77151+
# Amazon.WorkSpaces.AGAModeForWorkSpaceEnum
77152+
"Edit-WKSWorkspaceProperty/GlobalAccelerator_Mode"
77153+
{
77154+
$v = "DISABLED","ENABLED_AUTO","INHERITED"
77155+
break
77156+
}
77157+
77158+
# Amazon.WorkSpaces.AGAPreferredProtocolForDirectory
77159+
"Edit-WKSStreamingProperty/GlobalAccelerator_PreferredProtocol"
77160+
{
77161+
$v = "NONE","TCP"
77162+
break
77163+
}
77164+
77165+
# Amazon.WorkSpaces.AGAPreferredProtocolForWorkSpace
77166+
"Edit-WKSWorkspaceProperty/GlobalAccelerator_PreferredProtocol"
77167+
{
77168+
$v = "INHERITED","NONE","TCP"
77169+
break
77170+
}
77171+
7714377172
# Amazon.WorkSpaces.ApplicationSettingsStatusEnum
7714477173
{
7714577174
($_ -eq "New-WKSWorkspacesPool/ApplicationSettings_Status") -Or
@@ -77295,6 +77324,8 @@ $WKS_map = @{
7729577324
"ComputeType_Name"=@("New-WKSWorkspaceBundle")
7729677325
"DataReplication"=@("Edit-WKSWorkspaceProperty")
7729777326
"DedicatedTenancySupport"=@("Edit-WKSAccount")
77327+
"GlobalAccelerator_Mode"=@("Edit-WKSStreamingProperty","Edit-WKSWorkspaceProperty")
77328+
"GlobalAccelerator_PreferredProtocol"=@("Edit-WKSStreamingProperty","Edit-WKSWorkspaceProperty")
7729877329
"ImageType"=@("Get-WKSWorkspaceImage")
7729977330
"IngestionProcess"=@("Import-WKSWorkspaceImage")
7730077331
"LicenseType"=@("Get-WKSApplication")

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ $APS_Completers = {
150150
($_ -eq "Update-APSFleet/Platform")
151151
}
152152
{
153-
$v = "AMAZON_LINUX2","RHEL8","WINDOWS","WINDOWS_SERVER_2016","WINDOWS_SERVER_2019","WINDOWS_SERVER_2022"
153+
$v = "AMAZON_LINUX2","RHEL8","ROCKY_LINUX8","WINDOWS","WINDOWS_SERVER_2016","WINDOWS_SERVER_2019","WINDOWS_SERVER_2022"
154154
break
155155
}
156156

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ $EML_SelectMap = @{
460460
"Get-EMLReservationList",
461461
"Get-EMLSignalMapList",
462462
"Get-EMLResourceTag",
463+
"Get-EMLVersionList",
463464
"New-EMLOfferingPurchase",
464465
"Restart-EMLInputDevice",
465466
"Deny-EMLInputDeviceTransfer",

modules/AWSPowerShell/Cmdlets/MediaLive/AWS.Tools.MediaLive.psd1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ This version of AWS Tools for PowerShell is compatible with Windows PowerShell 5
128128
'Get-EMLSignalMap',
129129
'Get-EMLSignalMapList',
130130
'Get-EMLThumbnail',
131+
'Get-EMLVersionList',
131132
'Move-EMLInputDevice',
132133
'New-EMLChannel',
133134
'New-EMLChannelPlacementGroup',
Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
/*******************************************************************************
2+
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
4+
* this file except in compliance with the License. A copy of the License is located at
5+
*
6+
* http://aws.amazon.com/apache2.0
7+
*
8+
* or in the "license" file accompanying this file.
9+
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
11+
* specific language governing permissions and limitations under the License.
12+
* *****************************************************************************
13+
*
14+
* AWS Tools for Windows (TM) PowerShell (TM)
15+
*
16+
*/
17+
18+
using System;
19+
using System.Collections.Generic;
20+
using System.Linq;
21+
using System.Management.Automation;
22+
using System.Text;
23+
using Amazon.PowerShell.Common;
24+
using Amazon.Runtime;
25+
using Amazon.MediaLive;
26+
using Amazon.MediaLive.Model;
27+
28+
namespace Amazon.PowerShell.Cmdlets.EML
29+
{
30+
/// <summary>
31+
/// Retrieves an array of all the encoder engine versions that are available in this AWS
32+
/// account.
33+
/// </summary>
34+
[Cmdlet("Get", "EMLVersionList")]
35+
[OutputType("Amazon.MediaLive.Model.ChannelEngineVersionResponse")]
36+
[AWSCmdlet("Calls the AWS Elemental MediaLive ListVersions API operation.", Operation = new[] {"ListVersions"}, SelectReturnType = typeof(Amazon.MediaLive.Model.ListVersionsResponse))]
37+
[AWSCmdletOutput("Amazon.MediaLive.Model.ChannelEngineVersionResponse or Amazon.MediaLive.Model.ListVersionsResponse",
38+
"This cmdlet returns a collection of Amazon.MediaLive.Model.ChannelEngineVersionResponse objects.",
39+
"The service call response (type Amazon.MediaLive.Model.ListVersionsResponse) can be returned by specifying '-Select *'."
40+
)]
41+
public partial class GetEMLVersionListCmdlet : AmazonMediaLiveClientCmdlet, IExecutor
42+
{
43+
44+
protected override bool IsGeneratedCmdlet { get; set; } = true;
45+
46+
#region Parameter Select
47+
/// <summary>
48+
/// Use the -Select parameter to control the cmdlet output. The default value is 'Versions'.
49+
/// Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.MediaLive.Model.ListVersionsResponse).
50+
/// Specifying the name of a property of type Amazon.MediaLive.Model.ListVersionsResponse will result in that property being returned.
51+
/// Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
52+
/// </summary>
53+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
54+
public string Select { get; set; } = "Versions";
55+
#endregion
56+
57+
protected override void ProcessRecord()
58+
{
59+
this._AWSSignerType = "v4";
60+
base.ProcessRecord();
61+
62+
var context = new CmdletContext();
63+
64+
// allow for manipulation of parameters prior to loading into context
65+
PreExecutionContextLoad(context);
66+
67+
if (ParameterWasBound(nameof(this.Select)))
68+
{
69+
context.Select = CreateSelectDelegate<Amazon.MediaLive.Model.ListVersionsResponse, GetEMLVersionListCmdlet>(Select) ??
70+
throw new System.ArgumentException("Invalid value for -Select parameter.", nameof(this.Select));
71+
}
72+
73+
// allow further manipulation of loaded context prior to processing
74+
PostExecutionContextLoad(context);
75+
76+
var output = Execute(context) as CmdletOutput;
77+
ProcessOutput(output);
78+
}
79+
80+
#region IExecutor Members
81+
82+
public object Execute(ExecutorContext context)
83+
{
84+
var cmdletContext = context as CmdletContext;
85+
// create request
86+
var request = new Amazon.MediaLive.Model.ListVersionsRequest();
87+
88+
89+
CmdletOutput output;
90+
91+
// issue call
92+
var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint);
93+
try
94+
{
95+
var response = CallAWSServiceOperation(client, request);
96+
object pipelineOutput = null;
97+
pipelineOutput = cmdletContext.Select(response, this);
98+
output = new CmdletOutput
99+
{
100+
PipelineOutput = pipelineOutput,
101+
ServiceResponse = response
102+
};
103+
}
104+
catch (Exception e)
105+
{
106+
output = new CmdletOutput { ErrorResponse = e };
107+
}
108+
109+
return output;
110+
}
111+
112+
public ExecutorContext CreateContext()
113+
{
114+
return new CmdletContext();
115+
}
116+
117+
#endregion
118+
119+
#region AWS Service Operation Call
120+
121+
private Amazon.MediaLive.Model.ListVersionsResponse CallAWSServiceOperation(IAmazonMediaLive client, Amazon.MediaLive.Model.ListVersionsRequest request)
122+
{
123+
Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Elemental MediaLive", "ListVersions");
124+
try
125+
{
126+
#if DESKTOP
127+
return client.ListVersions(request);
128+
#elif CORECLR
129+
return client.ListVersionsAsync(request).GetAwaiter().GetResult();
130+
#else
131+
#error "Unknown build edition"
132+
#endif
133+
}
134+
catch (AmazonServiceException exc)
135+
{
136+
var webException = exc.InnerException as System.Net.WebException;
137+
if (webException != null)
138+
{
139+
throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException);
140+
}
141+
throw;
142+
}
143+
}
144+
145+
#endregion
146+
147+
internal partial class CmdletContext : ExecutorContext
148+
{
149+
public System.Func<Amazon.MediaLive.Model.ListVersionsResponse, GetEMLVersionListCmdlet, object> Select { get; set; } =
150+
(response, cmdlet) => response.Versions;
151+
}
152+
153+
}
154+
}

0 commit comments

Comments
 (0)