@aws/lsp-codewhisperer 0.0.88 → 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 (239) hide show
  1. package/CHANGELOG.md +13 -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 +75 -14
  201. package/out/language-server/agenticChat/agenticChatController.js.map +1 -1
  202. package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.d.ts +7 -0
  203. package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.js +202 -34
  204. package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.js.map +1 -1
  205. package/out/language-server/agenticChat/tools/mcp/mcpManager.d.ts +4 -0
  206. package/out/language-server/agenticChat/tools/mcp/mcpManager.js +19 -6
  207. package/out/language-server/agenticChat/tools/mcp/mcpManager.js.map +1 -1
  208. package/out/language-server/agenticChat/tools/mcp/profileStatusMonitor.d.ts +6 -0
  209. package/out/language-server/agenticChat/tools/mcp/profileStatusMonitor.js +6 -0
  210. package/out/language-server/agenticChat/tools/mcp/profileStatusMonitor.js.map +1 -1
  211. package/out/language-server/agenticChat/tools/toolServer.js +1 -1
  212. package/out/language-server/agenticChat/tools/toolServer.js.map +1 -1
  213. package/out/language-server/inline-completion/handler/editCompletionHandler.js +8 -2
  214. package/out/language-server/inline-completion/handler/editCompletionHandler.js.map +1 -1
  215. package/out/language-server/inline-completion/handler/inlineCompletionHandler.js +7 -2
  216. package/out/language-server/inline-completion/handler/inlineCompletionHandler.js.map +1 -1
  217. package/out/language-server/inline-completion/handler/sessionResultsHandler.js +15 -2
  218. package/out/language-server/inline-completion/handler/sessionResultsHandler.js.map +1 -1
  219. package/out/language-server/inline-completion/telemetry/telemetry.d.ts +4 -4
  220. package/out/language-server/inline-completion/telemetry/telemetry.js +6 -6
  221. package/out/language-server/inline-completion/telemetry/telemetry.js.map +1 -1
  222. package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js +5 -1
  223. package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js.map +1 -1
  224. package/out/shared/codeWhispererService.d.ts +10 -3
  225. package/out/shared/codeWhispererService.js +63 -2
  226. package/out/shared/codeWhispererService.js.map +1 -1
  227. package/out/shared/supplementalContextUtil/crossFileContextUtil.d.ts +3 -3
  228. package/out/shared/supplementalContextUtil/crossFileContextUtil.js +9 -9
  229. package/out/shared/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
  230. package/out/shared/supplementalContextUtil/supplementalContextUtil.d.ts +1 -1
  231. package/out/shared/supplementalContextUtil/supplementalContextUtil.js +2 -2
  232. package/out/shared/supplementalContextUtil/supplementalContextUtil.js.map +1 -1
  233. package/out/shared/telemetry/telemetryService.d.ts +2 -2
  234. package/out/shared/telemetry/telemetryService.js +4 -2
  235. package/out/shared/telemetry/telemetryService.js.map +1 -1
  236. package/package.json +2 -2
  237. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/endpoints.js +0 -211
  238. package/node_modules/@amzn/codewhisperer-runtime/dist-es/endpoints.js +0 -207
  239. package/node_modules/@amzn/codewhisperer-runtime/dist-types/endpoints.d.ts +0 -2
@@ -1,11 +1,15 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { de_GetTransformationCommand, se_GetTransformationCommand, } from "../protocols/Aws_restJson1";
3
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
5
  import { Command as $Command } from "@smithy/smithy-client";
4
6
  export { $Command };
5
7
  export class GetTransformationCommand extends $Command.classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
10
  return [
8
11
  getSerdePlugin(config, this.serialize, this.deserialize),
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
9
13
  ];
10
14
  })
11
15
  .s("AmazonCodeWhispererService", "GetTransformation", {})
@@ -1,11 +1,15 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { de_GetTransformationPlanCommand, se_GetTransformationPlanCommand, } from "../protocols/Aws_restJson1";
3
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
5
  import { Command as $Command } from "@smithy/smithy-client";
4
6
  export { $Command };
5
7
  export class GetTransformationPlanCommand extends $Command.classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
10
  return [
8
11
  getSerdePlugin(config, this.serialize, this.deserialize),
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
9
13
  ];
10
14
  })
11
15
  .s("AmazonCodeWhispererService", "GetTransformationPlan", {})
@@ -1,12 +1,16 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { GetUsageLimitsResponseFilterSensitiveLog, } from "../models/models_0";
2
3
  import { de_GetUsageLimitsCommand, se_GetUsageLimitsCommand, } from "../protocols/Aws_restJson1";
4
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
5
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
6
  import { Command as $Command } from "@smithy/smithy-client";
5
7
  export { $Command };
6
8
  export class GetUsageLimitsCommand extends $Command.classBuilder()
9
+ .ep(commonParams)
7
10
  .m(function (Command, cs, config, o) {
8
11
  return [
9
12
  getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
10
14
  ];
11
15
  })
12
16
  .s("AmazonCodeWhispererService", "GetUsageLimits", {})
@@ -1,11 +1,15 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { de_ListAvailableCustomizationsCommand, se_ListAvailableCustomizationsCommand, } from "../protocols/Aws_restJson1";
3
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
5
  import { Command as $Command } from "@smithy/smithy-client";
4
6
  export { $Command };
5
7
  export class ListAvailableCustomizationsCommand extends $Command.classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
10
  return [
8
11
  getSerdePlugin(config, this.serialize, this.deserialize),
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
9
13
  ];
10
14
  })
11
15
  .s("AmazonCodeWhispererService", "ListAvailableCustomizations", {})
@@ -1,11 +1,15 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { de_ListAvailableModelsCommand, se_ListAvailableModelsCommand, } from "../protocols/Aws_restJson1";
3
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
5
  import { Command as $Command } from "@smithy/smithy-client";
4
6
  export { $Command };
5
7
  export class ListAvailableModelsCommand extends $Command.classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
10
  return [
8
11
  getSerdePlugin(config, this.serialize, this.deserialize),
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
9
13
  ];
10
14
  })
11
15
  .s("AmazonCodeWhispererService", "ListAvailableModels", {})
@@ -1,11 +1,15 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { de_ListAvailableProfilesCommand, se_ListAvailableProfilesCommand, } from "../protocols/Aws_restJson1";
3
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
5
  import { Command as $Command } from "@smithy/smithy-client";
4
6
  export { $Command };
5
7
  export class ListAvailableProfilesCommand extends $Command.classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
10
  return [
8
11
  getSerdePlugin(config, this.serialize, this.deserialize),
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
9
13
  ];
10
14
  })
11
15
  .s("AmazonCodeWhispererService", "ListAvailableProfiles", {})
@@ -1,11 +1,15 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { de_ListAvailableSubscriptionsCommand, se_ListAvailableSubscriptionsCommand, } from "../protocols/Aws_restJson1";
3
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
5
  import { Command as $Command } from "@smithy/smithy-client";
4
6
  export { $Command };
5
7
  export class ListAvailableSubscriptionsCommand extends $Command.classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
10
  return [
8
11
  getSerdePlugin(config, this.serialize, this.deserialize),
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
9
13
  ];
10
14
  })
11
15
  .s("AmazonCodeWhispererService", "ListAvailableSubscriptions", {})
@@ -1,12 +1,16 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { ListCodeAnalysisFindingsResponseFilterSensitiveLog, } from "../models/models_0";
2
3
  import { de_ListCodeAnalysisFindingsCommand, se_ListCodeAnalysisFindingsCommand, } from "../protocols/Aws_restJson1";
4
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
5
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
6
  import { Command as $Command } from "@smithy/smithy-client";
5
7
  export { $Command };
6
8
  export class ListCodeAnalysisFindingsCommand extends $Command.classBuilder()
9
+ .ep(commonParams)
7
10
  .m(function (Command, cs, config, o) {
8
11
  return [
9
12
  getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
10
14
  ];
11
15
  })
12
16
  .s("AmazonCodeWhispererService", "ListCodeAnalysisFindings", {})
@@ -1,12 +1,16 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { ListEventsResponseFilterSensitiveLog, } from "../models/models_0";
2
3
  import { de_ListEventsCommand, se_ListEventsCommand, } from "../protocols/Aws_restJson1";
4
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
5
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
6
  import { Command as $Command } from "@smithy/smithy-client";
5
7
  export { $Command };
6
8
  export class ListEventsCommand extends $Command.classBuilder()
9
+ .ep(commonParams)
7
10
  .m(function (Command, cs, config, o) {
8
11
  return [
9
12
  getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
10
14
  ];
11
15
  })
12
16
  .s("AmazonCodeWhispererService", "ListEvents", {})
@@ -1,11 +1,15 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { de_ListFeatureEvaluationsCommand, se_ListFeatureEvaluationsCommand, } from "../protocols/Aws_restJson1";
3
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
5
  import { Command as $Command } from "@smithy/smithy-client";
4
6
  export { $Command };
5
7
  export class ListFeatureEvaluationsCommand extends $Command.classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
10
  return [
8
11
  getSerdePlugin(config, this.serialize, this.deserialize),
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
9
13
  ];
10
14
  })
11
15
  .s("AmazonCodeWhispererService", "ListFeatureEvaluations", {})
@@ -1,12 +1,16 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { ListUserMemoryEntriesOutputFilterSensitiveLog, } from "../models/models_0";
2
3
  import { de_ListUserMemoryEntriesCommand, se_ListUserMemoryEntriesCommand, } from "../protocols/Aws_restJson1";
4
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
5
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
6
  import { Command as $Command } from "@smithy/smithy-client";
5
7
  export { $Command };
6
8
  export class ListUserMemoryEntriesCommand extends $Command.classBuilder()
9
+ .ep(commonParams)
7
10
  .m(function (Command, cs, config, o) {
8
11
  return [
9
12
  getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
10
14
  ];
11
15
  })
12
16
  .s("AmazonCodeWhispererService", "ListUserMemoryEntries", {})
@@ -1,12 +1,16 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { ListWorkspaceMetadataRequestFilterSensitiveLog, ListWorkspaceMetadataResponseFilterSensitiveLog, } from "../models/models_1";
2
3
  import { de_ListWorkspaceMetadataCommand, se_ListWorkspaceMetadataCommand, } from "../protocols/Aws_restJson1";
4
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
5
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
6
  import { Command as $Command } from "@smithy/smithy-client";
5
7
  export { $Command };
6
8
  export class ListWorkspaceMetadataCommand extends $Command.classBuilder()
9
+ .ep(commonParams)
7
10
  .m(function (Command, cs, config, o) {
8
11
  return [
9
12
  getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
10
14
  ];
11
15
  })
12
16
  .s("AmazonCodeWhispererService", "ListWorkspaceMetadata", {})
@@ -1,11 +1,15 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { de_PushTelemetryEventCommand, se_PushTelemetryEventCommand, } from "../protocols/Aws_restJson1";
3
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
5
  import { Command as $Command } from "@smithy/smithy-client";
4
6
  export { $Command };
5
7
  export class PushTelemetryEventCommand extends $Command.classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
10
  return [
8
11
  getSerdePlugin(config, this.serialize, this.deserialize),
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
9
13
  ];
10
14
  })
11
15
  .s("AmazonCodeWhispererService", "PushTelemetryEvent", {})
@@ -1,11 +1,15 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { de_ResumeTransformationCommand, se_ResumeTransformationCommand, } from "../protocols/Aws_restJson1";
3
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
5
  import { Command as $Command } from "@smithy/smithy-client";
4
6
  export { $Command };
5
7
  export class ResumeTransformationCommand extends $Command.classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
10
  return [
8
11
  getSerdePlugin(config, this.serialize, this.deserialize),
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
9
13
  ];
10
14
  })
11
15
  .s("AmazonCodeWhispererService", "ResumeTransformation", {})
@@ -1,12 +1,16 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { SendTelemetryEventRequestFilterSensitiveLog, } from "../models/models_0";
2
3
  import { de_SendTelemetryEventCommand, se_SendTelemetryEventCommand, } from "../protocols/Aws_restJson1";
4
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
5
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
6
  import { Command as $Command } from "@smithy/smithy-client";
5
7
  export { $Command };
6
8
  export class SendTelemetryEventCommand extends $Command.classBuilder()
9
+ .ep(commonParams)
7
10
  .m(function (Command, cs, config, o) {
8
11
  return [
9
12
  getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
10
14
  ];
11
15
  })
12
16
  .s("AmazonCodeWhispererService", "SendTelemetryEvent", {})
@@ -1,11 +1,15 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { de_SetUserPreferenceCommand, se_SetUserPreferenceCommand, } from "../protocols/Aws_restJson1";
3
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
5
  import { Command as $Command } from "@smithy/smithy-client";
4
6
  export { $Command };
5
7
  export class SetUserPreferenceCommand extends $Command.classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
10
  return [
8
11
  getSerdePlugin(config, this.serialize, this.deserialize),
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
9
13
  ];
10
14
  })
11
15
  .s("AmazonCodeWhispererService", "SetUserPreference", {})
@@ -1,12 +1,16 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { StartCodeAnalysisResponseFilterSensitiveLog, } from "../models/models_0";
2
3
  import { de_StartCodeAnalysisCommand, se_StartCodeAnalysisCommand, } from "../protocols/Aws_restJson1";
4
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
5
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
6
  import { Command as $Command } from "@smithy/smithy-client";
5
7
  export { $Command };
6
8
  export class StartCodeAnalysisCommand extends $Command.classBuilder()
9
+ .ep(commonParams)
7
10
  .m(function (Command, cs, config, o) {
8
11
  return [
9
12
  getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
10
14
  ];
11
15
  })
12
16
  .s("AmazonCodeWhispererService", "StartCodeAnalysis", {})
@@ -1,12 +1,16 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { StartCodeFixJobRequestFilterSensitiveLog, } from "../models/models_0";
2
3
  import { de_StartCodeFixJobCommand, se_StartCodeFixJobCommand, } from "../protocols/Aws_restJson1";
4
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
5
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
6
  import { Command as $Command } from "@smithy/smithy-client";
5
7
  export { $Command };
6
8
  export class StartCodeFixJobCommand extends $Command.classBuilder()
9
+ .ep(commonParams)
7
10
  .m(function (Command, cs, config, o) {
8
11
  return [
9
12
  getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
10
14
  ];
11
15
  })
12
16
  .s("AmazonCodeWhispererService", "StartCodeFixJob", {})
@@ -1,12 +1,16 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { StartTaskAssistCodeGenerationRequestFilterSensitiveLog, } from "../models/models_1";
2
3
  import { de_StartTaskAssistCodeGenerationCommand, se_StartTaskAssistCodeGenerationCommand, } from "../protocols/Aws_restJson1";
4
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
5
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
6
  import { Command as $Command } from "@smithy/smithy-client";
5
7
  export { $Command };
6
8
  export class StartTaskAssistCodeGenerationCommand extends $Command.classBuilder()
9
+ .ep(commonParams)
7
10
  .m(function (Command, cs, config, o) {
8
11
  return [
9
12
  getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
10
14
  ];
11
15
  })
12
16
  .s("AmazonCodeWhispererService", "StartTaskAssistCodeGeneration", {})
@@ -1,12 +1,16 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { StartTestGenerationRequestFilterSensitiveLog, StartTestGenerationResponseFilterSensitiveLog, } from "../models/models_0";
2
3
  import { de_StartTestGenerationCommand, se_StartTestGenerationCommand, } from "../protocols/Aws_restJson1";
4
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
5
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
6
  import { Command as $Command } from "@smithy/smithy-client";
5
7
  export { $Command };
6
8
  export class StartTestGenerationCommand extends $Command.classBuilder()
9
+ .ep(commonParams)
7
10
  .m(function (Command, cs, config, o) {
8
11
  return [
9
12
  getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
10
14
  ];
11
15
  })
12
16
  .s("AmazonCodeWhispererService", "StartTestGeneration", {})
@@ -1,11 +1,15 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { de_StartTransformationCommand, se_StartTransformationCommand, } from "../protocols/Aws_restJson1";
3
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
5
  import { Command as $Command } from "@smithy/smithy-client";
4
6
  export { $Command };
5
7
  export class StartTransformationCommand extends $Command.classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
10
  return [
8
11
  getSerdePlugin(config, this.serialize, this.deserialize),
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
9
13
  ];
10
14
  })
11
15
  .s("AmazonCodeWhispererService", "StartTransformation", {})
@@ -1,11 +1,15 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { de_StopTransformationCommand, se_StopTransformationCommand, } from "../protocols/Aws_restJson1";
3
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
5
  import { Command as $Command } from "@smithy/smithy-client";
4
6
  export { $Command };
5
7
  export class StopTransformationCommand extends $Command.classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
10
  return [
8
11
  getSerdePlugin(config, this.serialize, this.deserialize),
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
9
13
  ];
10
14
  })
11
15
  .s("AmazonCodeWhispererService", "StopTransformation", {})
@@ -1,11 +1,15 @@
1
+ import { commonParams } from "../endpoint/EndpointParameters";
1
2
  import { de_UpdateUsageLimitsCommand, se_UpdateUsageLimitsCommand, } from "../protocols/Aws_restJson1";
3
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
4
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
5
  import { Command as $Command } from "@smithy/smithy-client";
4
6
  export { $Command };
5
7
  export class UpdateUsageLimitsCommand extends $Command.classBuilder()
8
+ .ep(commonParams)
6
9
  .m(function (Command, cs, config, o) {
7
10
  return [
8
11
  getSerdePlugin(config, this.serialize, this.deserialize),
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
9
13
  ];
10
14
  })
11
15
  .s("AmazonCodeWhispererService", "UpdateUsageLimits", {})
@@ -0,0 +1,11 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return {
3
+ ...options,
4
+ region: options.region ?? "us-east-1",
5
+ defaultSigningName: "amazoncodewhispererservice",
6
+ };
7
+ };
8
+ export const commonParams = {
9
+ endpoint: { type: "builtInParams", name: "endpoint" },
10
+ region: { type: "builtInParams", name: "region" },
11
+ };
@@ -0,0 +1,15 @@
1
+ import { ruleSet } from "./ruleset";
2
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
3
+ import { EndpointCache, customEndpointFunctions, resolveEndpoint, } from "@smithy/util-endpoints";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["endpoint",
7
+ "region"]
8
+ });
9
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
10
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
11
+ endpointParams: endpointParams,
12
+ logger: context.logger,
13
+ }));
14
+ };
15
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -0,0 +1,58 @@
1
+ export const ruleSet = {
2
+ "version": "1.0",
3
+ "parameters": {
4
+ "endpoint": {
5
+ "documentation": "This has a value if clients provide an explicit URL to be used",
6
+ "type": "string",
7
+ "builtIn": "SDK::Endpoint",
8
+ },
9
+ "region": {
10
+ "documentation": "The region of the service",
11
+ "required": true,
12
+ "type": "string",
13
+ "builtIn": "AWS::Region",
14
+ "default": "us-east-1",
15
+ },
16
+ },
17
+ "rules": [
18
+ {
19
+ "type": "endpoint",
20
+ "conditions": [
21
+ {
22
+ "fn": "isSet",
23
+ "argv": [
24
+ {
25
+ "ref": "endpoint",
26
+ },
27
+ ],
28
+ },
29
+ ],
30
+ "endpoint": {
31
+ "url": "{endpoint}",
32
+ "properties": {
33
+ "authSchemes": [
34
+ {
35
+ "name": "sigv4",
36
+ "signingRegion": "{region}",
37
+ },
38
+ ],
39
+ },
40
+ },
41
+ },
42
+ {
43
+ "type": "endpoint",
44
+ "conditions": [],
45
+ "endpoint": {
46
+ "url": "https://codewhisperer.{region}.amazonaws.com",
47
+ "properties": {
48
+ "authSchemes": [
49
+ {
50
+ "name": "sigv4",
51
+ "signingRegion": "{region}",
52
+ },
53
+ ],
54
+ },
55
+ },
56
+ },
57
+ ],
58
+ };
@@ -20,34 +20,6 @@ export class AccessDeniedException extends __BaseException {
20
20
  this.reason = opts.reason;
21
21
  }
22
22
  }
23
- export const FunctionalityName = {
24
- Analysis: "ANALYSIS",
25
- ChatCustomization: "CHAT_CUSTOMIZATION",
26
- Completions: "COMPLETIONS",
27
- Conversations: "CONVERSATIONS",
28
- FeatureDevelopment: "FEATURE_DEVELOPMENT",
29
- TaskAssist: "TASK_ASSIST",
30
- Transformations: "TRANSFORMATIONS",
31
- TransformationsWebApp: "TRANSFORMATIONS_WEBAPP",
32
- };
33
- export const AdditionalContentEntryFilterSensitiveLog = (obj) => ({
34
- ...obj,
35
- ...(obj.name && { name: SENSITIVE_STRING
36
- }),
37
- ...(obj.description && { description: SENSITIVE_STRING
38
- }),
39
- ...(obj.innerContext && { innerContext: SENSITIVE_STRING
40
- }),
41
- });
42
- export const AgenticChatEventStatus = {
43
- Cancelled: "CANCELLED",
44
- Failed: "FAILED",
45
- Succeeded: "SUCCEEDED",
46
- };
47
- export const AgentTaskType = {
48
- SPEC_TASK: "spectask",
49
- VIBE: "vibe",
50
- };
51
23
  export const InternalServerExceptionReason = {
52
24
  MODEL_TEMPORARILY_UNAVAILABLE: "MODEL_TEMPORARILY_UNAVAILABLE",
53
25
  };
@@ -104,6 +76,7 @@ export const ValidationExceptionReason = {
104
76
  CONTENT_LENGTH_EXCEEDS_THRESHOLD: "CONTENT_LENGTH_EXCEEDS_THRESHOLD",
105
77
  INVALID_CONVERSATION_ID: "INVALID_CONVERSATION_ID",
106
78
  INVALID_KMS_GRANT: "INVALID_KMS_GRANT",
79
+ INVALID_MODEL_ID: "INVALID_MODEL_ID",
107
80
  };
108
81
  export class ValidationException extends __BaseException {
109
82
  name = "ValidationException";
@@ -119,6 +92,34 @@ export class ValidationException extends __BaseException {
119
92
  this.reason = opts.reason;
120
93
  }
121
94
  }
95
+ export const FunctionalityName = {
96
+ Analysis: "ANALYSIS",
97
+ ChatCustomization: "CHAT_CUSTOMIZATION",
98
+ Completions: "COMPLETIONS",
99
+ Conversations: "CONVERSATIONS",
100
+ FeatureDevelopment: "FEATURE_DEVELOPMENT",
101
+ TaskAssist: "TASK_ASSIST",
102
+ Transformations: "TRANSFORMATIONS",
103
+ TransformationsWebApp: "TRANSFORMATIONS_WEBAPP",
104
+ };
105
+ export const AdditionalContentEntryFilterSensitiveLog = (obj) => ({
106
+ ...obj,
107
+ ...(obj.name && { name: SENSITIVE_STRING
108
+ }),
109
+ ...(obj.description && { description: SENSITIVE_STRING
110
+ }),
111
+ ...(obj.innerContext && { innerContext: SENSITIVE_STRING
112
+ }),
113
+ });
114
+ export const AgenticChatEventStatus = {
115
+ Cancelled: "CANCELLED",
116
+ Failed: "FAILED",
117
+ Succeeded: "SUCCEEDED",
118
+ };
119
+ export const AgentTaskType = {
120
+ SPEC_TASK: "spectask",
121
+ VIBE: "vibe",
122
+ };
122
123
  export const AppStudioStateFilterSensitiveLog = (obj) => ({
123
124
  ...obj,
124
125
  ...(obj.namespace && { namespace: SENSITIVE_STRING
@@ -229,6 +230,10 @@ export class ConflictException extends __BaseException {
229
230
  this.reason = opts.reason;
230
231
  }
231
232
  }
233
+ export const SubscriptionStartType = {
234
+ ADMIN: "ADMIN",
235
+ JUST_IN_TIME: "JUST_IN_TIME",
236
+ };
232
237
  export const OptInFeatureToggle = {
233
238
  OFF: "OFF",
234
239
  ON: "ON",
@@ -237,6 +242,11 @@ export const OverageStatus = {
237
242
  DISABLED: "DISABLED",
238
243
  ENABLED: "ENABLED",
239
244
  };
245
+ export const ProfileType = {
246
+ CODEWHISPERER: "CODEWHISPERER",
247
+ KIRO: "KIRO",
248
+ Q_DEVELOPER: "Q_DEVELOPER",
249
+ };
240
250
  export const RecommendationsWithReferencesPreference = {
241
251
  ALLOW: "ALLOW",
242
252
  BLOCK: "BLOCK",
@@ -245,6 +255,10 @@ export const ResourcePolicyEffect = {
245
255
  ALLOW: "ALLOW",
246
256
  DENY: "DENY",
247
257
  };
258
+ export const OptInFeaturesType = {
259
+ KIRO: "KIRO",
260
+ Q_DEVELOPER: "Q_DEVELOPER",
261
+ };
248
262
  export var IdentityDetails;
249
263
  (function (IdentityDetails) {
250
264
  IdentityDetails.visit = (value, visitor) => {
@@ -255,10 +269,6 @@ export var IdentityDetails;
255
269
  return visitor._(value.$unknown[0], value.$unknown[1]);
256
270
  };
257
271
  })(IdentityDetails || (IdentityDetails = {}));
258
- export const ProfileType = {
259
- CODEWHISPERER: "CODEWHISPERER",
260
- Q_DEVELOPER: "Q_DEVELOPER",
261
- };
262
272
  export const ProfileStatus = {
263
273
  ACTIVE: "ACTIVE",
264
274
  CREATE_FAILED: "CREATE_FAILED",
@@ -347,6 +357,7 @@ export const Origin = {
347
357
  GITLAB: "GITLAB",
348
358
  IDE: "IDE",
349
359
  INLINE_CHAT: "INLINE_CHAT",
360
+ KIRO_CLI: "KIRO_CLI",
350
361
  MARKETING: "MARKETING",
351
362
  MD: "MD",
352
363
  MD_CE: "MD_CE",
@@ -995,6 +1006,10 @@ export const SuggestionType = {
995
1006
  Completions: "COMPLETIONS",
996
1007
  Edits: "EDITS",
997
1008
  };
1009
+ export const UserDecisionReason = {
1010
+ ExplicitReject: "EXPLICIT_REJECT",
1011
+ ImplicitReject: "IMPLICIT_REJECT",
1012
+ };
998
1013
  export const UserTriggerDecisionEventFilterSensitiveLog = (obj) => ({
999
1014
  ...obj,
1000
1015
  ...(obj.addedIdeDiagnostics && { addedIdeDiagnostics: obj.addedIdeDiagnostics.map(item => IdeDiagnosticFilterSensitiveLog(item))
@@ -1422,8 +1437,3 @@ export class UpdateUsageLimitQuotaExceededException extends __BaseException {
1422
1437
  Object.setPrototypeOf(this, UpdateUsageLimitQuotaExceededException.prototype);
1423
1438
  }
1424
1439
  }
1425
- export const GetTaskAssistCodeGenerationResponseFilterSensitiveLog = (obj) => ({
1426
- ...obj,
1427
- ...(obj.codeGenerationStatusDetail && { codeGenerationStatusDetail: SENSITIVE_STRING
1428
- }),
1429
- });
@@ -1,5 +1,10 @@
1
1
  import { ConversationStateFilterSensitiveLog, IntentContextFilterSensitiveLog, } from "./models_0";
2
2
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
3
+ export const GetTaskAssistCodeGenerationResponseFilterSensitiveLog = (obj) => ({
4
+ ...obj,
5
+ ...(obj.codeGenerationStatusDetail && { codeGenerationStatusDetail: SENSITIVE_STRING
6
+ }),
7
+ });
3
8
  export const StartTaskAssistCodeGenerationRequestFilterSensitiveLog = (obj) => ({
4
9
  ...obj,
5
10
  ...(obj.conversationState && { conversationState: ConversationStateFilterSensitiveLog(obj.conversationState)