@aws-sdk/client-device-farm 3.35.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist-cjs/DeviceFarm.js +0 -1
- package/dist-cjs/DeviceFarmClient.js +0 -1
- package/dist-cjs/commands/CreateDevicePoolCommand.js +0 -1
- package/dist-cjs/commands/CreateInstanceProfileCommand.js +0 -1
- package/dist-cjs/commands/CreateNetworkProfileCommand.js +0 -1
- package/dist-cjs/commands/CreateProjectCommand.js +0 -1
- package/dist-cjs/commands/CreateRemoteAccessSessionCommand.js +0 -1
- package/dist-cjs/commands/CreateTestGridProjectCommand.js +0 -1
- package/dist-cjs/commands/CreateTestGridUrlCommand.js +0 -1
- package/dist-cjs/commands/CreateUploadCommand.js +0 -1
- package/dist-cjs/commands/CreateVPCEConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DeleteDevicePoolCommand.js +0 -1
- package/dist-cjs/commands/DeleteInstanceProfileCommand.js +0 -1
- package/dist-cjs/commands/DeleteNetworkProfileCommand.js +0 -1
- package/dist-cjs/commands/DeleteProjectCommand.js +0 -1
- package/dist-cjs/commands/DeleteRemoteAccessSessionCommand.js +0 -1
- package/dist-cjs/commands/DeleteRunCommand.js +0 -1
- package/dist-cjs/commands/DeleteTestGridProjectCommand.js +0 -1
- package/dist-cjs/commands/DeleteUploadCommand.js +0 -1
- package/dist-cjs/commands/DeleteVPCEConfigurationCommand.js +0 -1
- package/dist-cjs/commands/GetAccountSettingsCommand.js +0 -1
- package/dist-cjs/commands/GetDeviceCommand.js +0 -1
- package/dist-cjs/commands/GetDeviceInstanceCommand.js +0 -1
- package/dist-cjs/commands/GetDevicePoolCommand.js +0 -1
- package/dist-cjs/commands/GetDevicePoolCompatibilityCommand.js +0 -1
- package/dist-cjs/commands/GetInstanceProfileCommand.js +0 -1
- package/dist-cjs/commands/GetJobCommand.js +0 -1
- package/dist-cjs/commands/GetNetworkProfileCommand.js +0 -1
- package/dist-cjs/commands/GetOfferingStatusCommand.js +0 -1
- package/dist-cjs/commands/GetProjectCommand.js +0 -1
- package/dist-cjs/commands/GetRemoteAccessSessionCommand.js +0 -1
- package/dist-cjs/commands/GetRunCommand.js +0 -1
- package/dist-cjs/commands/GetSuiteCommand.js +0 -1
- package/dist-cjs/commands/GetTestCommand.js +0 -1
- package/dist-cjs/commands/GetTestGridProjectCommand.js +0 -1
- package/dist-cjs/commands/GetTestGridSessionCommand.js +0 -1
- package/dist-cjs/commands/GetUploadCommand.js +0 -1
- package/dist-cjs/commands/GetVPCEConfigurationCommand.js +0 -1
- package/dist-cjs/commands/InstallToRemoteAccessSessionCommand.js +0 -1
- package/dist-cjs/commands/ListArtifactsCommand.js +0 -1
- package/dist-cjs/commands/ListDeviceInstancesCommand.js +0 -1
- package/dist-cjs/commands/ListDevicePoolsCommand.js +0 -1
- package/dist-cjs/commands/ListDevicesCommand.js +0 -1
- package/dist-cjs/commands/ListInstanceProfilesCommand.js +0 -1
- package/dist-cjs/commands/ListJobsCommand.js +0 -1
- package/dist-cjs/commands/ListNetworkProfilesCommand.js +0 -1
- package/dist-cjs/commands/ListOfferingPromotionsCommand.js +0 -1
- package/dist-cjs/commands/ListOfferingTransactionsCommand.js +0 -1
- package/dist-cjs/commands/ListOfferingsCommand.js +0 -1
- package/dist-cjs/commands/ListProjectsCommand.js +0 -1
- package/dist-cjs/commands/ListRemoteAccessSessionsCommand.js +0 -1
- package/dist-cjs/commands/ListRunsCommand.js +0 -1
- package/dist-cjs/commands/ListSamplesCommand.js +0 -1
- package/dist-cjs/commands/ListSuitesCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListTestGridProjectsCommand.js +0 -1
- package/dist-cjs/commands/ListTestGridSessionActionsCommand.js +0 -1
- package/dist-cjs/commands/ListTestGridSessionArtifactsCommand.js +0 -1
- package/dist-cjs/commands/ListTestGridSessionsCommand.js +0 -1
- package/dist-cjs/commands/ListTestsCommand.js +0 -1
- package/dist-cjs/commands/ListUniqueProblemsCommand.js +0 -1
- package/dist-cjs/commands/ListUploadsCommand.js +0 -1
- package/dist-cjs/commands/ListVPCEConfigurationsCommand.js +0 -1
- package/dist-cjs/commands/PurchaseOfferingCommand.js +0 -1
- package/dist-cjs/commands/RenewOfferingCommand.js +0 -1
- package/dist-cjs/commands/ScheduleRunCommand.js +0 -1
- package/dist-cjs/commands/StopJobCommand.js +0 -1
- package/dist-cjs/commands/StopRemoteAccessSessionCommand.js +0 -1
- package/dist-cjs/commands/StopRunCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateDeviceInstanceCommand.js +0 -1
- package/dist-cjs/commands/UpdateDevicePoolCommand.js +0 -1
- package/dist-cjs/commands/UpdateInstanceProfileCommand.js +0 -1
- package/dist-cjs/commands/UpdateNetworkProfileCommand.js +0 -1
- package/dist-cjs/commands/UpdateProjectCommand.js +0 -1
- package/dist-cjs/commands/UpdateTestGridProjectCommand.js +0 -1
- package/dist-cjs/commands/UpdateUploadCommand.js +0 -1
- package/dist-cjs/commands/UpdateVPCEConfigurationCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/GetOfferingStatusPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListArtifactsPaginator.js +0 -1
- package/dist-cjs/pagination/ListDevicePoolsPaginator.js +0 -1
- package/dist-cjs/pagination/ListDevicesPaginator.js +0 -1
- package/dist-cjs/pagination/ListJobsPaginator.js +0 -1
- package/dist-cjs/pagination/ListOfferingTransactionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListOfferingsPaginator.js +0 -1
- package/dist-cjs/pagination/ListProjectsPaginator.js +0 -1
- package/dist-cjs/pagination/ListRunsPaginator.js +0 -1
- package/dist-cjs/pagination/ListSamplesPaginator.js +0 -1
- package/dist-cjs/pagination/ListSuitesPaginator.js +0 -1
- package/dist-cjs/pagination/ListTestGridProjectsPaginator.js +0 -1
- package/dist-cjs/pagination/ListTestGridSessionActionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListTestGridSessionArtifactsPaginator.js +0 -1
- package/dist-cjs/pagination/ListTestGridSessionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListTestsPaginator.js +0 -1
- package/dist-cjs/pagination/ListUniqueProblemsPaginator.js +0 -1
- package/dist-cjs/pagination/ListUploadsPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/DeviceFarm.js +0 -1
- package/dist-es/DeviceFarmClient.js +0 -1
- package/dist-es/commands/CreateDevicePoolCommand.js +0 -1
- package/dist-es/commands/CreateInstanceProfileCommand.js +0 -1
- package/dist-es/commands/CreateNetworkProfileCommand.js +0 -1
- package/dist-es/commands/CreateProjectCommand.js +0 -1
- package/dist-es/commands/CreateRemoteAccessSessionCommand.js +0 -1
- package/dist-es/commands/CreateTestGridProjectCommand.js +0 -1
- package/dist-es/commands/CreateTestGridUrlCommand.js +0 -1
- package/dist-es/commands/CreateUploadCommand.js +0 -1
- package/dist-es/commands/CreateVPCEConfigurationCommand.js +0 -1
- package/dist-es/commands/DeleteDevicePoolCommand.js +0 -1
- package/dist-es/commands/DeleteInstanceProfileCommand.js +0 -1
- package/dist-es/commands/DeleteNetworkProfileCommand.js +0 -1
- package/dist-es/commands/DeleteProjectCommand.js +0 -1
- package/dist-es/commands/DeleteRemoteAccessSessionCommand.js +0 -1
- package/dist-es/commands/DeleteRunCommand.js +0 -1
- package/dist-es/commands/DeleteTestGridProjectCommand.js +0 -1
- package/dist-es/commands/DeleteUploadCommand.js +0 -1
- package/dist-es/commands/DeleteVPCEConfigurationCommand.js +0 -1
- package/dist-es/commands/GetAccountSettingsCommand.js +0 -1
- package/dist-es/commands/GetDeviceCommand.js +0 -1
- package/dist-es/commands/GetDeviceInstanceCommand.js +0 -1
- package/dist-es/commands/GetDevicePoolCommand.js +0 -1
- package/dist-es/commands/GetDevicePoolCompatibilityCommand.js +0 -1
- package/dist-es/commands/GetInstanceProfileCommand.js +0 -1
- package/dist-es/commands/GetJobCommand.js +0 -1
- package/dist-es/commands/GetNetworkProfileCommand.js +0 -1
- package/dist-es/commands/GetOfferingStatusCommand.js +0 -1
- package/dist-es/commands/GetProjectCommand.js +0 -1
- package/dist-es/commands/GetRemoteAccessSessionCommand.js +0 -1
- package/dist-es/commands/GetRunCommand.js +0 -1
- package/dist-es/commands/GetSuiteCommand.js +0 -1
- package/dist-es/commands/GetTestCommand.js +0 -1
- package/dist-es/commands/GetTestGridProjectCommand.js +0 -1
- package/dist-es/commands/GetTestGridSessionCommand.js +0 -1
- package/dist-es/commands/GetUploadCommand.js +0 -1
- package/dist-es/commands/GetVPCEConfigurationCommand.js +0 -1
- package/dist-es/commands/InstallToRemoteAccessSessionCommand.js +0 -1
- package/dist-es/commands/ListArtifactsCommand.js +0 -1
- package/dist-es/commands/ListDeviceInstancesCommand.js +0 -1
- package/dist-es/commands/ListDevicePoolsCommand.js +0 -1
- package/dist-es/commands/ListDevicesCommand.js +0 -1
- package/dist-es/commands/ListInstanceProfilesCommand.js +0 -1
- package/dist-es/commands/ListJobsCommand.js +0 -1
- package/dist-es/commands/ListNetworkProfilesCommand.js +0 -1
- package/dist-es/commands/ListOfferingPromotionsCommand.js +0 -1
- package/dist-es/commands/ListOfferingTransactionsCommand.js +0 -1
- package/dist-es/commands/ListOfferingsCommand.js +0 -1
- package/dist-es/commands/ListProjectsCommand.js +0 -1
- package/dist-es/commands/ListRemoteAccessSessionsCommand.js +0 -1
- package/dist-es/commands/ListRunsCommand.js +0 -1
- package/dist-es/commands/ListSamplesCommand.js +0 -1
- package/dist-es/commands/ListSuitesCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListTestGridProjectsCommand.js +0 -1
- package/dist-es/commands/ListTestGridSessionActionsCommand.js +0 -1
- package/dist-es/commands/ListTestGridSessionArtifactsCommand.js +0 -1
- package/dist-es/commands/ListTestGridSessionsCommand.js +0 -1
- package/dist-es/commands/ListTestsCommand.js +0 -1
- package/dist-es/commands/ListUniqueProblemsCommand.js +0 -1
- package/dist-es/commands/ListUploadsCommand.js +0 -1
- package/dist-es/commands/ListVPCEConfigurationsCommand.js +0 -1
- package/dist-es/commands/PurchaseOfferingCommand.js +0 -1
- package/dist-es/commands/RenewOfferingCommand.js +0 -1
- package/dist-es/commands/ScheduleRunCommand.js +0 -1
- package/dist-es/commands/StopJobCommand.js +0 -1
- package/dist-es/commands/StopRemoteAccessSessionCommand.js +0 -1
- package/dist-es/commands/StopRunCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateDeviceInstanceCommand.js +0 -1
- package/dist-es/commands/UpdateDevicePoolCommand.js +0 -1
- package/dist-es/commands/UpdateInstanceProfileCommand.js +0 -1
- package/dist-es/commands/UpdateNetworkProfileCommand.js +0 -1
- package/dist-es/commands/UpdateProjectCommand.js +0 -1
- package/dist-es/commands/UpdateTestGridProjectCommand.js +0 -1
- package/dist-es/commands/UpdateUploadCommand.js +0 -1
- package/dist-es/commands/UpdateVPCEConfigurationCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/GetOfferingStatusPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListArtifactsPaginator.js +0 -1
- package/dist-es/pagination/ListDevicePoolsPaginator.js +0 -1
- package/dist-es/pagination/ListDevicesPaginator.js +0 -1
- package/dist-es/pagination/ListJobsPaginator.js +0 -1
- package/dist-es/pagination/ListOfferingTransactionsPaginator.js +0 -1
- package/dist-es/pagination/ListOfferingsPaginator.js +0 -1
- package/dist-es/pagination/ListProjectsPaginator.js +0 -1
- package/dist-es/pagination/ListRunsPaginator.js +0 -1
- package/dist-es/pagination/ListSamplesPaginator.js +0 -1
- package/dist-es/pagination/ListSuitesPaginator.js +0 -1
- package/dist-es/pagination/ListTestGridProjectsPaginator.js +0 -1
- package/dist-es/pagination/ListTestGridSessionActionsPaginator.js +0 -1
- package/dist-es/pagination/ListTestGridSessionArtifactsPaginator.js +0 -1
- package/dist-es/pagination/ListTestGridSessionsPaginator.js +0 -1
- package/dist-es/pagination/ListTestsPaginator.js +0 -1
- package/dist-es/pagination/ListUniqueProblemsPaginator.js +0 -1
- package/dist-es/pagination/ListUploadsPaginator.js +0 -1
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- package/dist-cjs/DeviceFarm.js.map +0 -1
- package/dist-cjs/DeviceFarmClient.js.map +0 -1
- package/dist-cjs/commands/CreateDevicePoolCommand.js.map +0 -1
- package/dist-cjs/commands/CreateInstanceProfileCommand.js.map +0 -1
- package/dist-cjs/commands/CreateNetworkProfileCommand.js.map +0 -1
- package/dist-cjs/commands/CreateProjectCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRemoteAccessSessionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTestGridProjectCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTestGridUrlCommand.js.map +0 -1
- package/dist-cjs/commands/CreateUploadCommand.js.map +0 -1
- package/dist-cjs/commands/CreateVPCEConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDevicePoolCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteInstanceProfileCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteNetworkProfileCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteProjectCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRemoteAccessSessionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRunCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTestGridProjectCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteUploadCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteVPCEConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/GetAccountSettingsCommand.js.map +0 -1
- package/dist-cjs/commands/GetDeviceCommand.js.map +0 -1
- package/dist-cjs/commands/GetDeviceInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/GetDevicePoolCommand.js.map +0 -1
- package/dist-cjs/commands/GetDevicePoolCompatibilityCommand.js.map +0 -1
- package/dist-cjs/commands/GetInstanceProfileCommand.js.map +0 -1
- package/dist-cjs/commands/GetJobCommand.js.map +0 -1
- package/dist-cjs/commands/GetNetworkProfileCommand.js.map +0 -1
- package/dist-cjs/commands/GetOfferingStatusCommand.js.map +0 -1
- package/dist-cjs/commands/GetProjectCommand.js.map +0 -1
- package/dist-cjs/commands/GetRemoteAccessSessionCommand.js.map +0 -1
- package/dist-cjs/commands/GetRunCommand.js.map +0 -1
- package/dist-cjs/commands/GetSuiteCommand.js.map +0 -1
- package/dist-cjs/commands/GetTestCommand.js.map +0 -1
- package/dist-cjs/commands/GetTestGridProjectCommand.js.map +0 -1
- package/dist-cjs/commands/GetTestGridSessionCommand.js.map +0 -1
- package/dist-cjs/commands/GetUploadCommand.js.map +0 -1
- package/dist-cjs/commands/GetVPCEConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/InstallToRemoteAccessSessionCommand.js.map +0 -1
- package/dist-cjs/commands/ListArtifactsCommand.js.map +0 -1
- package/dist-cjs/commands/ListDeviceInstancesCommand.js.map +0 -1
- package/dist-cjs/commands/ListDevicePoolsCommand.js.map +0 -1
- package/dist-cjs/commands/ListDevicesCommand.js.map +0 -1
- package/dist-cjs/commands/ListInstanceProfilesCommand.js.map +0 -1
- package/dist-cjs/commands/ListJobsCommand.js.map +0 -1
- package/dist-cjs/commands/ListNetworkProfilesCommand.js.map +0 -1
- package/dist-cjs/commands/ListOfferingPromotionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListOfferingTransactionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListOfferingsCommand.js.map +0 -1
- package/dist-cjs/commands/ListProjectsCommand.js.map +0 -1
- package/dist-cjs/commands/ListRemoteAccessSessionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListRunsCommand.js.map +0 -1
- package/dist-cjs/commands/ListSamplesCommand.js.map +0 -1
- package/dist-cjs/commands/ListSuitesCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListTestGridProjectsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTestGridSessionActionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTestGridSessionArtifactsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTestGridSessionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTestsCommand.js.map +0 -1
- package/dist-cjs/commands/ListUniqueProblemsCommand.js.map +0 -1
- package/dist-cjs/commands/ListUploadsCommand.js.map +0 -1
- package/dist-cjs/commands/ListVPCEConfigurationsCommand.js.map +0 -1
- package/dist-cjs/commands/PurchaseOfferingCommand.js.map +0 -1
- package/dist-cjs/commands/RenewOfferingCommand.js.map +0 -1
- package/dist-cjs/commands/ScheduleRunCommand.js.map +0 -1
- package/dist-cjs/commands/StopJobCommand.js.map +0 -1
- package/dist-cjs/commands/StopRemoteAccessSessionCommand.js.map +0 -1
- package/dist-cjs/commands/StopRunCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDeviceInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDevicePoolCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateInstanceProfileCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateNetworkProfileCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateProjectCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateTestGridProjectCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateUploadCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateVPCEConfigurationCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/GetOfferingStatusPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListArtifactsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDevicePoolsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDevicesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListJobsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListOfferingTransactionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListOfferingsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListProjectsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListRunsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListSamplesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListSuitesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTestGridProjectsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTestGridSessionActionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTestGridSessionArtifactsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTestGridSessionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTestsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListUniqueProblemsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListUploadsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/DeviceFarm.js.map +0 -1
- package/dist-es/DeviceFarmClient.js.map +0 -1
- package/dist-es/commands/CreateDevicePoolCommand.js.map +0 -1
- package/dist-es/commands/CreateInstanceProfileCommand.js.map +0 -1
- package/dist-es/commands/CreateNetworkProfileCommand.js.map +0 -1
- package/dist-es/commands/CreateProjectCommand.js.map +0 -1
- package/dist-es/commands/CreateRemoteAccessSessionCommand.js.map +0 -1
- package/dist-es/commands/CreateTestGridProjectCommand.js.map +0 -1
- package/dist-es/commands/CreateTestGridUrlCommand.js.map +0 -1
- package/dist-es/commands/CreateUploadCommand.js.map +0 -1
- package/dist-es/commands/CreateVPCEConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DeleteDevicePoolCommand.js.map +0 -1
- package/dist-es/commands/DeleteInstanceProfileCommand.js.map +0 -1
- package/dist-es/commands/DeleteNetworkProfileCommand.js.map +0 -1
- package/dist-es/commands/DeleteProjectCommand.js.map +0 -1
- package/dist-es/commands/DeleteRemoteAccessSessionCommand.js.map +0 -1
- package/dist-es/commands/DeleteRunCommand.js.map +0 -1
- package/dist-es/commands/DeleteTestGridProjectCommand.js.map +0 -1
- package/dist-es/commands/DeleteUploadCommand.js.map +0 -1
- package/dist-es/commands/DeleteVPCEConfigurationCommand.js.map +0 -1
- package/dist-es/commands/GetAccountSettingsCommand.js.map +0 -1
- package/dist-es/commands/GetDeviceCommand.js.map +0 -1
- package/dist-es/commands/GetDeviceInstanceCommand.js.map +0 -1
- package/dist-es/commands/GetDevicePoolCommand.js.map +0 -1
- package/dist-es/commands/GetDevicePoolCompatibilityCommand.js.map +0 -1
- package/dist-es/commands/GetInstanceProfileCommand.js.map +0 -1
- package/dist-es/commands/GetJobCommand.js.map +0 -1
- package/dist-es/commands/GetNetworkProfileCommand.js.map +0 -1
- package/dist-es/commands/GetOfferingStatusCommand.js.map +0 -1
- package/dist-es/commands/GetProjectCommand.js.map +0 -1
- package/dist-es/commands/GetRemoteAccessSessionCommand.js.map +0 -1
- package/dist-es/commands/GetRunCommand.js.map +0 -1
- package/dist-es/commands/GetSuiteCommand.js.map +0 -1
- package/dist-es/commands/GetTestCommand.js.map +0 -1
- package/dist-es/commands/GetTestGridProjectCommand.js.map +0 -1
- package/dist-es/commands/GetTestGridSessionCommand.js.map +0 -1
- package/dist-es/commands/GetUploadCommand.js.map +0 -1
- package/dist-es/commands/GetVPCEConfigurationCommand.js.map +0 -1
- package/dist-es/commands/InstallToRemoteAccessSessionCommand.js.map +0 -1
- package/dist-es/commands/ListArtifactsCommand.js.map +0 -1
- package/dist-es/commands/ListDeviceInstancesCommand.js.map +0 -1
- package/dist-es/commands/ListDevicePoolsCommand.js.map +0 -1
- package/dist-es/commands/ListDevicesCommand.js.map +0 -1
- package/dist-es/commands/ListInstanceProfilesCommand.js.map +0 -1
- package/dist-es/commands/ListJobsCommand.js.map +0 -1
- package/dist-es/commands/ListNetworkProfilesCommand.js.map +0 -1
- package/dist-es/commands/ListOfferingPromotionsCommand.js.map +0 -1
- package/dist-es/commands/ListOfferingTransactionsCommand.js.map +0 -1
- package/dist-es/commands/ListOfferingsCommand.js.map +0 -1
- package/dist-es/commands/ListProjectsCommand.js.map +0 -1
- package/dist-es/commands/ListRemoteAccessSessionsCommand.js.map +0 -1
- package/dist-es/commands/ListRunsCommand.js.map +0 -1
- package/dist-es/commands/ListSamplesCommand.js.map +0 -1
- package/dist-es/commands/ListSuitesCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListTestGridProjectsCommand.js.map +0 -1
- package/dist-es/commands/ListTestGridSessionActionsCommand.js.map +0 -1
- package/dist-es/commands/ListTestGridSessionArtifactsCommand.js.map +0 -1
- package/dist-es/commands/ListTestGridSessionsCommand.js.map +0 -1
- package/dist-es/commands/ListTestsCommand.js.map +0 -1
- package/dist-es/commands/ListUniqueProblemsCommand.js.map +0 -1
- package/dist-es/commands/ListUploadsCommand.js.map +0 -1
- package/dist-es/commands/ListVPCEConfigurationsCommand.js.map +0 -1
- package/dist-es/commands/PurchaseOfferingCommand.js.map +0 -1
- package/dist-es/commands/RenewOfferingCommand.js.map +0 -1
- package/dist-es/commands/ScheduleRunCommand.js.map +0 -1
- package/dist-es/commands/StopJobCommand.js.map +0 -1
- package/dist-es/commands/StopRemoteAccessSessionCommand.js.map +0 -1
- package/dist-es/commands/StopRunCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateDeviceInstanceCommand.js.map +0 -1
- package/dist-es/commands/UpdateDevicePoolCommand.js.map +0 -1
- package/dist-es/commands/UpdateInstanceProfileCommand.js.map +0 -1
- package/dist-es/commands/UpdateNetworkProfileCommand.js.map +0 -1
- package/dist-es/commands/UpdateProjectCommand.js.map +0 -1
- package/dist-es/commands/UpdateTestGridProjectCommand.js.map +0 -1
- package/dist-es/commands/UpdateUploadCommand.js.map +0 -1
- package/dist-es/commands/UpdateVPCEConfigurationCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/GetOfferingStatusPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListArtifactsPaginator.js.map +0 -1
- package/dist-es/pagination/ListDevicePoolsPaginator.js.map +0 -1
- package/dist-es/pagination/ListDevicesPaginator.js.map +0 -1
- package/dist-es/pagination/ListJobsPaginator.js.map +0 -1
- package/dist-es/pagination/ListOfferingTransactionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListOfferingsPaginator.js.map +0 -1
- package/dist-es/pagination/ListProjectsPaginator.js.map +0 -1
- package/dist-es/pagination/ListRunsPaginator.js.map +0 -1
- package/dist-es/pagination/ListSamplesPaginator.js.map +0 -1
- package/dist-es/pagination/ListSuitesPaginator.js.map +0 -1
- package/dist-es/pagination/ListTestGridProjectsPaginator.js.map +0 -1
- package/dist-es/pagination/ListTestGridSessionActionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListTestGridSessionArtifactsPaginator.js.map +0 -1
- package/dist-es/pagination/ListTestGridSessionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListTestsPaginator.js.map +0 -1
- package/dist-es/pagination/ListUniqueProblemsPaginator.js.map +0 -1
- package/dist-es/pagination/ListUploadsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/DeviceFarm.ts +0 -2728
- package/src/DeviceFarmClient.ts +0 -577
- package/src/commands/CreateDevicePoolCommand.ts +0 -95
- package/src/commands/CreateInstanceProfileCommand.ts +0 -96
- package/src/commands/CreateNetworkProfileCommand.ts +0 -95
- package/src/commands/CreateProjectCommand.ts +0 -95
- package/src/commands/CreateRemoteAccessSessionCommand.ts +0 -98
- package/src/commands/CreateTestGridProjectCommand.ts +0 -96
- package/src/commands/CreateTestGridUrlCommand.ts +0 -96
- package/src/commands/CreateUploadCommand.ts +0 -95
- package/src/commands/CreateVPCEConfigurationCommand.ts +0 -96
- package/src/commands/DeleteDevicePoolCommand.ts +0 -96
- package/src/commands/DeleteInstanceProfileCommand.ts +0 -95
- package/src/commands/DeleteNetworkProfileCommand.ts +0 -95
- package/src/commands/DeleteProjectCommand.ts +0 -96
- package/src/commands/DeleteRemoteAccessSessionCommand.ts +0 -98
- package/src/commands/DeleteRunCommand.ts +0 -93
- package/src/commands/DeleteTestGridProjectCommand.ts +0 -101
- package/src/commands/DeleteUploadCommand.ts +0 -95
- package/src/commands/DeleteVPCEConfigurationCommand.ts +0 -95
- package/src/commands/GetAccountSettingsCommand.ts +0 -96
- package/src/commands/GetDeviceCommand.ts +0 -92
- package/src/commands/GetDeviceInstanceCommand.ts +0 -95
- package/src/commands/GetDevicePoolCommand.ts +0 -95
- package/src/commands/GetDevicePoolCompatibilityCommand.ts +0 -98
- package/src/commands/GetInstanceProfileCommand.ts +0 -95
- package/src/commands/GetJobCommand.ts +0 -88
- package/src/commands/GetNetworkProfileCommand.ts +0 -95
- package/src/commands/GetOfferingStatusCommand.ts +0 -98
- package/src/commands/GetProjectCommand.ts +0 -95
- package/src/commands/GetRemoteAccessSessionCommand.ts +0 -95
- package/src/commands/GetRunCommand.ts +0 -88
- package/src/commands/GetSuiteCommand.ts +0 -92
- package/src/commands/GetTestCommand.ts +0 -92
- package/src/commands/GetTestGridProjectCommand.ts +0 -95
- package/src/commands/GetTestGridSessionCommand.ts +0 -104
- package/src/commands/GetUploadCommand.ts +0 -92
- package/src/commands/GetVPCEConfigurationCommand.ts +0 -96
- package/src/commands/InstallToRemoteAccessSessionCommand.ts +0 -102
- package/src/commands/ListArtifactsCommand.ts +0 -95
- package/src/commands/ListDeviceInstancesCommand.ts +0 -96
- package/src/commands/ListDevicePoolsCommand.ts +0 -95
- package/src/commands/ListDevicesCommand.ts +0 -95
- package/src/commands/ListInstanceProfilesCommand.ts +0 -95
- package/src/commands/ListJobsCommand.ts +0 -92
- package/src/commands/ListNetworkProfilesCommand.ts +0 -95
- package/src/commands/ListOfferingPromotionsCommand.ts +0 -97
- package/src/commands/ListOfferingTransactionsCommand.ts +0 -98
- package/src/commands/ListOfferingsCommand.ts +0 -98
- package/src/commands/ListProjectsCommand.ts +0 -95
- package/src/commands/ListRemoteAccessSessionsCommand.ts +0 -95
- package/src/commands/ListRunsCommand.ts +0 -92
- package/src/commands/ListSamplesCommand.ts +0 -95
- package/src/commands/ListSuitesCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/ListTestGridProjectsCommand.ts +0 -95
- package/src/commands/ListTestGridSessionActionsCommand.ts +0 -98
- package/src/commands/ListTestGridSessionArtifactsCommand.ts +0 -100
- package/src/commands/ListTestGridSessionsCommand.ts +0 -95
- package/src/commands/ListTestsCommand.ts +0 -92
- package/src/commands/ListUniqueProblemsCommand.ts +0 -99
- package/src/commands/ListUploadsCommand.ts +0 -95
- package/src/commands/ListVPCEConfigurationsCommand.ts +0 -96
- package/src/commands/PurchaseOfferingCommand.ts +0 -98
- package/src/commands/RenewOfferingCommand.ts +0 -97
- package/src/commands/ScheduleRunCommand.ts +0 -95
- package/src/commands/StopJobCommand.ts +0 -95
- package/src/commands/StopRemoteAccessSessionCommand.ts +0 -95
- package/src/commands/StopRunCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -97
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateDeviceInstanceCommand.ts +0 -95
- package/src/commands/UpdateDevicePoolCommand.ts +0 -97
- package/src/commands/UpdateInstanceProfileCommand.ts +0 -95
- package/src/commands/UpdateNetworkProfileCommand.ts +0 -95
- package/src/commands/UpdateProjectCommand.ts +0 -96
- package/src/commands/UpdateTestGridProjectCommand.ts +0 -95
- package/src/commands/UpdateUploadCommand.ts +0 -95
- package/src/commands/UpdateVPCEConfigurationCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -99
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -8246
- package/src/pagination/GetOfferingStatusPaginator.ts +0 -58
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListArtifactsPaginator.ts +0 -58
- package/src/pagination/ListDevicePoolsPaginator.ts +0 -58
- package/src/pagination/ListDevicesPaginator.ts +0 -54
- package/src/pagination/ListJobsPaginator.ts +0 -54
- package/src/pagination/ListOfferingTransactionsPaginator.ts +0 -58
- package/src/pagination/ListOfferingsPaginator.ts +0 -58
- package/src/pagination/ListProjectsPaginator.ts +0 -58
- package/src/pagination/ListRunsPaginator.ts +0 -54
- package/src/pagination/ListSamplesPaginator.ts +0 -54
- package/src/pagination/ListSuitesPaginator.ts +0 -54
- package/src/pagination/ListTestGridProjectsPaginator.ts +0 -59
- package/src/pagination/ListTestGridSessionActionsPaginator.ts +0 -59
- package/src/pagination/ListTestGridSessionArtifactsPaginator.ts +0 -59
- package/src/pagination/ListTestGridSessionsPaginator.ts +0 -59
- package/src/pagination/ListTestsPaginator.ts +0 -54
- package/src/pagination/ListUniqueProblemsPaginator.ts +0 -58
- package/src/pagination/ListUploadsPaginator.ts +0 -54
- package/src/protocols/Aws_json1_1.ts +0 -10779
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
GetOfferingStatusCommand,
|
|
5
|
-
GetOfferingStatusCommandInput,
|
|
6
|
-
GetOfferingStatusCommandOutput,
|
|
7
|
-
} from "../commands/GetOfferingStatusCommand";
|
|
8
|
-
import { DeviceFarm } from "../DeviceFarm";
|
|
9
|
-
import { DeviceFarmClient } from "../DeviceFarmClient";
|
|
10
|
-
import { DeviceFarmPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: DeviceFarmClient,
|
|
17
|
-
input: GetOfferingStatusCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<GetOfferingStatusCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new GetOfferingStatusCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: DeviceFarm,
|
|
28
|
-
input: GetOfferingStatusCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<GetOfferingStatusCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.getOfferingStatus(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateGetOfferingStatus(
|
|
35
|
-
config: DeviceFarmPaginationConfiguration,
|
|
36
|
-
input: GetOfferingStatusCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<GetOfferingStatusCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: GetOfferingStatusCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
if (config.client instanceof DeviceFarm) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof DeviceFarmClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.nextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { DeviceFarm } from "../DeviceFarm";
|
|
4
|
-
import { DeviceFarmClient } from "../DeviceFarmClient";
|
|
5
|
-
|
|
6
|
-
export interface DeviceFarmPaginationConfiguration extends PaginationConfiguration {
|
|
7
|
-
client: DeviceFarm | DeviceFarmClient;
|
|
8
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListArtifactsCommand,
|
|
5
|
-
ListArtifactsCommandInput,
|
|
6
|
-
ListArtifactsCommandOutput,
|
|
7
|
-
} from "../commands/ListArtifactsCommand";
|
|
8
|
-
import { DeviceFarm } from "../DeviceFarm";
|
|
9
|
-
import { DeviceFarmClient } from "../DeviceFarmClient";
|
|
10
|
-
import { DeviceFarmPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: DeviceFarmClient,
|
|
17
|
-
input: ListArtifactsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListArtifactsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListArtifactsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: DeviceFarm,
|
|
28
|
-
input: ListArtifactsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListArtifactsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listArtifacts(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListArtifacts(
|
|
35
|
-
config: DeviceFarmPaginationConfiguration,
|
|
36
|
-
input: ListArtifactsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListArtifactsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListArtifactsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
if (config.client instanceof DeviceFarm) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof DeviceFarmClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.nextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListDevicePoolsCommand,
|
|
5
|
-
ListDevicePoolsCommandInput,
|
|
6
|
-
ListDevicePoolsCommandOutput,
|
|
7
|
-
} from "../commands/ListDevicePoolsCommand";
|
|
8
|
-
import { DeviceFarm } from "../DeviceFarm";
|
|
9
|
-
import { DeviceFarmClient } from "../DeviceFarmClient";
|
|
10
|
-
import { DeviceFarmPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: DeviceFarmClient,
|
|
17
|
-
input: ListDevicePoolsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListDevicePoolsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListDevicePoolsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: DeviceFarm,
|
|
28
|
-
input: ListDevicePoolsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListDevicePoolsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listDevicePools(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListDevicePools(
|
|
35
|
-
config: DeviceFarmPaginationConfiguration,
|
|
36
|
-
input: ListDevicePoolsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListDevicePoolsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListDevicePoolsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
if (config.client instanceof DeviceFarm) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof DeviceFarmClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.nextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { ListDevicesCommand, ListDevicesCommandInput, ListDevicesCommandOutput } from "../commands/ListDevicesCommand";
|
|
4
|
-
import { DeviceFarm } from "../DeviceFarm";
|
|
5
|
-
import { DeviceFarmClient } from "../DeviceFarmClient";
|
|
6
|
-
import { DeviceFarmPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
const makePagedClientRequest = async (
|
|
12
|
-
client: DeviceFarmClient,
|
|
13
|
-
input: ListDevicesCommandInput,
|
|
14
|
-
...args: any
|
|
15
|
-
): Promise<ListDevicesCommandOutput> => {
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
return await client.send(new ListDevicesCommand(input), ...args);
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
const makePagedRequest = async (
|
|
23
|
-
client: DeviceFarm,
|
|
24
|
-
input: ListDevicesCommandInput,
|
|
25
|
-
...args: any
|
|
26
|
-
): Promise<ListDevicesCommandOutput> => {
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
return await client.listDevices(input, ...args);
|
|
29
|
-
};
|
|
30
|
-
export async function* paginateListDevices(
|
|
31
|
-
config: DeviceFarmPaginationConfiguration,
|
|
32
|
-
input: ListDevicesCommandInput,
|
|
33
|
-
...additionalArguments: any
|
|
34
|
-
): Paginator<ListDevicesCommandOutput> {
|
|
35
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
36
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
37
|
-
let hasNext = true;
|
|
38
|
-
let page: ListDevicesCommandOutput;
|
|
39
|
-
while (hasNext) {
|
|
40
|
-
input.nextToken = token;
|
|
41
|
-
if (config.client instanceof DeviceFarm) {
|
|
42
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
43
|
-
} else if (config.client instanceof DeviceFarmClient) {
|
|
44
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
45
|
-
} else {
|
|
46
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
47
|
-
}
|
|
48
|
-
yield page;
|
|
49
|
-
token = page.nextToken;
|
|
50
|
-
hasNext = !!token;
|
|
51
|
-
}
|
|
52
|
-
// @ts-ignore
|
|
53
|
-
return undefined;
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { ListJobsCommand, ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand";
|
|
4
|
-
import { DeviceFarm } from "../DeviceFarm";
|
|
5
|
-
import { DeviceFarmClient } from "../DeviceFarmClient";
|
|
6
|
-
import { DeviceFarmPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
const makePagedClientRequest = async (
|
|
12
|
-
client: DeviceFarmClient,
|
|
13
|
-
input: ListJobsCommandInput,
|
|
14
|
-
...args: any
|
|
15
|
-
): Promise<ListJobsCommandOutput> => {
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
return await client.send(new ListJobsCommand(input), ...args);
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
const makePagedRequest = async (
|
|
23
|
-
client: DeviceFarm,
|
|
24
|
-
input: ListJobsCommandInput,
|
|
25
|
-
...args: any
|
|
26
|
-
): Promise<ListJobsCommandOutput> => {
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
return await client.listJobs(input, ...args);
|
|
29
|
-
};
|
|
30
|
-
export async function* paginateListJobs(
|
|
31
|
-
config: DeviceFarmPaginationConfiguration,
|
|
32
|
-
input: ListJobsCommandInput,
|
|
33
|
-
...additionalArguments: any
|
|
34
|
-
): Paginator<ListJobsCommandOutput> {
|
|
35
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
36
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
37
|
-
let hasNext = true;
|
|
38
|
-
let page: ListJobsCommandOutput;
|
|
39
|
-
while (hasNext) {
|
|
40
|
-
input.nextToken = token;
|
|
41
|
-
if (config.client instanceof DeviceFarm) {
|
|
42
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
43
|
-
} else if (config.client instanceof DeviceFarmClient) {
|
|
44
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
45
|
-
} else {
|
|
46
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
47
|
-
}
|
|
48
|
-
yield page;
|
|
49
|
-
token = page.nextToken;
|
|
50
|
-
hasNext = !!token;
|
|
51
|
-
}
|
|
52
|
-
// @ts-ignore
|
|
53
|
-
return undefined;
|
|
54
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListOfferingTransactionsCommand,
|
|
5
|
-
ListOfferingTransactionsCommandInput,
|
|
6
|
-
ListOfferingTransactionsCommandOutput,
|
|
7
|
-
} from "../commands/ListOfferingTransactionsCommand";
|
|
8
|
-
import { DeviceFarm } from "../DeviceFarm";
|
|
9
|
-
import { DeviceFarmClient } from "../DeviceFarmClient";
|
|
10
|
-
import { DeviceFarmPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: DeviceFarmClient,
|
|
17
|
-
input: ListOfferingTransactionsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListOfferingTransactionsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListOfferingTransactionsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: DeviceFarm,
|
|
28
|
-
input: ListOfferingTransactionsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListOfferingTransactionsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listOfferingTransactions(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListOfferingTransactions(
|
|
35
|
-
config: DeviceFarmPaginationConfiguration,
|
|
36
|
-
input: ListOfferingTransactionsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListOfferingTransactionsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListOfferingTransactionsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
if (config.client instanceof DeviceFarm) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof DeviceFarmClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.nextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListOfferingsCommand,
|
|
5
|
-
ListOfferingsCommandInput,
|
|
6
|
-
ListOfferingsCommandOutput,
|
|
7
|
-
} from "../commands/ListOfferingsCommand";
|
|
8
|
-
import { DeviceFarm } from "../DeviceFarm";
|
|
9
|
-
import { DeviceFarmClient } from "../DeviceFarmClient";
|
|
10
|
-
import { DeviceFarmPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: DeviceFarmClient,
|
|
17
|
-
input: ListOfferingsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListOfferingsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListOfferingsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: DeviceFarm,
|
|
28
|
-
input: ListOfferingsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListOfferingsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listOfferings(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListOfferings(
|
|
35
|
-
config: DeviceFarmPaginationConfiguration,
|
|
36
|
-
input: ListOfferingsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListOfferingsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListOfferingsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
if (config.client instanceof DeviceFarm) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof DeviceFarmClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.nextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListProjectsCommand,
|
|
5
|
-
ListProjectsCommandInput,
|
|
6
|
-
ListProjectsCommandOutput,
|
|
7
|
-
} from "../commands/ListProjectsCommand";
|
|
8
|
-
import { DeviceFarm } from "../DeviceFarm";
|
|
9
|
-
import { DeviceFarmClient } from "../DeviceFarmClient";
|
|
10
|
-
import { DeviceFarmPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: DeviceFarmClient,
|
|
17
|
-
input: ListProjectsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListProjectsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListProjectsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: DeviceFarm,
|
|
28
|
-
input: ListProjectsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListProjectsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listProjects(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListProjects(
|
|
35
|
-
config: DeviceFarmPaginationConfiguration,
|
|
36
|
-
input: ListProjectsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListProjectsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListProjectsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
if (config.client instanceof DeviceFarm) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof DeviceFarmClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.nextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { ListRunsCommand, ListRunsCommandInput, ListRunsCommandOutput } from "../commands/ListRunsCommand";
|
|
4
|
-
import { DeviceFarm } from "../DeviceFarm";
|
|
5
|
-
import { DeviceFarmClient } from "../DeviceFarmClient";
|
|
6
|
-
import { DeviceFarmPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
const makePagedClientRequest = async (
|
|
12
|
-
client: DeviceFarmClient,
|
|
13
|
-
input: ListRunsCommandInput,
|
|
14
|
-
...args: any
|
|
15
|
-
): Promise<ListRunsCommandOutput> => {
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
return await client.send(new ListRunsCommand(input), ...args);
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
const makePagedRequest = async (
|
|
23
|
-
client: DeviceFarm,
|
|
24
|
-
input: ListRunsCommandInput,
|
|
25
|
-
...args: any
|
|
26
|
-
): Promise<ListRunsCommandOutput> => {
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
return await client.listRuns(input, ...args);
|
|
29
|
-
};
|
|
30
|
-
export async function* paginateListRuns(
|
|
31
|
-
config: DeviceFarmPaginationConfiguration,
|
|
32
|
-
input: ListRunsCommandInput,
|
|
33
|
-
...additionalArguments: any
|
|
34
|
-
): Paginator<ListRunsCommandOutput> {
|
|
35
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
36
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
37
|
-
let hasNext = true;
|
|
38
|
-
let page: ListRunsCommandOutput;
|
|
39
|
-
while (hasNext) {
|
|
40
|
-
input.nextToken = token;
|
|
41
|
-
if (config.client instanceof DeviceFarm) {
|
|
42
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
43
|
-
} else if (config.client instanceof DeviceFarmClient) {
|
|
44
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
45
|
-
} else {
|
|
46
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
47
|
-
}
|
|
48
|
-
yield page;
|
|
49
|
-
token = page.nextToken;
|
|
50
|
-
hasNext = !!token;
|
|
51
|
-
}
|
|
52
|
-
// @ts-ignore
|
|
53
|
-
return undefined;
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { ListSamplesCommand, ListSamplesCommandInput, ListSamplesCommandOutput } from "../commands/ListSamplesCommand";
|
|
4
|
-
import { DeviceFarm } from "../DeviceFarm";
|
|
5
|
-
import { DeviceFarmClient } from "../DeviceFarmClient";
|
|
6
|
-
import { DeviceFarmPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
const makePagedClientRequest = async (
|
|
12
|
-
client: DeviceFarmClient,
|
|
13
|
-
input: ListSamplesCommandInput,
|
|
14
|
-
...args: any
|
|
15
|
-
): Promise<ListSamplesCommandOutput> => {
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
return await client.send(new ListSamplesCommand(input), ...args);
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
const makePagedRequest = async (
|
|
23
|
-
client: DeviceFarm,
|
|
24
|
-
input: ListSamplesCommandInput,
|
|
25
|
-
...args: any
|
|
26
|
-
): Promise<ListSamplesCommandOutput> => {
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
return await client.listSamples(input, ...args);
|
|
29
|
-
};
|
|
30
|
-
export async function* paginateListSamples(
|
|
31
|
-
config: DeviceFarmPaginationConfiguration,
|
|
32
|
-
input: ListSamplesCommandInput,
|
|
33
|
-
...additionalArguments: any
|
|
34
|
-
): Paginator<ListSamplesCommandOutput> {
|
|
35
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
36
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
37
|
-
let hasNext = true;
|
|
38
|
-
let page: ListSamplesCommandOutput;
|
|
39
|
-
while (hasNext) {
|
|
40
|
-
input.nextToken = token;
|
|
41
|
-
if (config.client instanceof DeviceFarm) {
|
|
42
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
43
|
-
} else if (config.client instanceof DeviceFarmClient) {
|
|
44
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
45
|
-
} else {
|
|
46
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
47
|
-
}
|
|
48
|
-
yield page;
|
|
49
|
-
token = page.nextToken;
|
|
50
|
-
hasNext = !!token;
|
|
51
|
-
}
|
|
52
|
-
// @ts-ignore
|
|
53
|
-
return undefined;
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { ListSuitesCommand, ListSuitesCommandInput, ListSuitesCommandOutput } from "../commands/ListSuitesCommand";
|
|
4
|
-
import { DeviceFarm } from "../DeviceFarm";
|
|
5
|
-
import { DeviceFarmClient } from "../DeviceFarmClient";
|
|
6
|
-
import { DeviceFarmPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
const makePagedClientRequest = async (
|
|
12
|
-
client: DeviceFarmClient,
|
|
13
|
-
input: ListSuitesCommandInput,
|
|
14
|
-
...args: any
|
|
15
|
-
): Promise<ListSuitesCommandOutput> => {
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
return await client.send(new ListSuitesCommand(input), ...args);
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
const makePagedRequest = async (
|
|
23
|
-
client: DeviceFarm,
|
|
24
|
-
input: ListSuitesCommandInput,
|
|
25
|
-
...args: any
|
|
26
|
-
): Promise<ListSuitesCommandOutput> => {
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
return await client.listSuites(input, ...args);
|
|
29
|
-
};
|
|
30
|
-
export async function* paginateListSuites(
|
|
31
|
-
config: DeviceFarmPaginationConfiguration,
|
|
32
|
-
input: ListSuitesCommandInput,
|
|
33
|
-
...additionalArguments: any
|
|
34
|
-
): Paginator<ListSuitesCommandOutput> {
|
|
35
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
36
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
37
|
-
let hasNext = true;
|
|
38
|
-
let page: ListSuitesCommandOutput;
|
|
39
|
-
while (hasNext) {
|
|
40
|
-
input.nextToken = token;
|
|
41
|
-
if (config.client instanceof DeviceFarm) {
|
|
42
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
43
|
-
} else if (config.client instanceof DeviceFarmClient) {
|
|
44
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
45
|
-
} else {
|
|
46
|
-
throw new Error("Invalid client, expected DeviceFarm | DeviceFarmClient");
|
|
47
|
-
}
|
|
48
|
-
yield page;
|
|
49
|
-
token = page.nextToken;
|
|
50
|
-
hasNext = !!token;
|
|
51
|
-
}
|
|
52
|
-
// @ts-ignore
|
|
53
|
-
return undefined;
|
|
54
|
-
}
|