@aws-sdk/client-kendra 3.299.0 → 3.300.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 +10 -0
  2. package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +10 -0
  3. package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +10 -0
  4. package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +21 -0
  5. package/dist-types/commands/BatchPutDocumentCommand.d.ts +114 -0
  6. package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +3 -0
  7. package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +26 -0
  8. package/dist-types/commands/CreateDataSourceCommand.d.ts +739 -0
  9. package/dist-types/commands/CreateExperienceCommand.d.ts +21 -0
  10. package/dist-types/commands/CreateFaqCommand.d.ts +19 -0
  11. package/dist-types/commands/CreateIndexCommand.d.ts +37 -0
  12. package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +17 -0
  13. package/dist-types/commands/CreateThesaurusCommand.d.ts +17 -0
  14. package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteDataSourceCommand.d.ts +4 -0
  16. package/dist-types/commands/DeleteExperienceCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteFaqCommand.d.ts +4 -0
  18. package/dist-types/commands/DeleteIndexCommand.d.ts +3 -0
  19. package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +6 -0
  20. package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +4 -0
  21. package/dist-types/commands/DeleteThesaurusCommand.d.ts +4 -0
  22. package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +4 -0
  23. package/dist-types/commands/DescribeDataSourceCommand.d.ts +4 -0
  24. package/dist-types/commands/DescribeExperienceCommand.d.ts +4 -0
  25. package/dist-types/commands/DescribeFaqCommand.d.ts +4 -0
  26. package/dist-types/commands/DescribeIndexCommand.d.ts +3 -0
  27. package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +5 -0
  28. package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +4 -0
  29. package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +3 -0
  30. package/dist-types/commands/DescribeThesaurusCommand.d.ts +4 -0
  31. package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +10 -0
  32. package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +7 -0
  33. package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +5 -0
  34. package/dist-types/commands/GetSnapshotsCommand.d.ts +7 -0
  35. package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +5 -0
  36. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +11 -0
  37. package/dist-types/commands/ListDataSourcesCommand.d.ts +5 -0
  38. package/dist-types/commands/ListEntityPersonasCommand.d.ts +6 -0
  39. package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +5 -0
  40. package/dist-types/commands/ListExperiencesCommand.d.ts +5 -0
  41. package/dist-types/commands/ListFaqsCommand.d.ts +5 -0
  42. package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +7 -0
  43. package/dist-types/commands/ListIndicesCommand.d.ts +4 -0
  44. package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +5 -0
  45. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  46. package/dist-types/commands/ListThesauriCommand.d.ts +5 -0
  47. package/dist-types/commands/PutPrincipalMappingCommand.d.ts +24 -0
  48. package/dist-types/commands/QueryCommand.d.ts +264 -0
  49. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +4 -0
  50. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +4 -0
  51. package/dist-types/commands/SubmitFeedbackCommand.d.ts +16 -0
  52. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  53. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  54. package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +26 -0
  55. package/dist-types/commands/UpdateDataSourceCommand.d.ts +732 -0
  56. package/dist-types/commands/UpdateExperienceCommand.d.ts +21 -0
  57. package/dist-types/commands/UpdateIndexCommand.d.ts +52 -0
  58. package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +11 -0
  59. package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +8 -0
  60. package/dist-types/commands/UpdateThesaurusCommand.d.ts +11 -0
  61. package/package.json +8 -8
@@ -28,6 +28,27 @@ 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 = {
32
+ * Id: "STRING_VALUE", // required
33
+ * Name: "STRING_VALUE",
34
+ * IndexId: "STRING_VALUE", // required
35
+ * RoleArn: "STRING_VALUE",
36
+ * Configuration: {
37
+ * ContentSourceConfiguration: {
38
+ * DataSourceIds: [
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * FaqIds: [
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * DirectPutContent: true || false,
45
+ * },
46
+ * UserIdentityConfiguration: {
47
+ * IdentityAttributeName: "STRING_VALUE",
48
+ * },
49
+ * },
50
+ * Description: "STRING_VALUE",
51
+ * };
31
52
  * const command = new UpdateExperienceCommand(input);
32
53
  * const response = await client.send(command);
33
54
  * ```
@@ -26,6 +26,58 @@ 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 = {
30
+ * Id: "STRING_VALUE", // required
31
+ * Name: "STRING_VALUE",
32
+ * RoleArn: "STRING_VALUE",
33
+ * Description: "STRING_VALUE",
34
+ * DocumentMetadataConfigurationUpdates: [
35
+ * {
36
+ * Name: "STRING_VALUE", // required
37
+ * Type: "STRING_VALUE" || "STRING_LIST_VALUE" || "LONG_VALUE" || "DATE_VALUE", // required
38
+ * Relevance: {
39
+ * Freshness: true || false,
40
+ * Importance: Number("int"),
41
+ * Duration: "STRING_VALUE",
42
+ * RankOrder: "ASCENDING" || "DESCENDING",
43
+ * ValueImportanceMap: {
44
+ * "<keys>": Number("int"),
45
+ * },
46
+ * },
47
+ * Search: {
48
+ * Facetable: true || false,
49
+ * Searchable: true || false,
50
+ * Displayable: true || false,
51
+ * Sortable: true || false,
52
+ * },
53
+ * },
54
+ * ],
55
+ * CapacityUnits: {
56
+ * StorageCapacityUnits: Number("int"), // required
57
+ * QueryCapacityUnits: Number("int"), // required
58
+ * },
59
+ * UserTokenConfigurations: [
60
+ * {
61
+ * JwtTokenTypeConfiguration: {
62
+ * KeyLocation: "URL" || "SECRET_MANAGER", // required
63
+ * URL: "STRING_VALUE",
64
+ * SecretManagerArn: "STRING_VALUE",
65
+ * UserNameAttributeField: "STRING_VALUE",
66
+ * GroupAttributeField: "STRING_VALUE",
67
+ * Issuer: "STRING_VALUE",
68
+ * ClaimRegex: "STRING_VALUE",
69
+ * },
70
+ * JsonTokenTypeConfiguration: {
71
+ * UserNameAttributeField: "STRING_VALUE", // required
72
+ * GroupAttributeField: "STRING_VALUE", // required
73
+ * },
74
+ * },
75
+ * ],
76
+ * UserContextPolicy: "ATTRIBUTE_FILTER" || "USER_TOKEN",
77
+ * UserGroupResolutionConfiguration: {
78
+ * UserGroupResolutionMode: "AWS_SSO" || "NONE", // required
79
+ * },
80
+ * };
29
81
  * const command = new UpdateIndexCommand(input);
30
82
  * const response = await client.send(command);
31
83
  * ```
@@ -36,6 +36,17 @@ 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 = {
40
+ * IndexId: "STRING_VALUE", // required
41
+ * Id: "STRING_VALUE", // required
42
+ * Name: "STRING_VALUE",
43
+ * Description: "STRING_VALUE",
44
+ * SourceS3Path: {
45
+ * Bucket: "STRING_VALUE", // required
46
+ * Key: "STRING_VALUE", // required
47
+ * },
48
+ * RoleArn: "STRING_VALUE",
49
+ * };
39
50
  * const command = new UpdateQuerySuggestionsBlockListCommand(input);
40
51
  * const response = await client.send(command);
41
52
  * ```
@@ -37,6 +37,14 @@ 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 = {
41
+ * IndexId: "STRING_VALUE", // required
42
+ * Mode: "ENABLED" || "LEARN_ONLY",
43
+ * QueryLogLookBackWindowInDays: Number("int"),
44
+ * IncludeQueriesWithoutUserInformation: true || false,
45
+ * MinimumNumberOfQueryingUsers: Number("int"),
46
+ * MinimumQueryCount: Number("int"),
47
+ * };
40
48
  * const command = new UpdateQuerySuggestionsConfigCommand(input);
41
49
  * const response = await client.send(command);
42
50
  * ```
@@ -26,6 +26,17 @@ 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 = {
30
+ * Id: "STRING_VALUE", // required
31
+ * Name: "STRING_VALUE",
32
+ * IndexId: "STRING_VALUE", // required
33
+ * Description: "STRING_VALUE",
34
+ * RoleArn: "STRING_VALUE",
35
+ * SourceS3Path: {
36
+ * Bucket: "STRING_VALUE", // required
37
+ * Key: "STRING_VALUE", // required
38
+ * },
39
+ * };
29
40
  * const command = new UpdateThesaurusCommand(input);
30
41
  * const response = await client.send(command);
31
42
  * ```
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.299.0",
4
+ "version": "3.300.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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.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",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"