@aws-sdk/client-bedrock-agentcore 3.1086.0 → 3.1088.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 (88) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/BedrockAgentCore.d.ts +215 -247
  3. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +13 -47
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/BatchCreateMemoryRecordsCommand.d.ts +5 -10
  8. package/dist-types/ts3.4/commands/BatchDeleteMemoryRecordsCommand.d.ts +5 -10
  9. package/dist-types/ts3.4/commands/BatchUpdateMemoryRecordsCommand.d.ts +5 -10
  10. package/dist-types/ts3.4/commands/CompleteResourceTokenAuthCommand.d.ts +4 -6
  11. package/dist-types/ts3.4/commands/CreateABTestCommand.d.ts +3 -5
  12. package/dist-types/ts3.4/commands/CreateEventCommand.d.ts +3 -5
  13. package/dist-types/ts3.4/commands/CreatePaymentInstrumentCommand.d.ts +4 -6
  14. package/dist-types/ts3.4/commands/CreatePaymentSessionCommand.d.ts +5 -10
  15. package/dist-types/ts3.4/commands/DeleteABTestCommand.d.ts +3 -5
  16. package/dist-types/ts3.4/commands/DeleteBatchEvaluationCommand.d.ts +5 -10
  17. package/dist-types/ts3.4/commands/DeleteEventCommand.d.ts +3 -5
  18. package/dist-types/ts3.4/commands/DeleteMemoryRecordCommand.d.ts +5 -10
  19. package/dist-types/ts3.4/commands/DeletePaymentInstrumentCommand.d.ts +4 -6
  20. package/dist-types/ts3.4/commands/DeletePaymentSessionCommand.d.ts +5 -10
  21. package/dist-types/ts3.4/commands/DeleteRecommendationCommand.d.ts +5 -10
  22. package/dist-types/ts3.4/commands/EvaluateCommand.d.ts +7 -5
  23. package/dist-types/ts3.4/commands/GetABTestCommand.d.ts +7 -5
  24. package/dist-types/ts3.4/commands/GetAgentCardCommand.d.ts +3 -5
  25. package/dist-types/ts3.4/commands/GetBatchEvaluationCommand.d.ts +5 -10
  26. package/dist-types/ts3.4/commands/GetBrowserSessionCommand.d.ts +5 -10
  27. package/dist-types/ts3.4/commands/GetCodeInterpreterSessionCommand.d.ts +4 -6
  28. package/dist-types/ts3.4/commands/GetEventCommand.d.ts +7 -5
  29. package/dist-types/ts3.4/commands/GetMemoryRecordCommand.d.ts +4 -9
  30. package/dist-types/ts3.4/commands/GetPaymentInstrumentBalanceCommand.d.ts +4 -6
  31. package/dist-types/ts3.4/commands/GetPaymentInstrumentCommand.d.ts +5 -10
  32. package/dist-types/ts3.4/commands/GetPaymentSessionCommand.d.ts +5 -10
  33. package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +5 -10
  34. package/dist-types/ts3.4/commands/GetResourceApiKeyCommand.d.ts +5 -10
  35. package/dist-types/ts3.4/commands/GetResourceOauth2TokenCommand.d.ts +5 -10
  36. package/dist-types/ts3.4/commands/GetResourcePaymentTokenCommand.d.ts +4 -6
  37. package/dist-types/ts3.4/commands/GetWorkloadAccessTokenCommand.d.ts +5 -10
  38. package/dist-types/ts3.4/commands/GetWorkloadAccessTokenForJWTCommand.d.ts +4 -6
  39. package/dist-types/ts3.4/commands/GetWorkloadAccessTokenForUserIdCommand.d.ts +4 -6
  40. package/dist-types/ts3.4/commands/InvokeAgentRuntimeCommand.d.ts +6 -12
  41. package/dist-types/ts3.4/commands/InvokeAgentRuntimeCommandCommand.d.ts +4 -6
  42. package/dist-types/ts3.4/commands/InvokeBrowserCommand.d.ts +4 -9
  43. package/dist-types/ts3.4/commands/InvokeCodeInterpreterCommand.d.ts +5 -10
  44. package/dist-types/ts3.4/commands/InvokeHarnessCommand.d.ts +4 -9
  45. package/dist-types/ts3.4/commands/ListABTestsCommand.d.ts +2 -4
  46. package/dist-types/ts3.4/commands/ListActorsCommand.d.ts +3 -5
  47. package/dist-types/ts3.4/commands/ListBatchEvaluationsCommand.d.ts +4 -9
  48. package/dist-types/ts3.4/commands/ListBrowserSessionsCommand.d.ts +5 -10
  49. package/dist-types/ts3.4/commands/ListCodeInterpreterSessionsCommand.d.ts +4 -6
  50. package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +3 -5
  51. package/dist-types/ts3.4/commands/ListMemoryExtractionJobsCommand.d.ts +5 -10
  52. package/dist-types/ts3.4/commands/ListMemoryRecordsCommand.d.ts +4 -9
  53. package/dist-types/ts3.4/commands/ListPaymentInstrumentsCommand.d.ts +5 -10
  54. package/dist-types/ts3.4/commands/ListPaymentSessionsCommand.d.ts +5 -10
  55. package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +4 -9
  56. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +3 -5
  57. package/dist-types/ts3.4/commands/ProcessPaymentCommand.d.ts +4 -9
  58. package/dist-types/ts3.4/commands/RetrieveMemoryRecordsCommand.d.ts +5 -10
  59. package/dist-types/ts3.4/commands/SaveBrowserSessionProfileCommand.d.ts +4 -6
  60. package/dist-types/ts3.4/commands/SearchRegistryRecordsCommand.d.ts +5 -10
  61. package/dist-types/ts3.4/commands/StartBatchEvaluationCommand.d.ts +5 -10
  62. package/dist-types/ts3.4/commands/StartBrowserSessionCommand.d.ts +5 -10
  63. package/dist-types/ts3.4/commands/StartCodeInterpreterSessionCommand.d.ts +4 -6
  64. package/dist-types/ts3.4/commands/StartMemoryExtractionJobCommand.d.ts +5 -10
  65. package/dist-types/ts3.4/commands/StartRecommendationCommand.d.ts +5 -10
  66. package/dist-types/ts3.4/commands/StopBatchEvaluationCommand.d.ts +5 -10
  67. package/dist-types/ts3.4/commands/StopBrowserSessionCommand.d.ts +5 -10
  68. package/dist-types/ts3.4/commands/StopCodeInterpreterSessionCommand.d.ts +4 -6
  69. package/dist-types/ts3.4/commands/StopRuntimeSessionCommand.d.ts +5 -10
  70. package/dist-types/ts3.4/commands/UpdateABTestCommand.d.ts +3 -5
  71. package/dist-types/ts3.4/commands/UpdateBrowserStreamCommand.d.ts +5 -10
  72. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  73. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  74. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  75. package/dist-types/ts3.4/models/enums.d.ts +24 -48
  76. package/dist-types/ts3.4/models/errors.d.ts +10 -30
  77. package/dist-types/ts3.4/models/models_0.d.ts +17 -52
  78. package/dist-types/ts3.4/models/models_1.d.ts +3 -9
  79. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  80. package/dist-types/ts3.4/pagination/ListABTestsPaginator.d.ts +1 -4
  81. package/dist-types/ts3.4/pagination/ListActorsPaginator.d.ts +1 -4
  82. package/dist-types/ts3.4/pagination/ListEventsPaginator.d.ts +1 -4
  83. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
  84. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
  85. package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
  86. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
  87. package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
  88. package/package.json +39 -39
@@ -1,7 +1,4 @@
1
- import {
2
- DocumentType as __DocumentType,
3
- StreamingBlobTypes,
4
- } from "@smithy/types";
1
+ import { DocumentType as __DocumentType, StreamingBlobTypes } from "@smithy/types";
5
2
  import {
6
3
  ABTestExecutionStatus,
7
4
  ABTestStatus,
@@ -82,9 +79,7 @@ export declare namespace ABTestEvaluationConfig {
82
79
  }
83
80
  interface Visitor<T> {
84
81
  onlineEvaluationConfigArn: (value: string) => T;
85
- perVariantOnlineEvaluationConfig: (
86
- value: PerVariantOnlineEvaluationConfig[]
87
- ) => T;
82
+ perVariantOnlineEvaluationConfig: (value: PerVariantOnlineEvaluationConfig[]) => T;
88
83
  _: (name: string, value: any) => T;
89
84
  }
90
85
  }
@@ -511,9 +506,7 @@ export interface S3Location {
511
506
  prefix: string | undefined;
512
507
  versionId?: string | undefined;
513
508
  }
514
- export type ResourceLocation =
515
- | ResourceLocation.S3Member
516
- | ResourceLocation.$UnknownMember;
509
+ export type ResourceLocation = ResourceLocation.S3Member | ResourceLocation.$UnknownMember;
517
510
  export declare namespace ResourceLocation {
518
511
  interface S3Member {
519
512
  s3: S3Location;
@@ -544,9 +537,7 @@ export interface ProxyBypass {
544
537
  export interface BasicAuth {
545
538
  secretArn: string | undefined;
546
539
  }
547
- export type ProxyCredentials =
548
- | ProxyCredentials.BasicAuthMember
549
- | ProxyCredentials.$UnknownMember;
540
+ export type ProxyCredentials = ProxyCredentials.BasicAuthMember | ProxyCredentials.$UnknownMember;
550
541
  export declare namespace ProxyCredentials {
551
542
  interface BasicAuthMember {
552
543
  basicAuth: BasicAuth;
@@ -993,9 +984,7 @@ export interface StopBrowserSessionResponse {
993
984
  export interface AutomationStreamUpdate {
994
985
  streamStatus?: AutomationStreamStatus | undefined;
995
986
  }
996
- export type StreamUpdate =
997
- | StreamUpdate.AutomationStreamUpdateMember
998
- | StreamUpdate.$UnknownMember;
987
+ export type StreamUpdate = StreamUpdate.AutomationStreamUpdateMember | StreamUpdate.$UnknownMember;
999
988
  export declare namespace StreamUpdate {
1000
989
  interface AutomationStreamUpdateMember {
1001
990
  automationStreamUpdate: AutomationStreamUpdate;
@@ -1172,9 +1161,7 @@ export interface DeleteRecommendationResponse {
1172
1161
  recommendationId: string | undefined;
1173
1162
  status: RecommendationStatus | undefined;
1174
1163
  }
1175
- export type EvaluationInput =
1176
- | EvaluationInput.SessionSpansMember
1177
- | EvaluationInput.$UnknownMember;
1164
+ export type EvaluationInput = EvaluationInput.SessionSpansMember | EvaluationInput.$UnknownMember;
1178
1165
  export declare namespace EvaluationInput {
1179
1166
  interface SessionSpansMember {
1180
1167
  sessionSpans: __DocumentType[];
@@ -1189,9 +1176,7 @@ export declare namespace EvaluationInput {
1189
1176
  _: (name: string, value: any) => T;
1190
1177
  }
1191
1178
  }
1192
- export type EvaluationContent =
1193
- | EvaluationContent.TextMember
1194
- | EvaluationContent.$UnknownMember;
1179
+ export type EvaluationContent = EvaluationContent.TextMember | EvaluationContent.$UnknownMember;
1195
1180
  export declare namespace EvaluationContent {
1196
1181
  interface TextMember {
1197
1182
  text: string;
@@ -1425,9 +1410,7 @@ export interface CloudWatchOutputConfig {
1425
1410
  logGroupName: string | undefined;
1426
1411
  logStreamName: string | undefined;
1427
1412
  }
1428
- export type OutputConfig =
1429
- | OutputConfig.CloudWatchConfigMember
1430
- | OutputConfig.$UnknownMember;
1413
+ export type OutputConfig = OutputConfig.CloudWatchConfigMember | OutputConfig.$UnknownMember;
1431
1414
  export declare namespace OutputConfig {
1432
1415
  interface CloudWatchConfigMember {
1433
1416
  cloudWatchConfig: CloudWatchOutputConfig;
@@ -1604,12 +1587,8 @@ export declare namespace RecommendationConfig {
1604
1587
  $unknown: [string, any];
1605
1588
  }
1606
1589
  interface Visitor<T> {
1607
- systemPromptRecommendationConfig: (
1608
- value: SystemPromptRecommendationConfig
1609
- ) => T;
1610
- toolDescriptionRecommendationConfig: (
1611
- value: ToolDescriptionRecommendationConfig
1612
- ) => T;
1590
+ systemPromptRecommendationConfig: (value: SystemPromptRecommendationConfig) => T;
1591
+ toolDescriptionRecommendationConfig: (value: ToolDescriptionRecommendationConfig) => T;
1613
1592
  _: (name: string, value: any) => T;
1614
1593
  }
1615
1594
  }
@@ -1656,12 +1635,8 @@ export declare namespace RecommendationResult {
1656
1635
  $unknown: [string, any];
1657
1636
  }
1658
1637
  interface Visitor<T> {
1659
- systemPromptRecommendationResult: (
1660
- value: SystemPromptRecommendationResult
1661
- ) => T;
1662
- toolDescriptionRecommendationResult: (
1663
- value: ToolDescriptionRecommendationResult
1664
- ) => T;
1638
+ systemPromptRecommendationResult: (value: SystemPromptRecommendationResult) => T;
1639
+ toolDescriptionRecommendationResult: (value: ToolDescriptionRecommendationResult) => T;
1665
1640
  _: (name: string, value: any) => T;
1666
1641
  }
1667
1642
  }
@@ -1753,9 +1728,7 @@ export interface InlineGroundTruth {
1753
1728
  expectedTrajectory?: EvaluationExpectedTrajectory | undefined;
1754
1729
  turns?: GroundTruthTurn[] | undefined;
1755
1730
  }
1756
- export type GroundTruthSource =
1757
- | GroundTruthSource.InlineMember
1758
- | GroundTruthSource.$UnknownMember;
1731
+ export type GroundTruthSource = GroundTruthSource.InlineMember | GroundTruthSource.$UnknownMember;
1759
1732
  export declare namespace GroundTruthSource {
1760
1733
  interface InlineMember {
1761
1734
  inline: InlineGroundTruth;
@@ -2588,9 +2561,7 @@ export declare namespace HarnessToolConfiguration {
2588
2561
  agentCoreBrowser: (value: HarnessAgentCoreBrowserConfig) => T;
2589
2562
  agentCoreGateway: (value: HarnessAgentCoreGatewayConfig) => T;
2590
2563
  inlineFunction: (value: HarnessInlineFunctionConfig) => T;
2591
- agentCoreCodeInterpreter: (
2592
- value: HarnessAgentCoreCodeInterpreterConfig
2593
- ) => T;
2564
+ agentCoreCodeInterpreter: (value: HarnessAgentCoreCodeInterpreterConfig) => T;
2594
2565
  _: (name: string, value: any) => T;
2595
2566
  }
2596
2567
  }
@@ -2946,9 +2917,7 @@ export declare namespace InvokeHarnessStreamOutput {
2946
2917
  export interface InvokeHarnessResponse {
2947
2918
  stream: AsyncIterable<InvokeHarnessStreamOutput> | undefined;
2948
2919
  }
2949
- export type MemoryContent =
2950
- | MemoryContent.TextMember
2951
- | MemoryContent.$UnknownMember;
2920
+ export type MemoryContent = MemoryContent.TextMember | MemoryContent.$UnknownMember;
2952
2921
  export declare namespace MemoryContent {
2953
2922
  interface TextMember {
2954
2923
  text: string;
@@ -3068,9 +3037,7 @@ export interface Branch {
3068
3037
  rootEventId?: string | undefined;
3069
3038
  name: string | undefined;
3070
3039
  }
3071
- export type MetadataValue =
3072
- | MetadataValue.StringValueMember
3073
- | MetadataValue.$UnknownMember;
3040
+ export type MetadataValue = MetadataValue.StringValueMember | MetadataValue.$UnknownMember;
3074
3041
  export declare namespace MetadataValue {
3075
3042
  interface StringValueMember {
3076
3043
  stringValue: string;
@@ -3207,9 +3174,7 @@ export interface BranchFilter {
3207
3174
  name: string | undefined;
3208
3175
  includeParentBranches?: boolean | undefined;
3209
3176
  }
3210
- export type LeftExpression =
3211
- | LeftExpression.MetadataKeyMember
3212
- | LeftExpression.$UnknownMember;
3177
+ export type LeftExpression = LeftExpression.MetadataKeyMember | LeftExpression.$UnknownMember;
3213
3178
  export declare namespace LeftExpression {
3214
3179
  interface MetadataKeyMember {
3215
3180
  metadataKey: string;
@@ -26,9 +26,7 @@ import {
26
26
  MemoryRecordMetadataValue,
27
27
  MetadataValue,
28
28
  } from "./models_0";
29
- export type RightExpression =
30
- | RightExpression.MetadataValueMember
31
- | RightExpression.$UnknownMember;
29
+ export type RightExpression = RightExpression.MetadataValueMember | RightExpression.$UnknownMember;
32
30
  export declare namespace RightExpression {
33
31
  interface MetadataValueMember {
34
32
  metadataValue: MetadataValue;
@@ -530,9 +528,7 @@ export interface CryptoX402PaymentInput {
530
528
  version: string | undefined;
531
529
  payload: __DocumentType | undefined;
532
530
  }
533
- export type PaymentInput =
534
- | PaymentInput.CryptoX402Member
535
- | PaymentInput.$UnknownMember;
531
+ export type PaymentInput = PaymentInput.CryptoX402Member | PaymentInput.$UnknownMember;
536
532
  export declare namespace PaymentInput {
537
533
  interface CryptoX402Member {
538
534
  cryptoX402: CryptoX402PaymentInput;
@@ -561,9 +557,7 @@ export interface CryptoX402PaymentOutput {
561
557
  version: string | undefined;
562
558
  payload: __DocumentType | undefined;
563
559
  }
564
- export type PaymentOutput =
565
- | PaymentOutput.CryptoX402Member
566
- | PaymentOutput.$UnknownMember;
560
+ export type PaymentOutput = PaymentOutput.CryptoX402Member | PaymentOutput.$UnknownMember;
567
561
  export declare namespace PaymentOutput {
568
562
  interface CryptoX402Member {
569
563
  cryptoX402: CryptoX402PaymentOutput;
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@smithy/types";
2
2
  import { BedrockAgentCoreClient } from "../BedrockAgentCoreClient";
3
- export interface BedrockAgentCorePaginationConfiguration
4
- extends PaginationConfiguration {
3
+ export interface BedrockAgentCorePaginationConfiguration extends PaginationConfiguration {
5
4
  client: BedrockAgentCoreClient;
6
5
  }
@@ -1,8 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import {
3
- ListABTestsCommandInput,
4
- ListABTestsCommandOutput,
5
- } from "../commands/ListABTestsCommand";
2
+ import { ListABTestsCommandInput, ListABTestsCommandOutput } from "../commands/ListABTestsCommand";
6
3
  import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
7
4
  export declare const paginateListABTests: (
8
5
  config: BedrockAgentCorePaginationConfiguration,
@@ -1,8 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import {
3
- ListActorsCommandInput,
4
- ListActorsCommandOutput,
5
- } from "../commands/ListActorsCommand";
2
+ import { ListActorsCommandInput, ListActorsCommandOutput } from "../commands/ListActorsCommand";
6
3
  import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
7
4
  export declare const paginateListActors: (
8
5
  config: BedrockAgentCorePaginationConfiguration,
@@ -1,8 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import {
3
- ListEventsCommandInput,
4
- ListEventsCommandOutput,
5
- } from "../commands/ListEventsCommand";
2
+ import { ListEventsCommandInput, ListEventsCommandOutput } from "../commands/ListEventsCommand";
6
3
  import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
7
4
  export declare const paginateListEvents: (
8
5
  config: BedrockAgentCorePaginationConfiguration,
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
2
  import { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
3
- export declare const getRuntimeConfig: (
4
- config: BedrockAgentCoreClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -10,25 +8,17 @@ export declare const getRuntimeConfig: (
10
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
9
  credentialDefaultProvider:
12
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
- | ((
14
- _: unknown
15
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
12
  defaultUserAgentProvider: (
17
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
18
14
  ) => Promise<import("@smithy/types").UserAgent>;
19
15
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
20
16
  maxAttempts: number | import("@smithy/types").Provider<number>;
21
17
  region: string | import("@smithy/types").Provider<any>;
22
- requestHandler:
23
- | import("@smithy/core/protocols").HttpHandler<any>
24
- | RequestHandler;
18
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
25
19
  retryMode: string | import("@smithy/types").Provider<string>;
26
20
  streamCollector: (
27
- stream:
28
- | import("stream").Readable
29
- | import("stream/web").ReadableStream
30
- | ReadableStream
31
- | Blob
21
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
32
22
  ) => Promise<Uint8Array>;
33
23
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
34
24
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -57,13 +47,8 @@ export declare const getRuntimeConfig: (
57
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
58
48
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
59
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- userAgentAppId?:
61
- | string
62
- | undefined
63
- | import("@smithy/types").Provider<string | undefined>;
64
- retryStrategy?:
65
- | import("@smithy/types").RetryStrategy
66
- | import("@smithy/types").RetryStrategyV2;
50
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
51
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
67
52
  endpoint?:
68
53
  | ((
69
54
  | string
@@ -85,7 +70,7 @@ export declare const getRuntimeConfig: (
85
70
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
86
71
  context?: {
87
72
  logger?: import("@smithy/types").Logger;
88
- }
73
+ },
89
74
  ) => import("@smithy/types").EndpointV2;
90
75
  tls?: boolean;
91
76
  serviceConfiguredEndpoint?: never;
@@ -98,13 +83,13 @@ export declare const getRuntimeConfig: (
98
83
  signer?:
99
84
  | import("@smithy/types").RequestSigner
100
85
  | ((
101
- authScheme?: import("@smithy/types").AuthScheme
86
+ authScheme?: import("@smithy/types").AuthScheme,
102
87
  ) => Promise<import("@smithy/types").RequestSigner>);
103
88
  signingEscapePath?: boolean;
104
89
  systemClockOffset?: number;
105
90
  signingRegion?: string;
106
91
  signerConstructor?: new (
107
92
  options: import("@smithy/signature-v4").SignatureV4Init &
108
- import("@smithy/signature-v4").SignatureV4CryptoInit
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
109
94
  ) => import("@smithy/types").RequestSigner;
110
95
  };
@@ -1,8 +1,6 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
3
- export declare const getRuntimeConfig: (
4
- config: BedrockAgentCoreClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -12,24 +10,18 @@ export declare const getRuntimeConfig: (
12
10
  credentialDefaultProvider:
13
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
12
  | ((
15
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
16
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
17
15
  defaultUserAgentProvider: (
18
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
19
17
  ) => Promise<import("@smithy/types").UserAgent>;
20
18
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
21
19
  maxAttempts: number | import("@smithy/types").Provider<number>;
22
20
  region: string | import("@smithy/types").Provider<string>;
23
- requestHandler:
24
- | RequestHandler
25
- | import("@smithy/core/protocols").HttpHandler<any>;
21
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
26
22
  retryMode: string | import("@smithy/types").Provider<string>;
27
23
  streamCollector: (
28
- stream:
29
- | import("stream").Readable
30
- | import("stream/web").ReadableStream
31
- | ReadableStream
32
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
33
25
  ) => Promise<Uint8Array>;
34
26
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
35
27
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -57,9 +49,7 @@ export declare const getRuntimeConfig: (
57
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
58
50
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
59
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2;
52
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
63
53
  endpoint?:
64
54
  | ((
65
55
  | string
@@ -81,7 +71,7 @@ export declare const getRuntimeConfig: (
81
71
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
72
  context?: {
83
73
  logger?: import("@smithy/types").Logger;
84
- }
74
+ },
85
75
  ) => import("@smithy/types").EndpointV2;
86
76
  tls?: boolean;
87
77
  serviceConfiguredEndpoint?: never;
@@ -93,13 +83,13 @@ export declare const getRuntimeConfig: (
93
83
  signer?:
94
84
  | import("@smithy/types").RequestSigner
95
85
  | ((
96
- authScheme?: import("@smithy/types").AuthScheme
86
+ authScheme?: import("@smithy/types").AuthScheme,
97
87
  ) => Promise<import("@smithy/types").RequestSigner>);
98
88
  signingEscapePath?: boolean;
99
89
  systemClockOffset?: number;
100
90
  signingRegion?: string;
101
91
  signerConstructor?: new (
102
92
  options: import("@smithy/signature-v4").SignatureV4Init &
103
- import("@smithy/signature-v4").SignatureV4CryptoInit
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
104
94
  ) => import("@smithy/types").RequestSigner;
105
95
  };
@@ -1,7 +1,5 @@
1
1
  import { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
2
- export declare const getRuntimeConfig: (
3
- config: BedrockAgentCoreClientConfig
4
- ) => {
2
+ export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) => {
5
3
  runtime: string;
6
4
  requestHandler:
7
5
  | import("@smithy/types").NodeHttpHandlerOptions
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
23
21
  urlParser: import("@smithy/types").UrlParser;
24
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
23
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
25
  ) => Promise<Uint8Array>;
32
26
  base64Decoder: import("@smithy/types").Decoder;
33
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -42,13 +36,11 @@ export declare const getRuntimeConfig: (
42
36
  region: string | import("@smithy/types").Provider<any>;
43
37
  profile?: string;
44
38
  defaultUserAgentProvider: (
45
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
46
40
  ) => Promise<import("@smithy/types").UserAgent>;
47
41
  credentialDefaultProvider:
48
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
49
- | ((
50
- _: unknown
51
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
52
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
53
45
  retryMode: string | import("@smithy/types").Provider<string>;
54
46
  logger: import("@smithy/types").Logger;
@@ -56,18 +48,11 @@ export declare const getRuntimeConfig: (
56
48
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
57
49
  defaultsMode:
58
50
  | import("@smithy/core/client").DefaultsMode
59
- | import("@smithy/types").Provider<
60
- import("@smithy/core/client").DefaultsMode
61
- >;
51
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
62
52
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
63
53
  customUserAgent?: string | import("@smithy/types").UserAgent;
64
- userAgentAppId?:
65
- | string
66
- | undefined
67
- | import("@smithy/types").Provider<string | undefined>;
68
- retryStrategy?:
69
- | import("@smithy/types").RetryStrategy
70
- | import("@smithy/types").RetryStrategyV2;
54
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
55
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
71
56
  endpoint?:
72
57
  | ((
73
58
  | string
@@ -89,7 +74,7 @@ export declare const getRuntimeConfig: (
89
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
90
75
  context?: {
91
76
  logger?: import("@smithy/types").Logger;
92
- }
77
+ },
93
78
  ) => import("@smithy/types").EndpointV2;
94
79
  tls?: boolean;
95
80
  serviceConfiguredEndpoint?: never;
@@ -102,13 +87,13 @@ export declare const getRuntimeConfig: (
102
87
  signer?:
103
88
  | import("@smithy/types").RequestSigner
104
89
  | ((
105
- authScheme?: import("@smithy/types").AuthScheme
90
+ authScheme?: import("@smithy/types").AuthScheme,
106
91
  ) => Promise<import("@smithy/types").RequestSigner>);
107
92
  signingEscapePath?: boolean;
108
93
  systemClockOffset?: number;
109
94
  signingRegion?: string;
110
95
  signerConstructor?: new (
111
96
  options: import("@smithy/signature-v4").SignatureV4Init &
112
- import("@smithy/signature-v4").SignatureV4CryptoInit
97
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
113
98
  ) => import("@smithy/types").RequestSigner;
114
99
  };
@@ -1,8 +1,6 @@
1
1
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
2
  import { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
3
- export declare const getRuntimeConfig: (
4
- config: BedrockAgentCoreClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) => {
6
4
  apiVersion: string;
7
5
  base64Decoder: import("@smithy/types").Decoder;
8
6
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
11
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
12
10
  context?: {
13
11
  logger?: import("@smithy/types").Logger;
14
- }
12
+ },
15
13
  ) => import("@smithy/types").EndpointV2;
16
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
17
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreHttpAuthSchemeProvider;
@@ -1,13 +1,11 @@
1
1
  import { BedrockAgentCoreExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(
4
- extensionConfiguration: BedrockAgentCoreExtensionConfiguration
5
- ): void;
3
+ configure(extensionConfiguration: BedrockAgentCoreExtensionConfiguration): void;
6
4
  }
7
5
  export interface RuntimeExtensionsConfig {
8
6
  extensions: RuntimeExtension[];
9
7
  }
10
8
  export declare const resolveRuntimeExtensions: (
11
9
  runtimeConfig: any,
12
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
13
11
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agentcore",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
4
- "version": "3.1086.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-agentcore",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-bedrock-agentcore"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,18 +45,14 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.1",
23
- "@aws-sdk/credential-provider-node": "^3.972.67",
24
- "@aws-sdk/types": "^3.974.0",
25
- "@smithy/core": "^3.29.2",
26
- "@smithy/fetch-http-handler": "^5.6.4",
27
- "@smithy/node-http-handler": "^4.9.4",
28
- "@smithy/types": "^4.16.0",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.69",
51
+ "@aws-sdk/types": "^3.974.2",
52
+ "@smithy/core": "^3.29.4",
53
+ "@smithy/fetch-http-handler": "^5.6.6",
54
+ "@smithy/node-http-handler": "^4.9.6",
55
+ "@smithy/types": "^4.16.1",
29
56
  "tslib": "^2.6.2"
30
57
  },
31
58
  "devDependencies": {
@@ -38,32 +65,5 @@
38
65
  },
39
66
  "engines": {
40
67
  "node": ">=20.0.0"
41
- },
42
- "typesVersions": {
43
- "<4.5": {
44
- "dist-types/*": [
45
- "dist-types/ts3.4/*"
46
- ]
47
- }
48
- },
49
- "files": [
50
- "dist-*/**"
51
- ],
52
- "author": {
53
- "name": "AWS SDK for JavaScript Team",
54
- "url": "https://aws.amazon.com/sdk-for-javascript/"
55
- },
56
- "license": "Apache-2.0",
57
- "browser": {
58
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
59
- },
60
- "react-native": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
62
- },
63
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-agentcore",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-bedrock-agentcore"
68
68
  }
69
69
  }