aws / aws-tools-for-powershell

The AWS Tools for PowerShell lets developers and administrators manage their AWS services from the PowerShell scripting environment.
Apache License 2.0
235 stars 77 forks source link

Get-GLUEWorkflow doesn't return Edges and Nodes #307

Closed dburtsev closed 1 year ago

dburtsev commented 1 year ago

Describe the bug

Hello I need to get a list of Glue jobs for each workflow. I always get 0.

Expected Behavior

I should get a list of jobs for each workflow.

Current Behavior

Amazon.Glue.Model.WorkflowGraph Edges.Count = 0

Reproduction Steps

Import-Module -Name AWS.Tools.Glue
[string[]]$wfs = Get-GLUEWorkflowList
foreach ($wf in $wfs) {
    Write-Host $wf
    [Amazon.Glue.Model.Workflow]$Workflow = Get-GLUEWorkflow -Name $wf 
    [Amazon.Glue.Model.WorkflowGraph]$Graph = $Workflow.Graph
    Write-Host $Graph.Edges.Count
    Write-Host $Graph.Nodes.Count
}

Possible Solution

No response

Additional Information/Context

No response

AWS Tools for PowerShell version used

AWS Tools for PowerShell Version 4.1.220

PowerShell version used

PSVersion 7.2.6 PSEdition Core GitCommitId 7.2.6 OS Microsoft Windows 10.0.19042 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0

Operating System and version

Windows 10

dburtsev commented 1 year ago

-IncludeGraph $true

github-actions[bot] commented 1 year ago

⚠️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.