@aws-sdk/client-bedrock-agentcore 3.943.0 → 3.947.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 (69) hide show
  1. package/dist-cjs/index.js +89 -537
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/BedrockAgentCoreClient.js +2 -2
  5. package/dist-es/runtimeConfig.browser.js +2 -2
  6. package/dist-es/runtimeConfig.js +2 -3
  7. package/dist-es/schemas/schemas_0.js +89 -538
  8. package/dist-types/BedrockAgentCore.d.ts +1 -1
  9. package/dist-types/BedrockAgentCoreClient.d.ts +11 -11
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  12. package/dist-types/commands/BatchCreateMemoryRecordsCommand.d.ts +3 -3
  13. package/dist-types/commands/BatchDeleteMemoryRecordsCommand.d.ts +3 -3
  14. package/dist-types/commands/BatchUpdateMemoryRecordsCommand.d.ts +3 -3
  15. package/dist-types/commands/CompleteResourceTokenAuthCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateEventCommand.d.ts +3 -3
  17. package/dist-types/commands/DeleteEventCommand.d.ts +3 -3
  18. package/dist-types/commands/DeleteMemoryRecordCommand.d.ts +3 -3
  19. package/dist-types/commands/EvaluateCommand.d.ts +3 -3
  20. package/dist-types/commands/GetAgentCardCommand.d.ts +3 -3
  21. package/dist-types/commands/GetBrowserSessionCommand.d.ts +3 -3
  22. package/dist-types/commands/GetCodeInterpreterSessionCommand.d.ts +3 -3
  23. package/dist-types/commands/GetEventCommand.d.ts +3 -3
  24. package/dist-types/commands/GetMemoryRecordCommand.d.ts +3 -3
  25. package/dist-types/commands/GetResourceApiKeyCommand.d.ts +3 -3
  26. package/dist-types/commands/GetResourceOauth2TokenCommand.d.ts +3 -3
  27. package/dist-types/commands/GetWorkloadAccessTokenCommand.d.ts +3 -3
  28. package/dist-types/commands/GetWorkloadAccessTokenForJWTCommand.d.ts +3 -3
  29. package/dist-types/commands/GetWorkloadAccessTokenForUserIdCommand.d.ts +3 -3
  30. package/dist-types/commands/InvokeAgentRuntimeCommand.d.ts +2 -2
  31. package/dist-types/commands/InvokeCodeInterpreterCommand.d.ts +3 -3
  32. package/dist-types/commands/ListActorsCommand.d.ts +3 -3
  33. package/dist-types/commands/ListBrowserSessionsCommand.d.ts +3 -3
  34. package/dist-types/commands/ListCodeInterpreterSessionsCommand.d.ts +3 -3
  35. package/dist-types/commands/ListEventsCommand.d.ts +3 -3
  36. package/dist-types/commands/ListMemoryExtractionJobsCommand.d.ts +3 -3
  37. package/dist-types/commands/ListMemoryRecordsCommand.d.ts +3 -3
  38. package/dist-types/commands/ListSessionsCommand.d.ts +3 -3
  39. package/dist-types/commands/RetrieveMemoryRecordsCommand.d.ts +3 -3
  40. package/dist-types/commands/StartBrowserSessionCommand.d.ts +3 -3
  41. package/dist-types/commands/StartCodeInterpreterSessionCommand.d.ts +3 -3
  42. package/dist-types/commands/StartMemoryExtractionJobCommand.d.ts +3 -3
  43. package/dist-types/commands/StopBrowserSessionCommand.d.ts +3 -3
  44. package/dist-types/commands/StopCodeInterpreterSessionCommand.d.ts +3 -3
  45. package/dist-types/commands/StopRuntimeSessionCommand.d.ts +3 -3
  46. package/dist-types/commands/UpdateBrowserStreamCommand.d.ts +3 -3
  47. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  48. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  49. package/dist-types/extensionConfiguration.d.ts +4 -4
  50. package/dist-types/models/BedrockAgentCoreServiceException.d.ts +1 -1
  51. package/dist-types/models/errors.d.ts +1 -1
  52. package/dist-types/pagination/Interfaces.d.ts +1 -1
  53. package/dist-types/pagination/ListActorsPaginator.d.ts +1 -1
  54. package/dist-types/pagination/ListEventsPaginator.d.ts +1 -1
  55. package/dist-types/pagination/ListMemoryExtractionJobsPaginator.d.ts +1 -1
  56. package/dist-types/pagination/ListMemoryRecordsPaginator.d.ts +1 -1
  57. package/dist-types/pagination/ListSessionsPaginator.d.ts +1 -1
  58. package/dist-types/pagination/RetrieveMemoryRecordsPaginator.d.ts +1 -1
  59. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  60. package/dist-types/runtimeConfig.d.ts +1 -1
  61. package/dist-types/runtimeConfig.native.d.ts +1 -1
  62. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  63. package/dist-types/runtimeExtensions.d.ts +1 -1
  64. package/dist-types/schemas/schemas_0.d.ts +1 -2
  65. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +3 -3
  66. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  67. package/dist-types/ts3.4/models/BedrockAgentCoreServiceException.d.ts +1 -1
  68. package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -1
  69. package/package.json +13 -12
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListMemoryExtractionJobsCommandInput, ListMemoryExtractionJobsCommandOutput } from "../commands/ListMemoryExtractionJobsCommand";
3
3
  import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListMemoryRecordsCommandInput, ListMemoryRecordsCommandOutput } from "../commands/ListMemoryRecordsCommand";
3
3
  import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListSessionsCommandInput, ListSessionsCommandOutput } from "../commands/ListSessionsCommand";
3
3
  import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { RetrieveMemoryRecordsCommandInput, RetrieveMemoryRecordsCommandOutput } from "../commands/RetrieveMemoryRecordsCommand";
3
3
  import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
- import { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
2
+ import type { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
- import { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
2
+ import type { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,4 +1,4 @@
1
- import { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
1
+ import type { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
1
+ import type { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { BedrockAgentCoreExtensionConfiguration } from "./extensionConfiguration";
1
+ import type { BedrockAgentCoreExtensionConfiguration } from "./extensionConfiguration";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -1,4 +1,4 @@
1
- import { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
1
+ import type { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
2
  export declare var AccessTokenType: StaticSimpleSchema;
3
3
  export declare var ApiKeyType: StaticSimpleSchema;
4
4
  export declare var AuthorizationUrlType: StaticSimpleSchema;
@@ -131,7 +131,6 @@ export declare var UpdateBrowserStreamResponse: StaticStructureSchema;
131
131
  export declare var ValidationException: StaticErrorSchema;
132
132
  export declare var ValidationExceptionField: StaticStructureSchema;
133
133
  export declare var ViewPort: StaticStructureSchema;
134
- export declare var __Unit: "unit";
135
134
  export declare var BedrockAgentCoreServiceException: StaticErrorSchema;
136
135
  export declare var ActorSummaryList: StaticListSchema;
137
136
  export declare var BrowserSessionSummaries: StaticListSchema;
@@ -24,13 +24,12 @@ import {
24
24
  } from "@smithy/middleware-retry";
25
25
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
26
26
  import {
27
- Client as __Client,
28
27
  DefaultsMode as __DefaultsMode,
29
28
  SmithyConfiguration as __SmithyConfiguration,
30
29
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
30
+ Client as __Client,
31
31
  } from "@smithy/smithy-client";
32
32
  import {
33
- AwsCredentialIdentityProvider,
34
33
  BodyLengthCalculator as __BodyLengthCalculator,
35
34
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
36
35
  ChecksumConstructor as __ChecksumConstructor,
@@ -44,10 +43,11 @@ import {
44
43
  HttpResponse,
45
44
  Logger as __Logger,
46
45
  Provider as __Provider,
47
- Provider,
48
46
  SdkStreamMixinInjector as __SdkStreamMixinInjector,
49
47
  StreamCollector as __StreamCollector,
50
48
  UrlParser as __UrlParser,
49
+ AwsCredentialIdentityProvider,
50
+ Provider,
51
51
  UserAgent as __UserAgent,
52
52
  } from "@smithy/types";
53
53
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
+ HttpAuthScheme,
2
3
  AwsCredentialIdentity,
3
4
  AwsCredentialIdentityProvider,
4
- HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { BedrockAgentCoreHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -1,6 +1,6 @@
1
1
  import {
2
- ServiceException as __ServiceException,
3
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
4
  } from "@smithy/smithy-client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
@@ -138,7 +138,6 @@ export declare var UpdateBrowserStreamResponse: StaticStructureSchema;
138
138
  export declare var ValidationException: StaticErrorSchema;
139
139
  export declare var ValidationExceptionField: StaticStructureSchema;
140
140
  export declare var ViewPort: StaticStructureSchema;
141
- export declare var __Unit: "unit";
142
141
  export declare var BedrockAgentCoreServiceException: StaticErrorSchema;
143
142
  export declare var ActorSummaryList: StaticListSchema;
144
143
  export declare var BrowserSessionSummaries: StaticListSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agentcore",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
4
- "version": "3.943.0",
4
+ "version": "3.947.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-agentcore",
@@ -11,7 +11,8 @@
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo bedrock-agentcore"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo bedrock-agentcore",
15
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "types": "./dist-types/index.d.ts",
@@ -20,19 +21,19 @@
20
21
  "dependencies": {
21
22
  "@aws-crypto/sha256-browser": "5.2.0",
22
23
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.943.0",
24
- "@aws-sdk/credential-provider-node": "3.943.0",
24
+ "@aws-sdk/core": "3.947.0",
25
+ "@aws-sdk/credential-provider-node": "3.947.0",
25
26
  "@aws-sdk/middleware-host-header": "3.936.0",
26
27
  "@aws-sdk/middleware-logger": "3.936.0",
27
28
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.943.0",
29
+ "@aws-sdk/middleware-user-agent": "3.947.0",
29
30
  "@aws-sdk/region-config-resolver": "3.936.0",
30
31
  "@aws-sdk/types": "3.936.0",
31
32
  "@aws-sdk/util-endpoints": "3.936.0",
32
33
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.943.0",
34
+ "@aws-sdk/util-user-agent-node": "3.947.0",
34
35
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.5",
36
+ "@smithy/core": "^3.18.7",
36
37
  "@smithy/eventstream-serde-browser": "^4.2.5",
37
38
  "@smithy/eventstream-serde-config-resolver": "^4.3.5",
38
39
  "@smithy/eventstream-serde-node": "^4.2.5",
@@ -40,21 +41,21 @@
40
41
  "@smithy/hash-node": "^4.2.5",
41
42
  "@smithy/invalid-dependency": "^4.2.5",
42
43
  "@smithy/middleware-content-length": "^4.2.5",
43
- "@smithy/middleware-endpoint": "^4.3.12",
44
- "@smithy/middleware-retry": "^4.4.12",
44
+ "@smithy/middleware-endpoint": "^4.3.14",
45
+ "@smithy/middleware-retry": "^4.4.14",
45
46
  "@smithy/middleware-serde": "^4.2.6",
46
47
  "@smithy/middleware-stack": "^4.2.5",
47
48
  "@smithy/node-config-provider": "^4.3.5",
48
49
  "@smithy/node-http-handler": "^4.4.5",
49
50
  "@smithy/protocol-http": "^5.3.5",
50
- "@smithy/smithy-client": "^4.9.8",
51
+ "@smithy/smithy-client": "^4.9.10",
51
52
  "@smithy/types": "^4.9.0",
52
53
  "@smithy/url-parser": "^4.2.5",
53
54
  "@smithy/util-base64": "^4.3.0",
54
55
  "@smithy/util-body-length-browser": "^4.2.0",
55
56
  "@smithy/util-body-length-node": "^4.2.1",
56
- "@smithy/util-defaults-mode-browser": "^4.3.11",
57
- "@smithy/util-defaults-mode-node": "^4.2.14",
57
+ "@smithy/util-defaults-mode-browser": "^4.3.13",
58
+ "@smithy/util-defaults-mode-node": "^4.2.16",
58
59
  "@smithy/util-endpoints": "^3.2.5",
59
60
  "@smithy/util-middleware": "^4.2.5",
60
61
  "@smithy/util-retry": "^4.2.5",