Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: codegen for paginator send commands #1667

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListAnalyzedResourcesCommandOutput> => {
// @ts-ignore
return await client.send(new ListAnalyzedResourcesCommand(input, ...args));
return await client.send(new ListAnalyzedResourcesCommand(input), ...args);
};
const makePagedRequest = async (
client: AccessAnalyzer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListAnalyzersCommandOutput> => {
// @ts-ignore
return await client.send(new ListAnalyzersCommand(input, ...args));
return await client.send(new ListAnalyzersCommand(input), ...args);
};
const makePagedRequest = async (
client: AccessAnalyzer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListArchiveRulesCommandOutput> => {
// @ts-ignore
return await client.send(new ListArchiveRulesCommand(input, ...args));
return await client.send(new ListArchiveRulesCommand(input), ...args);
};
const makePagedRequest = async (
client: AccessAnalyzer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListFindingsCommandOutput> => {
// @ts-ignore
return await client.send(new ListFindingsCommand(input, ...args));
return await client.send(new ListFindingsCommand(input), ...args);
};
const makePagedRequest = async (
client: AccessAnalyzer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListCertificateAuthoritiesCommandOutput> => {
// @ts-ignore
return await client.send(new ListCertificateAuthoritiesCommand(input, ...args));
return await client.send(new ListCertificateAuthoritiesCommand(input), ...args);
};
const makePagedRequest = async (
client: ACMPCA,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListPermissionsCommandOutput> => {
// @ts-ignore
return await client.send(new ListPermissionsCommand(input, ...args));
return await client.send(new ListPermissionsCommand(input), ...args);
};
const makePagedRequest = async (
client: ACMPCA,
Expand Down
2 changes: 1 addition & 1 deletion clients/client-acm-pca/pagination/ListTagsPaginator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListTagsCommandOutput> => {
// @ts-ignore
return await client.send(new ListTagsCommand(input, ...args));
return await client.send(new ListTagsCommand(input), ...args);
};
const makePagedRequest = async (
client: ACMPCA,
Expand Down
2 changes: 1 addition & 1 deletion clients/client-acm/pagination/ListCertificatesPaginator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListCertificatesCommandOutput> => {
// @ts-ignore
return await client.send(new ListCertificatesCommand(input, ...args));
return await client.send(new ListCertificatesCommand(input), ...args);
};
const makePagedRequest = async (
client: ACM,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListBusinessReportSchedulesCommandOutput> => {
// @ts-ignore
return await client.send(new ListBusinessReportSchedulesCommand(input, ...args));
return await client.send(new ListBusinessReportSchedulesCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListConferenceProvidersCommandOutput> => {
// @ts-ignore
return await client.send(new ListConferenceProvidersCommand(input, ...args));
return await client.send(new ListConferenceProvidersCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListDeviceEventsCommandOutput> => {
// @ts-ignore
return await client.send(new ListDeviceEventsCommand(input, ...args));
return await client.send(new ListDeviceEventsCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListGatewayGroupsCommandOutput> => {
// @ts-ignore
return await client.send(new ListGatewayGroupsCommand(input, ...args));
return await client.send(new ListGatewayGroupsCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListGatewaysCommandOutput> => {
// @ts-ignore
return await client.send(new ListGatewaysCommand(input, ...args));
return await client.send(new ListGatewaysCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListSkillsCommandOutput> => {
// @ts-ignore
return await client.send(new ListSkillsCommand(input, ...args));
return await client.send(new ListSkillsCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListSkillsStoreCategoriesCommandOutput> => {
// @ts-ignore
return await client.send(new ListSkillsStoreCategoriesCommand(input, ...args));
return await client.send(new ListSkillsStoreCategoriesCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListSkillsStoreSkillsByCategoryCommandOutput> => {
// @ts-ignore
return await client.send(new ListSkillsStoreSkillsByCategoryCommand(input, ...args));
return await client.send(new ListSkillsStoreSkillsByCategoryCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListSmartHomeAppliancesCommandOutput> => {
// @ts-ignore
return await client.send(new ListSmartHomeAppliancesCommand(input, ...args));
return await client.send(new ListSmartHomeAppliancesCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListTagsCommandOutput> => {
// @ts-ignore
return await client.send(new ListTagsCommand(input, ...args));
return await client.send(new ListTagsCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<SearchAddressBooksCommandOutput> => {
// @ts-ignore
return await client.send(new SearchAddressBooksCommand(input, ...args));
return await client.send(new SearchAddressBooksCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<SearchContactsCommandOutput> => {
// @ts-ignore
return await client.send(new SearchContactsCommand(input, ...args));
return await client.send(new SearchContactsCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<SearchDevicesCommandOutput> => {
// @ts-ignore
return await client.send(new SearchDevicesCommand(input, ...args));
return await client.send(new SearchDevicesCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<SearchNetworkProfilesCommandOutput> => {
// @ts-ignore
return await client.send(new SearchNetworkProfilesCommand(input, ...args));
return await client.send(new SearchNetworkProfilesCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<SearchProfilesCommandOutput> => {
// @ts-ignore
return await client.send(new SearchProfilesCommand(input, ...args));
return await client.send(new SearchProfilesCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<SearchRoomsCommandOutput> => {
// @ts-ignore
return await client.send(new SearchRoomsCommand(input, ...args));
return await client.send(new SearchRoomsCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<SearchSkillGroupsCommandOutput> => {
// @ts-ignore
return await client.send(new SearchSkillGroupsCommand(input, ...args));
return await client.send(new SearchSkillGroupsCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<SearchUsersCommandOutput> => {
// @ts-ignore
return await client.send(new SearchUsersCommand(input, ...args));
return await client.send(new SearchUsersCommand(input), ...args);
};
const makePagedRequest = async (
client: AlexaForBusiness,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<GetApiKeysCommandOutput> => {
// @ts-ignore
return await client.send(new GetApiKeysCommand(input, ...args));
return await client.send(new GetApiKeysCommand(input), ...args);
};
const makePagedRequest = async (
client: APIGateway,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<GetBasePathMappingsCommandOutput> => {
// @ts-ignore
return await client.send(new GetBasePathMappingsCommand(input, ...args));
return await client.send(new GetBasePathMappingsCommand(input), ...args);
};
const makePagedRequest = async (
client: APIGateway,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<GetClientCertificatesCommandOutput> => {
// @ts-ignore
return await client.send(new GetClientCertificatesCommand(input, ...args));
return await client.send(new GetClientCertificatesCommand(input), ...args);
};
const makePagedRequest = async (
client: APIGateway,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<GetDeploymentsCommandOutput> => {
// @ts-ignore
return await client.send(new GetDeploymentsCommand(input, ...args));
return await client.send(new GetDeploymentsCommand(input), ...args);
};
const makePagedRequest = async (
client: APIGateway,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<GetDomainNamesCommandOutput> => {
// @ts-ignore
return await client.send(new GetDomainNamesCommand(input, ...args));
return await client.send(new GetDomainNamesCommand(input), ...args);
};
const makePagedRequest = async (
client: APIGateway,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<GetModelsCommandOutput> => {
// @ts-ignore
return await client.send(new GetModelsCommand(input, ...args));
return await client.send(new GetModelsCommand(input), ...args);
};
const makePagedRequest = async (
client: APIGateway,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<GetResourcesCommandOutput> => {
// @ts-ignore
return await client.send(new GetResourcesCommand(input, ...args));
return await client.send(new GetResourcesCommand(input), ...args);
};
const makePagedRequest = async (
client: APIGateway,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<GetRestApisCommandOutput> => {
// @ts-ignore
return await client.send(new GetRestApisCommand(input, ...args));
return await client.send(new GetRestApisCommand(input), ...args);
};
const makePagedRequest = async (
client: APIGateway,
Expand Down
2 changes: 1 addition & 1 deletion clients/client-api-gateway/pagination/GetUsagePaginator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<GetUsageCommandOutput> => {
// @ts-ignore
return await client.send(new GetUsageCommand(input, ...args));
return await client.send(new GetUsageCommand(input), ...args);
};
const makePagedRequest = async (
client: APIGateway,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<GetUsagePlanKeysCommandOutput> => {
// @ts-ignore
return await client.send(new GetUsagePlanKeysCommand(input, ...args));
return await client.send(new GetUsagePlanKeysCommand(input), ...args);
};
const makePagedRequest = async (
client: APIGateway,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<GetUsagePlansCommandOutput> => {
// @ts-ignore
return await client.send(new GetUsagePlansCommand(input, ...args));
return await client.send(new GetUsagePlansCommand(input), ...args);
};
const makePagedRequest = async (
client: APIGateway,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<GetVpcLinksCommandOutput> => {
// @ts-ignore
return await client.send(new GetVpcLinksCommand(input, ...args));
return await client.send(new GetVpcLinksCommand(input), ...args);
};
const makePagedRequest = async (
client: APIGateway,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListGatewayRoutesCommandOutput> => {
// @ts-ignore
return await client.send(new ListGatewayRoutesCommand(input, ...args));
return await client.send(new ListGatewayRoutesCommand(input), ...args);
};
const makePagedRequest = async (
client: AppMesh,
Expand Down
2 changes: 1 addition & 1 deletion clients/client-app-mesh/pagination/ListMeshesPaginator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListMeshesCommandOutput> => {
// @ts-ignore
return await client.send(new ListMeshesCommand(input, ...args));
return await client.send(new ListMeshesCommand(input), ...args);
};
const makePagedRequest = async (
client: AppMesh,
Expand Down
2 changes: 1 addition & 1 deletion clients/client-app-mesh/pagination/ListRoutesPaginator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListRoutesCommandOutput> => {
// @ts-ignore
return await client.send(new ListRoutesCommand(input, ...args));
return await client.send(new ListRoutesCommand(input), ...args);
};
const makePagedRequest = async (
client: AppMesh,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListTagsForResourceCommandOutput> => {
// @ts-ignore
return await client.send(new ListTagsForResourceCommand(input, ...args));
return await client.send(new ListTagsForResourceCommand(input), ...args);
};
const makePagedRequest = async (
client: AppMesh,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListVirtualGatewaysCommandOutput> => {
// @ts-ignore
return await client.send(new ListVirtualGatewaysCommand(input, ...args));
return await client.send(new ListVirtualGatewaysCommand(input), ...args);
};
const makePagedRequest = async (
client: AppMesh,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const makePagedClientRequest = async (
...args: any
): Promise<ListVirtualNodesCommandOutput> => {
// @ts-ignore
return await client.send(new ListVirtualNodesCommand(input, ...args));
return await client.send(new ListVirtualNodesCommand(input), ...args);
};
const makePagedRequest = async (
client: AppMesh,
Expand Down
Loading