aws-sdk-go-v2
aws-sdk-go-v2 copied to clipboard
kinesisvideoarchivedmedia.ListFragments is missing a paginator
Documentation
- [X] I've gone though the API reference
- [X] I've checked AWS Forums and StackOverflow for answers
- [X] I've searched for previous similar issues and didn't find any solution
Describe the bug
There is no paginator for kinesisvideoarchivedmedia ListFragments. Fragments can easily exceed the default page size, so this is needed.
It is present in the v1 sdk: https://github.com/aws/aws-sdk-go/blob/895cfb31afb235ab5461432d181680152cafe67d/service/kinesisvideoarchivedmedia/api.go#L934
It was also present in the v2 sdk at one time, but was removed for some reason: https://github.com/aws/aws-sdk-go-v2/blob/5448b451100c9a000debf2d8e0471b499d6a0ea7/service/kinesisvideoarchivedmedia/api_op_ListFragments.go#L186
Similar to: aws/aws-sdk#257
Expected behavior
kinesisvideoarchivedmedia.NewListFragmentsPaginator to be defined
Current behavior
kinesisvideoarchivedmedia.NewListFragmentsPaginator is not defined
Steps to Reproduce
go doc github.com/aws/aws-sdk-go-v2/service/kinesisvideoarchivedmedia | grep -i fragment | grep -i pagi
Possible Solution
Re-implement kinesisvideoarchivedmedia.NewListFragmentsPaginator.
AWS Go SDK version used
github.com/aws/aws-sdk-go-v2 v1.13.0
Compiler and Version used
go version go1.17.6 linux/amd64
Operating System and version
Linux