Skip to content

Commit

Permalink
4.1.685
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-dotnet-automation committed Oct 24, 2024
1 parent 181573e commit acf545a
Show file tree
Hide file tree
Showing 15 changed files with 1,134 additions and 790 deletions.
1,560 changes: 780 additions & 780 deletions Include/sdk/_sdk-versions.json

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion changelogs/CHANGELOG.2024.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
### 4.1.684 (2024-10-23 21:17Z)
### 4.1.685 (2024-10-24 21:20Z)
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.913.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.
* [Breaking Change] Removed support for Amazon Nimble Studio
* Amazon AppConfig
* Modified cmdlet Stop-APPCDeployment: added parameter AllowRevert.
* Amazon Elastic Compute Cloud (EC2)
* Added cmdlet Get-EC2InstanceImageMetadata leveraging the DescribeInstanceImageMetadata service API.

### 4.1.684 (2024-10-23 21:17Z)
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.912.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 AmazonMWAA
* Added cmdlet Invoke-MWAARestApi leveraging the InvokeRestApi service API.
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.684 (2024-10-23 21:17Z)
### 4.1.685 (2024-10-24 21:20Z)
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.913.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.
* [Breaking Change] Removed support for Amazon Nimble Studio
* Amazon AppConfig
* Modified cmdlet Stop-APPCDeployment: added parameter AllowRevert.
* Amazon Elastic Compute Cloud (EC2)
* Added cmdlet Get-EC2InstanceImageMetadata leveraging the DescribeInstanceImageMetadata service API.

### 4.1.684 (2024-10-23 21:17Z)
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.912.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 AmazonMWAA
* Added cmdlet Invoke-MWAARestApi leveraging the InvokeRestApi service API.
Expand Down
4 changes: 4 additions & 0 deletions generator/AWSPSGeneratorLib/Config/ServiceConfig/ec2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1213,6 +1213,10 @@
<Params />
<TypesNotToFlatten />
</ServiceOperation>
<ServiceOperation MethodName="DescribeInstanceImageMetadata" OutputProperty="InstanceImageMetadata" Verb="Get" Noun="InstanceImageMetadata" PipelineParameter="" NoPipelineParameter="false">
<Params />
<TypesNotToFlatten />
</ServiceOperation>
<ServiceOperation MethodName="DescribeInstances" OutputProperty="Reservations" Verb="Get" Noun="Instance" PositionalParameters="Filters" PipelineParameter="InstanceIds" NoPipelineParameter="false" LegacyPagination="DisablePagination">
<Params />
<TypesNotToFlatten />
Expand Down
2 changes: 2 additions & 0 deletions modules/AWSPowerShell/AWSAliases.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9588,6 +9588,8 @@ Set-Alias -Name EC2-DescribeInstanceEventNotificationAttributes -Value Get-EC2In
Set-Alias -Name Describe-EC2InstanceEventWindows -Value Get-EC2InstanceEventWindow
Set-Alias -Name Describe-EC2InstanceEventWindow -Value Get-EC2InstanceEventWindow
Set-Alias -Name EC2-DescribeInstanceEventWindows -Value Get-EC2InstanceEventWindow
Set-Alias -Name Describe-EC2InstanceImageMetadata -Value Get-EC2InstanceImageMetadata
Set-Alias -Name EC2-DescribeInstanceImageMetadata -Value Get-EC2InstanceImageMetadata
Set-Alias -Name Describe-EC2Instances -Value Get-EC2Instance
Set-Alias -Name Describe-EC2Instance -Value Get-EC2Instance
Set-Alias -Name EC2-DescribeInstances -Value Get-EC2Instance
Expand Down
1 change: 1 addition & 0 deletions modules/AWSPowerShell/AWSPowerShellCompleters.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -24770,6 +24770,7 @@ $EC2_SelectMap = @{
"Get-EC2CreditSpecification",
"Get-EC2InstanceEventNotificationAttribute",
"Get-EC2InstanceEventWindow",
"Get-EC2InstanceImageMetadata",
"Get-EC2Instance",
"Get-EC2InstanceStatus",
"Get-EC2InstanceTopology",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ public partial class GetAPPCConfigurationCmdlet : AmazonAppConfigClientCmdlet, I
/// continue using <a>GetConfiguration</a>, we recommend that you include the <c>ClientConfigurationVersion</c>
/// value with every call to <a>GetConfiguration</a>. The value to use for <c>ClientConfigurationVersion</c>
/// comes from the <c>ConfigurationVersion</c> attribute returned by <a>GetConfiguration</a>
/// when there is new or updated data, and should be saved for subsequent calls to <a>GetConfiguration</a>.</para></important><para>For more information about working with configurations, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration.html">Retrieving
/// the Configuration</a> in the <i>AppConfig User Guide</i>.</para>
/// when there is new or updated data, and should be saved for subsequent calls to <a>GetConfiguration</a>.</para></important><para>For more information about working with configurations, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/retrieving-feature-flags.html">Retrieving
/// feature flags and configuration data in AppConfig</a> in the <i>AppConfig User Guide</i>.</para>
/// </para>
/// </summary>
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ namespace Amazon.PowerShell.Cmdlets.APPC
{
/// <summary>
/// Stops a deployment. This API action works only on deployments that have a status of
/// <c>DEPLOYING</c>. This action moves the deployment to a status of <c>ROLLED_BACK</c>.
/// <c>DEPLOYING</c>, unless an <c>AllowRevert</c> parameter is supplied. If the <c>AllowRevert</c>
/// parameter is supplied, the status of an in-progress deployment will be <c>ROLLED_BACK</c>.
/// The status of a completed deployment will be <c>REVERTED</c>. AppConfig only allows
/// a revert within 72 hours of deployment completion.
/// </summary>
[Cmdlet("Stop", "APPCDeployment", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)]
[OutputType("Amazon.AppConfig.Model.StopDeploymentResponse")]
Expand All @@ -42,6 +45,17 @@ public partial class StopAPPCDeploymentCmdlet : AmazonAppConfigClientCmdlet, IEx

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

#region Parameter AllowRevert
/// <summary>
/// <para>
/// <para>A Boolean that enables AppConfig to rollback a <c>COMPLETED</c> deployment to the
/// previous configuration version. This action moves the deployment to a status of <c>REVERTED</c>.</para>
/// </para>
/// </summary>
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
public System.Boolean? AllowRevert { get; set; }
#endregion

#region Parameter ApplicationId
/// <summary>
/// <para>
Expand Down Expand Up @@ -154,6 +168,7 @@ protected override void ProcessRecord()
context.Select = (response, cmdlet) => this.DeploymentNumber;
}
#pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute
context.AllowRevert = this.AllowRevert;
context.ApplicationId = this.ApplicationId;
#if MODULAR
if (this.ApplicationId == null && ParameterWasBound(nameof(this.ApplicationId)))
Expand Down Expand Up @@ -191,6 +206,10 @@ public object Execute(ExecutorContext context)
// create request
var request = new Amazon.AppConfig.Model.StopDeploymentRequest();

if (cmdletContext.AllowRevert != null)
{
request.AllowRevert = cmdletContext.AllowRevert.Value;
}
if (cmdletContext.ApplicationId != null)
{
request.ApplicationId = cmdletContext.ApplicationId;
Expand Down Expand Up @@ -264,6 +283,7 @@ private Amazon.AppConfig.Model.StopDeploymentResponse CallAWSServiceOperation(IA

internal partial class CmdletContext : ExecutorContext
{
public System.Boolean? AllowRevert { get; set; }
public System.String ApplicationId { get; set; }
public System.Int32? DeploymentNumber { get; set; }
public System.String EnvironmentId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1666,6 +1666,7 @@ $EC2_SelectMap = @{
"Get-EC2CreditSpecification",
"Get-EC2InstanceEventNotificationAttribute",
"Get-EC2InstanceEventWindow",
"Get-EC2InstanceImageMetadata",
"Get-EC2Instance",
"Get-EC2InstanceStatus",
"Get-EC2InstanceTopology",
Expand Down
1 change: 1 addition & 0 deletions modules/AWSPowerShell/Cmdlets/EC2/AWS.Tools.EC2.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ This version of AWS Tools for PowerShell is compatible with Windows PowerShell 5
'Get-EC2InstanceConnectEndpoint',
'Get-EC2InstanceEventNotificationAttribute',
'Get-EC2InstanceEventWindow',
'Get-EC2InstanceImageMetadata',
'Get-EC2InstanceMetadata',
'Get-EC2InstanceMetadataDefault',
'Get-EC2InstanceStatus',
Expand Down
Loading

0 comments on commit acf545a

Please sign in to comment.