@aws/lsp-codewhisperer 0.0.86 → 0.0.89

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 (267) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/node_modules/@amzn/codewhisperer-runtime/README.md +78 -15
  3. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/CodeWhispererRuntimeClient.js +13 -10
  4. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/CreateArtifactUploadUrlCommand.js +4 -0
  5. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/CreateSubscriptionTokenCommand.js +4 -0
  6. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/CreateTaskAssistConversationCommand.js +4 -0
  7. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/CreateUploadUrlCommand.js +4 -0
  8. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/CreateUserMemoryEntryCommand.js +4 -0
  9. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/CreateWorkspaceCommand.js +4 -0
  10. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/DeleteTaskAssistConversationCommand.js +4 -0
  11. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/DeleteUserMemoryEntryCommand.js +4 -0
  12. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/DeleteWorkspaceCommand.js +4 -0
  13. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GenerateCompletionsCommand.js +4 -0
  14. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetCodeAnalysisCommand.js +4 -0
  15. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetCodeFixJobCommand.js +4 -0
  16. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetProfileCommand.js +4 -0
  17. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetRetrievalsCommand.js +4 -0
  18. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetTaskAssistCodeGenerationCommand.js +6 -2
  19. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetTestGenerationCommand.js +4 -0
  20. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetTransformationCommand.js +4 -0
  21. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetTransformationPlanCommand.js +4 -0
  22. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/GetUsageLimitsCommand.js +4 -0
  23. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListAvailableCustomizationsCommand.js +4 -0
  24. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListAvailableModelsCommand.js +4 -0
  25. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListAvailableProfilesCommand.js +4 -0
  26. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListAvailableSubscriptionsCommand.js +4 -0
  27. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListCodeAnalysisFindingsCommand.js +4 -0
  28. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListEventsCommand.js +4 -0
  29. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListFeatureEvaluationsCommand.js +4 -0
  30. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListUserMemoryEntriesCommand.js +4 -0
  31. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ListWorkspaceMetadataCommand.js +4 -0
  32. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/PushTelemetryEventCommand.js +4 -0
  33. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/ResumeTransformationCommand.js +4 -0
  34. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/SendTelemetryEventCommand.js +4 -0
  35. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/SetUserPreferenceCommand.js +4 -0
  36. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/StartCodeAnalysisCommand.js +4 -0
  37. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/StartCodeFixJobCommand.js +4 -0
  38. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/StartTaskAssistCodeGenerationCommand.js +4 -0
  39. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/StartTestGenerationCommand.js +4 -0
  40. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/StartTransformationCommand.js +4 -0
  41. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/StopTransformationCommand.js +4 -0
  42. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/commands/UpdateUsageLimitsCommand.js +4 -0
  43. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/endpoint/EndpointParameters.js +15 -0
  44. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/endpoint/endpointResolver.js +19 -0
  45. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/endpoint/ruleset.js +61 -0
  46. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/models/models_0.js +52 -43
  47. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/models/models_1.js +7 -1
  48. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/protocols/Aws_restJson1.js +23 -2
  49. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/runtimeConfig.shared.js +2 -2
  50. package/node_modules/@amzn/codewhisperer-runtime/dist-es/CodeWhispererRuntimeClient.js +15 -12
  51. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/CreateArtifactUploadUrlCommand.js +4 -0
  52. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/CreateSubscriptionTokenCommand.js +4 -0
  53. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/CreateTaskAssistConversationCommand.js +4 -0
  54. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/CreateUploadUrlCommand.js +4 -0
  55. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/CreateUserMemoryEntryCommand.js +4 -0
  56. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/CreateWorkspaceCommand.js +4 -0
  57. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/DeleteTaskAssistConversationCommand.js +4 -0
  58. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/DeleteUserMemoryEntryCommand.js +4 -0
  59. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/DeleteWorkspaceCommand.js +4 -0
  60. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GenerateCompletionsCommand.js +4 -0
  61. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetCodeAnalysisCommand.js +4 -0
  62. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetCodeFixJobCommand.js +4 -0
  63. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetProfileCommand.js +4 -0
  64. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetRetrievalsCommand.js +4 -0
  65. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetTaskAssistCodeGenerationCommand.js +5 -1
  66. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetTestGenerationCommand.js +4 -0
  67. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetTransformationCommand.js +4 -0
  68. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetTransformationPlanCommand.js +4 -0
  69. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/GetUsageLimitsCommand.js +4 -0
  70. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListAvailableCustomizationsCommand.js +4 -0
  71. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListAvailableModelsCommand.js +4 -0
  72. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListAvailableProfilesCommand.js +4 -0
  73. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListAvailableSubscriptionsCommand.js +4 -0
  74. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListCodeAnalysisFindingsCommand.js +4 -0
  75. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListEventsCommand.js +4 -0
  76. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListFeatureEvaluationsCommand.js +4 -0
  77. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListUserMemoryEntriesCommand.js +4 -0
  78. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ListWorkspaceMetadataCommand.js +4 -0
  79. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/PushTelemetryEventCommand.js +4 -0
  80. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/ResumeTransformationCommand.js +4 -0
  81. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/SendTelemetryEventCommand.js +4 -0
  82. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/SetUserPreferenceCommand.js +4 -0
  83. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/StartCodeAnalysisCommand.js +4 -0
  84. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/StartCodeFixJobCommand.js +4 -0
  85. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/StartTaskAssistCodeGenerationCommand.js +4 -0
  86. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/StartTestGenerationCommand.js +4 -0
  87. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/StartTransformationCommand.js +4 -0
  88. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/StopTransformationCommand.js +4 -0
  89. package/node_modules/@amzn/codewhisperer-runtime/dist-es/commands/UpdateUsageLimitsCommand.js +4 -0
  90. package/node_modules/@amzn/codewhisperer-runtime/dist-es/endpoint/EndpointParameters.js +11 -0
  91. package/node_modules/@amzn/codewhisperer-runtime/dist-es/endpoint/endpointResolver.js +15 -0
  92. package/node_modules/@amzn/codewhisperer-runtime/dist-es/endpoint/ruleset.js +58 -0
  93. package/node_modules/@amzn/codewhisperer-runtime/dist-es/models/models_0.js +47 -37
  94. package/node_modules/@amzn/codewhisperer-runtime/dist-es/models/models_1.js +5 -0
  95. package/node_modules/@amzn/codewhisperer-runtime/dist-es/protocols/Aws_restJson1.js +23 -2
  96. package/node_modules/@amzn/codewhisperer-runtime/dist-es/runtimeConfig.shared.js +2 -2
  97. package/node_modules/@amzn/codewhisperer-runtime/dist-types/CodeWhispererRuntimeClient.d.ts +6 -9
  98. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/CreateArtifactUploadUrlCommand.d.ts +7 -7
  99. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/CreateSubscriptionTokenCommand.d.ts +8 -6
  100. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/CreateTaskAssistConversationCommand.d.ts +4 -4
  101. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/CreateUploadUrlCommand.d.ts +11 -11
  102. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/CreateUserMemoryEntryCommand.d.ts +10 -10
  103. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/CreateWorkspaceCommand.d.ts +8 -8
  104. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/DeleteTaskAssistConversationCommand.d.ts +5 -4
  105. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/DeleteUserMemoryEntryCommand.d.ts +4 -4
  106. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/DeleteWorkspaceCommand.d.ts +6 -6
  107. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GenerateCompletionsCommand.d.ts +6 -6
  108. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetCodeAnalysisCommand.d.ts +8 -8
  109. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetCodeFixJobCommand.d.ts +7 -7
  110. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetProfileCommand.d.ts +10 -6
  111. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetRetrievalsCommand.d.ts +6 -6
  112. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetTaskAssistCodeGenerationCommand.d.ts +6 -6
  113. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetTestGenerationCommand.d.ts +4 -4
  114. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetTransformationCommand.d.ts +5 -5
  115. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetTransformationPlanCommand.d.ts +5 -5
  116. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/GetUsageLimitsCommand.d.ts +6 -6
  117. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListAvailableCustomizationsCommand.d.ts +6 -6
  118. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListAvailableModelsCommand.d.ts +10 -6
  119. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListAvailableProfilesCommand.d.ts +9 -6
  120. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListAvailableSubscriptionsCommand.d.ts +3 -3
  121. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListCodeAnalysisFindingsCommand.d.ts +6 -6
  122. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListEventsCommand.d.ts +6 -6
  123. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListFeatureEvaluationsCommand.d.ts +6 -6
  124. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListUserMemoryEntriesCommand.d.ts +4 -4
  125. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ListWorkspaceMetadataCommand.d.ts +6 -6
  126. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/PushTelemetryEventCommand.d.ts +6 -6
  127. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/ResumeTransformationCommand.d.ts +5 -5
  128. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/SendTelemetryEventCommand.d.ts +7 -6
  129. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/SetUserPreferenceCommand.d.ts +6 -6
  130. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/StartCodeAnalysisCommand.d.ts +8 -8
  131. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/StartCodeFixJobCommand.d.ts +7 -7
  132. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/StartTaskAssistCodeGenerationCommand.d.ts +8 -8
  133. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/StartTestGenerationCommand.d.ts +7 -7
  134. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/StartTransformationCommand.d.ts +5 -5
  135. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/StopTransformationCommand.d.ts +5 -5
  136. package/node_modules/@amzn/codewhisperer-runtime/dist-types/commands/UpdateUsageLimitsCommand.d.ts +8 -8
  137. package/node_modules/@amzn/codewhisperer-runtime/dist-types/endpoint/EndpointParameters.d.ts +28 -0
  138. package/node_modules/@amzn/codewhisperer-runtime/dist-types/endpoint/endpointResolver.d.ts +5 -0
  139. package/node_modules/@amzn/codewhisperer-runtime/dist-types/endpoint/ruleset.d.ts +2 -0
  140. package/node_modules/@amzn/codewhisperer-runtime/dist-types/index.d.ts +1 -0
  141. package/node_modules/@amzn/codewhisperer-runtime/dist-types/models/models_0.d.ts +151 -131
  142. package/node_modules/@amzn/codewhisperer-runtime/dist-types/models/models_1.d.ts +52 -1
  143. package/node_modules/@amzn/codewhisperer-runtime/dist-types/runtimeConfig.browser.d.ts +5 -2
  144. package/node_modules/@amzn/codewhisperer-runtime/dist-types/runtimeConfig.d.ts +5 -2
  145. package/node_modules/@amzn/codewhisperer-runtime/dist-types/runtimeConfig.native.d.ts +5 -2
  146. package/node_modules/@amzn/codewhisperer-runtime/dist-types/runtimeConfig.shared.d.ts +3 -1
  147. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
  148. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
  149. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +423 -0
  150. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +229 -0
  151. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
  152. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +5 -0
  153. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
  154. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
  155. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
  156. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
  157. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +229 -0
  158. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
  159. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
  160. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
  161. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
  162. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
  163. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
  164. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
  165. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
  166. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
  167. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
  168. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +5 -0
  169. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
  170. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
  171. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
  172. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
  173. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
  174. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
  175. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
  176. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +5 -0
  177. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
  178. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
  179. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
  180. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
  181. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
  182. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
  183. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
  184. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
  185. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
  186. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
  187. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
  188. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
  189. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
  190. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
  191. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
  192. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
  193. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
  194. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
  195. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
  196. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
  197. package/node_modules/@amzn/codewhisperer-runtime/node_modules/@aws-sdk/util-endpoints/package.json +58 -0
  198. package/node_modules/@amzn/codewhisperer-runtime/package.json +3 -0
  199. package/out/language-server/agenticChat/agenticChatController.d.ts +7 -0
  200. package/out/language-server/agenticChat/agenticChatController.js +77 -14
  201. package/out/language-server/agenticChat/agenticChatController.js.map +1 -1
  202. package/out/language-server/agenticChat/context/contextCommandsProvider.d.ts +6 -0
  203. package/out/language-server/agenticChat/context/contextCommandsProvider.js +24 -0
  204. package/out/language-server/agenticChat/context/contextCommandsProvider.js.map +1 -1
  205. package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.d.ts +7 -0
  206. package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.js +202 -34
  207. package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.js.map +1 -1
  208. package/out/language-server/agenticChat/tools/mcp/mcpManager.d.ts +4 -0
  209. package/out/language-server/agenticChat/tools/mcp/mcpManager.js +19 -6
  210. package/out/language-server/agenticChat/tools/mcp/mcpManager.js.map +1 -1
  211. package/out/language-server/agenticChat/tools/mcp/mcpUtils.js +2 -2
  212. package/out/language-server/agenticChat/tools/mcp/mcpUtils.js.map +1 -1
  213. package/out/language-server/agenticChat/tools/mcp/profileStatusMonitor.d.ts +6 -0
  214. package/out/language-server/agenticChat/tools/mcp/profileStatusMonitor.js +6 -0
  215. package/out/language-server/agenticChat/tools/mcp/profileStatusMonitor.js.map +1 -1
  216. package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReview.d.ts +2 -1
  217. package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReview.js +8 -3
  218. package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReview.js.map +1 -1
  219. package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReviewSchemas.d.ts +4 -1
  220. package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReviewSchemas.js +4 -2
  221. package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReviewSchemas.js.map +1 -1
  222. package/out/language-server/agenticChat/tools/qCodeAnalysis/codeReviewTypes.d.ts +1 -0
  223. package/out/language-server/agenticChat/tools/toolServer.js +1 -1
  224. package/out/language-server/agenticChat/tools/toolServer.js.map +1 -1
  225. package/out/language-server/inline-completion/auto-trigger/autoTrigger.js +2 -2
  226. package/out/language-server/inline-completion/auto-trigger/autoTrigger.js.map +1 -1
  227. package/out/language-server/inline-completion/auto-trigger/editPredictionAutoTrigger.d.ts +44 -1
  228. package/out/language-server/inline-completion/auto-trigger/editPredictionAutoTrigger.js +335 -1
  229. package/out/language-server/inline-completion/auto-trigger/editPredictionAutoTrigger.js.map +1 -1
  230. package/out/language-server/inline-completion/handler/editCompletionHandler.js +54 -58
  231. package/out/language-server/inline-completion/handler/editCompletionHandler.js.map +1 -1
  232. package/out/language-server/inline-completion/handler/inlineCompletionHandler.js +8 -3
  233. package/out/language-server/inline-completion/handler/inlineCompletionHandler.js.map +1 -1
  234. package/out/language-server/inline-completion/handler/sessionResultsHandler.js +15 -2
  235. package/out/language-server/inline-completion/handler/sessionResultsHandler.js.map +1 -1
  236. package/out/language-server/inline-completion/session/sessionManager.d.ts +5 -0
  237. package/out/language-server/inline-completion/session/sessionManager.js +16 -0
  238. package/out/language-server/inline-completion/session/sessionManager.js.map +1 -1
  239. package/out/language-server/inline-completion/telemetry/telemetry.d.ts +4 -4
  240. package/out/language-server/inline-completion/telemetry/telemetry.js +6 -6
  241. package/out/language-server/inline-completion/telemetry/telemetry.js.map +1 -1
  242. package/out/language-server/inline-completion/utils/triggerUtils.d.ts +11 -3
  243. package/out/language-server/inline-completion/utils/triggerUtils.js +58 -0
  244. package/out/language-server/inline-completion/utils/triggerUtils.js.map +1 -1
  245. package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js +5 -1
  246. package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js.map +1 -1
  247. package/out/shared/codeWhispererService.d.ts +26 -10
  248. package/out/shared/codeWhispererService.js +114 -25
  249. package/out/shared/codeWhispererService.js.map +1 -1
  250. package/out/shared/constants.js +3 -0
  251. package/out/shared/constants.js.map +1 -1
  252. package/out/shared/localProjectContextController.d.ts +1 -0
  253. package/out/shared/localProjectContextController.js +4 -0
  254. package/out/shared/localProjectContextController.js.map +1 -1
  255. package/out/shared/supplementalContextUtil/crossFileContextUtil.d.ts +3 -3
  256. package/out/shared/supplementalContextUtil/crossFileContextUtil.js +9 -9
  257. package/out/shared/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
  258. package/out/shared/supplementalContextUtil/supplementalContextUtil.d.ts +1 -1
  259. package/out/shared/supplementalContextUtil/supplementalContextUtil.js +2 -2
  260. package/out/shared/supplementalContextUtil/supplementalContextUtil.js.map +1 -1
  261. package/out/shared/telemetry/telemetryService.d.ts +2 -2
  262. package/out/shared/telemetry/telemetryService.js +4 -2
  263. package/out/shared/telemetry/telemetryService.js.map +1 -1
  264. package/package.json +4 -4
  265. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/endpoints.js +0 -211
  266. package/node_modules/@amzn/codewhisperer-runtime/dist-es/endpoints.js +0 -207
  267. package/node_modules/@amzn/codewhisperer-runtime/dist-types/endpoints.d.ts +0 -2
@@ -1,15 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetUsageLimitsCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const models_0_1 = require("../models/models_0");
5
6
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
7
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
8
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
9
  const smithy_client_1 = require("@smithy/smithy-client");
8
10
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
11
  class GetUsageLimitsCommand extends smithy_client_1.Command.classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
13
17
  ];
14
18
  })
15
19
  .s("AmazonCodeWhispererService", "GetUsageLimits", {})
@@ -1,14 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListAvailableCustomizationsCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
7
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
8
  const smithy_client_1 = require("@smithy/smithy-client");
7
9
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
10
  class ListAvailableCustomizationsCommand extends smithy_client_1.Command.classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
13
  return [
11
14
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
15
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
12
16
  ];
13
17
  })
14
18
  .s("AmazonCodeWhispererService", "ListAvailableCustomizations", {})
@@ -1,14 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListAvailableModelsCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
7
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
8
  const smithy_client_1 = require("@smithy/smithy-client");
7
9
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
10
  class ListAvailableModelsCommand extends smithy_client_1.Command.classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
13
  return [
11
14
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
15
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
12
16
  ];
13
17
  })
14
18
  .s("AmazonCodeWhispererService", "ListAvailableModels", {})
@@ -1,14 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListAvailableProfilesCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
7
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
8
  const smithy_client_1 = require("@smithy/smithy-client");
7
9
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
10
  class ListAvailableProfilesCommand extends smithy_client_1.Command.classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
13
  return [
11
14
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
15
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
12
16
  ];
13
17
  })
14
18
  .s("AmazonCodeWhispererService", "ListAvailableProfiles", {})
@@ -1,14 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListAvailableSubscriptionsCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
7
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
8
  const smithy_client_1 = require("@smithy/smithy-client");
7
9
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
10
  class ListAvailableSubscriptionsCommand extends smithy_client_1.Command.classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
13
  return [
11
14
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
15
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
12
16
  ];
13
17
  })
14
18
  .s("AmazonCodeWhispererService", "ListAvailableSubscriptions", {})
@@ -1,15 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListCodeAnalysisFindingsCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const models_0_1 = require("../models/models_0");
5
6
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
7
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
8
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
9
  const smithy_client_1 = require("@smithy/smithy-client");
8
10
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
11
  class ListCodeAnalysisFindingsCommand extends smithy_client_1.Command.classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
13
17
  ];
14
18
  })
15
19
  .s("AmazonCodeWhispererService", "ListCodeAnalysisFindings", {})
@@ -1,15 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListEventsCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const models_0_1 = require("../models/models_0");
5
6
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
7
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
8
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
9
  const smithy_client_1 = require("@smithy/smithy-client");
8
10
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
11
  class ListEventsCommand extends smithy_client_1.Command.classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
13
17
  ];
14
18
  })
15
19
  .s("AmazonCodeWhispererService", "ListEvents", {})
@@ -1,14 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListFeatureEvaluationsCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
7
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
8
  const smithy_client_1 = require("@smithy/smithy-client");
7
9
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
10
  class ListFeatureEvaluationsCommand extends smithy_client_1.Command.classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
13
  return [
11
14
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
15
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
12
16
  ];
13
17
  })
14
18
  .s("AmazonCodeWhispererService", "ListFeatureEvaluations", {})
@@ -1,15 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListUserMemoryEntriesCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const models_0_1 = require("../models/models_0");
5
6
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
7
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
8
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
9
  const smithy_client_1 = require("@smithy/smithy-client");
8
10
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
11
  class ListUserMemoryEntriesCommand extends smithy_client_1.Command.classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
13
17
  ];
14
18
  })
15
19
  .s("AmazonCodeWhispererService", "ListUserMemoryEntries", {})
@@ -1,15 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListWorkspaceMetadataCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const models_1_1 = require("../models/models_1");
5
6
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
7
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
8
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
9
  const smithy_client_1 = require("@smithy/smithy-client");
8
10
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
11
  class ListWorkspaceMetadataCommand extends smithy_client_1.Command.classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
13
17
  ];
14
18
  })
15
19
  .s("AmazonCodeWhispererService", "ListWorkspaceMetadata", {})
@@ -1,14 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PushTelemetryEventCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
7
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
8
  const smithy_client_1 = require("@smithy/smithy-client");
7
9
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
10
  class PushTelemetryEventCommand extends smithy_client_1.Command.classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
13
  return [
11
14
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
15
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
12
16
  ];
13
17
  })
14
18
  .s("AmazonCodeWhispererService", "PushTelemetryEvent", {})
@@ -1,14 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ResumeTransformationCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
7
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
8
  const smithy_client_1 = require("@smithy/smithy-client");
7
9
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
10
  class ResumeTransformationCommand extends smithy_client_1.Command.classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
13
  return [
11
14
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
15
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
12
16
  ];
13
17
  })
14
18
  .s("AmazonCodeWhispererService", "ResumeTransformation", {})
@@ -1,15 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SendTelemetryEventCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const models_0_1 = require("../models/models_0");
5
6
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
7
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
8
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
9
  const smithy_client_1 = require("@smithy/smithy-client");
8
10
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
11
  class SendTelemetryEventCommand extends smithy_client_1.Command.classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
13
17
  ];
14
18
  })
15
19
  .s("AmazonCodeWhispererService", "SendTelemetryEvent", {})
@@ -1,14 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SetUserPreferenceCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
7
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
8
  const smithy_client_1 = require("@smithy/smithy-client");
7
9
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
10
  class SetUserPreferenceCommand extends smithy_client_1.Command.classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
13
  return [
11
14
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
15
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
12
16
  ];
13
17
  })
14
18
  .s("AmazonCodeWhispererService", "SetUserPreference", {})
@@ -1,15 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StartCodeAnalysisCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const models_0_1 = require("../models/models_0");
5
6
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
7
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
8
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
9
  const smithy_client_1 = require("@smithy/smithy-client");
8
10
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
11
  class StartCodeAnalysisCommand extends smithy_client_1.Command.classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
13
17
  ];
14
18
  })
15
19
  .s("AmazonCodeWhispererService", "StartCodeAnalysis", {})
@@ -1,15 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StartCodeFixJobCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const models_0_1 = require("../models/models_0");
5
6
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
7
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
8
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
9
  const smithy_client_1 = require("@smithy/smithy-client");
8
10
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
11
  class StartCodeFixJobCommand extends smithy_client_1.Command.classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
13
17
  ];
14
18
  })
15
19
  .s("AmazonCodeWhispererService", "StartCodeFixJob", {})
@@ -1,15 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StartTaskAssistCodeGenerationCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const models_1_1 = require("../models/models_1");
5
6
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
7
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
8
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
9
  const smithy_client_1 = require("@smithy/smithy-client");
8
10
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
11
  class StartTaskAssistCodeGenerationCommand extends smithy_client_1.Command.classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
13
17
  ];
14
18
  })
15
19
  .s("AmazonCodeWhispererService", "StartTaskAssistCodeGeneration", {})
@@ -1,15 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StartTestGenerationCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const models_0_1 = require("../models/models_0");
5
6
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
7
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
8
  const middleware_serde_1 = require("@smithy/middleware-serde");
7
9
  const smithy_client_1 = require("@smithy/smithy-client");
8
10
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
11
  class StartTestGenerationCommand extends smithy_client_1.Command.classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
13
17
  ];
14
18
  })
15
19
  .s("AmazonCodeWhispererService", "StartTestGeneration", {})
@@ -1,14 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StartTransformationCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
7
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
8
  const smithy_client_1 = require("@smithy/smithy-client");
7
9
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
10
  class StartTransformationCommand extends smithy_client_1.Command.classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
13
  return [
11
14
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
15
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
12
16
  ];
13
17
  })
14
18
  .s("AmazonCodeWhispererService", "StartTransformation", {})
@@ -1,14 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StopTransformationCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
7
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
8
  const smithy_client_1 = require("@smithy/smithy-client");
7
9
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
10
  class StopTransformationCommand extends smithy_client_1.Command.classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
13
  return [
11
14
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
15
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
12
16
  ];
13
17
  })
14
18
  .s("AmazonCodeWhispererService", "StopTransformation", {})
@@ -1,14 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateUsageLimitsCommand = exports.$Command = void 0;
4
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
4
5
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
7
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
8
  const smithy_client_1 = require("@smithy/smithy-client");
7
9
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
10
  class UpdateUsageLimitsCommand extends smithy_client_1.Command.classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
13
  return [
11
14
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
15
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
12
16
  ];
13
17
  })
14
18
  .s("AmazonCodeWhispererService", "UpdateUsageLimits", {})
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
+ const resolveClientEndpointParameters = (options) => {
5
+ return {
6
+ ...options,
7
+ region: options.region ?? "us-east-1",
8
+ defaultSigningName: "amazoncodewhispererservice",
9
+ };
10
+ };
11
+ exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
12
+ exports.commonParams = {
13
+ endpoint: { type: "builtInParams", name: "endpoint" },
14
+ region: { type: "builtInParams", name: "region" },
15
+ };
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultEndpointResolver = void 0;
4
+ const ruleset_1 = require("./ruleset");
5
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
6
+ const util_endpoints_2 = require("@smithy/util-endpoints");
7
+ const cache = new util_endpoints_2.EndpointCache({
8
+ size: 50,
9
+ params: ["endpoint",
10
+ "region"]
11
+ });
12
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
13
+ return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
14
+ endpointParams: endpointParams,
15
+ logger: context.logger,
16
+ }));
17
+ };
18
+ exports.defaultEndpointResolver = defaultEndpointResolver;
19
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ruleSet = void 0;
4
+ exports.ruleSet = {
5
+ "version": "1.0",
6
+ "parameters": {
7
+ "endpoint": {
8
+ "documentation": "This has a value if clients provide an explicit URL to be used",
9
+ "type": "string",
10
+ "builtIn": "SDK::Endpoint",
11
+ },
12
+ "region": {
13
+ "documentation": "The region of the service",
14
+ "required": true,
15
+ "type": "string",
16
+ "builtIn": "AWS::Region",
17
+ "default": "us-east-1",
18
+ },
19
+ },
20
+ "rules": [
21
+ {
22
+ "type": "endpoint",
23
+ "conditions": [
24
+ {
25
+ "fn": "isSet",
26
+ "argv": [
27
+ {
28
+ "ref": "endpoint",
29
+ },
30
+ ],
31
+ },
32
+ ],
33
+ "endpoint": {
34
+ "url": "{endpoint}",
35
+ "properties": {
36
+ "authSchemes": [
37
+ {
38
+ "name": "sigv4",
39
+ "signingRegion": "{region}",
40
+ },
41
+ ],
42
+ },
43
+ },
44
+ },
45
+ {
46
+ "type": "endpoint",
47
+ "conditions": [],
48
+ "endpoint": {
49
+ "url": "https://codewhisperer.{region}.amazonaws.com",
50
+ "properties": {
51
+ "authSchemes": [
52
+ {
53
+ "name": "sigv4",
54
+ "signingRegion": "{region}",
55
+ },
56
+ ],
57
+ },
58
+ },
59
+ },
60
+ ],
61
+ };