Skip to content

Commit

Permalink
Added state optional qual changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthaI committed Dec 17, 2024
1 parent f376f3f commit 85bce3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aws/table_aws_scheduler_schedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ func listAwsSchedulerSchedules(ctx context.Context, d *plugin.QueryData, h *plug
if d.EqualsQuals["group_name"] != nil {
params.GroupName = aws.String(d.EqualsQuals["group_name"].GetStringValue())
}
if d.EqualsQuals["state"] != nil {
params.State = types.ScheduleState(d.EqualsQuals["state"].GetStringValue())
}

paginator := scheduler.NewListSchedulesPaginator(svc, params, func(o *scheduler.ListSchedulesPaginatorOptions) {
o.Limit = maxLimit
Expand Down

0 comments on commit 85bce3d

Please sign in to comment.