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

BREAKING CHANGE: change paginators to export paginateOperationName #1692

Merged
merged 2 commits into from
Nov 18, 2020
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 @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listAnalyzedResources(input, ...args);
};
export async function* listAnalyzedResourcesPaginate(
export async function* paginateListAnalyzedResources(
config: AccessAnalyzerPaginationConfiguration,
input: ListAnalyzedResourcesCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listAnalyzers(input, ...args);
};
export async function* listAnalyzersPaginate(
export async function* paginateListAnalyzers(
config: AccessAnalyzerPaginationConfiguration,
input: ListAnalyzersCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listArchiveRules(input, ...args);
};
export async function* listArchiveRulesPaginate(
export async function* paginateListArchiveRules(
config: AccessAnalyzerPaginationConfiguration,
input: ListArchiveRulesCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listFindings(input, ...args);
};
export async function* listFindingsPaginate(
export async function* paginateListFindings(
config: AccessAnalyzerPaginationConfiguration,
input: ListFindingsCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listCertificateAuthorities(input, ...args);
};
export async function* listCertificateAuthoritiesPaginate(
export async function* paginateListCertificateAuthorities(
config: ACMPCAPaginationConfiguration,
input: ListCertificateAuthoritiesCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listPermissions(input, ...args);
};
export async function* listPermissionsPaginate(
export async function* paginateListPermissions(
config: ACMPCAPaginationConfiguration,
input: ListPermissionsCommandInput,
...additionalArguments: any
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 @@ -20,7 +20,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listTags(input, ...args);
};
export async function* listTagsPaginate(
export async function* paginateListTags(
config: ACMPCAPaginationConfiguration,
input: ListTagsCommandInput,
...additionalArguments: any
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 @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listCertificates(input, ...args);
};
export async function* listCertificatesPaginate(
export async function* paginateListCertificates(
config: ACMPaginationConfiguration,
input: ListCertificatesCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listBusinessReportSchedules(input, ...args);
};
export async function* listBusinessReportSchedulesPaginate(
export async function* paginateListBusinessReportSchedules(
config: AlexaForBusinessPaginationConfiguration,
input: ListBusinessReportSchedulesCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listConferenceProviders(input, ...args);
};
export async function* listConferenceProvidersPaginate(
export async function* paginateListConferenceProviders(
config: AlexaForBusinessPaginationConfiguration,
input: ListConferenceProvidersCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listDeviceEvents(input, ...args);
};
export async function* listDeviceEventsPaginate(
export async function* paginateListDeviceEvents(
config: AlexaForBusinessPaginationConfiguration,
input: ListDeviceEventsCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listGatewayGroups(input, ...args);
};
export async function* listGatewayGroupsPaginate(
export async function* paginateListGatewayGroups(
config: AlexaForBusinessPaginationConfiguration,
input: ListGatewayGroupsCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listGateways(input, ...args);
};
export async function* listGatewaysPaginate(
export async function* paginateListGateways(
config: AlexaForBusinessPaginationConfiguration,
input: ListGatewaysCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listSkills(input, ...args);
};
export async function* listSkillsPaginate(
export async function* paginateListSkills(
config: AlexaForBusinessPaginationConfiguration,
input: ListSkillsCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listSkillsStoreCategories(input, ...args);
};
export async function* listSkillsStoreCategoriesPaginate(
export async function* paginateListSkillsStoreCategories(
config: AlexaForBusinessPaginationConfiguration,
input: ListSkillsStoreCategoriesCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listSkillsStoreSkillsByCategory(input, ...args);
};
export async function* listSkillsStoreSkillsByCategoryPaginate(
export async function* paginateListSkillsStoreSkillsByCategory(
config: AlexaForBusinessPaginationConfiguration,
input: ListSkillsStoreSkillsByCategoryCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listSmartHomeAppliances(input, ...args);
};
export async function* listSmartHomeAppliancesPaginate(
export async function* paginateListSmartHomeAppliances(
config: AlexaForBusinessPaginationConfiguration,
input: ListSmartHomeAppliancesCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listTags(input, ...args);
};
export async function* listTagsPaginate(
export async function* paginateListTags(
config: AlexaForBusinessPaginationConfiguration,
input: ListTagsCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.searchAddressBooks(input, ...args);
};
export async function* searchAddressBooksPaginate(
export async function* paginateSearchAddressBooks(
config: AlexaForBusinessPaginationConfiguration,
input: SearchAddressBooksCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.searchContacts(input, ...args);
};
export async function* searchContactsPaginate(
export async function* paginateSearchContacts(
config: AlexaForBusinessPaginationConfiguration,
input: SearchContactsCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.searchDevices(input, ...args);
};
export async function* searchDevicesPaginate(
export async function* paginateSearchDevices(
config: AlexaForBusinessPaginationConfiguration,
input: SearchDevicesCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.searchNetworkProfiles(input, ...args);
};
export async function* searchNetworkProfilesPaginate(
export async function* paginateSearchNetworkProfiles(
config: AlexaForBusinessPaginationConfiguration,
input: SearchNetworkProfilesCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.searchProfiles(input, ...args);
};
export async function* searchProfilesPaginate(
export async function* paginateSearchProfiles(
config: AlexaForBusinessPaginationConfiguration,
input: SearchProfilesCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.searchRooms(input, ...args);
};
export async function* searchRoomsPaginate(
export async function* paginateSearchRooms(
config: AlexaForBusinessPaginationConfiguration,
input: SearchRoomsCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.searchSkillGroups(input, ...args);
};
export async function* searchSkillGroupsPaginate(
export async function* paginateSearchSkillGroups(
config: AlexaForBusinessPaginationConfiguration,
input: SearchSkillGroupsCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.searchUsers(input, ...args);
};
export async function* searchUsersPaginate(
export async function* paginateSearchUsers(
config: AlexaForBusinessPaginationConfiguration,
input: SearchUsersCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.getApiKeys(input, ...args);
};
export async function* getApiKeysPaginate(
export async function* paginateGetApiKeys(
config: APIGatewayPaginationConfiguration,
input: GetApiKeysCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.getBasePathMappings(input, ...args);
};
export async function* getBasePathMappingsPaginate(
export async function* paginateGetBasePathMappings(
config: APIGatewayPaginationConfiguration,
input: GetBasePathMappingsCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.getClientCertificates(input, ...args);
};
export async function* getClientCertificatesPaginate(
export async function* paginateGetClientCertificates(
config: APIGatewayPaginationConfiguration,
input: GetClientCertificatesCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.getDeployments(input, ...args);
};
export async function* getDeploymentsPaginate(
export async function* paginateGetDeployments(
config: APIGatewayPaginationConfiguration,
input: GetDeploymentsCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.getDomainNames(input, ...args);
};
export async function* getDomainNamesPaginate(
export async function* paginateGetDomainNames(
config: APIGatewayPaginationConfiguration,
input: GetDomainNamesCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.getModels(input, ...args);
};
export async function* getModelsPaginate(
export async function* paginateGetModels(
config: APIGatewayPaginationConfiguration,
input: GetModelsCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.getResources(input, ...args);
};
export async function* getResourcesPaginate(
export async function* paginateGetResources(
config: APIGatewayPaginationConfiguration,
input: GetResourcesCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.getRestApis(input, ...args);
};
export async function* getRestApisPaginate(
export async function* paginateGetRestApis(
config: APIGatewayPaginationConfiguration,
input: GetRestApisCommandInput,
...additionalArguments: any
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 @@ -20,7 +20,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.getUsage(input, ...args);
};
export async function* getUsagePaginate(
export async function* paginateGetUsage(
config: APIGatewayPaginationConfiguration,
input: GetUsageCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.getUsagePlanKeys(input, ...args);
};
export async function* getUsagePlanKeysPaginate(
export async function* paginateGetUsagePlanKeys(
config: APIGatewayPaginationConfiguration,
input: GetUsagePlanKeysCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.getUsagePlans(input, ...args);
};
export async function* getUsagePlansPaginate(
export async function* paginateGetUsagePlans(
config: APIGatewayPaginationConfiguration,
input: GetUsagePlansCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.getVpcLinks(input, ...args);
};
export async function* getVpcLinksPaginate(
export async function* paginateGetVpcLinks(
config: APIGatewayPaginationConfiguration,
input: GetVpcLinksCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listGatewayRoutes(input, ...args);
};
export async function* listGatewayRoutesPaginate(
export async function* paginateListGatewayRoutes(
config: AppMeshPaginationConfiguration,
input: ListGatewayRoutesCommandInput,
...additionalArguments: any
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 @@ -20,7 +20,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listMeshes(input, ...args);
};
export async function* listMeshesPaginate(
export async function* paginateListMeshes(
config: AppMeshPaginationConfiguration,
input: ListMeshesCommandInput,
...additionalArguments: any
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 @@ -20,7 +20,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listRoutes(input, ...args);
};
export async function* listRoutesPaginate(
export async function* paginateListRoutes(
config: AppMeshPaginationConfiguration,
input: ListRoutesCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listTagsForResource(input, ...args);
};
export async function* listTagsForResourcePaginate(
export async function* paginateListTagsForResource(
config: AppMeshPaginationConfiguration,
input: ListTagsForResourceCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listVirtualGateways(input, ...args);
};
export async function* listVirtualGatewaysPaginate(
export async function* paginateListVirtualGateways(
config: AppMeshPaginationConfiguration,
input: ListVirtualGatewaysCommandInput,
...additionalArguments: any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const makePagedRequest = async (
// @ts-ignore
return await client.listVirtualNodes(input, ...args);
};
export async function* listVirtualNodesPaginate(
export async function* paginateListVirtualNodes(
config: AppMeshPaginationConfiguration,
input: ListVirtualNodesCommandInput,
...additionalArguments: any
Expand Down
Loading