Skip to content

Commit 9b95fac

Browse files
5.0.9
1 parent 6d0ca2e commit 9b95fac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+2739
-1024
lines changed

Include/sdk/_sdk-versions.json

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

changelogs/CHANGELOG.2025.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
1-
### 5.0.8 (2025-07-03 20:04Z)
1+
### 5.0.9 (2025-07-09 20:22Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 4.0.46.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 Elastic Compute Cloud
4+
* Added cmdlet Get-EC2CapacityBlock leveraging the DescribeCapacityBlocks service API.
5+
* Added cmdlet Get-EC2CapacityBlockStatus leveraging the DescribeCapacityBlockStatus service API.
6+
* Modified cmdlet Get-EC2CapacityBlockOffering: added parameters UltraserverCount and UltraserverType.
7+
* Amazon Free Tier
8+
* Added cmdlet Get-FTAccountActivity leveraging the GetAccountActivity service API.
9+
* Added cmdlet Get-FTAccountActivityList leveraging the ListAccountActivities service API.
10+
* Added cmdlet Get-FTAccountPlanState leveraging the GetAccountPlanState service API.
11+
* Added cmdlet Set-FTAccountPlan leveraging the UpgradeAccountPlan service API.
12+
* Amazon Simple Storage Service (S3)
13+
* Modified cmdlet Write-S3ObjectTagSet: added parameter ContentMD5.
14+
15+
### 5.0.8 (2025-07-03 20:04Z)
216
* AWS Tools for PowerShell now use AWS .NET SDK 4.0.45.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.
317
* Amazon Connect Customer Profiles
418
* Added cmdlet Get-CPFUploadJob leveraging the GetUploadJob service API.

changelogs/CHANGELOG.ALL.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
1-
### 5.0.8 (2025-07-03 20:04Z)
1+
### 5.0.9 (2025-07-09 20:22Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 4.0.46.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 Elastic Compute Cloud
4+
* Added cmdlet Get-EC2CapacityBlock leveraging the DescribeCapacityBlocks service API.
5+
* Added cmdlet Get-EC2CapacityBlockStatus leveraging the DescribeCapacityBlockStatus service API.
6+
* Modified cmdlet Get-EC2CapacityBlockOffering: added parameters UltraserverCount and UltraserverType.
7+
* Amazon Free Tier
8+
* Added cmdlet Get-FTAccountActivity leveraging the GetAccountActivity service API.
9+
* Added cmdlet Get-FTAccountActivityList leveraging the ListAccountActivities service API.
10+
* Added cmdlet Get-FTAccountPlanState leveraging the GetAccountPlanState service API.
11+
* Added cmdlet Set-FTAccountPlan leveraging the UpgradeAccountPlan service API.
12+
* Amazon Simple Storage Service (S3)
13+
* Modified cmdlet Write-S3ObjectTagSet: added parameter ContentMD5.
14+
15+
### 5.0.8 (2025-07-03 20:04Z)
216
* AWS Tools for PowerShell now use AWS .NET SDK 4.0.45.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.
317
* Amazon Connect Customer Profiles
418
* Added cmdlet Get-CPFUploadJob leveraging the GetUploadJob service API.

generator/AWSPSGeneratorLib/Config/ServiceConfig/ec2.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,6 +1105,14 @@
11051105
<Params />
11061106
<TypesNotToFlatten />
11071107
</ServiceOperation>
1108+
<ServiceOperation MethodName="DescribeCapacityBlocks" OutputProperty="CapacityBlocks" Verb="Get" Noun="CapacityBlock" PipelineParameter="" NoPipelineParameter="false">
1109+
<Params />
1110+
<TypesNotToFlatten />
1111+
</ServiceOperation>
1112+
<ServiceOperation MethodName="DescribeCapacityBlockStatus" OutputProperty="CapacityBlockStatuses" Verb="Get" Noun="CapacityBlockStatus" PipelineParameter="" NoPipelineParameter="false">
1113+
<Params />
1114+
<TypesNotToFlatten />
1115+
</ServiceOperation>
11081116
<ServiceOperation MethodName="DescribeCapacityReservationBillingRequests" OutputProperty="CapacityReservationBillingRequests" Verb="Get" Noun="CapacityReservationBillingRequest" PipelineParameter="Role" NoPipelineParameter="false" LegacyV4Pagination="true">
11091117
<Params />
11101118
<TypesNotToFlatten />

generator/AWSPSGeneratorLib/Config/ServiceConfig/freetier.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,26 @@
1818
<ParamEmitters />
1919
<MetadataProperties />
2020
<ServiceOperations>
21+
<ServiceOperation MethodName="GetAccountActivity" OutputProperty="*" Verb="Get" Noun="AccountActivity" PipelineParameter="ActivityId" NoPipelineParameter="false">
22+
<Params />
23+
<TypesNotToFlatten />
24+
</ServiceOperation>
25+
<ServiceOperation MethodName="GetAccountPlanState" OutputProperty="*" Verb="Get" Noun="AccountPlanState" PipelineParameter="" NoPipelineParameter="false">
26+
<Params />
27+
<TypesNotToFlatten />
28+
</ServiceOperation>
2129
<ServiceOperation MethodName="GetFreeTierUsage" OutputProperty="FreeTierUsages" Verb="Get" Noun="FreeTierUsage" PipelineParameter="Filter" NoPipelineParameter="false" LegacyV4Pagination="true">
2230
<Params />
2331
<TypesNotToFlatten />
2432
</ServiceOperation>
33+
<ServiceOperation MethodName="ListAccountActivities" OutputProperty="Activities" Verb="Get" Noun="AccountActivityList" PipelineParameter="LanguageCode" NoPipelineParameter="false">
34+
<Params />
35+
<TypesNotToFlatten />
36+
</ServiceOperation>
37+
<ServiceOperation MethodName="UpgradeAccountPlan" OutputProperty="*" Verb="Set" Noun="AccountPlan" ShouldProcessTarget="AccountPlanType" PipelineParameter="AccountPlanType" NoPipelineParameter="false">
38+
<Params />
39+
<TypesNotToFlatten />
40+
</ServiceOperation>
2541
</ServiceOperations>
2642
<TypesNotToFlatten>
2743
<Type>Amazon.FreeTier.Model.Expression</Type>

modules/AWSPowerShell/AWSAliases.ps1

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10134,6 +10134,11 @@ Set-Alias -Name EC2-DescribeCapacityBlockExtensionOfferings -Value Get-EC2Capaci
1013410134
Set-Alias -Name Describe-EC2CapacityBlockOfferings -Value Get-EC2CapacityBlockOffering
1013510135
Set-Alias -Name Describe-EC2CapacityBlockOffering -Value Get-EC2CapacityBlockOffering
1013610136
Set-Alias -Name EC2-DescribeCapacityBlockOfferings -Value Get-EC2CapacityBlockOffering
10137+
Set-Alias -Name Describe-EC2CapacityBlocks -Value Get-EC2CapacityBlock
10138+
Set-Alias -Name Describe-EC2CapacityBlock -Value Get-EC2CapacityBlock
10139+
Set-Alias -Name EC2-DescribeCapacityBlocks -Value Get-EC2CapacityBlock
10140+
Set-Alias -Name Describe-EC2CapacityBlockStatus -Value Get-EC2CapacityBlockStatus
10141+
Set-Alias -Name EC2-DescribeCapacityBlockStatus -Value Get-EC2CapacityBlockStatus
1013710142
Set-Alias -Name Describe-EC2CapacityReservationBillingRequests -Value Get-EC2CapacityReservationBillingRequest
1013810143
Set-Alias -Name Describe-EC2CapacityReservationBillingRequest -Value Get-EC2CapacityReservationBillingRequest
1013910144
Set-Alias -Name EC2-DescribeCapacityReservationBillingRequests -Value Get-EC2CapacityReservationBillingRequest
@@ -13378,7 +13383,14 @@ Set-Alias -Name FD-UpdateModelVersionStatus -Value Update-FDModelVersionStatus
1337813383
Set-Alias -Name FD-UpdateRuleMetadata -Value Update-FDRuleMetadata
1337913384
Set-Alias -Name FD-UpdateRuleVersion -Value Update-FDRuleVersion
1338013385
Set-Alias -Name FD-UpdateVariable -Value Update-FDVariable
13386+
Set-Alias -Name FT-GetAccountActivity -Value Get-FTAccountActivity
13387+
Set-Alias -Name FT-GetAccountPlanState -Value Get-FTAccountPlanState
1338113388
Set-Alias -Name FT-GetFreeTierUsage -Value Get-FTFreeTierUsage
13389+
Set-Alias -Name List-FTAccountActivities -Value Get-FTAccountActivityList
13390+
Set-Alias -Name List-FTAccountActivityList -Value Get-FTAccountActivityList
13391+
Set-Alias -Name FT-ListAccountActivities -Value Get-FTAccountActivityList
13392+
Set-Alias -Name Upgrade-FTAccountPlan -Value Set-FTAccountPlan
13393+
Set-Alias -Name FT-UpgradeAccountPlan -Value Set-FTAccountPlan
1338213394
Set-Alias -Name Associate-FSXFileSystemAliases -Value Register-FSXFileSystemAlias
1338313395
Set-Alias -Name Associate-FSXFileSystemAlias -Value Register-FSXFileSystemAlias
1338413396
Set-Alias -Name FSX-AssociateFileSystemAliases -Value Register-FSXFileSystemAlias

modules/AWSPowerShell/AWSPowerShellCompleters.psm1

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27207,6 +27207,8 @@ $EC2_SelectMap = @{
2720727207
"Get-EC2CapacityBlockExtensionHistory",
2720827208
"Get-EC2CapacityBlockExtensionOffering",
2720927209
"Get-EC2CapacityBlockOffering",
27210+
"Get-EC2CapacityBlock",
27211+
"Get-EC2CapacityBlockStatus",
2721027212
"Get-EC2CapacityReservationBillingRequest",
2721127213
"Get-EC2CapacityReservationFleet",
2721227214
"Get-EC2CapacityReservation",
@@ -32891,6 +32893,43 @@ _awsArgumentCompleterRegistration $FD_SelectCompleters $FD_SelectMap
3289132893
# Argument completions for service AWS Free Tier
3289232894

3289332895

32896+
$FT_Completers = {
32897+
param($commandName, $parameterName, $wordToComplete, $commandAst, $fakeBoundParameter)
32898+
32899+
switch ($("$commandName/$parameterName"))
32900+
{
32901+
# Amazon.FreeTier.AccountPlanType
32902+
"Set-FTAccountPlan/AccountPlanType"
32903+
{
32904+
$v = "FREE","PAID"
32905+
break
32906+
}
32907+
32908+
# Amazon.FreeTier.LanguageCode
32909+
{
32910+
($_ -eq "Get-FTAccountActivity/LanguageCode") -Or
32911+
($_ -eq "Get-FTAccountActivityList/LanguageCode")
32912+
}
32913+
{
32914+
$v = "de-DE","en-GB","en-US","es-ES","fr-FR","id-ID","it-IT","ja-JP","ko-KR","pt-PT","tr-TR","zh-CN","zh-TW"
32915+
break
32916+
}
32917+
32918+
32919+
}
32920+
32921+
$v |
32922+
Where-Object { $_ -like "$wordToComplete*" } |
32923+
ForEach-Object { New-Object System.Management.Automation.CompletionResult $_, $_, 'ParameterValue', $_ }
32924+
}
32925+
32926+
$FT_map = @{
32927+
"AccountPlanType"=@("Set-FTAccountPlan")
32928+
"LanguageCode"=@("Get-FTAccountActivity","Get-FTAccountActivityList")
32929+
}
32930+
32931+
_awsArgumentCompleterRegistration $FT_Completers $FT_map
32932+
3289432933
$FT_SelectCompleters = {
3289532934
param($commandName, $parameterName, $wordToComplete, $commandAst, $fakeBoundParameter)
3289632935

@@ -32939,7 +32978,11 @@ $FT_SelectCompleters = {
3293932978
}
3294032979

3294132980
$FT_SelectMap = @{
32942-
"Select"=@("Get-FTFreeTierUsage")
32981+
"Select"=@("Get-FTAccountActivity",
32982+
"Get-FTAccountPlanState",
32983+
"Get-FTFreeTierUsage",
32984+
"Get-FTAccountActivityList",
32985+
"Set-FTAccountPlan")
3294332986
}
3294432987

3294532988
_awsArgumentCompleterRegistration $FT_SelectCompleters $FT_SelectMap

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1779,6 +1779,8 @@ $EC2_SelectMap = @{
17791779
"Get-EC2CapacityBlockExtensionHistory",
17801780
"Get-EC2CapacityBlockExtensionOffering",
17811781
"Get-EC2CapacityBlockOffering",
1782+
"Get-EC2CapacityBlock",
1783+
"Get-EC2CapacityBlockStatus",
17821784
"Get-EC2CapacityReservationBillingRequest",
17831785
"Get-EC2CapacityReservationFleet",
17841786
"Get-EC2CapacityReservation",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,11 @@ This version of AWS Tools for PowerShell is compatible with Windows PowerShell 5
248248
'Get-EC2AwsNetworkPerformanceMetricSubscription',
249249
'Get-EC2BundleTask',
250250
'Get-EC2ByoipCidr',
251+
'Get-EC2CapacityBlock',
251252
'Get-EC2CapacityBlockExtensionHistory',
252253
'Get-EC2CapacityBlockExtensionOffering',
253254
'Get-EC2CapacityBlockOffering',
255+
'Get-EC2CapacityBlockStatus',
254256
'Get-EC2CapacityReservation',
255257
'Get-EC2CapacityReservationBillingRequest',
256258
'Get-EC2CapacityReservationFleet',

modules/AWSPowerShell/Cmdlets/EC2/Basic/Dismount-EC2Volume-Cmdlet.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ namespace Amazon.PowerShell.Cmdlets.EC2
4343
/// When a volume with an Amazon Web Services Marketplace product code is detached from
4444
/// an instance, the product code is no longer associated with the instance.
4545
/// </para><para>
46-
/// You can't detach or force detach volumes that are attached to Amazon ECS or Fargate
47-
/// tasks. Attempting to do this results in the <c>UnsupportedOperationException</c> exception
48-
/// with the <c>Unable to detach volume attached to ECS tasks</c> error message.
46+
/// You can't detach or force detach volumes that are attached to Amazon Web Services-managed
47+
/// resources. Attempting to do this results in the <c>UnsupportedOperationException</c>
48+
/// exception.
4949
/// </para><para>
5050
/// For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-detaching-volume.html">Detach
5151
/// an Amazon EBS volume</a> in the <i>Amazon EBS User Guide</i>.

0 commit comments

Comments
 (0)