Open jmklix opened 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
P129387319
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:aws_sdk_ssm::operation::get_parameters_by_path::paginator::GetParametersByPathPaginator
aws_sdk_ssm::operation::describe_parameters::paginator::DescribeParametersPaginator
This looks like an oversight, because other AWS service SDK support the
items()
method on the paginatior. Examples:aws_sdk_scheduler::operation::list_schedules::paginator::ListSchedulesPaginator
aws_sdk_backup::operation::list_backup_vaults::paginator::ListBackupVaultsPaginator
aws_sdk_ec2::operation::describe_tags::paginator::DescribeTagsPaginator
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