@aws-sdk/client-wisdom 3.194.0 → 3.196.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/WisdomClient.js +11 -8
  3. package/dist-cjs/commands/CreateAssistantAssociationCommand.js +10 -0
  4. package/dist-cjs/commands/CreateAssistantCommand.js +10 -0
  5. package/dist-cjs/commands/CreateContentCommand.js +10 -0
  6. package/dist-cjs/commands/CreateKnowledgeBaseCommand.js +10 -0
  7. package/dist-cjs/commands/CreateSessionCommand.js +10 -0
  8. package/dist-cjs/commands/DeleteAssistantAssociationCommand.js +10 -0
  9. package/dist-cjs/commands/DeleteAssistantCommand.js +10 -0
  10. package/dist-cjs/commands/DeleteContentCommand.js +10 -0
  11. package/dist-cjs/commands/DeleteKnowledgeBaseCommand.js +10 -0
  12. package/dist-cjs/commands/GetAssistantAssociationCommand.js +10 -0
  13. package/dist-cjs/commands/GetAssistantCommand.js +10 -0
  14. package/dist-cjs/commands/GetContentCommand.js +10 -0
  15. package/dist-cjs/commands/GetContentSummaryCommand.js +10 -0
  16. package/dist-cjs/commands/GetKnowledgeBaseCommand.js +10 -0
  17. package/dist-cjs/commands/GetRecommendationsCommand.js +10 -0
  18. package/dist-cjs/commands/GetSessionCommand.js +10 -0
  19. package/dist-cjs/commands/ListAssistantAssociationsCommand.js +10 -0
  20. package/dist-cjs/commands/ListAssistantsCommand.js +10 -0
  21. package/dist-cjs/commands/ListContentsCommand.js +10 -0
  22. package/dist-cjs/commands/ListKnowledgeBasesCommand.js +10 -0
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  24. package/dist-cjs/commands/NotifyRecommendationsReceivedCommand.js +10 -0
  25. package/dist-cjs/commands/QueryAssistantCommand.js +10 -0
  26. package/dist-cjs/commands/RemoveKnowledgeBaseTemplateUriCommand.js +10 -0
  27. package/dist-cjs/commands/SearchContentCommand.js +10 -0
  28. package/dist-cjs/commands/SearchSessionsCommand.js +10 -0
  29. package/dist-cjs/commands/StartContentUploadCommand.js +10 -0
  30. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  31. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  32. package/dist-cjs/commands/UpdateContentCommand.js +10 -0
  33. package/dist-cjs/commands/UpdateKnowledgeBaseTemplateUriCommand.js +10 -0
  34. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  35. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  36. package/dist-cjs/endpoint/ruleset.js +318 -0
  37. package/dist-cjs/runtimeConfig.shared.js +3 -3
  38. package/dist-es/WisdomClient.js +12 -9
  39. package/dist-es/commands/CreateAssistantAssociationCommand.js +10 -0
  40. package/dist-es/commands/CreateAssistantCommand.js +10 -0
  41. package/dist-es/commands/CreateContentCommand.js +10 -0
  42. package/dist-es/commands/CreateKnowledgeBaseCommand.js +10 -0
  43. package/dist-es/commands/CreateSessionCommand.js +10 -0
  44. package/dist-es/commands/DeleteAssistantAssociationCommand.js +10 -0
  45. package/dist-es/commands/DeleteAssistantCommand.js +10 -0
  46. package/dist-es/commands/DeleteContentCommand.js +10 -0
  47. package/dist-es/commands/DeleteKnowledgeBaseCommand.js +10 -0
  48. package/dist-es/commands/GetAssistantAssociationCommand.js +10 -0
  49. package/dist-es/commands/GetAssistantCommand.js +10 -0
  50. package/dist-es/commands/GetContentCommand.js +10 -0
  51. package/dist-es/commands/GetContentSummaryCommand.js +10 -0
  52. package/dist-es/commands/GetKnowledgeBaseCommand.js +10 -0
  53. package/dist-es/commands/GetRecommendationsCommand.js +10 -0
  54. package/dist-es/commands/GetSessionCommand.js +10 -0
  55. package/dist-es/commands/ListAssistantAssociationsCommand.js +10 -0
  56. package/dist-es/commands/ListAssistantsCommand.js +10 -0
  57. package/dist-es/commands/ListContentsCommand.js +10 -0
  58. package/dist-es/commands/ListKnowledgeBasesCommand.js +10 -0
  59. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  60. package/dist-es/commands/NotifyRecommendationsReceivedCommand.js +10 -0
  61. package/dist-es/commands/QueryAssistantCommand.js +10 -0
  62. package/dist-es/commands/RemoveKnowledgeBaseTemplateUriCommand.js +10 -0
  63. package/dist-es/commands/SearchContentCommand.js +10 -0
  64. package/dist-es/commands/SearchSessionsCommand.js +10 -0
  65. package/dist-es/commands/StartContentUploadCommand.js +10 -0
  66. package/dist-es/commands/TagResourceCommand.js +10 -0
  67. package/dist-es/commands/UntagResourceCommand.js +10 -0
  68. package/dist-es/commands/UpdateContentCommand.js +10 -0
  69. package/dist-es/commands/UpdateKnowledgeBaseTemplateUriCommand.js +10 -0
  70. package/dist-es/endpoint/EndpointParameters.js +8 -0
  71. package/dist-es/endpoint/endpointResolver.js +8 -0
  72. package/dist-es/endpoint/ruleset.js +315 -0
  73. package/dist-es/runtimeConfig.shared.js +2 -2
  74. package/dist-types/WisdomClient.d.ts +6 -9
  75. package/dist-types/commands/CreateAssistantAssociationCommand.d.ts +2 -0
  76. package/dist-types/commands/CreateAssistantCommand.d.ts +2 -0
  77. package/dist-types/commands/CreateContentCommand.d.ts +2 -0
  78. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +2 -0
  79. package/dist-types/commands/CreateSessionCommand.d.ts +2 -0
  80. package/dist-types/commands/DeleteAssistantAssociationCommand.d.ts +2 -0
  81. package/dist-types/commands/DeleteAssistantCommand.d.ts +2 -0
  82. package/dist-types/commands/DeleteContentCommand.d.ts +2 -0
  83. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +2 -0
  84. package/dist-types/commands/GetAssistantAssociationCommand.d.ts +2 -0
  85. package/dist-types/commands/GetAssistantCommand.d.ts +2 -0
  86. package/dist-types/commands/GetContentCommand.d.ts +2 -0
  87. package/dist-types/commands/GetContentSummaryCommand.d.ts +2 -0
  88. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +2 -0
  89. package/dist-types/commands/GetRecommendationsCommand.d.ts +2 -0
  90. package/dist-types/commands/GetSessionCommand.d.ts +2 -0
  91. package/dist-types/commands/ListAssistantAssociationsCommand.d.ts +2 -0
  92. package/dist-types/commands/ListAssistantsCommand.d.ts +2 -0
  93. package/dist-types/commands/ListContentsCommand.d.ts +2 -0
  94. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +2 -0
  95. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  96. package/dist-types/commands/NotifyRecommendationsReceivedCommand.d.ts +2 -0
  97. package/dist-types/commands/QueryAssistantCommand.d.ts +2 -0
  98. package/dist-types/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +2 -0
  99. package/dist-types/commands/SearchContentCommand.d.ts +2 -0
  100. package/dist-types/commands/SearchSessionsCommand.d.ts +2 -0
  101. package/dist-types/commands/StartContentUploadCommand.d.ts +2 -0
  102. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  103. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  104. package/dist-types/commands/UpdateContentCommand.d.ts +2 -0
  105. package/dist-types/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +2 -0
  106. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  107. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  108. package/dist-types/endpoint/ruleset.d.ts +2 -0
  109. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  110. package/dist-types/runtimeConfig.d.ts +4 -2
  111. package/dist-types/runtimeConfig.native.d.ts +4 -2
  112. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  113. package/dist-types/ts3.4/WisdomClient.d.ts +15 -8
  114. package/dist-types/ts3.4/commands/CreateAssistantAssociationCommand.d.ts +2 -0
  115. package/dist-types/ts3.4/commands/CreateAssistantCommand.d.ts +2 -0
  116. package/dist-types/ts3.4/commands/CreateContentCommand.d.ts +2 -0
  117. package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +2 -0
  118. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +2 -0
  119. package/dist-types/ts3.4/commands/DeleteAssistantAssociationCommand.d.ts +2 -0
  120. package/dist-types/ts3.4/commands/DeleteAssistantCommand.d.ts +2 -0
  121. package/dist-types/ts3.4/commands/DeleteContentCommand.d.ts +2 -0
  122. package/dist-types/ts3.4/commands/DeleteKnowledgeBaseCommand.d.ts +2 -0
  123. package/dist-types/ts3.4/commands/GetAssistantAssociationCommand.d.ts +2 -0
  124. package/dist-types/ts3.4/commands/GetAssistantCommand.d.ts +2 -0
  125. package/dist-types/ts3.4/commands/GetContentCommand.d.ts +2 -0
  126. package/dist-types/ts3.4/commands/GetContentSummaryCommand.d.ts +2 -0
  127. package/dist-types/ts3.4/commands/GetKnowledgeBaseCommand.d.ts +2 -0
  128. package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +2 -0
  129. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +2 -0
  130. package/dist-types/ts3.4/commands/ListAssistantAssociationsCommand.d.ts +2 -0
  131. package/dist-types/ts3.4/commands/ListAssistantsCommand.d.ts +2 -0
  132. package/dist-types/ts3.4/commands/ListContentsCommand.d.ts +2 -0
  133. package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +2 -0
  134. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  135. package/dist-types/ts3.4/commands/NotifyRecommendationsReceivedCommand.d.ts +2 -0
  136. package/dist-types/ts3.4/commands/QueryAssistantCommand.d.ts +2 -0
  137. package/dist-types/ts3.4/commands/RemoveKnowledgeBaseTemplateUriCommand.d.ts +2 -0
  138. package/dist-types/ts3.4/commands/SearchContentCommand.d.ts +2 -0
  139. package/dist-types/ts3.4/commands/SearchSessionsCommand.d.ts +2 -0
  140. package/dist-types/ts3.4/commands/StartContentUploadCommand.d.ts +2 -0
  141. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  142. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  143. package/dist-types/ts3.4/commands/UpdateContentCommand.d.ts +2 -0
  144. package/dist-types/ts3.4/commands/UpdateKnowledgeBaseTemplateUriCommand.d.ts +2 -0
  145. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  146. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  147. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  148. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  149. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  150. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  151. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  152. package/package.json +5 -3
  153. package/dist-cjs/endpoints.js +0 -141
  154. package/dist-es/endpoints.js +0 -137
  155. package/dist-types/endpoints.d.ts +0 -2
  156. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,137 +0,0 @@
1
- import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
- "us-east-1": {
4
- variants: [],
5
- },
6
- "us-west-2": {
7
- variants: [],
8
- },
9
- };
10
- const partitionHash = {
11
- aws: {
12
- regions: [
13
- "af-south-1",
14
- "ap-east-1",
15
- "ap-northeast-1",
16
- "ap-northeast-2",
17
- "ap-northeast-3",
18
- "ap-south-1",
19
- "ap-southeast-1",
20
- "ap-southeast-2",
21
- "ap-southeast-3",
22
- "ca-central-1",
23
- "eu-central-1",
24
- "eu-north-1",
25
- "eu-south-1",
26
- "eu-west-1",
27
- "eu-west-2",
28
- "eu-west-3",
29
- "fips-us-east-1",
30
- "fips-us-west-2",
31
- "me-central-1",
32
- "me-south-1",
33
- "sa-east-1",
34
- "us-east-1",
35
- "us-east-2",
36
- "us-west-1",
37
- "us-west-2",
38
- ],
39
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
40
- variants: [
41
- {
42
- hostname: "wisdom.{region}.amazonaws.com",
43
- tags: [],
44
- },
45
- {
46
- hostname: "wisdom-fips.{region}.amazonaws.com",
47
- tags: ["fips"],
48
- },
49
- {
50
- hostname: "wisdom-fips.{region}.api.aws",
51
- tags: ["dualstack", "fips"],
52
- },
53
- {
54
- hostname: "wisdom.{region}.api.aws",
55
- tags: ["dualstack"],
56
- },
57
- ],
58
- },
59
- "aws-cn": {
60
- regions: ["cn-north-1", "cn-northwest-1"],
61
- regionRegex: "^cn\\-\\w+\\-\\d+$",
62
- variants: [
63
- {
64
- hostname: "wisdom.{region}.amazonaws.com.cn",
65
- tags: [],
66
- },
67
- {
68
- hostname: "wisdom-fips.{region}.amazonaws.com.cn",
69
- tags: ["fips"],
70
- },
71
- {
72
- hostname: "wisdom-fips.{region}.api.amazonwebservices.com.cn",
73
- tags: ["dualstack", "fips"],
74
- },
75
- {
76
- hostname: "wisdom.{region}.api.amazonwebservices.com.cn",
77
- tags: ["dualstack"],
78
- },
79
- ],
80
- },
81
- "aws-iso": {
82
- regions: ["us-iso-east-1", "us-iso-west-1"],
83
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
84
- variants: [
85
- {
86
- hostname: "wisdom.{region}.c2s.ic.gov",
87
- tags: [],
88
- },
89
- {
90
- hostname: "wisdom-fips.{region}.c2s.ic.gov",
91
- tags: ["fips"],
92
- },
93
- ],
94
- },
95
- "aws-iso-b": {
96
- regions: ["us-isob-east-1"],
97
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
98
- variants: [
99
- {
100
- hostname: "wisdom.{region}.sc2s.sgov.gov",
101
- tags: [],
102
- },
103
- {
104
- hostname: "wisdom-fips.{region}.sc2s.sgov.gov",
105
- tags: ["fips"],
106
- },
107
- ],
108
- },
109
- "aws-us-gov": {
110
- regions: ["us-gov-east-1", "us-gov-west-1"],
111
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
112
- variants: [
113
- {
114
- hostname: "wisdom.{region}.amazonaws.com",
115
- tags: [],
116
- },
117
- {
118
- hostname: "wisdom-fips.{region}.amazonaws.com",
119
- tags: ["fips"],
120
- },
121
- {
122
- hostname: "wisdom-fips.{region}.api.aws",
123
- tags: ["dualstack", "fips"],
124
- },
125
- {
126
- hostname: "wisdom.{region}.api.aws",
127
- tags: ["dualstack"],
128
- },
129
- ],
130
- },
131
- };
132
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
133
- ...options,
134
- signingService: "wisdom",
135
- regionHash,
136
- partitionHash,
137
- });
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;