aws / aws-sdk

Landing page for the AWS SDKs on GitHub
https://aws.amazon.com/tools/
Other
68 stars 12 forks source link

Media Convert Client: Ability to request jobs with SUBMITED_AFTER filter #703

Open jsarrelli opened 4 months ago

jsarrelli commented 4 months ago

Upcoming End-of-Support

Describe the feature

Hi team,

I would like to request adding a filter in the ListJobs endpoint for the Media Convert client, where we can filter also for the Submit Time date.

Currently, the only filters are status and queue. But seems I can have hundreds of jobs with the same status under the same queue I would like to be able to list the most recent ones

Screenshot 2024-02-19 at 11 54 13

Screenshot 2024-02-19 at 11 55 49

For example, in the Batch Client, we do have this kind of functionality Screenshot 2024-02-19 at 11 58 16

Use Case

I would like to be able to list the most recent Media Convert Jobs

Proposed Solution

 client.listJobsPaginator(
      ListJobsRequest.builder()
        .status(status)
        .submitTimeAfter(now.minusDays(2))
        .build()
    ).jobs()

Other Information

No response

Acknowledgements

AWS Java SDK version used

2.20.69

JDK version used

openjdk 11.0.16.1 2022-08-12

Operating System and version

macOS Sonoma

debora-ito commented 4 months ago

Hi @jsarrelli this is a feature request for the Media Convert team, I'll raise this internally to them.

Moving this to the cross-SDK aws/aws-sdk repo, for visibility to the other SDK languages.

P119443830