Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate output from Get-AWSCmdletName #319

Closed
stevejroberts opened this issue Apr 20, 2023 · 3 comments
Closed

Duplicate output from Get-AWSCmdletName #319

stevejroberts opened this issue Apr 20, 2023 · 3 comments
Labels
bug This issue is a bug. module/powershell-cmdlets p2 This is a standard priority issue queued

Comments

@stevejroberts
Copy link

Describe the bug

When listing the cmdlets for the AWS.Tools.DynamoDBv2 module, Get-AWSCmdletName duplicates some of the available cmdlets in the output - Add-DDBIndexSchema, Add-DDBKeySchema, ConvertFrom-DDBItem, ConvertTo-DDBItem, New-DDBTable, and New-DDBTableSchema

Found in version 4.1.316, verified occurs on macOS and Windows platforms (PowerShell v7.3.4 on both).

Expected Behavior

Each cmdlet is listed once only.

Current Behavior

 Get-AWSCmdletName -service ddb

CmdletName                             ServiceOperation                    ServiceName     ModuleName
----------                             ----------------                    -----------     ----------
Add-DDBIndexSchema                                                         Amazon DynamoDB AWS.Tools.DynamoDBv2
Add-DDBIndexSchema                                                         Amazon DynamoDB AWS.Tools.DynamoDBv2
Add-DDBKeySchema                                                           Amazon DynamoDB AWS.Tools.DynamoDBv2
Add-DDBKeySchema                                                           Amazon DynamoDB AWS.Tools.DynamoDBv2
Add-DDBResourceTag                     TagResource                         Amazon DynamoDB AWS.Tools.DynamoDBv2
ConvertFrom-DDBItem                                                        Amazon DynamoDB AWS.Tools.DynamoDBv2
ConvertFrom-DDBItem                                                        Amazon DynamoDB AWS.Tools.DynamoDBv2
ConvertTo-DDBItem                                                          Amazon DynamoDB AWS.Tools.DynamoDBv2
ConvertTo-DDBItem                                                          Amazon DynamoDB AWS.Tools.DynamoDBv2
Disable-DDBKinesisStreamingDestination DisableKinesisStreamingDestination  Amazon DynamoDB AWS.Tools.DynamoDBv2
Enable-DDBKinesisStreamingDestination  EnableKinesisStreamingDestination   Amazon DynamoDB AWS.Tools.DynamoDBv2
Export-DDBTableToPointInTime           ExportTableToPointInTime            Amazon DynamoDB AWS.Tools.DynamoDBv2
...
New-DDBBackup                          CreateBackup                        Amazon DynamoDB AWS.Tools.DynamoDBv2
New-DDBGlobalTable                     CreateGlobalTable                   Amazon DynamoDB AWS.Tools.DynamoDBv2
New-DDBTable                           CreateTable                         Amazon DynamoDB AWS.Tools.DynamoDBv2
New-DDBTable                           CreateTable                         Amazon DynamoDB AWS.Tools.DynamoDBv2
New-DDBTableSchema                                                         Amazon DynamoDB AWS.Tools.DynamoDBv2
New-DDBTableSchema                                                         Amazon DynamoDB AWS.Tools.DynamoDBv2
Remove-DDBBackup                       DeleteBackup                        Amazon DynamoDB AWS.Tools.DynamoDBv2
Remove-DDBItem                         DeleteItem                          Amazon DynamoDB AWS.Tools.DynamoDBv2
...

Reproduction Steps

Get-AWSCmdletName -service ddb

Possible Solution

No response

Additional Information/Context

No response

AWS Tools for PowerShell version used

AWS.Tools.DynamoDBv2 v4.1.316

PowerShell version used

7.3.4, on both macOS and Windows.

Operating System and version

Windows 10, macOS Ventura 13.3.1

@stevejroberts stevejroberts added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Apr 20, 2023
@ashishdhingra
Copy link
Contributor

Reproducible even after installing the latest version using command Install-AWSToolsModule AWS.Tools.DynamoDBv2 -Cleanup.

Get-AWSCmdletName -service ddb                         

CmdletName                             ServiceOperation                    ServiceName     ModuleName
----------                             ----------------                    -----------     ----------
Add-DDBIndexSchema                                                         Amazon DynamoDB AWS.Tools.DynamoDBv2
Add-DDBIndexSchema                                                         Amazon DynamoDB AWS.Tools.DynamoDBv2
Add-DDBKeySchema                                                           Amazon DynamoDB AWS.Tools.DynamoDBv2
Add-DDBKeySchema                                                           Amazon DynamoDB AWS.Tools.DynamoDBv2
Add-DDBResourceTag                     TagResource                         Amazon DynamoDB AWS.Tools.DynamoDBv2
Disable-DDBKinesisStreamingDestination DisableKinesisStreamingDestination  Amazon DynamoDB AWS.Tools.DynamoDBv2
Enable-DDBKinesisStreamingDestination  EnableKinesisStreamingDestination   Amazon DynamoDB AWS.Tools.DynamoDBv2
Export-DDBTableToPointInTime           ExportTableToPointInTime            Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBBackup                          DescribeBackup                      Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBBackupList                      ListBackups                         Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBContinuousBackup                DescribeContinuousBackups           Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBContributorInsight              DescribeContributorInsights         Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBContributorInsightList          ListContributorInsights             Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBEndpoint                        DescribeEndpoints                   Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBExport                          DescribeExport                      Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBExportList                      ListExports                         Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBGlobalTable                     DescribeGlobalTable                 Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBGlobalTableList                 ListGlobalTables                    Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBGlobalTableSetting              DescribeGlobalTableSettings         Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBImport                          DescribeImport                      Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBImportList                      ListImports                         Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBItemTransactionally             TransactGetItems                    Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBKinesisStreamingDestination     DescribeKinesisStreamingDestination Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBProvisionLimit                  DescribeLimits                      Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBResourceTag                     ListTagsOfResource                  Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBStream                          DescribeStream                      Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBStreamList                      ListStreams                         Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBTable                           DescribeTable                       Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBTableList                       ListTables                          Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBTableReplicaAutoScaling         DescribeTableReplicaAutoScaling     Amazon DynamoDB AWS.Tools.DynamoDBv2
Get-DDBTimeToLive                      DescribeTimeToLive                  Amazon DynamoDB AWS.Tools.DynamoDBv2
Import-DDBTable                        ImportTable                         Amazon DynamoDB AWS.Tools.DynamoDBv2
Invoke-DDBDDBBatchExecuteStatement     BatchExecuteStatement               Amazon DynamoDB AWS.Tools.DynamoDBv2
Invoke-DDBDDBExecuteStatement          ExecuteStatement                    Amazon DynamoDB AWS.Tools.DynamoDBv2
Invoke-DDBDDBExecuteTransaction        ExecuteTransaction                  Amazon DynamoDB AWS.Tools.DynamoDBv2
New-DDBBackup                          CreateBackup                        Amazon DynamoDB AWS.Tools.DynamoDBv2
New-DDBGlobalTable                     CreateGlobalTable                   Amazon DynamoDB AWS.Tools.DynamoDBv2
New-DDBTable                           CreateTable                         Amazon DynamoDB AWS.Tools.DynamoDBv2
New-DDBTable                           CreateTable                         Amazon DynamoDB AWS.Tools.DynamoDBv2
New-DDBTableSchema                                                         Amazon DynamoDB AWS.Tools.DynamoDBv2
New-DDBTableSchema                                                         Amazon DynamoDB AWS.Tools.DynamoDBv2
Remove-DDBBackup                       DeleteBackup                        Amazon DynamoDB AWS.Tools.DynamoDBv2
Remove-DDBResourceTag                  UntagResource                       Amazon DynamoDB AWS.Tools.DynamoDBv2
Remove-DDBTable                        DeleteTable                         Amazon DynamoDB AWS.Tools.DynamoDBv2
Restore-DDBTableFromBackup             RestoreTableFromBackup              Amazon DynamoDB AWS.Tools.DynamoDBv2
Restore-DDBTableToPointInTime          RestoreTableToPointInTime           Amazon DynamoDB AWS.Tools.DynamoDBv2
Update-DDBContinuousBackup             UpdateContinuousBackups             Amazon DynamoDB AWS.Tools.DynamoDBv2
Update-DDBContributorInsight           UpdateContributorInsights           Amazon DynamoDB AWS.Tools.DynamoDBv2
Update-DDBGlobalTable                  UpdateGlobalTable                   Amazon DynamoDB AWS.Tools.DynamoDBv2
Update-DDBGlobalTableSetting           UpdateGlobalTableSettings           Amazon DynamoDB AWS.Tools.DynamoDBv2
Update-DDBTable                        UpdateTable                         Amazon DynamoDB AWS.Tools.DynamoDBv2
Update-DDBTableReplicaAutoScaling      UpdateTableReplicaAutoScaling       Amazon DynamoDB AWS.Tools.DynamoDBv2
Update-DDBTimeToLive                   UpdateTimeToLive                    Amazon DynamoDB AWS.Tools.DynamoDBv2
Write-DDBItemTransactionally           TransactWriteItems                  Amazon DynamoDB AWS.Tools.DynamoDBv2

@ashishdhingra ashishdhingra added needs-review p2 This is a standard priority issue queued and removed needs-triage This issue or PR still needs to be triaged. needs-review labels Apr 20, 2023
@ashishdhingra
Copy link
Contributor

Shipped as part of PowerShell Module Version 4.1.430

@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. module/powershell-cmdlets p2 This is a standard priority issue queued
Projects
None yet
Development

No branches or pull requests

2 participants