@aws/lsp-codewhisperer 0.0.88 → 0.0.90

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 (242) hide show
  1. package/CHANGELOG.md +20 -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/client/token/codewhisperer.d.ts +1 -1
  200. package/out/client/token/codewhisperer.js +1 -1
  201. package/out/client/token/codewhisperer.js.map +1 -1
  202. package/out/language-server/agenticChat/agenticChatController.d.ts +7 -0
  203. package/out/language-server/agenticChat/agenticChatController.js +75 -14
  204. package/out/language-server/agenticChat/agenticChatController.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/profileStatusMonitor.d.ts +6 -0
  212. package/out/language-server/agenticChat/tools/mcp/profileStatusMonitor.js +6 -0
  213. package/out/language-server/agenticChat/tools/mcp/profileStatusMonitor.js.map +1 -1
  214. package/out/language-server/agenticChat/tools/toolServer.js +1 -1
  215. package/out/language-server/agenticChat/tools/toolServer.js.map +1 -1
  216. package/out/language-server/inline-completion/handler/editCompletionHandler.js +8 -2
  217. package/out/language-server/inline-completion/handler/editCompletionHandler.js.map +1 -1
  218. package/out/language-server/inline-completion/handler/inlineCompletionHandler.js +7 -2
  219. package/out/language-server/inline-completion/handler/inlineCompletionHandler.js.map +1 -1
  220. package/out/language-server/inline-completion/handler/sessionResultsHandler.js +15 -2
  221. package/out/language-server/inline-completion/handler/sessionResultsHandler.js.map +1 -1
  222. package/out/language-server/inline-completion/telemetry/telemetry.d.ts +4 -4
  223. package/out/language-server/inline-completion/telemetry/telemetry.js +6 -6
  224. package/out/language-server/inline-completion/telemetry/telemetry.js.map +1 -1
  225. package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js +5 -1
  226. package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js.map +1 -1
  227. package/out/shared/codeWhispererService.d.ts +10 -3
  228. package/out/shared/codeWhispererService.js +64 -3
  229. package/out/shared/codeWhispererService.js.map +1 -1
  230. package/out/shared/supplementalContextUtil/crossFileContextUtil.d.ts +3 -3
  231. package/out/shared/supplementalContextUtil/crossFileContextUtil.js +9 -9
  232. package/out/shared/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
  233. package/out/shared/supplementalContextUtil/supplementalContextUtil.d.ts +1 -1
  234. package/out/shared/supplementalContextUtil/supplementalContextUtil.js +2 -2
  235. package/out/shared/supplementalContextUtil/supplementalContextUtil.js.map +1 -1
  236. package/out/shared/telemetry/telemetryService.d.ts +2 -2
  237. package/out/shared/telemetry/telemetryService.js +4 -2
  238. package/out/shared/telemetry/telemetryService.js.map +1 -1
  239. package/package.json +2 -2
  240. package/node_modules/@amzn/codewhisperer-runtime/dist-cjs/endpoints.js +0 -211
  241. package/node_modules/@amzn/codewhisperer-runtime/dist-es/endpoints.js +0 -207
  242. package/node_modules/@amzn/codewhisperer-runtime/dist-types/endpoints.d.ts +0 -2
@@ -0,0 +1,229 @@
1
+ {
2
+ "partitions": [{
3
+ "id": "aws",
4
+ "outputs": {
5
+ "dnsSuffix": "amazonaws.com",
6
+ "dualStackDnsSuffix": "api.aws",
7
+ "implicitGlobalRegion": "us-east-1",
8
+ "name": "aws",
9
+ "supportsDualStack": true,
10
+ "supportsFIPS": true
11
+ },
12
+ "regionRegex": "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",
13
+ "regions": {
14
+ "af-south-1": {
15
+ "description": "Africa (Cape Town)"
16
+ },
17
+ "ap-east-1": {
18
+ "description": "Asia Pacific (Hong Kong)"
19
+ },
20
+ "ap-northeast-1": {
21
+ "description": "Asia Pacific (Tokyo)"
22
+ },
23
+ "ap-northeast-2": {
24
+ "description": "Asia Pacific (Seoul)"
25
+ },
26
+ "ap-northeast-3": {
27
+ "description": "Asia Pacific (Osaka)"
28
+ },
29
+ "ap-south-1": {
30
+ "description": "Asia Pacific (Mumbai)"
31
+ },
32
+ "ap-south-2": {
33
+ "description": "Asia Pacific (Hyderabad)"
34
+ },
35
+ "ap-southeast-1": {
36
+ "description": "Asia Pacific (Singapore)"
37
+ },
38
+ "ap-southeast-2": {
39
+ "description": "Asia Pacific (Sydney)"
40
+ },
41
+ "ap-southeast-3": {
42
+ "description": "Asia Pacific (Jakarta)"
43
+ },
44
+ "ap-southeast-4": {
45
+ "description": "Asia Pacific (Melbourne)"
46
+ },
47
+ "ap-southeast-5": {
48
+ "description": "Asia Pacific (Malaysia)"
49
+ },
50
+ "ap-southeast-7": {
51
+ "description": "Asia Pacific (Thailand)"
52
+ },
53
+ "aws-global": {
54
+ "description": "AWS Standard global region"
55
+ },
56
+ "ca-central-1": {
57
+ "description": "Canada (Central)"
58
+ },
59
+ "ca-west-1": {
60
+ "description": "Canada West (Calgary)"
61
+ },
62
+ "eu-central-1": {
63
+ "description": "Europe (Frankfurt)"
64
+ },
65
+ "eu-central-2": {
66
+ "description": "Europe (Zurich)"
67
+ },
68
+ "eu-north-1": {
69
+ "description": "Europe (Stockholm)"
70
+ },
71
+ "eu-south-1": {
72
+ "description": "Europe (Milan)"
73
+ },
74
+ "eu-south-2": {
75
+ "description": "Europe (Spain)"
76
+ },
77
+ "eu-west-1": {
78
+ "description": "Europe (Ireland)"
79
+ },
80
+ "eu-west-2": {
81
+ "description": "Europe (London)"
82
+ },
83
+ "eu-west-3": {
84
+ "description": "Europe (Paris)"
85
+ },
86
+ "il-central-1": {
87
+ "description": "Israel (Tel Aviv)"
88
+ },
89
+ "me-central-1": {
90
+ "description": "Middle East (UAE)"
91
+ },
92
+ "me-south-1": {
93
+ "description": "Middle East (Bahrain)"
94
+ },
95
+ "mx-central-1": {
96
+ "description": "Mexico (Central)"
97
+ },
98
+ "sa-east-1": {
99
+ "description": "South America (Sao Paulo)"
100
+ },
101
+ "us-east-1": {
102
+ "description": "US East (N. Virginia)"
103
+ },
104
+ "us-east-2": {
105
+ "description": "US East (Ohio)"
106
+ },
107
+ "us-west-1": {
108
+ "description": "US West (N. California)"
109
+ },
110
+ "us-west-2": {
111
+ "description": "US West (Oregon)"
112
+ }
113
+ }
114
+ }, {
115
+ "id": "aws-cn",
116
+ "outputs": {
117
+ "dnsSuffix": "amazonaws.com.cn",
118
+ "dualStackDnsSuffix": "api.amazonwebservices.com.cn",
119
+ "implicitGlobalRegion": "cn-northwest-1",
120
+ "name": "aws-cn",
121
+ "supportsDualStack": true,
122
+ "supportsFIPS": true
123
+ },
124
+ "regionRegex": "^cn\\-\\w+\\-\\d+$",
125
+ "regions": {
126
+ "aws-cn-global": {
127
+ "description": "AWS China global region"
128
+ },
129
+ "cn-north-1": {
130
+ "description": "China (Beijing)"
131
+ },
132
+ "cn-northwest-1": {
133
+ "description": "China (Ningxia)"
134
+ }
135
+ }
136
+ }, {
137
+ "id": "aws-us-gov",
138
+ "outputs": {
139
+ "dnsSuffix": "amazonaws.com",
140
+ "dualStackDnsSuffix": "api.aws",
141
+ "implicitGlobalRegion": "us-gov-west-1",
142
+ "name": "aws-us-gov",
143
+ "supportsDualStack": true,
144
+ "supportsFIPS": true
145
+ },
146
+ "regionRegex": "^us\\-gov\\-\\w+\\-\\d+$",
147
+ "regions": {
148
+ "aws-us-gov-global": {
149
+ "description": "AWS GovCloud (US) global region"
150
+ },
151
+ "us-gov-east-1": {
152
+ "description": "AWS GovCloud (US-East)"
153
+ },
154
+ "us-gov-west-1": {
155
+ "description": "AWS GovCloud (US-West)"
156
+ }
157
+ }
158
+ }, {
159
+ "id": "aws-iso",
160
+ "outputs": {
161
+ "dnsSuffix": "c2s.ic.gov",
162
+ "dualStackDnsSuffix": "c2s.ic.gov",
163
+ "implicitGlobalRegion": "us-iso-east-1",
164
+ "name": "aws-iso",
165
+ "supportsDualStack": false,
166
+ "supportsFIPS": true
167
+ },
168
+ "regionRegex": "^us\\-iso\\-\\w+\\-\\d+$",
169
+ "regions": {
170
+ "aws-iso-global": {
171
+ "description": "AWS ISO (US) global region"
172
+ },
173
+ "us-iso-east-1": {
174
+ "description": "US ISO East"
175
+ },
176
+ "us-iso-west-1": {
177
+ "description": "US ISO WEST"
178
+ }
179
+ }
180
+ }, {
181
+ "id": "aws-iso-b",
182
+ "outputs": {
183
+ "dnsSuffix": "sc2s.sgov.gov",
184
+ "dualStackDnsSuffix": "sc2s.sgov.gov",
185
+ "implicitGlobalRegion": "us-isob-east-1",
186
+ "name": "aws-iso-b",
187
+ "supportsDualStack": false,
188
+ "supportsFIPS": true
189
+ },
190
+ "regionRegex": "^us\\-isob\\-\\w+\\-\\d+$",
191
+ "regions": {
192
+ "aws-iso-b-global": {
193
+ "description": "AWS ISOB (US) global region"
194
+ },
195
+ "us-isob-east-1": {
196
+ "description": "US ISOB East (Ohio)"
197
+ }
198
+ }
199
+ }, {
200
+ "id": "aws-iso-e",
201
+ "outputs": {
202
+ "dnsSuffix": "cloud.adc-e.uk",
203
+ "dualStackDnsSuffix": "cloud.adc-e.uk",
204
+ "implicitGlobalRegion": "eu-isoe-west-1",
205
+ "name": "aws-iso-e",
206
+ "supportsDualStack": false,
207
+ "supportsFIPS": true
208
+ },
209
+ "regionRegex": "^eu\\-isoe\\-\\w+\\-\\d+$",
210
+ "regions": {
211
+ "eu-isoe-west-1": {
212
+ "description": "EU ISOE West"
213
+ }
214
+ }
215
+ }, {
216
+ "id": "aws-iso-f",
217
+ "outputs": {
218
+ "dnsSuffix": "csp.hci.ic.gov",
219
+ "dualStackDnsSuffix": "csp.hci.ic.gov",
220
+ "implicitGlobalRegion": "us-isof-south-1",
221
+ "name": "aws-iso-f",
222
+ "supportsDualStack": false,
223
+ "supportsFIPS": true
224
+ },
225
+ "regionRegex": "^us\\-isof\\-\\w+\\-\\d+$",
226
+ "regions": {}
227
+ }],
228
+ "version": "1.1"
229
+ }
@@ -0,0 +1,10 @@
1
+ import { customEndpointFunctions } from "@smithy/util-endpoints";
2
+ import { isVirtualHostableS3Bucket } from "./lib/aws/isVirtualHostableS3Bucket";
3
+ import { parseArn } from "./lib/aws/parseArn";
4
+ import { partition } from "./lib/aws/partition";
5
+ export const awsEndpointFunctions = {
6
+ isVirtualHostableS3Bucket: isVirtualHostableS3Bucket,
7
+ parseArn: parseArn,
8
+ partition: partition,
9
+ };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -0,0 +1,5 @@
1
+ export * from "./aws";
2
+ export * from "./lib/aws/partition";
3
+ export * from "./lib/isIpAddress";
4
+ export * from "./resolveEndpoint";
5
+ export * from "./types";
@@ -0,0 +1,3 @@
1
+ export * from "./isVirtualHostableS3Bucket";
2
+ export * from "./parseArn";
3
+ export * from "./partition";
@@ -0,0 +1,25 @@
1
+ import { isValidHostLabel } from "@smithy/util-endpoints";
2
+ import { isIpAddress } from "../isIpAddress";
3
+ export const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {
4
+ if (allowSubDomains) {
5
+ for (const label of value.split(".")) {
6
+ if (!isVirtualHostableS3Bucket(label)) {
7
+ return false;
8
+ }
9
+ }
10
+ return true;
11
+ }
12
+ if (!isValidHostLabel(value)) {
13
+ return false;
14
+ }
15
+ if (value.length < 3 || value.length > 63) {
16
+ return false;
17
+ }
18
+ if (value !== value.toLowerCase()) {
19
+ return false;
20
+ }
21
+ if (isIpAddress(value)) {
22
+ return false;
23
+ }
24
+ return true;
25
+ };
@@ -0,0 +1,18 @@
1
+ const ARN_DELIMITER = ":";
2
+ const RESOURCE_DELIMITER = "/";
3
+ export const parseArn = (value) => {
4
+ const segments = value.split(ARN_DELIMITER);
5
+ if (segments.length < 6)
6
+ return null;
7
+ const [arn, partition, service, region, accountId, ...resourcePath] = segments;
8
+ if (arn !== "arn" || partition === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "")
9
+ return null;
10
+ const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();
11
+ return {
12
+ partition,
13
+ service,
14
+ region,
15
+ accountId,
16
+ resourceId,
17
+ };
18
+ };
@@ -0,0 +1,41 @@
1
+ import partitionsInfo from "./partitions.json";
2
+ let selectedPartitionsInfo = partitionsInfo;
3
+ let selectedUserAgentPrefix = "";
4
+ export const partition = (value) => {
5
+ const { partitions } = selectedPartitionsInfo;
6
+ for (const partition of partitions) {
7
+ const { regions, outputs } = partition;
8
+ for (const [region, regionData] of Object.entries(regions)) {
9
+ if (region === value) {
10
+ return {
11
+ ...outputs,
12
+ ...regionData,
13
+ };
14
+ }
15
+ }
16
+ }
17
+ for (const partition of partitions) {
18
+ const { regionRegex, outputs } = partition;
19
+ if (new RegExp(regionRegex).test(value)) {
20
+ return {
21
+ ...outputs,
22
+ };
23
+ }
24
+ }
25
+ const DEFAULT_PARTITION = partitions.find((partition) => partition.id === "aws");
26
+ if (!DEFAULT_PARTITION) {
27
+ throw new Error("Provided region was not found in the partition array or regex," +
28
+ " and default partition with id 'aws' doesn't exist.");
29
+ }
30
+ return {
31
+ ...DEFAULT_PARTITION.outputs,
32
+ };
33
+ };
34
+ export const setPartitionInfo = (partitionsInfo, userAgentPrefix = "") => {
35
+ selectedPartitionsInfo = partitionsInfo;
36
+ selectedUserAgentPrefix = userAgentPrefix;
37
+ };
38
+ export const useDefaultPartitionInfo = () => {
39
+ setPartitionInfo(partitionsInfo, "");
40
+ };
41
+ export const getUserAgentPrefix = () => selectedUserAgentPrefix;
@@ -0,0 +1,229 @@
1
+ {
2
+ "partitions": [{
3
+ "id": "aws",
4
+ "outputs": {
5
+ "dnsSuffix": "amazonaws.com",
6
+ "dualStackDnsSuffix": "api.aws",
7
+ "implicitGlobalRegion": "us-east-1",
8
+ "name": "aws",
9
+ "supportsDualStack": true,
10
+ "supportsFIPS": true
11
+ },
12
+ "regionRegex": "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",
13
+ "regions": {
14
+ "af-south-1": {
15
+ "description": "Africa (Cape Town)"
16
+ },
17
+ "ap-east-1": {
18
+ "description": "Asia Pacific (Hong Kong)"
19
+ },
20
+ "ap-northeast-1": {
21
+ "description": "Asia Pacific (Tokyo)"
22
+ },
23
+ "ap-northeast-2": {
24
+ "description": "Asia Pacific (Seoul)"
25
+ },
26
+ "ap-northeast-3": {
27
+ "description": "Asia Pacific (Osaka)"
28
+ },
29
+ "ap-south-1": {
30
+ "description": "Asia Pacific (Mumbai)"
31
+ },
32
+ "ap-south-2": {
33
+ "description": "Asia Pacific (Hyderabad)"
34
+ },
35
+ "ap-southeast-1": {
36
+ "description": "Asia Pacific (Singapore)"
37
+ },
38
+ "ap-southeast-2": {
39
+ "description": "Asia Pacific (Sydney)"
40
+ },
41
+ "ap-southeast-3": {
42
+ "description": "Asia Pacific (Jakarta)"
43
+ },
44
+ "ap-southeast-4": {
45
+ "description": "Asia Pacific (Melbourne)"
46
+ },
47
+ "ap-southeast-5": {
48
+ "description": "Asia Pacific (Malaysia)"
49
+ },
50
+ "ap-southeast-7": {
51
+ "description": "Asia Pacific (Thailand)"
52
+ },
53
+ "aws-global": {
54
+ "description": "AWS Standard global region"
55
+ },
56
+ "ca-central-1": {
57
+ "description": "Canada (Central)"
58
+ },
59
+ "ca-west-1": {
60
+ "description": "Canada West (Calgary)"
61
+ },
62
+ "eu-central-1": {
63
+ "description": "Europe (Frankfurt)"
64
+ },
65
+ "eu-central-2": {
66
+ "description": "Europe (Zurich)"
67
+ },
68
+ "eu-north-1": {
69
+ "description": "Europe (Stockholm)"
70
+ },
71
+ "eu-south-1": {
72
+ "description": "Europe (Milan)"
73
+ },
74
+ "eu-south-2": {
75
+ "description": "Europe (Spain)"
76
+ },
77
+ "eu-west-1": {
78
+ "description": "Europe (Ireland)"
79
+ },
80
+ "eu-west-2": {
81
+ "description": "Europe (London)"
82
+ },
83
+ "eu-west-3": {
84
+ "description": "Europe (Paris)"
85
+ },
86
+ "il-central-1": {
87
+ "description": "Israel (Tel Aviv)"
88
+ },
89
+ "me-central-1": {
90
+ "description": "Middle East (UAE)"
91
+ },
92
+ "me-south-1": {
93
+ "description": "Middle East (Bahrain)"
94
+ },
95
+ "mx-central-1": {
96
+ "description": "Mexico (Central)"
97
+ },
98
+ "sa-east-1": {
99
+ "description": "South America (Sao Paulo)"
100
+ },
101
+ "us-east-1": {
102
+ "description": "US East (N. Virginia)"
103
+ },
104
+ "us-east-2": {
105
+ "description": "US East (Ohio)"
106
+ },
107
+ "us-west-1": {
108
+ "description": "US West (N. California)"
109
+ },
110
+ "us-west-2": {
111
+ "description": "US West (Oregon)"
112
+ }
113
+ }
114
+ }, {
115
+ "id": "aws-cn",
116
+ "outputs": {
117
+ "dnsSuffix": "amazonaws.com.cn",
118
+ "dualStackDnsSuffix": "api.amazonwebservices.com.cn",
119
+ "implicitGlobalRegion": "cn-northwest-1",
120
+ "name": "aws-cn",
121
+ "supportsDualStack": true,
122
+ "supportsFIPS": true
123
+ },
124
+ "regionRegex": "^cn\\-\\w+\\-\\d+$",
125
+ "regions": {
126
+ "aws-cn-global": {
127
+ "description": "AWS China global region"
128
+ },
129
+ "cn-north-1": {
130
+ "description": "China (Beijing)"
131
+ },
132
+ "cn-northwest-1": {
133
+ "description": "China (Ningxia)"
134
+ }
135
+ }
136
+ }, {
137
+ "id": "aws-us-gov",
138
+ "outputs": {
139
+ "dnsSuffix": "amazonaws.com",
140
+ "dualStackDnsSuffix": "api.aws",
141
+ "implicitGlobalRegion": "us-gov-west-1",
142
+ "name": "aws-us-gov",
143
+ "supportsDualStack": true,
144
+ "supportsFIPS": true
145
+ },
146
+ "regionRegex": "^us\\-gov\\-\\w+\\-\\d+$",
147
+ "regions": {
148
+ "aws-us-gov-global": {
149
+ "description": "AWS GovCloud (US) global region"
150
+ },
151
+ "us-gov-east-1": {
152
+ "description": "AWS GovCloud (US-East)"
153
+ },
154
+ "us-gov-west-1": {
155
+ "description": "AWS GovCloud (US-West)"
156
+ }
157
+ }
158
+ }, {
159
+ "id": "aws-iso",
160
+ "outputs": {
161
+ "dnsSuffix": "c2s.ic.gov",
162
+ "dualStackDnsSuffix": "c2s.ic.gov",
163
+ "implicitGlobalRegion": "us-iso-east-1",
164
+ "name": "aws-iso",
165
+ "supportsDualStack": false,
166
+ "supportsFIPS": true
167
+ },
168
+ "regionRegex": "^us\\-iso\\-\\w+\\-\\d+$",
169
+ "regions": {
170
+ "aws-iso-global": {
171
+ "description": "AWS ISO (US) global region"
172
+ },
173
+ "us-iso-east-1": {
174
+ "description": "US ISO East"
175
+ },
176
+ "us-iso-west-1": {
177
+ "description": "US ISO WEST"
178
+ }
179
+ }
180
+ }, {
181
+ "id": "aws-iso-b",
182
+ "outputs": {
183
+ "dnsSuffix": "sc2s.sgov.gov",
184
+ "dualStackDnsSuffix": "sc2s.sgov.gov",
185
+ "implicitGlobalRegion": "us-isob-east-1",
186
+ "name": "aws-iso-b",
187
+ "supportsDualStack": false,
188
+ "supportsFIPS": true
189
+ },
190
+ "regionRegex": "^us\\-isob\\-\\w+\\-\\d+$",
191
+ "regions": {
192
+ "aws-iso-b-global": {
193
+ "description": "AWS ISOB (US) global region"
194
+ },
195
+ "us-isob-east-1": {
196
+ "description": "US ISOB East (Ohio)"
197
+ }
198
+ }
199
+ }, {
200
+ "id": "aws-iso-e",
201
+ "outputs": {
202
+ "dnsSuffix": "cloud.adc-e.uk",
203
+ "dualStackDnsSuffix": "cloud.adc-e.uk",
204
+ "implicitGlobalRegion": "eu-isoe-west-1",
205
+ "name": "aws-iso-e",
206
+ "supportsDualStack": false,
207
+ "supportsFIPS": true
208
+ },
209
+ "regionRegex": "^eu\\-isoe\\-\\w+\\-\\d+$",
210
+ "regions": {
211
+ "eu-isoe-west-1": {
212
+ "description": "EU ISOE West"
213
+ }
214
+ }
215
+ }, {
216
+ "id": "aws-iso-f",
217
+ "outputs": {
218
+ "dnsSuffix": "csp.hci.ic.gov",
219
+ "dualStackDnsSuffix": "csp.hci.ic.gov",
220
+ "implicitGlobalRegion": "us-isof-south-1",
221
+ "name": "aws-iso-f",
222
+ "supportsDualStack": false,
223
+ "supportsFIPS": true
224
+ },
225
+ "regionRegex": "^us\\-isof\\-\\w+\\-\\d+$",
226
+ "regions": {}
227
+ }],
228
+ "version": "1.1"
229
+ }
@@ -0,0 +1 @@
1
+ export { isIpAddress } from "@smithy/util-endpoints";
@@ -0,0 +1 @@
1
+ export { resolveEndpoint } from "@smithy/util-endpoints";
@@ -0,0 +1 @@
1
+ export { EndpointError } from "@smithy/util-endpoints";
@@ -0,0 +1,6 @@
1
+ export * from "./EndpointError";
2
+ export * from "./EndpointRuleObject";
3
+ export * from "./ErrorRuleObject";
4
+ export * from "./RuleSetObject";
5
+ export * from "./TreeRuleObject";
6
+ export * from "./shared";
@@ -0,0 +1,2 @@
1
+ import { EndpointFunctions } from "@smithy/util-endpoints";
2
+ export declare const awsEndpointFunctions: EndpointFunctions;
@@ -0,0 +1,5 @@
1
+ export * from "./aws";
2
+ export * from "./lib/aws/partition";
3
+ export * from "./lib/isIpAddress";
4
+ export * from "./resolveEndpoint";
5
+ export * from "./types";
@@ -0,0 +1,3 @@
1
+ export * from "./isVirtualHostableS3Bucket";
2
+ export * from "./parseArn";
3
+ export * from "./partition";
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Evaluates whether a string is a DNS compatible bucket name and can be used with
3
+ * virtual hosted style addressing.
4
+ */
5
+ export declare const isVirtualHostableS3Bucket: (value: string, allowSubDomains?: boolean) => boolean;
@@ -0,0 +1,7 @@
1
+ import { EndpointARN } from "@smithy/types";
2
+ /**
3
+ * Evaluates a single string argument value, and returns an object containing
4
+ * details about the parsed ARN.
5
+ * If the input was not a valid ARN, the function returns null.
6
+ */
7
+ export declare const parseArn: (value: string) => EndpointARN | null;