@aws-sdk/client-storage-gateway 3.477.0 → 3.481.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.
Files changed (409) hide show
  1. package/dist-cjs/commands/ActivateGatewayCommand.js +18 -41
  2. package/dist-cjs/commands/AddCacheCommand.js +18 -41
  3. package/dist-cjs/commands/AddTagsToResourceCommand.js +18 -41
  4. package/dist-cjs/commands/AddUploadBufferCommand.js +18 -41
  5. package/dist-cjs/commands/AddWorkingStorageCommand.js +18 -41
  6. package/dist-cjs/commands/AssignTapePoolCommand.js +18 -41
  7. package/dist-cjs/commands/AssociateFileSystemCommand.js +18 -41
  8. package/dist-cjs/commands/AttachVolumeCommand.js +18 -41
  9. package/dist-cjs/commands/CancelArchivalCommand.js +18 -41
  10. package/dist-cjs/commands/CancelRetrievalCommand.js +18 -41
  11. package/dist-cjs/commands/CreateCachediSCSIVolumeCommand.js +18 -41
  12. package/dist-cjs/commands/CreateNFSFileShareCommand.js +18 -41
  13. package/dist-cjs/commands/CreateSMBFileShareCommand.js +18 -41
  14. package/dist-cjs/commands/CreateSnapshotCommand.js +18 -41
  15. package/dist-cjs/commands/CreateSnapshotFromVolumeRecoveryPointCommand.js +18 -41
  16. package/dist-cjs/commands/CreateStorediSCSIVolumeCommand.js +18 -41
  17. package/dist-cjs/commands/CreateTapePoolCommand.js +18 -41
  18. package/dist-cjs/commands/CreateTapeWithBarcodeCommand.js +18 -41
  19. package/dist-cjs/commands/CreateTapesCommand.js +18 -41
  20. package/dist-cjs/commands/DeleteAutomaticTapeCreationPolicyCommand.js +18 -41
  21. package/dist-cjs/commands/DeleteBandwidthRateLimitCommand.js +18 -41
  22. package/dist-cjs/commands/DeleteChapCredentialsCommand.js +18 -41
  23. package/dist-cjs/commands/DeleteFileShareCommand.js +18 -41
  24. package/dist-cjs/commands/DeleteGatewayCommand.js +18 -41
  25. package/dist-cjs/commands/DeleteSnapshotScheduleCommand.js +18 -41
  26. package/dist-cjs/commands/DeleteTapeArchiveCommand.js +18 -41
  27. package/dist-cjs/commands/DeleteTapeCommand.js +18 -41
  28. package/dist-cjs/commands/DeleteTapePoolCommand.js +18 -41
  29. package/dist-cjs/commands/DeleteVolumeCommand.js +18 -41
  30. package/dist-cjs/commands/DescribeAvailabilityMonitorTestCommand.js +18 -41
  31. package/dist-cjs/commands/DescribeBandwidthRateLimitCommand.js +18 -41
  32. package/dist-cjs/commands/DescribeBandwidthRateLimitScheduleCommand.js +18 -41
  33. package/dist-cjs/commands/DescribeCacheCommand.js +18 -41
  34. package/dist-cjs/commands/DescribeCachediSCSIVolumesCommand.js +18 -41
  35. package/dist-cjs/commands/DescribeChapCredentialsCommand.js +18 -41
  36. package/dist-cjs/commands/DescribeFileSystemAssociationsCommand.js +18 -41
  37. package/dist-cjs/commands/DescribeGatewayInformationCommand.js +18 -41
  38. package/dist-cjs/commands/DescribeMaintenanceStartTimeCommand.js +18 -41
  39. package/dist-cjs/commands/DescribeNFSFileSharesCommand.js +18 -41
  40. package/dist-cjs/commands/DescribeSMBFileSharesCommand.js +18 -41
  41. package/dist-cjs/commands/DescribeSMBSettingsCommand.js +18 -41
  42. package/dist-cjs/commands/DescribeSnapshotScheduleCommand.js +18 -41
  43. package/dist-cjs/commands/DescribeStorediSCSIVolumesCommand.js +18 -41
  44. package/dist-cjs/commands/DescribeTapeArchivesCommand.js +18 -41
  45. package/dist-cjs/commands/DescribeTapeRecoveryPointsCommand.js +18 -41
  46. package/dist-cjs/commands/DescribeTapesCommand.js +18 -41
  47. package/dist-cjs/commands/DescribeUploadBufferCommand.js +18 -41
  48. package/dist-cjs/commands/DescribeVTLDevicesCommand.js +18 -41
  49. package/dist-cjs/commands/DescribeWorkingStorageCommand.js +18 -41
  50. package/dist-cjs/commands/DetachVolumeCommand.js +18 -41
  51. package/dist-cjs/commands/DisableGatewayCommand.js +18 -41
  52. package/dist-cjs/commands/DisassociateFileSystemCommand.js +18 -41
  53. package/dist-cjs/commands/JoinDomainCommand.js +18 -41
  54. package/dist-cjs/commands/ListAutomaticTapeCreationPoliciesCommand.js +18 -41
  55. package/dist-cjs/commands/ListFileSharesCommand.js +18 -41
  56. package/dist-cjs/commands/ListFileSystemAssociationsCommand.js +18 -41
  57. package/dist-cjs/commands/ListGatewaysCommand.js +18 -41
  58. package/dist-cjs/commands/ListLocalDisksCommand.js +18 -41
  59. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  60. package/dist-cjs/commands/ListTapePoolsCommand.js +18 -41
  61. package/dist-cjs/commands/ListTapesCommand.js +18 -41
  62. package/dist-cjs/commands/ListVolumeInitiatorsCommand.js +18 -41
  63. package/dist-cjs/commands/ListVolumeRecoveryPointsCommand.js +18 -41
  64. package/dist-cjs/commands/ListVolumesCommand.js +18 -41
  65. package/dist-cjs/commands/NotifyWhenUploadedCommand.js +18 -41
  66. package/dist-cjs/commands/RefreshCacheCommand.js +18 -41
  67. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +18 -41
  68. package/dist-cjs/commands/ResetCacheCommand.js +18 -41
  69. package/dist-cjs/commands/RetrieveTapeArchiveCommand.js +18 -41
  70. package/dist-cjs/commands/RetrieveTapeRecoveryPointCommand.js +18 -41
  71. package/dist-cjs/commands/SetLocalConsolePasswordCommand.js +18 -41
  72. package/dist-cjs/commands/SetSMBGuestPasswordCommand.js +18 -41
  73. package/dist-cjs/commands/ShutdownGatewayCommand.js +18 -41
  74. package/dist-cjs/commands/StartAvailabilityMonitorTestCommand.js +18 -41
  75. package/dist-cjs/commands/StartGatewayCommand.js +18 -41
  76. package/dist-cjs/commands/UpdateAutomaticTapeCreationPolicyCommand.js +18 -41
  77. package/dist-cjs/commands/UpdateBandwidthRateLimitCommand.js +18 -41
  78. package/dist-cjs/commands/UpdateBandwidthRateLimitScheduleCommand.js +18 -41
  79. package/dist-cjs/commands/UpdateChapCredentialsCommand.js +18 -41
  80. package/dist-cjs/commands/UpdateFileSystemAssociationCommand.js +18 -41
  81. package/dist-cjs/commands/UpdateGatewayInformationCommand.js +18 -41
  82. package/dist-cjs/commands/UpdateGatewaySoftwareNowCommand.js +18 -41
  83. package/dist-cjs/commands/UpdateMaintenanceStartTimeCommand.js +18 -41
  84. package/dist-cjs/commands/UpdateNFSFileShareCommand.js +18 -41
  85. package/dist-cjs/commands/UpdateSMBFileShareCommand.js +18 -41
  86. package/dist-cjs/commands/UpdateSMBFileShareVisibilityCommand.js +18 -41
  87. package/dist-cjs/commands/UpdateSMBLocalGroupsCommand.js +18 -41
  88. package/dist-cjs/commands/UpdateSMBSecurityStrategyCommand.js +18 -41
  89. package/dist-cjs/commands/UpdateSnapshotScheduleCommand.js +18 -41
  90. package/dist-cjs/commands/UpdateVTLDeviceTypeCommand.js +18 -41
  91. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  92. package/dist-cjs/pagination/DescribeTapeArchivesPaginator.js +2 -24
  93. package/dist-cjs/pagination/DescribeTapeRecoveryPointsPaginator.js +2 -24
  94. package/dist-cjs/pagination/DescribeTapesPaginator.js +2 -24
  95. package/dist-cjs/pagination/DescribeVTLDevicesPaginator.js +2 -24
  96. package/dist-cjs/pagination/ListFileSharesPaginator.js +2 -24
  97. package/dist-cjs/pagination/ListFileSystemAssociationsPaginator.js +2 -24
  98. package/dist-cjs/pagination/ListGatewaysPaginator.js +2 -24
  99. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -24
  100. package/dist-cjs/pagination/ListTapePoolsPaginator.js +2 -24
  101. package/dist-cjs/pagination/ListTapesPaginator.js +2 -24
  102. package/dist-cjs/pagination/ListVolumesPaginator.js +2 -24
  103. package/dist-es/commands/ActivateGatewayCommand.js +18 -41
  104. package/dist-es/commands/AddCacheCommand.js +18 -41
  105. package/dist-es/commands/AddTagsToResourceCommand.js +18 -41
  106. package/dist-es/commands/AddUploadBufferCommand.js +18 -41
  107. package/dist-es/commands/AddWorkingStorageCommand.js +18 -41
  108. package/dist-es/commands/AssignTapePoolCommand.js +18 -41
  109. package/dist-es/commands/AssociateFileSystemCommand.js +18 -41
  110. package/dist-es/commands/AttachVolumeCommand.js +18 -41
  111. package/dist-es/commands/CancelArchivalCommand.js +18 -41
  112. package/dist-es/commands/CancelRetrievalCommand.js +18 -41
  113. package/dist-es/commands/CreateCachediSCSIVolumeCommand.js +18 -41
  114. package/dist-es/commands/CreateNFSFileShareCommand.js +18 -41
  115. package/dist-es/commands/CreateSMBFileShareCommand.js +18 -41
  116. package/dist-es/commands/CreateSnapshotCommand.js +18 -41
  117. package/dist-es/commands/CreateSnapshotFromVolumeRecoveryPointCommand.js +18 -41
  118. package/dist-es/commands/CreateStorediSCSIVolumeCommand.js +18 -41
  119. package/dist-es/commands/CreateTapePoolCommand.js +18 -41
  120. package/dist-es/commands/CreateTapeWithBarcodeCommand.js +18 -41
  121. package/dist-es/commands/CreateTapesCommand.js +18 -41
  122. package/dist-es/commands/DeleteAutomaticTapeCreationPolicyCommand.js +18 -41
  123. package/dist-es/commands/DeleteBandwidthRateLimitCommand.js +18 -41
  124. package/dist-es/commands/DeleteChapCredentialsCommand.js +18 -41
  125. package/dist-es/commands/DeleteFileShareCommand.js +18 -41
  126. package/dist-es/commands/DeleteGatewayCommand.js +18 -41
  127. package/dist-es/commands/DeleteSnapshotScheduleCommand.js +18 -41
  128. package/dist-es/commands/DeleteTapeArchiveCommand.js +18 -41
  129. package/dist-es/commands/DeleteTapeCommand.js +18 -41
  130. package/dist-es/commands/DeleteTapePoolCommand.js +18 -41
  131. package/dist-es/commands/DeleteVolumeCommand.js +18 -41
  132. package/dist-es/commands/DescribeAvailabilityMonitorTestCommand.js +18 -41
  133. package/dist-es/commands/DescribeBandwidthRateLimitCommand.js +18 -41
  134. package/dist-es/commands/DescribeBandwidthRateLimitScheduleCommand.js +18 -41
  135. package/dist-es/commands/DescribeCacheCommand.js +18 -41
  136. package/dist-es/commands/DescribeCachediSCSIVolumesCommand.js +18 -41
  137. package/dist-es/commands/DescribeChapCredentialsCommand.js +18 -41
  138. package/dist-es/commands/DescribeFileSystemAssociationsCommand.js +18 -41
  139. package/dist-es/commands/DescribeGatewayInformationCommand.js +18 -41
  140. package/dist-es/commands/DescribeMaintenanceStartTimeCommand.js +18 -41
  141. package/dist-es/commands/DescribeNFSFileSharesCommand.js +18 -41
  142. package/dist-es/commands/DescribeSMBFileSharesCommand.js +18 -41
  143. package/dist-es/commands/DescribeSMBSettingsCommand.js +18 -41
  144. package/dist-es/commands/DescribeSnapshotScheduleCommand.js +18 -41
  145. package/dist-es/commands/DescribeStorediSCSIVolumesCommand.js +18 -41
  146. package/dist-es/commands/DescribeTapeArchivesCommand.js +18 -41
  147. package/dist-es/commands/DescribeTapeRecoveryPointsCommand.js +18 -41
  148. package/dist-es/commands/DescribeTapesCommand.js +18 -41
  149. package/dist-es/commands/DescribeUploadBufferCommand.js +18 -41
  150. package/dist-es/commands/DescribeVTLDevicesCommand.js +18 -41
  151. package/dist-es/commands/DescribeWorkingStorageCommand.js +18 -41
  152. package/dist-es/commands/DetachVolumeCommand.js +18 -41
  153. package/dist-es/commands/DisableGatewayCommand.js +18 -41
  154. package/dist-es/commands/DisassociateFileSystemCommand.js +18 -41
  155. package/dist-es/commands/JoinDomainCommand.js +18 -41
  156. package/dist-es/commands/ListAutomaticTapeCreationPoliciesCommand.js +18 -41
  157. package/dist-es/commands/ListFileSharesCommand.js +18 -41
  158. package/dist-es/commands/ListFileSystemAssociationsCommand.js +18 -41
  159. package/dist-es/commands/ListGatewaysCommand.js +18 -41
  160. package/dist-es/commands/ListLocalDisksCommand.js +18 -41
  161. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  162. package/dist-es/commands/ListTapePoolsCommand.js +18 -41
  163. package/dist-es/commands/ListTapesCommand.js +18 -41
  164. package/dist-es/commands/ListVolumeInitiatorsCommand.js +18 -41
  165. package/dist-es/commands/ListVolumeRecoveryPointsCommand.js +18 -41
  166. package/dist-es/commands/ListVolumesCommand.js +18 -41
  167. package/dist-es/commands/NotifyWhenUploadedCommand.js +18 -41
  168. package/dist-es/commands/RefreshCacheCommand.js +18 -41
  169. package/dist-es/commands/RemoveTagsFromResourceCommand.js +18 -41
  170. package/dist-es/commands/ResetCacheCommand.js +18 -41
  171. package/dist-es/commands/RetrieveTapeArchiveCommand.js +18 -41
  172. package/dist-es/commands/RetrieveTapeRecoveryPointCommand.js +18 -41
  173. package/dist-es/commands/SetLocalConsolePasswordCommand.js +18 -41
  174. package/dist-es/commands/SetSMBGuestPasswordCommand.js +18 -41
  175. package/dist-es/commands/ShutdownGatewayCommand.js +18 -41
  176. package/dist-es/commands/StartAvailabilityMonitorTestCommand.js +18 -41
  177. package/dist-es/commands/StartGatewayCommand.js +18 -41
  178. package/dist-es/commands/UpdateAutomaticTapeCreationPolicyCommand.js +18 -41
  179. package/dist-es/commands/UpdateBandwidthRateLimitCommand.js +18 -41
  180. package/dist-es/commands/UpdateBandwidthRateLimitScheduleCommand.js +18 -41
  181. package/dist-es/commands/UpdateChapCredentialsCommand.js +18 -41
  182. package/dist-es/commands/UpdateFileSystemAssociationCommand.js +18 -41
  183. package/dist-es/commands/UpdateGatewayInformationCommand.js +18 -41
  184. package/dist-es/commands/UpdateGatewaySoftwareNowCommand.js +18 -41
  185. package/dist-es/commands/UpdateMaintenanceStartTimeCommand.js +18 -41
  186. package/dist-es/commands/UpdateNFSFileShareCommand.js +18 -41
  187. package/dist-es/commands/UpdateSMBFileShareCommand.js +18 -41
  188. package/dist-es/commands/UpdateSMBFileShareVisibilityCommand.js +18 -41
  189. package/dist-es/commands/UpdateSMBLocalGroupsCommand.js +18 -41
  190. package/dist-es/commands/UpdateSMBSecurityStrategyCommand.js +18 -41
  191. package/dist-es/commands/UpdateSnapshotScheduleCommand.js +18 -41
  192. package/dist-es/commands/UpdateVTLDeviceTypeCommand.js +18 -41
  193. package/dist-es/endpoint/EndpointParameters.js +6 -0
  194. package/dist-es/pagination/DescribeTapeArchivesPaginator.js +2 -23
  195. package/dist-es/pagination/DescribeTapeRecoveryPointsPaginator.js +2 -23
  196. package/dist-es/pagination/DescribeTapesPaginator.js +2 -23
  197. package/dist-es/pagination/DescribeVTLDevicesPaginator.js +2 -23
  198. package/dist-es/pagination/ListFileSharesPaginator.js +2 -23
  199. package/dist-es/pagination/ListFileSystemAssociationsPaginator.js +2 -23
  200. package/dist-es/pagination/ListGatewaysPaginator.js +2 -23
  201. package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -23
  202. package/dist-es/pagination/ListTapePoolsPaginator.js +2 -23
  203. package/dist-es/pagination/ListTapesPaginator.js +2 -23
  204. package/dist-es/pagination/ListVolumesPaginator.js +2 -23
  205. package/dist-types/commands/ActivateGatewayCommand.d.ts +6 -21
  206. package/dist-types/commands/AddCacheCommand.d.ts +6 -21
  207. package/dist-types/commands/AddTagsToResourceCommand.d.ts +6 -21
  208. package/dist-types/commands/AddUploadBufferCommand.d.ts +6 -21
  209. package/dist-types/commands/AddWorkingStorageCommand.d.ts +6 -21
  210. package/dist-types/commands/AssignTapePoolCommand.d.ts +6 -21
  211. package/dist-types/commands/AssociateFileSystemCommand.d.ts +6 -21
  212. package/dist-types/commands/AttachVolumeCommand.d.ts +6 -21
  213. package/dist-types/commands/CancelArchivalCommand.d.ts +6 -21
  214. package/dist-types/commands/CancelRetrievalCommand.d.ts +6 -21
  215. package/dist-types/commands/CreateCachediSCSIVolumeCommand.d.ts +6 -21
  216. package/dist-types/commands/CreateNFSFileShareCommand.d.ts +6 -21
  217. package/dist-types/commands/CreateSMBFileShareCommand.d.ts +6 -21
  218. package/dist-types/commands/CreateSnapshotCommand.d.ts +6 -21
  219. package/dist-types/commands/CreateSnapshotFromVolumeRecoveryPointCommand.d.ts +6 -21
  220. package/dist-types/commands/CreateStorediSCSIVolumeCommand.d.ts +6 -21
  221. package/dist-types/commands/CreateTapePoolCommand.d.ts +6 -21
  222. package/dist-types/commands/CreateTapeWithBarcodeCommand.d.ts +6 -21
  223. package/dist-types/commands/CreateTapesCommand.d.ts +6 -21
  224. package/dist-types/commands/DeleteAutomaticTapeCreationPolicyCommand.d.ts +6 -21
  225. package/dist-types/commands/DeleteBandwidthRateLimitCommand.d.ts +6 -21
  226. package/dist-types/commands/DeleteChapCredentialsCommand.d.ts +6 -21
  227. package/dist-types/commands/DeleteFileShareCommand.d.ts +6 -21
  228. package/dist-types/commands/DeleteGatewayCommand.d.ts +6 -21
  229. package/dist-types/commands/DeleteSnapshotScheduleCommand.d.ts +6 -21
  230. package/dist-types/commands/DeleteTapeArchiveCommand.d.ts +6 -21
  231. package/dist-types/commands/DeleteTapeCommand.d.ts +6 -21
  232. package/dist-types/commands/DeleteTapePoolCommand.d.ts +6 -21
  233. package/dist-types/commands/DeleteVolumeCommand.d.ts +6 -21
  234. package/dist-types/commands/DescribeAvailabilityMonitorTestCommand.d.ts +6 -21
  235. package/dist-types/commands/DescribeBandwidthRateLimitCommand.d.ts +6 -21
  236. package/dist-types/commands/DescribeBandwidthRateLimitScheduleCommand.d.ts +6 -21
  237. package/dist-types/commands/DescribeCacheCommand.d.ts +6 -21
  238. package/dist-types/commands/DescribeCachediSCSIVolumesCommand.d.ts +6 -21
  239. package/dist-types/commands/DescribeChapCredentialsCommand.d.ts +6 -21
  240. package/dist-types/commands/DescribeFileSystemAssociationsCommand.d.ts +6 -21
  241. package/dist-types/commands/DescribeGatewayInformationCommand.d.ts +6 -21
  242. package/dist-types/commands/DescribeMaintenanceStartTimeCommand.d.ts +6 -21
  243. package/dist-types/commands/DescribeNFSFileSharesCommand.d.ts +6 -21
  244. package/dist-types/commands/DescribeSMBFileSharesCommand.d.ts +6 -21
  245. package/dist-types/commands/DescribeSMBSettingsCommand.d.ts +6 -21
  246. package/dist-types/commands/DescribeSnapshotScheduleCommand.d.ts +6 -21
  247. package/dist-types/commands/DescribeStorediSCSIVolumesCommand.d.ts +6 -21
  248. package/dist-types/commands/DescribeTapeArchivesCommand.d.ts +6 -21
  249. package/dist-types/commands/DescribeTapeRecoveryPointsCommand.d.ts +6 -21
  250. package/dist-types/commands/DescribeTapesCommand.d.ts +6 -21
  251. package/dist-types/commands/DescribeUploadBufferCommand.d.ts +6 -21
  252. package/dist-types/commands/DescribeVTLDevicesCommand.d.ts +6 -21
  253. package/dist-types/commands/DescribeWorkingStorageCommand.d.ts +6 -21
  254. package/dist-types/commands/DetachVolumeCommand.d.ts +6 -21
  255. package/dist-types/commands/DisableGatewayCommand.d.ts +6 -21
  256. package/dist-types/commands/DisassociateFileSystemCommand.d.ts +6 -21
  257. package/dist-types/commands/JoinDomainCommand.d.ts +6 -21
  258. package/dist-types/commands/ListAutomaticTapeCreationPoliciesCommand.d.ts +6 -21
  259. package/dist-types/commands/ListFileSharesCommand.d.ts +6 -21
  260. package/dist-types/commands/ListFileSystemAssociationsCommand.d.ts +6 -21
  261. package/dist-types/commands/ListGatewaysCommand.d.ts +6 -21
  262. package/dist-types/commands/ListLocalDisksCommand.d.ts +6 -21
  263. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  264. package/dist-types/commands/ListTapePoolsCommand.d.ts +6 -21
  265. package/dist-types/commands/ListTapesCommand.d.ts +6 -21
  266. package/dist-types/commands/ListVolumeInitiatorsCommand.d.ts +6 -21
  267. package/dist-types/commands/ListVolumeRecoveryPointsCommand.d.ts +6 -21
  268. package/dist-types/commands/ListVolumesCommand.d.ts +6 -21
  269. package/dist-types/commands/NotifyWhenUploadedCommand.d.ts +6 -21
  270. package/dist-types/commands/RefreshCacheCommand.d.ts +6 -21
  271. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -21
  272. package/dist-types/commands/ResetCacheCommand.d.ts +6 -21
  273. package/dist-types/commands/RetrieveTapeArchiveCommand.d.ts +6 -21
  274. package/dist-types/commands/RetrieveTapeRecoveryPointCommand.d.ts +6 -21
  275. package/dist-types/commands/SetLocalConsolePasswordCommand.d.ts +6 -21
  276. package/dist-types/commands/SetSMBGuestPasswordCommand.d.ts +6 -21
  277. package/dist-types/commands/ShutdownGatewayCommand.d.ts +6 -21
  278. package/dist-types/commands/StartAvailabilityMonitorTestCommand.d.ts +6 -21
  279. package/dist-types/commands/StartGatewayCommand.d.ts +6 -21
  280. package/dist-types/commands/UpdateAutomaticTapeCreationPolicyCommand.d.ts +6 -21
  281. package/dist-types/commands/UpdateBandwidthRateLimitCommand.d.ts +6 -21
  282. package/dist-types/commands/UpdateBandwidthRateLimitScheduleCommand.d.ts +6 -21
  283. package/dist-types/commands/UpdateChapCredentialsCommand.d.ts +6 -21
  284. package/dist-types/commands/UpdateFileSystemAssociationCommand.d.ts +6 -21
  285. package/dist-types/commands/UpdateGatewayInformationCommand.d.ts +6 -21
  286. package/dist-types/commands/UpdateGatewaySoftwareNowCommand.d.ts +6 -21
  287. package/dist-types/commands/UpdateMaintenanceStartTimeCommand.d.ts +6 -21
  288. package/dist-types/commands/UpdateNFSFileShareCommand.d.ts +6 -21
  289. package/dist-types/commands/UpdateSMBFileShareCommand.d.ts +6 -21
  290. package/dist-types/commands/UpdateSMBFileShareVisibilityCommand.d.ts +6 -21
  291. package/dist-types/commands/UpdateSMBLocalGroupsCommand.d.ts +6 -21
  292. package/dist-types/commands/UpdateSMBSecurityStrategyCommand.d.ts +6 -21
  293. package/dist-types/commands/UpdateSnapshotScheduleCommand.d.ts +6 -21
  294. package/dist-types/commands/UpdateVTLDeviceTypeCommand.d.ts +6 -21
  295. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  296. package/dist-types/pagination/DescribeTapeArchivesPaginator.d.ts +1 -1
  297. package/dist-types/pagination/DescribeTapeRecoveryPointsPaginator.d.ts +1 -1
  298. package/dist-types/pagination/DescribeTapesPaginator.d.ts +1 -1
  299. package/dist-types/pagination/DescribeVTLDevicesPaginator.d.ts +1 -1
  300. package/dist-types/pagination/ListFileSharesPaginator.d.ts +1 -1
  301. package/dist-types/pagination/ListFileSystemAssociationsPaginator.d.ts +1 -1
  302. package/dist-types/pagination/ListGatewaysPaginator.d.ts +1 -1
  303. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  304. package/dist-types/pagination/ListTapePoolsPaginator.d.ts +1 -1
  305. package/dist-types/pagination/ListTapesPaginator.d.ts +1 -1
  306. package/dist-types/pagination/ListVolumesPaginator.d.ts +1 -1
  307. package/dist-types/ts3.4/commands/ActivateGatewayCommand.d.ts +14 -23
  308. package/dist-types/ts3.4/commands/AddCacheCommand.d.ts +14 -23
  309. package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +14 -23
  310. package/dist-types/ts3.4/commands/AddUploadBufferCommand.d.ts +14 -23
  311. package/dist-types/ts3.4/commands/AddWorkingStorageCommand.d.ts +14 -23
  312. package/dist-types/ts3.4/commands/AssignTapePoolCommand.d.ts +14 -23
  313. package/dist-types/ts3.4/commands/AssociateFileSystemCommand.d.ts +14 -23
  314. package/dist-types/ts3.4/commands/AttachVolumeCommand.d.ts +14 -23
  315. package/dist-types/ts3.4/commands/CancelArchivalCommand.d.ts +14 -23
  316. package/dist-types/ts3.4/commands/CancelRetrievalCommand.d.ts +14 -23
  317. package/dist-types/ts3.4/commands/CreateCachediSCSIVolumeCommand.d.ts +12 -24
  318. package/dist-types/ts3.4/commands/CreateNFSFileShareCommand.d.ts +14 -23
  319. package/dist-types/ts3.4/commands/CreateSMBFileShareCommand.d.ts +14 -23
  320. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +14 -23
  321. package/dist-types/ts3.4/commands/CreateSnapshotFromVolumeRecoveryPointCommand.d.ts +12 -24
  322. package/dist-types/ts3.4/commands/CreateStorediSCSIVolumeCommand.d.ts +12 -24
  323. package/dist-types/ts3.4/commands/CreateTapePoolCommand.d.ts +14 -23
  324. package/dist-types/ts3.4/commands/CreateTapeWithBarcodeCommand.d.ts +12 -24
  325. package/dist-types/ts3.4/commands/CreateTapesCommand.d.ts +14 -23
  326. package/dist-types/ts3.4/commands/DeleteAutomaticTapeCreationPolicyCommand.d.ts +12 -24
  327. package/dist-types/ts3.4/commands/DeleteBandwidthRateLimitCommand.d.ts +12 -24
  328. package/dist-types/ts3.4/commands/DeleteChapCredentialsCommand.d.ts +12 -24
  329. package/dist-types/ts3.4/commands/DeleteFileShareCommand.d.ts +14 -23
  330. package/dist-types/ts3.4/commands/DeleteGatewayCommand.d.ts +14 -23
  331. package/dist-types/ts3.4/commands/DeleteSnapshotScheduleCommand.d.ts +12 -24
  332. package/dist-types/ts3.4/commands/DeleteTapeArchiveCommand.d.ts +14 -23
  333. package/dist-types/ts3.4/commands/DeleteTapeCommand.d.ts +14 -23
  334. package/dist-types/ts3.4/commands/DeleteTapePoolCommand.d.ts +14 -23
  335. package/dist-types/ts3.4/commands/DeleteVolumeCommand.d.ts +14 -23
  336. package/dist-types/ts3.4/commands/DescribeAvailabilityMonitorTestCommand.d.ts +12 -24
  337. package/dist-types/ts3.4/commands/DescribeBandwidthRateLimitCommand.d.ts +12 -24
  338. package/dist-types/ts3.4/commands/DescribeBandwidthRateLimitScheduleCommand.d.ts +12 -24
  339. package/dist-types/ts3.4/commands/DescribeCacheCommand.d.ts +14 -23
  340. package/dist-types/ts3.4/commands/DescribeCachediSCSIVolumesCommand.d.ts +12 -24
  341. package/dist-types/ts3.4/commands/DescribeChapCredentialsCommand.d.ts +12 -24
  342. package/dist-types/ts3.4/commands/DescribeFileSystemAssociationsCommand.d.ts +12 -24
  343. package/dist-types/ts3.4/commands/DescribeGatewayInformationCommand.d.ts +12 -24
  344. package/dist-types/ts3.4/commands/DescribeMaintenanceStartTimeCommand.d.ts +12 -24
  345. package/dist-types/ts3.4/commands/DescribeNFSFileSharesCommand.d.ts +12 -24
  346. package/dist-types/ts3.4/commands/DescribeSMBFileSharesCommand.d.ts +12 -24
  347. package/dist-types/ts3.4/commands/DescribeSMBSettingsCommand.d.ts +14 -23
  348. package/dist-types/ts3.4/commands/DescribeSnapshotScheduleCommand.d.ts +12 -24
  349. package/dist-types/ts3.4/commands/DescribeStorediSCSIVolumesCommand.d.ts +12 -24
  350. package/dist-types/ts3.4/commands/DescribeTapeArchivesCommand.d.ts +12 -24
  351. package/dist-types/ts3.4/commands/DescribeTapeRecoveryPointsCommand.d.ts +12 -24
  352. package/dist-types/ts3.4/commands/DescribeTapesCommand.d.ts +14 -23
  353. package/dist-types/ts3.4/commands/DescribeUploadBufferCommand.d.ts +12 -24
  354. package/dist-types/ts3.4/commands/DescribeVTLDevicesCommand.d.ts +14 -23
  355. package/dist-types/ts3.4/commands/DescribeWorkingStorageCommand.d.ts +12 -24
  356. package/dist-types/ts3.4/commands/DetachVolumeCommand.d.ts +14 -23
  357. package/dist-types/ts3.4/commands/DisableGatewayCommand.d.ts +14 -23
  358. package/dist-types/ts3.4/commands/DisassociateFileSystemCommand.d.ts +12 -24
  359. package/dist-types/ts3.4/commands/JoinDomainCommand.d.ts +14 -23
  360. package/dist-types/ts3.4/commands/ListAutomaticTapeCreationPoliciesCommand.d.ts +12 -24
  361. package/dist-types/ts3.4/commands/ListFileSharesCommand.d.ts +14 -23
  362. package/dist-types/ts3.4/commands/ListFileSystemAssociationsCommand.d.ts +12 -24
  363. package/dist-types/ts3.4/commands/ListGatewaysCommand.d.ts +14 -23
  364. package/dist-types/ts3.4/commands/ListLocalDisksCommand.d.ts +14 -23
  365. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  366. package/dist-types/ts3.4/commands/ListTapePoolsCommand.d.ts +14 -23
  367. package/dist-types/ts3.4/commands/ListTapesCommand.d.ts +14 -23
  368. package/dist-types/ts3.4/commands/ListVolumeInitiatorsCommand.d.ts +12 -24
  369. package/dist-types/ts3.4/commands/ListVolumeRecoveryPointsCommand.d.ts +12 -24
  370. package/dist-types/ts3.4/commands/ListVolumesCommand.d.ts +14 -23
  371. package/dist-types/ts3.4/commands/NotifyWhenUploadedCommand.d.ts +14 -23
  372. package/dist-types/ts3.4/commands/RefreshCacheCommand.d.ts +14 -23
  373. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +12 -24
  374. package/dist-types/ts3.4/commands/ResetCacheCommand.d.ts +14 -23
  375. package/dist-types/ts3.4/commands/RetrieveTapeArchiveCommand.d.ts +14 -23
  376. package/dist-types/ts3.4/commands/RetrieveTapeRecoveryPointCommand.d.ts +12 -24
  377. package/dist-types/ts3.4/commands/SetLocalConsolePasswordCommand.d.ts +12 -24
  378. package/dist-types/ts3.4/commands/SetSMBGuestPasswordCommand.d.ts +14 -23
  379. package/dist-types/ts3.4/commands/ShutdownGatewayCommand.d.ts +14 -23
  380. package/dist-types/ts3.4/commands/StartAvailabilityMonitorTestCommand.d.ts +12 -24
  381. package/dist-types/ts3.4/commands/StartGatewayCommand.d.ts +14 -23
  382. package/dist-types/ts3.4/commands/UpdateAutomaticTapeCreationPolicyCommand.d.ts +12 -24
  383. package/dist-types/ts3.4/commands/UpdateBandwidthRateLimitCommand.d.ts +12 -24
  384. package/dist-types/ts3.4/commands/UpdateBandwidthRateLimitScheduleCommand.d.ts +12 -24
  385. package/dist-types/ts3.4/commands/UpdateChapCredentialsCommand.d.ts +12 -24
  386. package/dist-types/ts3.4/commands/UpdateFileSystemAssociationCommand.d.ts +12 -24
  387. package/dist-types/ts3.4/commands/UpdateGatewayInformationCommand.d.ts +12 -24
  388. package/dist-types/ts3.4/commands/UpdateGatewaySoftwareNowCommand.d.ts +12 -24
  389. package/dist-types/ts3.4/commands/UpdateMaintenanceStartTimeCommand.d.ts +12 -24
  390. package/dist-types/ts3.4/commands/UpdateNFSFileShareCommand.d.ts +14 -23
  391. package/dist-types/ts3.4/commands/UpdateSMBFileShareCommand.d.ts +14 -23
  392. package/dist-types/ts3.4/commands/UpdateSMBFileShareVisibilityCommand.d.ts +12 -24
  393. package/dist-types/ts3.4/commands/UpdateSMBLocalGroupsCommand.d.ts +12 -24
  394. package/dist-types/ts3.4/commands/UpdateSMBSecurityStrategyCommand.d.ts +12 -24
  395. package/dist-types/ts3.4/commands/UpdateSnapshotScheduleCommand.d.ts +12 -24
  396. package/dist-types/ts3.4/commands/UpdateVTLDeviceTypeCommand.d.ts +14 -23
  397. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  398. package/dist-types/ts3.4/pagination/DescribeTapeArchivesPaginator.d.ts +3 -3
  399. package/dist-types/ts3.4/pagination/DescribeTapeRecoveryPointsPaginator.d.ts +3 -3
  400. package/dist-types/ts3.4/pagination/DescribeTapesPaginator.d.ts +3 -3
  401. package/dist-types/ts3.4/pagination/DescribeVTLDevicesPaginator.d.ts +3 -3
  402. package/dist-types/ts3.4/pagination/ListFileSharesPaginator.d.ts +3 -3
  403. package/dist-types/ts3.4/pagination/ListFileSystemAssociationsPaginator.d.ts +3 -3
  404. package/dist-types/ts3.4/pagination/ListGatewaysPaginator.d.ts +3 -3
  405. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
  406. package/dist-types/ts3.4/pagination/ListTapePoolsPaginator.d.ts +3 -3
  407. package/dist-types/ts3.4/pagination/ListTapesPaginator.d.ts +3 -3
  408. package/dist-types/ts3.4/pagination/ListVolumesPaginator.d.ts +3 -3
  409. package/package.json +11 -10
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeTapeArchives = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeTapeArchivesCommand_1 = require("../commands/DescribeTapeArchivesCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeTapeArchivesCommand_1.DescribeTapeArchivesCommand(input), ...args);
8
- };
9
- async function* paginateDescribeTapeArchives(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeTapeArchives = paginateDescribeTapeArchives;
7
+ exports.paginateDescribeTapeArchives = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, DescribeTapeArchivesCommand_1.DescribeTapeArchivesCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeTapeRecoveryPoints = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeTapeRecoveryPointsCommand_1 = require("../commands/DescribeTapeRecoveryPointsCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeTapeRecoveryPointsCommand_1.DescribeTapeRecoveryPointsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeTapeRecoveryPoints(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeTapeRecoveryPoints = paginateDescribeTapeRecoveryPoints;
7
+ exports.paginateDescribeTapeRecoveryPoints = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, DescribeTapeRecoveryPointsCommand_1.DescribeTapeRecoveryPointsCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeTapes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeTapesCommand_1 = require("../commands/DescribeTapesCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeTapesCommand_1.DescribeTapesCommand(input), ...args);
8
- };
9
- async function* paginateDescribeTapes(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeTapes = paginateDescribeTapes;
7
+ exports.paginateDescribeTapes = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, DescribeTapesCommand_1.DescribeTapesCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeVTLDevices = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeVTLDevicesCommand_1 = require("../commands/DescribeVTLDevicesCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeVTLDevicesCommand_1.DescribeVTLDevicesCommand(input), ...args);
8
- };
9
- async function* paginateDescribeVTLDevices(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeVTLDevices = paginateDescribeVTLDevices;
7
+ exports.paginateDescribeVTLDevices = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, DescribeVTLDevicesCommand_1.DescribeVTLDevicesCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListFileShares = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListFileSharesCommand_1 = require("../commands/ListFileSharesCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListFileSharesCommand_1.ListFileSharesCommand(input), ...args);
8
- };
9
- async function* paginateListFileShares(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextMarker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListFileShares = paginateListFileShares;
7
+ exports.paginateListFileShares = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, ListFileSharesCommand_1.ListFileSharesCommand, "Marker", "NextMarker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListFileSystemAssociations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListFileSystemAssociationsCommand_1 = require("../commands/ListFileSystemAssociationsCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListFileSystemAssociationsCommand_1.ListFileSystemAssociationsCommand(input), ...args);
8
- };
9
- async function* paginateListFileSystemAssociations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextMarker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListFileSystemAssociations = paginateListFileSystemAssociations;
7
+ exports.paginateListFileSystemAssociations = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, ListFileSystemAssociationsCommand_1.ListFileSystemAssociationsCommand, "Marker", "NextMarker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListGateways = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListGatewaysCommand_1 = require("../commands/ListGatewaysCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListGatewaysCommand_1.ListGatewaysCommand(input), ...args);
8
- };
9
- async function* paginateListGateways(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListGateways = paginateListGateways;
7
+ exports.paginateListGateways = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, ListGatewaysCommand_1.ListGatewaysCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTagsForResource = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListTagsForResourceCommand_1 = require("../commands/ListTagsForResourceCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTagsForResourceCommand_1.ListTagsForResourceCommand(input), ...args);
8
- };
9
- async function* paginateListTagsForResource(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListTagsForResource = paginateListTagsForResource;
7
+ exports.paginateListTagsForResource = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, ListTagsForResourceCommand_1.ListTagsForResourceCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTapePools = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListTapePoolsCommand_1 = require("../commands/ListTapePoolsCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTapePoolsCommand_1.ListTapePoolsCommand(input), ...args);
8
- };
9
- async function* paginateListTapePools(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListTapePools = paginateListTapePools;
7
+ exports.paginateListTapePools = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, ListTapePoolsCommand_1.ListTapePoolsCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTapes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListTapesCommand_1 = require("../commands/ListTapesCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTapesCommand_1.ListTapesCommand(input), ...args);
8
- };
9
- async function* paginateListTapes(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListTapes = paginateListTapes;
7
+ exports.paginateListTapes = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, ListTapesCommand_1.ListTapesCommand, "Marker", "Marker", "Limit");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListVolumes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListVolumesCommand_1 = require("../commands/ListVolumesCommand");
5
6
  const StorageGatewayClient_1 = require("../StorageGatewayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListVolumesCommand_1.ListVolumesCommand(input), ...args);
8
- };
9
- async function* paginateListVolumes(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.Marker = token;
15
- input["Limit"] = config.pageSize;
16
- if (config.client instanceof StorageGatewayClient_1.StorageGatewayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.Marker;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListVolumes = paginateListVolumes;
7
+ exports.paginateListVolumes = (0, core_1.createPaginator)(StorageGatewayClient_1.StorageGatewayClient, ListVolumesCommand_1.ListVolumesCommand, "Marker", "Marker", "Limit");
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ActivateGatewayCommand, se_ActivateGatewayCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ActivateGatewayCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ActivateGatewayCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "StorageGatewayClient";
26
- const commandName = "ActivateGatewayCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "StorageGateway_20130630",
35
- operation: "ActivateGateway",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ActivateGatewayCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ActivateGatewayCommand(output, context);
46
- }
7
+ export class ActivateGatewayCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("StorageGateway_20130630", "ActivateGateway", {})
19
+ .n("StorageGatewayClient", "ActivateGatewayCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ActivateGatewayCommand)
22
+ .de(de_ActivateGatewayCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AddCacheCommand, se_AddCacheCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class AddCacheCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AddCacheCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "StorageGatewayClient";
26
- const commandName = "AddCacheCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "StorageGateway_20130630",
35
- operation: "AddCache",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AddCacheCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddCacheCommand(output, context);
46
- }
7
+ export class AddCacheCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("StorageGateway_20130630", "AddCache", {})
19
+ .n("StorageGatewayClient", "AddCacheCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddCacheCommand)
22
+ .de(de_AddCacheCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AddTagsToResourceCommand, se_AddTagsToResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class AddTagsToResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AddTagsToResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "StorageGatewayClient";
26
- const commandName = "AddTagsToResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "StorageGateway_20130630",
35
- operation: "AddTagsToResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AddTagsToResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddTagsToResourceCommand(output, context);
46
- }
7
+ export class AddTagsToResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("StorageGateway_20130630", "AddTagsToResource", {})
19
+ .n("StorageGatewayClient", "AddTagsToResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddTagsToResourceCommand)
22
+ .de(de_AddTagsToResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AddUploadBufferCommand, se_AddUploadBufferCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class AddUploadBufferCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AddUploadBufferCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "StorageGatewayClient";
26
- const commandName = "AddUploadBufferCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "StorageGateway_20130630",
35
- operation: "AddUploadBuffer",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AddUploadBufferCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddUploadBufferCommand(output, context);
46
- }
7
+ export class AddUploadBufferCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("StorageGateway_20130630", "AddUploadBuffer", {})
19
+ .n("StorageGatewayClient", "AddUploadBufferCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddUploadBufferCommand)
22
+ .de(de_AddUploadBufferCommand)
23
+ .build() {
47
24
  }