@aws-sdk/client-bedrock-agent-runtime 3.803.0 → 3.806.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 (60) hide show
  1. package/dist-cjs/runtimeConfig.js +6 -6
  2. package/dist-es/runtimeConfig.js +6 -6
  3. package/dist-types/commands/CreateInvocationCommand.d.ts +1 -1
  4. package/dist-types/commands/DeleteAgentMemoryCommand.d.ts +1 -1
  5. package/dist-types/commands/DeleteSessionCommand.d.ts +1 -1
  6. package/dist-types/commands/EndSessionCommand.d.ts +1 -1
  7. package/dist-types/commands/GenerateQueryCommand.d.ts +1 -1
  8. package/dist-types/commands/GetAgentMemoryCommand.d.ts +1 -1
  9. package/dist-types/commands/GetInvocationStepCommand.d.ts +1 -1
  10. package/dist-types/commands/GetSessionCommand.d.ts +1 -1
  11. package/dist-types/commands/InvokeAgentCommand.d.ts +1 -1
  12. package/dist-types/commands/InvokeFlowCommand.d.ts +1 -1
  13. package/dist-types/commands/InvokeInlineAgentCommand.d.ts +1 -1
  14. package/dist-types/commands/ListInvocationStepsCommand.d.ts +1 -1
  15. package/dist-types/commands/ListInvocationsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListSessionsCommand.d.ts +0 -1
  17. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  18. package/dist-types/commands/OptimizePromptCommand.d.ts +1 -1
  19. package/dist-types/commands/PutInvocationStepCommand.d.ts +1 -1
  20. package/dist-types/commands/RerankCommand.d.ts +1 -1
  21. package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +1 -1
  22. package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -1
  23. package/dist-types/commands/RetrieveCommand.d.ts +1 -1
  24. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  25. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  26. package/dist-types/commands/UpdateSessionCommand.d.ts +1 -1
  27. package/dist-types/endpoint/EndpointParameters.d.ts +1 -3
  28. package/dist-types/runtimeConfig.browser.d.ts +17 -17
  29. package/dist-types/runtimeConfig.d.ts +16 -16
  30. package/dist-types/runtimeConfig.native.d.ts +18 -18
  31. package/dist-types/runtimeConfig.shared.d.ts +3 -3
  32. package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/DeleteAgentMemoryCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/GenerateQueryCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/GetAgentMemoryCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/InvokeFlowCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/OptimizePromptCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/RerankCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -4
  56. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +22 -32
  57. package/dist-types/ts3.4/runtimeConfig.d.ts +20 -29
  58. package/dist-types/ts3.4/runtimeConfig.native.d.ts +23 -33
  59. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  60. package/package.json +22 -22
@@ -26,7 +26,7 @@ declare const GenerateQueryCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: GenerateQueryCommandInput
29
+ input: GenerateQueryCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  GenerateQueryCommandInput,
32
32
  GenerateQueryCommandOutput,
@@ -26,7 +26,7 @@ declare const GetAgentMemoryCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: GetAgentMemoryCommandInput
29
+ input: GetAgentMemoryCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  GetAgentMemoryCommandInput,
32
32
  GetAgentMemoryCommandOutput,
@@ -27,7 +27,7 @@ declare const GetInvocationStepCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: GetInvocationStepCommandInput
30
+ input: GetInvocationStepCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  GetInvocationStepCommandInput,
33
33
  GetInvocationStepCommandOutput,
@@ -23,7 +23,7 @@ declare const GetSessionCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: GetSessionCommandInput
26
+ input: GetSessionCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  GetSessionCommandInput,
29
29
  GetSessionCommandOutput,
@@ -24,7 +24,7 @@ declare const InvokeAgentCommand_base: {
24
24
  ServiceOutputTypes
25
25
  >;
26
26
  new (
27
- __0_0: InvokeAgentCommandInput
27
+ input: InvokeAgentCommandInput
28
28
  ): import("@smithy/smithy-client").CommandImpl<
29
29
  InvokeAgentCommandInput,
30
30
  InvokeAgentCommandOutput,
@@ -23,7 +23,7 @@ declare const InvokeFlowCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: InvokeFlowCommandInput
26
+ input: InvokeFlowCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  InvokeFlowCommandInput,
29
29
  InvokeFlowCommandOutput,
@@ -25,7 +25,7 @@ declare const InvokeInlineAgentCommand_base: {
25
25
  ServiceOutputTypes
26
26
  >;
27
27
  new (
28
- __0_0: InvokeInlineAgentCommandInput
28
+ input: InvokeInlineAgentCommandInput
29
29
  ): import("@smithy/smithy-client").CommandImpl<
30
30
  InvokeInlineAgentCommandInput,
31
31
  InvokeInlineAgentCommandOutput,
@@ -27,7 +27,7 @@ declare const ListInvocationStepsCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: ListInvocationStepsCommandInput
30
+ input: ListInvocationStepsCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  ListInvocationStepsCommandInput,
33
33
  ListInvocationStepsCommandOutput,
@@ -26,7 +26,7 @@ declare const ListInvocationsCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: ListInvocationsCommandInput
29
+ input: ListInvocationsCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  ListInvocationsCommandInput,
32
32
  ListInvocationsCommandOutput,
@@ -27,7 +27,7 @@ declare const ListTagsForResourceCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: ListTagsForResourceCommandInput
30
+ input: ListTagsForResourceCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  ListTagsForResourceCommandInput,
33
33
  ListTagsForResourceCommandOutput,
@@ -26,7 +26,7 @@ declare const OptimizePromptCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: OptimizePromptCommandInput
29
+ input: OptimizePromptCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  OptimizePromptCommandInput,
32
32
  OptimizePromptCommandOutput,
@@ -27,7 +27,7 @@ declare const PutInvocationStepCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: PutInvocationStepCommandInput
30
+ input: PutInvocationStepCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  PutInvocationStepCommandInput,
33
33
  PutInvocationStepCommandOutput,
@@ -18,7 +18,7 @@ declare const RerankCommand_base: {
18
18
  ServiceInputTypes,
19
19
  ServiceOutputTypes
20
20
  >;
21
- new (__0_0: RerankCommandInput): import("@smithy/smithy-client").CommandImpl<
21
+ new (input: RerankCommandInput): import("@smithy/smithy-client").CommandImpl<
22
22
  RerankCommandInput,
23
23
  RerankCommandOutput,
24
24
  BedrockAgentRuntimeClientResolvedConfig,
@@ -25,7 +25,7 @@ declare const RetrieveAndGenerateCommand_base: {
25
25
  ServiceOutputTypes
26
26
  >;
27
27
  new (
28
- __0_0: RetrieveAndGenerateCommandInput
28
+ input: RetrieveAndGenerateCommandInput
29
29
  ): import("@smithy/smithy-client").CommandImpl<
30
30
  RetrieveAndGenerateCommandInput,
31
31
  RetrieveAndGenerateCommandOutput,
@@ -25,7 +25,7 @@ declare const RetrieveAndGenerateStreamCommand_base: {
25
25
  ServiceOutputTypes
26
26
  >;
27
27
  new (
28
- __0_0: RetrieveAndGenerateStreamCommandInput
28
+ input: RetrieveAndGenerateStreamCommandInput
29
29
  ): import("@smithy/smithy-client").CommandImpl<
30
30
  RetrieveAndGenerateStreamCommandInput,
31
31
  RetrieveAndGenerateStreamCommandOutput,
@@ -24,7 +24,7 @@ declare const RetrieveCommand_base: {
24
24
  ServiceOutputTypes
25
25
  >;
26
26
  new (
27
- __0_0: RetrieveCommandInput
27
+ input: RetrieveCommandInput
28
28
  ): import("@smithy/smithy-client").CommandImpl<
29
29
  RetrieveCommandInput,
30
30
  RetrieveCommandOutput,
@@ -23,7 +23,7 @@ declare const TagResourceCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: TagResourceCommandInput
26
+ input: TagResourceCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  TagResourceCommandInput,
29
29
  TagResourceCommandOutput,
@@ -26,7 +26,7 @@ declare const UntagResourceCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: UntagResourceCommandInput
29
+ input: UntagResourceCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  UntagResourceCommandInput,
32
32
  UntagResourceCommandOutput,
@@ -26,7 +26,7 @@ declare const UpdateSessionCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: UpdateSessionCommandInput
29
+ input: UpdateSessionCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  UpdateSessionCommandInput,
32
32
  UpdateSessionCommandOutput,
@@ -21,10 +21,7 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
21
21
  };
22
22
  export declare const resolveClientEndpointParameters: <T>(
23
23
  options: T & ClientInputEndpointParameters
24
- ) => T &
25
- ClientInputEndpointParameters & {
26
- defaultSigningName: string;
27
- };
24
+ ) => T & ClientResolvedEndpointParameters;
28
25
  export declare const commonParams: {
29
26
  readonly UseFIPS: {
30
27
  readonly type: "builtInParams";
@@ -14,9 +14,7 @@ export declare const getRuntimeConfig: (
14
14
  _: unknown
15
15
  ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
16
  defaultUserAgentProvider: (
17
- config?:
18
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
19
- | undefined
17
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
20
18
  ) => Promise<import("@smithy/types").UserAgent>;
21
19
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
22
20
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -33,23 +31,22 @@ export declare const getRuntimeConfig: (
33
31
  cacheMiddleware?: boolean | undefined;
34
32
  urlParser: import("@smithy/types").UrlParser;
35
33
  base64Decoder: import("@smithy/types").Decoder;
36
- base64Encoder: (_input: string | Uint8Array) => string;
34
+ base64Encoder: (_input: Uint8Array | string) => string;
37
35
  utf8Decoder: import("@smithy/types").Decoder;
38
- utf8Encoder: (input: string | Uint8Array) => string;
36
+ utf8Encoder: (input: Uint8Array | string) => string;
39
37
  disableHostPrefix: boolean;
40
38
  serviceId: string;
41
- profile?: string | undefined;
39
+ profile?: string;
42
40
  logger: import("@smithy/types").Logger;
43
41
  extensions: import("./runtimeExtensions").RuntimeExtension[];
44
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
42
+ customUserAgent?: string | import("@smithy/types").UserAgent;
45
43
  userAgentAppId?:
46
44
  | string
47
- | import("@smithy/types").Provider<string | undefined>
48
- | undefined;
45
+ | undefined
46
+ | import("@smithy/types").Provider<string | undefined>;
49
47
  retryStrategy?:
50
48
  | import("@smithy/types").RetryStrategy
51
- | import("@smithy/types").RetryStrategyV2
52
- | undefined;
49
+ | import("@smithy/types").RetryStrategyV2;
53
50
  endpoint?:
54
51
  | ((
55
52
  | string
@@ -70,34 +67,27 @@ export declare const getRuntimeConfig: (
70
67
  endpointProvider: (
71
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
72
69
  context?: {
73
- logger?: import("@smithy/types").Logger | undefined;
70
+ logger?: import("@smithy/types").Logger;
74
71
  }
75
72
  ) => import("@smithy/types").EndpointV2;
76
- tls?: boolean | undefined;
77
- serviceConfiguredEndpoint?: undefined;
78
- authSchemePreference?:
79
- | string[]
80
- | import("@smithy/types").Provider<string[]>
81
- | undefined;
73
+ tls?: boolean;
74
+ serviceConfiguredEndpoint?: never;
75
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
82
76
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
83
77
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
84
78
  credentials?:
85
79
  | import("@smithy/types").AwsCredentialIdentity
86
- | import("@smithy/types").AwsCredentialIdentityProvider
87
- | undefined;
80
+ | import("@smithy/types").AwsCredentialIdentityProvider;
88
81
  signer?:
89
82
  | import("@smithy/types").RequestSigner
90
83
  | ((
91
- authScheme?: import("@smithy/types").AuthScheme | undefined
92
- ) => Promise<import("@smithy/types").RequestSigner>)
93
- | undefined;
94
- signingEscapePath?: boolean | undefined;
95
- systemClockOffset?: number | undefined;
96
- signingRegion?: string | undefined;
97
- signerConstructor?:
98
- | (new (
99
- options: import("@smithy/signature-v4").SignatureV4Init &
100
- import("@smithy/signature-v4").SignatureV4CryptoInit
101
- ) => import("@smithy/types").RequestSigner)
102
- | undefined;
84
+ authScheme?: import("@smithy/types").AuthScheme
85
+ ) => Promise<import("@smithy/types").RequestSigner>);
86
+ signingEscapePath?: boolean;
87
+ systemClockOffset?: number;
88
+ signingRegion?: string;
89
+ signerConstructor?: new (
90
+ options: import("@smithy/signature-v4").SignatureV4Init &
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit
92
+ ) => import("@smithy/types").RequestSigner;
103
93
  };
@@ -12,16 +12,12 @@ export declare const getRuntimeConfig: (
12
12
  credentialDefaultProvider:
13
13
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
14
  | ((
15
- init?:
16
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
17
- | undefined
15
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
18
16
  ) => import("@smithy/types").MemoizedProvider<
19
17
  import("@smithy/types").AwsCredentialIdentity
20
18
  >);
21
19
  defaultUserAgentProvider: (
22
- config?:
23
- | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
24
- | undefined
20
+ config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
25
21
  ) => Promise<import("@smithy/types").UserAgent>;
26
22
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
27
23
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -39,19 +35,18 @@ export declare const getRuntimeConfig: (
39
35
  cacheMiddleware?: boolean | undefined;
40
36
  urlParser: import("@smithy/types").UrlParser;
41
37
  base64Decoder: import("@smithy/types").Decoder;
42
- base64Encoder: (_input: string | Uint8Array) => string;
38
+ base64Encoder: (_input: Uint8Array | string) => string;
43
39
  utf8Decoder: import("@smithy/types").Decoder;
44
- utf8Encoder: (input: string | Uint8Array) => string;
40
+ utf8Encoder: (input: Uint8Array | string) => string;
45
41
  disableHostPrefix: boolean;
46
42
  serviceId: string;
47
- profile?: string | undefined;
43
+ profile?: string;
48
44
  logger: import("@smithy/types").Logger;
49
45
  extensions: import("./runtimeExtensions").RuntimeExtension[];
50
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
46
+ customUserAgent?: string | import("@smithy/types").UserAgent;
51
47
  retryStrategy?:
52
48
  | import("@smithy/types").RetryStrategy
53
- | import("@smithy/types").RetryStrategyV2
54
- | undefined;
49
+ | import("@smithy/types").RetryStrategyV2;
55
50
  endpoint?:
56
51
  | ((
57
52
  | string
@@ -72,30 +67,26 @@ export declare const getRuntimeConfig: (
72
67
  endpointProvider: (
73
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
74
69
  context?: {
75
- logger?: import("@smithy/types").Logger | undefined;
70
+ logger?: import("@smithy/types").Logger;
76
71
  }
77
72
  ) => import("@smithy/types").EndpointV2;
78
- tls?: boolean | undefined;
79
- serviceConfiguredEndpoint?: undefined;
73
+ tls?: boolean;
74
+ serviceConfiguredEndpoint?: never;
80
75
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
81
76
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
82
77
  credentials?:
83
78
  | import("@smithy/types").AwsCredentialIdentity
84
- | import("@smithy/types").AwsCredentialIdentityProvider
85
- | undefined;
79
+ | import("@smithy/types").AwsCredentialIdentityProvider;
86
80
  signer?:
87
81
  | import("@smithy/types").RequestSigner
88
82
  | ((
89
- authScheme?: import("@smithy/types").AuthScheme | undefined
90
- ) => Promise<import("@smithy/types").RequestSigner>)
91
- | undefined;
92
- signingEscapePath?: boolean | undefined;
93
- systemClockOffset?: number | undefined;
94
- signingRegion?: string | undefined;
95
- signerConstructor?:
96
- | (new (
97
- options: import("@smithy/signature-v4").SignatureV4Init &
98
- import("@smithy/signature-v4").SignatureV4CryptoInit
99
- ) => import("@smithy/types").RequestSigner)
100
- | undefined;
83
+ authScheme?: import("@smithy/types").AuthScheme
84
+ ) => Promise<import("@smithy/types").RequestSigner>);
85
+ signingEscapePath?: boolean;
86
+ systemClockOffset?: number;
87
+ signingRegion?: string;
88
+ signerConstructor?: new (
89
+ options: import("@smithy/signature-v4").SignatureV4Init &
90
+ import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ ) => import("@smithy/types").RequestSigner;
101
92
  };
@@ -11,24 +11,22 @@ export declare const getRuntimeConfig: (
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
13
  apiVersion: string;
14
- cacheMiddleware?: boolean | undefined;
14
+ cacheMiddleware?: boolean;
15
15
  urlParser: import("@smithy/types").UrlParser;
16
16
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  base64Decoder: import("@smithy/types").Decoder;
19
- base64Encoder: (_input: string | Uint8Array) => string;
19
+ base64Encoder: (_input: Uint8Array | string) => string;
20
20
  utf8Decoder: import("@smithy/types").Decoder;
21
- utf8Encoder: (input: string | Uint8Array) => string;
21
+ utf8Encoder: (input: Uint8Array | string) => string;
22
22
  disableHostPrefix: boolean;
23
23
  serviceId: string;
24
24
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
25
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
26
  region: string | import("@smithy/types").Provider<any>;
27
- profile?: string | undefined;
27
+ profile?: string;
28
28
  defaultUserAgentProvider: (
29
- config?:
30
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
- | undefined
29
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
32
30
  ) => Promise<import("@smithy/types").UserAgent>;
33
31
  credentialDefaultProvider:
34
32
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
@@ -45,15 +43,14 @@ export declare const getRuntimeConfig: (
45
43
  | import("@smithy/types").Provider<
46
44
  import("@smithy/smithy-client").DefaultsMode
47
45
  >;
48
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
46
+ customUserAgent?: string | import("@smithy/types").UserAgent;
49
47
  userAgentAppId?:
50
48
  | string
51
- | import("@smithy/types").Provider<string | undefined>
52
- | undefined;
49
+ | undefined
50
+ | import("@smithy/types").Provider<string | undefined>;
53
51
  retryStrategy?:
54
52
  | import("@smithy/types").RetryStrategy
55
- | import("@smithy/types").RetryStrategyV2
56
- | undefined;
53
+ | import("@smithy/types").RetryStrategyV2;
57
54
  endpoint?:
58
55
  | ((
59
56
  | string
@@ -74,34 +71,27 @@ export declare const getRuntimeConfig: (
74
71
  endpointProvider: (
75
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
76
73
  context?: {
77
- logger?: import("@smithy/types").Logger | undefined;
74
+ logger?: import("@smithy/types").Logger;
78
75
  }
79
76
  ) => import("@smithy/types").EndpointV2;
80
- tls?: boolean | undefined;
81
- serviceConfiguredEndpoint?: undefined;
82
- authSchemePreference?:
83
- | string[]
84
- | import("@smithy/types").Provider<string[]>
85
- | undefined;
77
+ tls?: boolean;
78
+ serviceConfiguredEndpoint?: never;
79
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
86
80
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
87
81
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
88
82
  credentials?:
89
83
  | import("@smithy/types").AwsCredentialIdentity
90
- | import("@smithy/types").AwsCredentialIdentityProvider
91
- | undefined;
84
+ | import("@smithy/types").AwsCredentialIdentityProvider;
92
85
  signer?:
93
86
  | import("@smithy/types").RequestSigner
94
87
  | ((
95
- authScheme?: import("@smithy/types").AuthScheme | undefined
96
- ) => Promise<import("@smithy/types").RequestSigner>)
97
- | undefined;
98
- signingEscapePath?: boolean | undefined;
99
- systemClockOffset?: number | undefined;
100
- signingRegion?: string | undefined;
101
- signerConstructor?:
102
- | (new (
103
- options: import("@smithy/signature-v4").SignatureV4Init &
104
- import("@smithy/signature-v4").SignatureV4CryptoInit
105
- ) => import("@smithy/types").RequestSigner)
106
- | undefined;
88
+ authScheme?: import("@smithy/types").AuthScheme
89
+ ) => Promise<import("@smithy/types").RequestSigner>);
90
+ signingEscapePath?: boolean;
91
+ systemClockOffset?: number;
92
+ signingRegion?: string;
93
+ signerConstructor?: new (
94
+ options: import("@smithy/signature-v4").SignatureV4Init &
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit
96
+ ) => import("@smithy/types").RequestSigner;
107
97
  };
@@ -4,12 +4,12 @@ export declare const getRuntimeConfig: (
4
4
  ) => {
5
5
  apiVersion: string;
6
6
  base64Decoder: import("@smithy/types").Decoder;
7
- base64Encoder: (_input: string | Uint8Array) => string;
7
+ base64Encoder: (_input: Uint8Array | string) => string;
8
8
  disableHostPrefix: boolean;
9
9
  endpointProvider: (
10
10
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
11
11
  context?: {
12
- logger?: import("@smithy/types").Logger | undefined;
12
+ logger?: import("@smithy/types").Logger;
13
13
  }
14
14
  ) => import("@smithy/types").EndpointV2;
15
15
  extensions: import("./runtimeExtensions").RuntimeExtension[];
@@ -19,5 +19,5 @@ export declare const getRuntimeConfig: (
19
19
  serviceId: string;
20
20
  urlParser: import("@smithy/types").UrlParser;
21
21
  utf8Decoder: import("@smithy/types").Decoder;
22
- utf8Encoder: (input: string | Uint8Array) => string;
22
+ utf8Encoder: (input: Uint8Array | string) => string;
23
23
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agent-runtime",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.803.0",
4
+ "version": "3.806.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-runtime",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.799.0",
24
- "@aws-sdk/credential-provider-node": "3.803.0",
25
- "@aws-sdk/middleware-host-header": "3.775.0",
26
- "@aws-sdk/middleware-logger": "3.775.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.799.0",
29
- "@aws-sdk/region-config-resolver": "3.775.0",
30
- "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.787.0",
32
- "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.799.0",
34
- "@smithy/config-resolver": "^4.1.0",
35
- "@smithy/core": "^3.3.0",
23
+ "@aws-sdk/core": "3.806.0",
24
+ "@aws-sdk/credential-provider-node": "3.806.0",
25
+ "@aws-sdk/middleware-host-header": "3.804.0",
26
+ "@aws-sdk/middleware-logger": "3.804.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.804.0",
28
+ "@aws-sdk/middleware-user-agent": "3.806.0",
29
+ "@aws-sdk/region-config-resolver": "3.806.0",
30
+ "@aws-sdk/types": "3.804.0",
31
+ "@aws-sdk/util-endpoints": "3.806.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.804.0",
33
+ "@aws-sdk/util-user-agent-node": "3.806.0",
34
+ "@smithy/config-resolver": "^4.1.1",
35
+ "@smithy/core": "^3.3.1",
36
36
  "@smithy/eventstream-serde-browser": "^4.0.2",
37
37
  "@smithy/eventstream-serde-config-resolver": "^4.1.0",
38
38
  "@smithy/eventstream-serde-node": "^4.0.2",
@@ -40,22 +40,22 @@
40
40
  "@smithy/hash-node": "^4.0.2",
41
41
  "@smithy/invalid-dependency": "^4.0.2",
42
42
  "@smithy/middleware-content-length": "^4.0.2",
43
- "@smithy/middleware-endpoint": "^4.1.1",
44
- "@smithy/middleware-retry": "^4.1.2",
43
+ "@smithy/middleware-endpoint": "^4.1.3",
44
+ "@smithy/middleware-retry": "^4.1.4",
45
45
  "@smithy/middleware-serde": "^4.0.3",
46
46
  "@smithy/middleware-stack": "^4.0.2",
47
- "@smithy/node-config-provider": "^4.0.2",
47
+ "@smithy/node-config-provider": "^4.1.0",
48
48
  "@smithy/node-http-handler": "^4.0.4",
49
49
  "@smithy/protocol-http": "^5.1.0",
50
- "@smithy/smithy-client": "^4.2.1",
50
+ "@smithy/smithy-client": "^4.2.3",
51
51
  "@smithy/types": "^4.2.0",
52
52
  "@smithy/url-parser": "^4.0.2",
53
53
  "@smithy/util-base64": "^4.0.0",
54
54
  "@smithy/util-body-length-browser": "^4.0.0",
55
55
  "@smithy/util-body-length-node": "^4.0.0",
56
- "@smithy/util-defaults-mode-browser": "^4.0.9",
57
- "@smithy/util-defaults-mode-node": "^4.0.9",
58
- "@smithy/util-endpoints": "^3.0.2",
56
+ "@smithy/util-defaults-mode-browser": "^4.0.11",
57
+ "@smithy/util-defaults-mode-node": "^4.0.11",
58
+ "@smithy/util-endpoints": "^3.0.3",
59
59
  "@smithy/util-middleware": "^4.0.2",
60
60
  "@smithy/util-retry": "^4.0.3",
61
61
  "@smithy/util-utf8": "^4.0.0",
@@ -67,7 +67,7 @@
67
67
  "concurrently": "7.0.0",
68
68
  "downlevel-dts": "0.10.1",
69
69
  "rimraf": "3.0.2",
70
- "typescript": "~5.2.2"
70
+ "typescript": "~5.8.3"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=18.0.0"