Comments (2)
On possible way this could be designed is to have an optional pagination filter which can be setup with filter function from the user application.
func main() {
cfg, err := external.LoadDefaultAWSConfig()
svc := medialive.New(cfg)
req := svc.ListChannelsRequest(&medialive.ListChannelsInput)
pager := req.PaginateWithFilter(ListChannelPaginationFilter{
FilterChannels: func(in []medialive.ChannelSummary) []medialive.ChannelSummary {
// TODO logic to filter select channels from input list.
return in
}
})
for pager.Next() {
page := pager.Page()
fmt.Println("Channels in page", len(page.Channels)
}
if err := pager.Err(); err != nil {
panic(err)
}
}
type ListchannelPaginationFilter struct{
FilterChannels func([]medialive.ChannelSummary) []medialive.ChannelSummary
}
from aws-sdk-go-v2.
We have noticed this issue has not received attention in 1 year. We will close this issue for now. If you think this is in error, please feel free to comment and reopen the issue.
from aws-sdk-go-v2.
Related Issues (20)
- enum `com.amazonaws.codebuild#WebhookFilterType` missing value `REPOSITORY_NAME` HOT 1
- s3.WithPresignExpires introduces additional http header HOT 3
- Document examples for UnmarshalSmithyDocument don't work HOT 3
- Kinesis sdk panicking HOT 4
- missing PassthroughBehavior enum in types in apigateway(v1) HOT 10
- Flattening out dynamodbattribute.MarshalMap results HOT 3
- High Memory Usage Leading to OOM Killed State HOT 5
- Add Support for AWS Cloud Map Service HOT 3
- Improve SDK docs around support for modeled request compression
- Presign url's require side loading request-payer header HOT 6
- MIGRATION ISSUE: Equivalent way of disabling MD5 (S3DisableContentMD5Validation) HOT 3
- Add support for `dualStackIPv6` ECS account setting HOT 2
- Improve documentation around client/credential caching HOT 3
- Can't use `optFn` to set region for S3 Express operations (credentials issue) HOT 1
- Support the ListDirectoryBuckets API call HOT 2
- Documentation says what not to do, but not what to do HOT 2
- Missing AWS error code support in SDK metrics HOT 2
- DescribeVpcEndpoints returns the State value in lowercase instead of UpperCamelCase HOT 3
- Unable to remove environment variables from `amplify` App HOT 3
- Example links are broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-sdk-go-v2.