-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds listPages() function for
aws_rds_cluster_parameter_group
Needed to add a paginator field name to the generator function, since not all services use `NextToken`. Removed the waiter for `aws_rds_cluster_parameter_group` deletion, since it always exited on the first call.
- Loading branch information
Showing
5 changed files
with
81 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
//go:generate go run ../../../generators/listpages/main.go -function=DescribeDBClusterParameterGroups -paginator Marker github.com/aws/aws-sdk-go/service/rds | ||
|
||
package lister | ||
|
||
import ( | ||
"github.com/aws/aws-sdk-go/service/rds" | ||
) | ||
|
||
func ListAllClusterParameterGroups(conn *rds.RDS, fn func(*rds.DescribeDBClusterParameterGroupsOutput, bool) bool) error { | ||
input := &rds.DescribeDBClusterParameterGroupsInput{} | ||
|
||
return DescribeDBClusterParameterGroupsPages(conn, input, fn) | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters