@aws-sdk/client-kendra 3.300.0 → 3.301.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 (61) hide show
  1. package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +3 -3
  2. package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +3 -3
  3. package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +3 -3
  4. package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +7 -7
  5. package/dist-types/commands/BatchPutDocumentCommand.d.ts +18 -18
  6. package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +5 -5
  8. package/dist-types/commands/CreateDataSourceCommand.d.ts +168 -338
  9. package/dist-types/commands/CreateExperienceCommand.d.ts +6 -6
  10. package/dist-types/commands/CreateFaqCommand.d.ts +4 -4
  11. package/dist-types/commands/CreateIndexCommand.d.ts +9 -9
  12. package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +4 -4
  13. package/dist-types/commands/CreateThesaurusCommand.d.ts +4 -4
  14. package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteExperienceCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteFaqCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteIndexCommand.d.ts +1 -1
  19. package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteThesaurusCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeDataSourceCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeExperienceCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeFaqCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeIndexCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeThesaurusCommand.d.ts +1 -1
  31. package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +3 -3
  32. package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +2 -2
  33. package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +1 -1
  34. package/dist-types/commands/GetSnapshotsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +2 -2
  37. package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -1
  38. package/dist-types/commands/ListEntityPersonasCommand.d.ts +1 -1
  39. package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +1 -1
  40. package/dist-types/commands/ListExperiencesCommand.d.ts +1 -1
  41. package/dist-types/commands/ListFaqsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +1 -1
  43. package/dist-types/commands/ListIndicesCommand.d.ts +1 -1
  44. package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  46. package/dist-types/commands/ListThesauriCommand.d.ts +1 -1
  47. package/dist-types/commands/PutPrincipalMappingCommand.d.ts +7 -7
  48. package/dist-types/commands/QueryCommand.d.ts +88 -213
  49. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
  50. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  51. package/dist-types/commands/SubmitFeedbackCommand.d.ts +5 -5
  52. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  53. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  54. package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +5 -5
  55. package/dist-types/commands/UpdateDataSourceCommand.d.ts +166 -336
  56. package/dist-types/commands/UpdateExperienceCommand.d.ts +6 -6
  57. package/dist-types/commands/UpdateIndexCommand.d.ts +12 -12
  58. package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +2 -2
  59. package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +1 -1
  60. package/dist-types/commands/UpdateThesaurusCommand.d.ts +2 -2
  61. package/package.json +3 -3
@@ -28,22 +28,22 @@ export interface UpdateExperienceCommandOutput extends __MetadataBearer {
28
28
  * import { KendraClient, UpdateExperienceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
29
29
  * // const { KendraClient, UpdateExperienceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
30
30
  * const client = new KendraClient(config);
31
- * const input = {
31
+ * const input = { // UpdateExperienceRequest
32
32
  * Id: "STRING_VALUE", // required
33
33
  * Name: "STRING_VALUE",
34
34
  * IndexId: "STRING_VALUE", // required
35
35
  * RoleArn: "STRING_VALUE",
36
- * Configuration: {
37
- * ContentSourceConfiguration: {
38
- * DataSourceIds: [
36
+ * Configuration: { // ExperienceConfiguration
37
+ * ContentSourceConfiguration: { // ContentSourceConfiguration
38
+ * DataSourceIds: [ // DataSourceIdList
39
39
  * "STRING_VALUE",
40
40
  * ],
41
- * FaqIds: [
41
+ * FaqIds: [ // FaqIdsList
42
42
  * "STRING_VALUE",
43
43
  * ],
44
44
  * DirectPutContent: true || false,
45
45
  * },
46
- * UserIdentityConfiguration: {
46
+ * UserIdentityConfiguration: { // UserIdentityConfiguration
47
47
  * IdentityAttributeName: "STRING_VALUE",
48
48
  * },
49
49
  * },
@@ -26,25 +26,25 @@ export interface UpdateIndexCommandOutput extends __MetadataBearer {
26
26
  * import { KendraClient, UpdateIndexCommand } from "@aws-sdk/client-kendra"; // ES Modules import
27
27
  * // const { KendraClient, UpdateIndexCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
28
28
  * const client = new KendraClient(config);
29
- * const input = {
29
+ * const input = { // UpdateIndexRequest
30
30
  * Id: "STRING_VALUE", // required
31
31
  * Name: "STRING_VALUE",
32
32
  * RoleArn: "STRING_VALUE",
33
33
  * Description: "STRING_VALUE",
34
- * DocumentMetadataConfigurationUpdates: [
35
- * {
34
+ * DocumentMetadataConfigurationUpdates: [ // DocumentMetadataConfigurationList
35
+ * { // DocumentMetadataConfiguration
36
36
  * Name: "STRING_VALUE", // required
37
37
  * Type: "STRING_VALUE" || "STRING_LIST_VALUE" || "LONG_VALUE" || "DATE_VALUE", // required
38
- * Relevance: {
38
+ * Relevance: { // Relevance
39
39
  * Freshness: true || false,
40
40
  * Importance: Number("int"),
41
41
  * Duration: "STRING_VALUE",
42
42
  * RankOrder: "ASCENDING" || "DESCENDING",
43
- * ValueImportanceMap: {
43
+ * ValueImportanceMap: { // ValueImportanceMap
44
44
  * "<keys>": Number("int"),
45
45
  * },
46
46
  * },
47
- * Search: {
47
+ * Search: { // Search
48
48
  * Facetable: true || false,
49
49
  * Searchable: true || false,
50
50
  * Displayable: true || false,
@@ -52,13 +52,13 @@ export interface UpdateIndexCommandOutput extends __MetadataBearer {
52
52
  * },
53
53
  * },
54
54
  * ],
55
- * CapacityUnits: {
55
+ * CapacityUnits: { // CapacityUnitsConfiguration
56
56
  * StorageCapacityUnits: Number("int"), // required
57
57
  * QueryCapacityUnits: Number("int"), // required
58
58
  * },
59
- * UserTokenConfigurations: [
60
- * {
61
- * JwtTokenTypeConfiguration: {
59
+ * UserTokenConfigurations: [ // UserTokenConfigurationList
60
+ * { // UserTokenConfiguration
61
+ * JwtTokenTypeConfiguration: { // JwtTokenTypeConfiguration
62
62
  * KeyLocation: "URL" || "SECRET_MANAGER", // required
63
63
  * URL: "STRING_VALUE",
64
64
  * SecretManagerArn: "STRING_VALUE",
@@ -67,14 +67,14 @@ export interface UpdateIndexCommandOutput extends __MetadataBearer {
67
67
  * Issuer: "STRING_VALUE",
68
68
  * ClaimRegex: "STRING_VALUE",
69
69
  * },
70
- * JsonTokenTypeConfiguration: {
70
+ * JsonTokenTypeConfiguration: { // JsonTokenTypeConfiguration
71
71
  * UserNameAttributeField: "STRING_VALUE", // required
72
72
  * GroupAttributeField: "STRING_VALUE", // required
73
73
  * },
74
74
  * },
75
75
  * ],
76
76
  * UserContextPolicy: "ATTRIBUTE_FILTER" || "USER_TOKEN",
77
- * UserGroupResolutionConfiguration: {
77
+ * UserGroupResolutionConfiguration: { // UserGroupResolutionConfiguration
78
78
  * UserGroupResolutionMode: "AWS_SSO" || "NONE", // required
79
79
  * },
80
80
  * };
@@ -36,12 +36,12 @@ export interface UpdateQuerySuggestionsBlockListCommandOutput extends __Metadata
36
36
  * import { KendraClient, UpdateQuerySuggestionsBlockListCommand } from "@aws-sdk/client-kendra"; // ES Modules import
37
37
  * // const { KendraClient, UpdateQuerySuggestionsBlockListCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
38
38
  * const client = new KendraClient(config);
39
- * const input = {
39
+ * const input = { // UpdateQuerySuggestionsBlockListRequest
40
40
  * IndexId: "STRING_VALUE", // required
41
41
  * Id: "STRING_VALUE", // required
42
42
  * Name: "STRING_VALUE",
43
43
  * Description: "STRING_VALUE",
44
- * SourceS3Path: {
44
+ * SourceS3Path: { // S3Path
45
45
  * Bucket: "STRING_VALUE", // required
46
46
  * Key: "STRING_VALUE", // required
47
47
  * },
@@ -37,7 +37,7 @@ export interface UpdateQuerySuggestionsConfigCommandOutput extends __MetadataBea
37
37
  * import { KendraClient, UpdateQuerySuggestionsConfigCommand } from "@aws-sdk/client-kendra"; // ES Modules import
38
38
  * // const { KendraClient, UpdateQuerySuggestionsConfigCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
39
39
  * const client = new KendraClient(config);
40
- * const input = {
40
+ * const input = { // UpdateQuerySuggestionsConfigRequest
41
41
  * IndexId: "STRING_VALUE", // required
42
42
  * Mode: "ENABLED" || "LEARN_ONLY",
43
43
  * QueryLogLookBackWindowInDays: Number("int"),
@@ -26,13 +26,13 @@ export interface UpdateThesaurusCommandOutput extends __MetadataBearer {
26
26
  * import { KendraClient, UpdateThesaurusCommand } from "@aws-sdk/client-kendra"; // ES Modules import
27
27
  * // const { KendraClient, UpdateThesaurusCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
28
28
  * const client = new KendraClient(config);
29
- * const input = {
29
+ * const input = { // UpdateThesaurusRequest
30
30
  * Id: "STRING_VALUE", // required
31
31
  * Name: "STRING_VALUE",
32
32
  * IndexId: "STRING_VALUE", // required
33
33
  * Description: "STRING_VALUE",
34
34
  * RoleArn: "STRING_VALUE",
35
- * SourceS3Path: {
35
+ * SourceS3Path: { // S3Path
36
36
  * Bucket: "STRING_VALUE", // required
37
37
  * Key: "STRING_VALUE", // required
38
38
  * },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kendra",
3
3
  "description": "AWS SDK for JavaScript Kendra Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
25
  "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",