aws / aws-sdk

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

The method `items()` is missing in SSM's paginators #742

Open jmklix opened 1 month ago

jmklix commented 1 month ago

Original issue: https://github.com/awslabs/aws-sdk-rust/issues/1119

Describe the feature

As you can see there is no items() method on paginators in SSM crate. This method is supposed to return a stream of SSM parameters (flattened). This applies to all paginators in SSM, for example:

This looks like an oversight, because other AWS service SDK support the items() method on the paginatior. Examples:

Use Case

The method items() returns the flat stream of items which simplifies the development with the SDK. There are such methods in other AWS services, but for some reason there is no such method in SSM.

A note for the community

Community Note

jmklix commented 1 month ago

Originally posted by @rcoh in https://github.com/awslabs/aws-sdk-rust/issues/1119#issuecomment-2027666509

This is an issue with the underlying models. We will work with the SSM service to get this rectified

@jmklix to forward to service team

jmklix commented 1 month ago

P129387319