Skip to content

Commit

Permalink
add maxresults parameter support (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
AkifRafique authored Sep 23, 2024
1 parent f731767 commit 3b91e11
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/rpdk/java/templates/generate/HandlerWrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ public Map<String, String> provideResourceDefinedTags(final {{ pojo_name}} resou
.nextToken(request.getNextToken())
.region(request.getRegion())
.awsPartition(PartitionMetadata.of(Region.of(request.getRegion())).id())
.maxResults(request.getMaxResults())
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class HandlerRequest<ResourceT, CallbackT, ConfigurationT> {
private String awsAccountId;
private String bearerToken;
private String nextToken;
private int maxResults;
private String region;
private String resourceType;
private String resourceTypeVersion;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ public class ResourceHandlerRequest<T> {
private Map<String, Object> creationPolicy;
private String region;
private String stackId;
private int maxResults;
}

0 comments on commit 3b91e11

Please sign in to comment.