aws iot list-jobs
doesn't return SCHEDULED
jobs when passing --thing-group-name
#8924
Labels
bug
This issue is a bug.
iot
p2
This is a standard priority issue
service-api
This issue is due to a problem in a service API, not the SDK implementation.
Describe the bug
When running
aws iot list-jobs
, all jobs are listed.When targeting a specific thing group, by passing the parameter
--thing-group-name
, scheduled jobs are NOT listed.Expected Behavior
I expect the
aws iot list-jobs --thing-group-name THINGGROUP
to include ALL jobs targeted at the specified Thing group.Current Behavior
Currently it seems like only active (as in currently running/IN_PROGRESS) jobs are returned when specifying
--thing-group-name
Reproduction Steps
I've created a Thing Group
THINGGROUP
and created two jobs targeted at that group:A continuous scheduled job, and a snapshot job.
Possible Solution
No response
Additional Information/Context
Using Boto3 gives the same results when passing a Thing group name. So it might be an API issue and not specifically an AWS CLI issue.
CLI version used
aws-cli/2.17.51 Python/3.11.9 Darwin/23.6.0 exe/x86_64
Environment details (OS name and version, etc.)
Darwin laptop 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000 arm64
The text was updated successfully, but these errors were encountered: