@aws-sdk/client-bedrock-agent 3.535.0 → 3.543.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 (52) hide show
  1. package/README.md +1 -2
  2. package/dist-cjs/endpoint/endpointResolver.js +4 -2
  3. package/dist-cjs/index.js +0 -3
  4. package/dist-es/endpoint/endpointResolver.js +3 -1
  5. package/dist-es/index.js +0 -1
  6. package/dist-types/BedrockAgent.d.ts +1 -2
  7. package/dist-types/BedrockAgentClient.d.ts +1 -2
  8. package/dist-types/commands/AssociateAgentKnowledgeBaseCommand.d.ts +8 -8
  9. package/dist-types/commands/CreateAgentActionGroupCommand.d.ts +9 -8
  10. package/dist-types/commands/CreateAgentAliasCommand.d.ts +8 -8
  11. package/dist-types/commands/CreateAgentCommand.d.ts +30 -7
  12. package/dist-types/commands/CreateDataSourceCommand.d.ts +11 -8
  13. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +38 -7
  14. package/dist-types/commands/DeleteAgentActionGroupCommand.d.ts +7 -7
  15. package/dist-types/commands/DeleteAgentAliasCommand.d.ts +6 -6
  16. package/dist-types/commands/DeleteAgentCommand.d.ts +7 -7
  17. package/dist-types/commands/DeleteAgentVersionCommand.d.ts +7 -7
  18. package/dist-types/commands/DeleteDataSourceCommand.d.ts +7 -7
  19. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +7 -7
  20. package/dist-types/commands/DisassociateAgentKnowledgeBaseCommand.d.ts +7 -7
  21. package/dist-types/commands/GetAgentActionGroupCommand.d.ts +6 -6
  22. package/dist-types/commands/GetAgentAliasCommand.d.ts +6 -6
  23. package/dist-types/commands/GetAgentCommand.d.ts +6 -6
  24. package/dist-types/commands/GetAgentKnowledgeBaseCommand.d.ts +6 -6
  25. package/dist-types/commands/GetAgentVersionCommand.d.ts +6 -6
  26. package/dist-types/commands/GetDataSourceCommand.d.ts +6 -6
  27. package/dist-types/commands/GetIngestionJobCommand.d.ts +8 -6
  28. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +6 -6
  29. package/dist-types/commands/ListAgentActionGroupsCommand.d.ts +6 -6
  30. package/dist-types/commands/ListAgentAliasesCommand.d.ts +6 -6
  31. package/dist-types/commands/ListAgentKnowledgeBasesCommand.d.ts +6 -6
  32. package/dist-types/commands/ListAgentVersionsCommand.d.ts +6 -6
  33. package/dist-types/commands/ListAgentsCommand.d.ts +5 -5
  34. package/dist-types/commands/ListDataSourcesCommand.d.ts +6 -6
  35. package/dist-types/commands/ListIngestionJobsCommand.d.ts +8 -6
  36. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +5 -5
  37. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -6
  38. package/dist-types/commands/PrepareAgentCommand.d.ts +8 -8
  39. package/dist-types/commands/StartIngestionJobCommand.d.ts +10 -8
  40. package/dist-types/commands/TagResourceCommand.d.ts +7 -7
  41. package/dist-types/commands/UntagResourceCommand.d.ts +6 -6
  42. package/dist-types/commands/UpdateAgentActionGroupCommand.d.ts +8 -8
  43. package/dist-types/commands/UpdateAgentAliasCommand.d.ts +8 -8
  44. package/dist-types/commands/UpdateAgentCommand.d.ts +9 -9
  45. package/dist-types/commands/UpdateAgentKnowledgeBaseCommand.d.ts +7 -7
  46. package/dist-types/commands/UpdateDataSourceCommand.d.ts +10 -7
  47. package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +26 -7
  48. package/dist-types/index.d.ts +1 -3
  49. package/dist-types/models/models_0.d.ts +629 -534
  50. package/dist-types/ts3.4/index.d.ts +0 -1
  51. package/dist-types/ts3.4/models/models_0.d.ts +3 -1
  52. package/package.json +5 -5
@@ -6,5 +6,4 @@ export { BedrockAgentExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./models";
9
- import "@aws-sdk/util-endpoints";
10
9
  export { BedrockAgentServiceException } from "./models/BedrockAgentServiceException";
@@ -371,7 +371,7 @@ export interface UpdateAgentRequest {
371
371
  agentId: string | undefined;
372
372
  agentName: string | undefined;
373
373
  instruction?: string;
374
- foundationModel?: string;
374
+ foundationModel: string | undefined;
375
375
  description?: string;
376
376
  idleSessionTTLInSeconds?: number;
377
377
  agentResourceRoleArn: string | undefined;
@@ -568,8 +568,10 @@ export interface GetIngestionJobRequest {
568
568
  }
569
569
  export interface IngestionJobStatistics {
570
570
  numberOfDocumentsScanned?: number;
571
+ numberOfMetadataDocumentsScanned?: number;
571
572
  numberOfNewDocumentsIndexed?: number;
572
573
  numberOfModifiedDocumentsIndexed?: number;
574
+ numberOfMetadataDocumentsModified?: number;
573
575
  numberOfDocumentsDeleted?: number;
574
576
  numberOfDocumentsFailed?: number;
575
577
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agent",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agent Client for Node.js, Browser and React Native",
4
- "version": "3.535.0",
4
+ "version": "3.543.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent",
@@ -20,16 +20,16 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.535.0",
23
+ "@aws-sdk/client-sts": "3.540.0",
24
24
  "@aws-sdk/core": "3.535.0",
25
- "@aws-sdk/credential-provider-node": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.540.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
- "@aws-sdk/middleware-user-agent": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.540.0",
30
30
  "@aws-sdk/region-config-resolver": "3.535.0",
31
31
  "@aws-sdk/types": "3.535.0",
32
- "@aws-sdk/util-endpoints": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.540.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.535.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.535.0",
35
35
  "@smithy/config-resolver": "^2.2.0",