@aws-sdk/client-bedrock 3.774.0 → 3.777.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 (66) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/BedrockClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +1 -0
  8. package/dist-types/commands/CreateEvaluationJobCommand.d.ts +1 -0
  9. package/dist-types/commands/CreateGuardrailCommand.d.ts +1 -0
  10. package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +1 -0
  11. package/dist-types/commands/CreateInferenceProfileCommand.d.ts +1 -0
  12. package/dist-types/commands/CreateMarketplaceModelEndpointCommand.d.ts +1 -0
  13. package/dist-types/commands/CreateModelCopyJobCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +1 -0
  15. package/dist-types/commands/CreateModelImportJobCommand.d.ts +1 -0
  16. package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +1 -0
  17. package/dist-types/commands/CreatePromptRouterCommand.d.ts +1 -0
  18. package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +1 -0
  19. package/dist-types/commands/DeleteCustomModelCommand.d.ts +1 -0
  20. package/dist-types/commands/DeleteGuardrailCommand.d.ts +1 -0
  21. package/dist-types/commands/DeleteImportedModelCommand.d.ts +1 -0
  22. package/dist-types/commands/DeleteInferenceProfileCommand.d.ts +1 -0
  23. package/dist-types/commands/DeleteMarketplaceModelEndpointCommand.d.ts +1 -0
  24. package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -0
  25. package/dist-types/commands/DeletePromptRouterCommand.d.ts +1 -0
  26. package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +1 -0
  27. package/dist-types/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +1 -0
  28. package/dist-types/commands/GetCustomModelCommand.d.ts +1 -0
  29. package/dist-types/commands/GetEvaluationJobCommand.d.ts +1 -0
  30. package/dist-types/commands/GetFoundationModelCommand.d.ts +1 -0
  31. package/dist-types/commands/GetGuardrailCommand.d.ts +1 -0
  32. package/dist-types/commands/GetImportedModelCommand.d.ts +1 -0
  33. package/dist-types/commands/GetInferenceProfileCommand.d.ts +1 -0
  34. package/dist-types/commands/GetMarketplaceModelEndpointCommand.d.ts +1 -0
  35. package/dist-types/commands/GetModelCopyJobCommand.d.ts +1 -0
  36. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +1 -0
  37. package/dist-types/commands/GetModelImportJobCommand.d.ts +1 -0
  38. package/dist-types/commands/GetModelInvocationJobCommand.d.ts +1 -0
  39. package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -0
  40. package/dist-types/commands/GetPromptRouterCommand.d.ts +1 -0
  41. package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +1 -0
  42. package/dist-types/commands/ListCustomModelsCommand.d.ts +1 -0
  43. package/dist-types/commands/ListEvaluationJobsCommand.d.ts +1 -0
  44. package/dist-types/commands/ListFoundationModelsCommand.d.ts +1 -0
  45. package/dist-types/commands/ListGuardrailsCommand.d.ts +1 -0
  46. package/dist-types/commands/ListImportedModelsCommand.d.ts +1 -0
  47. package/dist-types/commands/ListInferenceProfilesCommand.d.ts +1 -0
  48. package/dist-types/commands/ListMarketplaceModelEndpointsCommand.d.ts +1 -0
  49. package/dist-types/commands/ListModelCopyJobsCommand.d.ts +1 -0
  50. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -0
  51. package/dist-types/commands/ListModelImportJobsCommand.d.ts +1 -0
  52. package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +1 -0
  53. package/dist-types/commands/ListPromptRoutersCommand.d.ts +1 -0
  54. package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +1 -0
  55. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  56. package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -0
  57. package/dist-types/commands/RegisterMarketplaceModelEndpointCommand.d.ts +1 -0
  58. package/dist-types/commands/StopEvaluationJobCommand.d.ts +1 -0
  59. package/dist-types/commands/StopModelCustomizationJobCommand.d.ts +1 -0
  60. package/dist-types/commands/StopModelInvocationJobCommand.d.ts +1 -0
  61. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  62. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  63. package/dist-types/commands/UpdateGuardrailCommand.d.ts +1 -0
  64. package/dist-types/commands/UpdateMarketplaceModelEndpointCommand.d.ts +1 -0
  65. package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +1 -0
  66. package/package.json +33 -33
@@ -40,8 +40,6 @@ const defaultBedrockHttpAuthSchemeProvider = (authParameters) => {
40
40
  exports.defaultBedrockHttpAuthSchemeProvider = defaultBedrockHttpAuthSchemeProvider;
41
41
  const resolveHttpAuthSchemeConfig = (config) => {
42
42
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
- return {
44
- ...config_0,
45
- };
43
+ return Object.assign(config_0, {});
46
44
  };
47
45
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
package/dist-cjs/index.js CHANGED
@@ -244,12 +244,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
244
244
 
245
245
  // src/endpoint/EndpointParameters.ts
246
246
  var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
247
- return {
248
- ...options,
247
+ return Object.assign(options, {
249
248
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
250
249
  useFipsEndpoint: options.useFipsEndpoint ?? false,
251
250
  defaultSigningName: "bedrock"
252
- };
251
+ });
253
252
  }, "resolveClientEndpointParameters");
254
253
  var commonParams = {
255
254
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -306,22 +305,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
306
305
  }, "resolveHttpAuthRuntimeConfig");
307
306
 
308
307
  // src/runtimeExtensions.ts
309
- var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
310
308
  var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
311
- const extensionConfiguration = {
312
- ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
313
- ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
314
- ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
315
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
316
- };
309
+ const extensionConfiguration = Object.assign(
310
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
311
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
312
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
313
+ getHttpAuthExtensionConfiguration(runtimeConfig)
314
+ );
317
315
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
318
- return {
319
- ...runtimeConfig,
320
- ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
321
- ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
322
- ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
323
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration)
324
- };
316
+ return Object.assign(
317
+ runtimeConfig,
318
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
319
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
320
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
321
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
322
+ );
325
323
  }, "resolveRuntimeExtensions");
326
324
 
327
325
  // src/BedrockClient.ts
@@ -335,6 +333,8 @@ var BedrockClient = class extends import_smithy_client.Client {
335
333
  config;
336
334
  constructor(...[configuration]) {
337
335
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
336
+ super(_config_0);
337
+ this.initConfig = _config_0;
338
338
  const _config_1 = resolveClientEndpointParameters(_config_0);
339
339
  const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
340
340
  const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
@@ -343,7 +343,6 @@ var BedrockClient = class extends import_smithy_client.Client {
343
343
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
344
344
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
345
345
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
346
- super(_config_8);
347
346
  this.config = _config_8;
348
347
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
349
348
  this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
@@ -17,6 +17,8 @@ export class BedrockClient extends __Client {
17
17
  config;
18
18
  constructor(...[configuration]) {
19
19
  const _config_0 = __getRuntimeConfig(configuration || {});
20
+ super(_config_0);
21
+ this.initConfig = _config_0;
20
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
21
23
  const _config_2 = resolveUserAgentConfig(_config_1);
22
24
  const _config_3 = resolveRetryConfig(_config_2);
@@ -25,7 +27,6 @@ export class BedrockClient extends __Client {
25
27
  const _config_6 = resolveEndpointConfig(_config_5);
26
28
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
27
29
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
28
- super(_config_8);
29
30
  this.config = _config_8;
30
31
  this.middlewareStack.use(getUserAgentPlugin(this.config));
31
32
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -35,7 +35,5 @@ export const defaultBedrockHttpAuthSchemeProvider = (authParameters) => {
35
35
  };
36
36
  export const resolveHttpAuthSchemeConfig = (config) => {
37
37
  const config_0 = resolveAwsSdkSigV4Config(config);
38
- return {
39
- ...config_0,
40
- };
38
+ return Object.assign(config_0, {});
41
39
  };
@@ -1,10 +1,9 @@
1
1
  export const resolveClientEndpointParameters = (options) => {
2
- return {
3
- ...options,
2
+ return Object.assign(options, {
4
3
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
4
  useFipsEndpoint: options.useFipsEndpoint ?? false,
6
5
  defaultSigningName: "bedrock",
7
- };
6
+ });
8
7
  };
9
8
  export const commonParams = {
10
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
2
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
- const asPartial = (t) => t;
6
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const extensionConfiguration = {
8
- ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
9
- ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
10
- ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
12
- };
6
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
13
7
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
14
- return {
15
- ...runtimeConfig,
16
- ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
17
- ...resolveDefaultRuntimeConfig(extensionConfiguration),
18
- ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
20
- };
8
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
21
9
  };
@@ -88,6 +88,7 @@ declare const BatchDeleteEvaluationJobCommand_base: {
88
88
  * @throws {@link BedrockServiceException}
89
89
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
90
90
  *
91
+ *
91
92
  * @public
92
93
  */
93
94
  export declare class BatchDeleteEvaluationJobCommand extends BatchDeleteEvaluationJobCommand_base {
@@ -311,6 +311,7 @@ declare const CreateEvaluationJobCommand_base: {
311
311
  * @throws {@link BedrockServiceException}
312
312
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
313
313
  *
314
+ *
314
315
  * @public
315
316
  */
316
317
  export declare class CreateEvaluationJobCommand extends CreateEvaluationJobCommand_base {
@@ -187,6 +187,7 @@ declare const CreateGuardrailCommand_base: {
187
187
  * @throws {@link BedrockServiceException}
188
188
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
189
189
  *
190
+ *
190
191
  * @public
191
192
  */
192
193
  export declare class CreateGuardrailCommand extends CreateGuardrailCommand_base {
@@ -79,6 +79,7 @@ declare const CreateGuardrailVersionCommand_base: {
79
79
  * @throws {@link BedrockServiceException}
80
80
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
81
81
  *
82
+ *
82
83
  * @public
83
84
  */
84
85
  export declare class CreateGuardrailVersionCommand extends CreateGuardrailVersionCommand_base {
@@ -91,6 +91,7 @@ declare const CreateInferenceProfileCommand_base: {
91
91
  * @throws {@link BedrockServiceException}
92
92
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
93
93
  *
94
+ *
94
95
  * @public
95
96
  */
96
97
  export declare class CreateInferenceProfileCommand extends CreateInferenceProfileCommand_base {
@@ -126,6 +126,7 @@ declare const CreateMarketplaceModelEndpointCommand_base: {
126
126
  * @throws {@link BedrockServiceException}
127
127
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
128
128
  *
129
+ *
129
130
  * @public
130
131
  */
131
132
  export declare class CreateMarketplaceModelEndpointCommand extends CreateMarketplaceModelEndpointCommand_base {
@@ -76,6 +76,7 @@ declare const CreateModelCopyJobCommand_base: {
76
76
  * @throws {@link BedrockServiceException}
77
77
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
78
78
  *
79
+ *
79
80
  * @public
80
81
  */
81
82
  export declare class CreateModelCopyJobCommand extends CreateModelCopyJobCommand_base {
@@ -169,6 +169,7 @@ declare const CreateModelCustomizationJobCommand_base: {
169
169
  * @throws {@link BedrockServiceException}
170
170
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
171
171
  *
172
+ *
172
173
  * @public
173
174
  */
174
175
  export declare class CreateModelCustomizationJobCommand extends CreateModelCustomizationJobCommand_base {
@@ -110,6 +110,7 @@ declare const CreateModelImportJobCommand_base: {
110
110
  * @throws {@link BedrockServiceException}
111
111
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
112
112
  *
113
+ *
113
114
  * @public
114
115
  */
115
116
  export declare class CreateModelImportJobCommand extends CreateModelImportJobCommand_base {
@@ -108,6 +108,7 @@ declare const CreateModelInvocationJobCommand_base: {
108
108
  * @throws {@link BedrockServiceException}
109
109
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
110
110
  *
111
+ *
111
112
  * @public
112
113
  */
113
114
  export declare class CreateModelInvocationJobCommand extends CreateModelInvocationJobCommand_base {
@@ -98,6 +98,7 @@ declare const CreatePromptRouterCommand_base: {
98
98
  * @throws {@link BedrockServiceException}
99
99
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
100
100
  *
101
+ *
101
102
  * @public
102
103
  */
103
104
  export declare class CreatePromptRouterCommand extends CreatePromptRouterCommand_base {
@@ -86,6 +86,7 @@ declare const CreateProvisionedModelThroughputCommand_base: {
86
86
  * @throws {@link BedrockServiceException}
87
87
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
88
88
  *
89
+ *
89
90
  * @public
90
91
  */
91
92
  export declare class CreateProvisionedModelThroughputCommand extends CreateProvisionedModelThroughputCommand_base {
@@ -70,6 +70,7 @@ declare const DeleteCustomModelCommand_base: {
70
70
  * @throws {@link BedrockServiceException}
71
71
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class DeleteCustomModelCommand extends DeleteCustomModelCommand_base {
@@ -79,6 +79,7 @@ declare const DeleteGuardrailCommand_base: {
79
79
  * @throws {@link BedrockServiceException}
80
80
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
81
81
  *
82
+ *
82
83
  * @public
83
84
  */
84
85
  export declare class DeleteGuardrailCommand extends DeleteGuardrailCommand_base {
@@ -72,6 +72,7 @@ declare const DeleteImportedModelCommand_base: {
72
72
  * @throws {@link BedrockServiceException}
73
73
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
74
74
  *
75
+ *
75
76
  * @public
76
77
  */
77
78
  export declare class DeleteImportedModelCommand extends DeleteImportedModelCommand_base {
@@ -70,6 +70,7 @@ declare const DeleteInferenceProfileCommand_base: {
70
70
  * @throws {@link BedrockServiceException}
71
71
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class DeleteInferenceProfileCommand extends DeleteInferenceProfileCommand_base {
@@ -67,6 +67,7 @@ declare const DeleteMarketplaceModelEndpointCommand_base: {
67
67
  * @throws {@link BedrockServiceException}
68
68
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
69
69
  *
70
+ *
70
71
  * @public
71
72
  */
72
73
  export declare class DeleteMarketplaceModelEndpointCommand extends DeleteMarketplaceModelEndpointCommand_base {
@@ -59,6 +59,7 @@ declare const DeleteModelInvocationLoggingConfigurationCommand_base: {
59
59
  * @throws {@link BedrockServiceException}
60
60
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
61
61
  *
62
+ *
62
63
  * @public
63
64
  */
64
65
  export declare class DeleteModelInvocationLoggingConfigurationCommand extends DeleteModelInvocationLoggingConfigurationCommand_base {
@@ -67,6 +67,7 @@ declare const DeletePromptRouterCommand_base: {
67
67
  * @throws {@link BedrockServiceException}
68
68
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
69
69
  *
70
+ *
70
71
  * @public
71
72
  */
72
73
  export declare class DeletePromptRouterCommand extends DeletePromptRouterCommand_base {
@@ -70,6 +70,7 @@ declare const DeleteProvisionedModelThroughputCommand_base: {
70
70
  * @throws {@link BedrockServiceException}
71
71
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class DeleteProvisionedModelThroughputCommand extends DeleteProvisionedModelThroughputCommand_base {
@@ -72,6 +72,7 @@ declare const DeregisterMarketplaceModelEndpointCommand_base: {
72
72
  * @throws {@link BedrockServiceException}
73
73
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
74
74
  *
75
+ *
75
76
  * @public
76
77
  */
77
78
  export declare class DeregisterMarketplaceModelEndpointCommand extends DeregisterMarketplaceModelEndpointCommand_base {
@@ -140,6 +140,7 @@ declare const GetCustomModelCommand_base: {
140
140
  * @throws {@link BedrockServiceException}
141
141
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
142
142
  *
143
+ *
143
144
  * @public
144
145
  */
145
146
  export declare class GetCustomModelCommand extends GetCustomModelCommand_base {
@@ -306,6 +306,7 @@ declare const GetEvaluationJobCommand_base: {
306
306
  * @throws {@link BedrockServiceException}
307
307
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
308
308
  *
309
+ *
309
310
  * @public
310
311
  */
311
312
  export declare class GetEvaluationJobCommand extends GetEvaluationJobCommand_base {
@@ -90,6 +90,7 @@ declare const GetFoundationModelCommand_base: {
90
90
  * @throws {@link BedrockServiceException}
91
91
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
92
92
  *
93
+ *
93
94
  * @public
94
95
  */
95
96
  export declare class GetFoundationModelCommand extends GetFoundationModelCommand_base {
@@ -149,6 +149,7 @@ declare const GetGuardrailCommand_base: {
149
149
  * @throws {@link BedrockServiceException}
150
150
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
151
151
  *
152
+ *
152
153
  * @public
153
154
  */
154
155
  export declare class GetGuardrailCommand extends GetGuardrailCommand_base {
@@ -85,6 +85,7 @@ declare const GetImportedModelCommand_base: {
85
85
  * @throws {@link BedrockServiceException}
86
86
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
87
87
  *
88
+ *
88
89
  * @public
89
90
  */
90
91
  export declare class GetImportedModelCommand extends GetImportedModelCommand_base {
@@ -81,6 +81,7 @@ declare const GetInferenceProfileCommand_base: {
81
81
  * @throws {@link BedrockServiceException}
82
82
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
83
83
  *
84
+ *
84
85
  * @public
85
86
  */
86
87
  export declare class GetInferenceProfileCommand extends GetInferenceProfileCommand_base {
@@ -94,6 +94,7 @@ declare const GetMarketplaceModelEndpointCommand_base: {
94
94
  * @throws {@link BedrockServiceException}
95
95
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
96
96
  *
97
+ *
97
98
  * @public
98
99
  */
99
100
  export declare class GetMarketplaceModelEndpointCommand extends GetMarketplaceModelEndpointCommand_base {
@@ -84,6 +84,7 @@ declare const GetModelCopyJobCommand_base: {
84
84
  * @throws {@link BedrockServiceException}
85
85
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
86
86
  *
87
+ *
87
88
  * @public
88
89
  */
89
90
  export declare class GetModelCopyJobCommand extends GetModelCopyJobCommand_base {
@@ -155,6 +155,7 @@ declare const GetModelCustomizationJobCommand_base: {
155
155
  * @throws {@link BedrockServiceException}
156
156
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
157
157
  *
158
+ *
158
159
  * @public
159
160
  */
160
161
  export declare class GetModelCustomizationJobCommand extends GetModelCustomizationJobCommand_base {
@@ -94,6 +94,7 @@ declare const GetModelImportJobCommand_base: {
94
94
  * @throws {@link BedrockServiceException}
95
95
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
96
96
  *
97
+ *
97
98
  * @public
98
99
  */
99
100
  export declare class GetModelImportJobCommand extends GetModelImportJobCommand_base {
@@ -103,6 +103,7 @@ declare const GetModelInvocationJobCommand_base: {
103
103
  * @throws {@link BedrockServiceException}
104
104
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
105
105
  *
106
+ *
106
107
  * @public
107
108
  */
108
109
  export declare class GetModelInvocationJobCommand extends GetModelInvocationJobCommand_base {
@@ -78,6 +78,7 @@ declare const GetModelInvocationLoggingConfigurationCommand_base: {
78
78
  * @throws {@link BedrockServiceException}
79
79
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
80
80
  *
81
+ *
81
82
  * @public
82
83
  */
83
84
  export declare class GetModelInvocationLoggingConfigurationCommand extends GetModelInvocationLoggingConfigurationCommand_base {
@@ -86,6 +86,7 @@ declare const GetPromptRouterCommand_base: {
86
86
  * @throws {@link BedrockServiceException}
87
87
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
88
88
  *
89
+ *
89
90
  * @public
90
91
  */
91
92
  export declare class GetPromptRouterCommand extends GetPromptRouterCommand_base {
@@ -81,6 +81,7 @@ declare const GetProvisionedModelThroughputCommand_base: {
81
81
  * @throws {@link BedrockServiceException}
82
82
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
83
83
  *
84
+ *
84
85
  * @public
85
86
  */
86
87
  export declare class GetProvisionedModelThroughputCommand extends GetProvisionedModelThroughputCommand_base {
@@ -87,6 +87,7 @@ declare const ListCustomModelsCommand_base: {
87
87
  * @throws {@link BedrockServiceException}
88
88
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
89
89
  *
90
+ *
90
91
  * @public
91
92
  */
92
93
  export declare class ListCustomModelsCommand extends ListCustomModelsCommand_base {
@@ -114,6 +114,7 @@ declare const ListEvaluationJobsCommand_base: {
114
114
  * @throws {@link BedrockServiceException}
115
115
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
116
116
  *
117
+ *
117
118
  * @public
118
119
  */
119
120
  export declare class ListEvaluationJobsCommand extends ListEvaluationJobsCommand_base {
@@ -92,6 +92,7 @@ declare const ListFoundationModelsCommand_base: {
92
92
  * @throws {@link BedrockServiceException}
93
93
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
94
94
  *
95
+ *
95
96
  * @public
96
97
  */
97
98
  export declare class ListFoundationModelsCommand extends ListFoundationModelsCommand_base {
@@ -84,6 +84,7 @@ declare const ListGuardrailsCommand_base: {
84
84
  * @throws {@link BedrockServiceException}
85
85
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
86
86
  *
87
+ *
87
88
  * @public
88
89
  */
89
90
  export declare class ListGuardrailsCommand extends ListGuardrailsCommand_base {
@@ -83,6 +83,7 @@ declare const ListImportedModelsCommand_base: {
83
83
  * @throws {@link BedrockServiceException}
84
84
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
85
85
  *
86
+ *
86
87
  * @public
87
88
  */
88
89
  export declare class ListImportedModelsCommand extends ListImportedModelsCommand_base {
@@ -85,6 +85,7 @@ declare const ListInferenceProfilesCommand_base: {
85
85
  * @throws {@link BedrockServiceException}
86
86
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
87
87
  *
88
+ *
88
89
  * @public
89
90
  */
90
91
  export declare class ListInferenceProfilesCommand extends ListInferenceProfilesCommand_base {
@@ -82,6 +82,7 @@ declare const ListMarketplaceModelEndpointsCommand_base: {
82
82
  * @throws {@link BedrockServiceException}
83
83
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
84
84
  *
85
+ *
85
86
  * @public
86
87
  */
87
88
  export declare class ListMarketplaceModelEndpointsCommand extends ListMarketplaceModelEndpointsCommand_base {
@@ -99,6 +99,7 @@ declare const ListModelCopyJobsCommand_base: {
99
99
  * @throws {@link BedrockServiceException}
100
100
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
101
101
  *
102
+ *
102
103
  * @public
103
104
  */
104
105
  export declare class ListModelCopyJobsCommand extends ListModelCopyJobsCommand_base {
@@ -89,6 +89,7 @@ declare const ListModelCustomizationJobsCommand_base: {
89
89
  * @throws {@link BedrockServiceException}
90
90
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
91
91
  *
92
+ *
92
93
  * @public
93
94
  */
94
95
  export declare class ListModelCustomizationJobsCommand extends ListModelCustomizationJobsCommand_base {
@@ -87,6 +87,7 @@ declare const ListModelImportJobsCommand_base: {
87
87
  * @throws {@link BedrockServiceException}
88
88
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
89
89
  *
90
+ *
90
91
  * @public
91
92
  */
92
93
  export declare class ListModelImportJobsCommand extends ListModelImportJobsCommand_base {
@@ -111,6 +111,7 @@ declare const ListModelInvocationJobsCommand_base: {
111
111
  * @throws {@link BedrockServiceException}
112
112
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
113
113
  *
114
+ *
114
115
  * @public
115
116
  */
116
117
  export declare class ListModelInvocationJobsCommand extends ListModelInvocationJobsCommand_base {
@@ -90,6 +90,7 @@ declare const ListPromptRoutersCommand_base: {
90
90
  * @throws {@link BedrockServiceException}
91
91
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
92
92
  *
93
+ *
93
94
  * @public
94
95
  */
95
96
  export declare class ListPromptRoutersCommand extends ListPromptRoutersCommand_base {
@@ -90,6 +90,7 @@ declare const ListProvisionedModelThroughputsCommand_base: {
90
90
  * @throws {@link BedrockServiceException}
91
91
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
92
92
  *
93
+ *
93
94
  * @public
94
95
  */
95
96
  export declare class ListProvisionedModelThroughputsCommand extends ListProvisionedModelThroughputsCommand_base {
@@ -75,6 +75,7 @@ declare const ListTagsForResourceCommand_base: {
75
75
  * @throws {@link BedrockServiceException}
76
76
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
77
77
  *
78
+ *
78
79
  * @public
79
80
  */
80
81
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
@@ -81,6 +81,7 @@ declare const PutModelInvocationLoggingConfigurationCommand_base: {
81
81
  * @throws {@link BedrockServiceException}
82
82
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
83
83
  *
84
+ *
84
85
  * @public
85
86
  */
86
87
  export declare class PutModelInvocationLoggingConfigurationCommand extends PutModelInvocationLoggingConfigurationCommand_base {
@@ -99,6 +99,7 @@ declare const RegisterMarketplaceModelEndpointCommand_base: {
99
99
  * @throws {@link BedrockServiceException}
100
100
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
101
101
  *
102
+ *
102
103
  * @public
103
104
  */
104
105
  export declare class RegisterMarketplaceModelEndpointCommand extends RegisterMarketplaceModelEndpointCommand_base {
@@ -70,6 +70,7 @@ declare const StopEvaluationJobCommand_base: {
70
70
  * @throws {@link BedrockServiceException}
71
71
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class StopEvaluationJobCommand extends StopEvaluationJobCommand_base {
@@ -70,6 +70,7 @@ declare const StopModelCustomizationJobCommand_base: {
70
70
  * @throws {@link BedrockServiceException}
71
71
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class StopModelCustomizationJobCommand extends StopModelCustomizationJobCommand_base {
@@ -70,6 +70,7 @@ declare const StopModelInvocationJobCommand_base: {
70
70
  * @throws {@link BedrockServiceException}
71
71
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class StopModelInvocationJobCommand extends StopModelInvocationJobCommand_base {
@@ -77,6 +77,7 @@ declare const TagResourceCommand_base: {
77
77
  * @throws {@link BedrockServiceException}
78
78
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
79
79
  *
80
+ *
80
81
  * @public
81
82
  */
82
83
  export declare class TagResourceCommand extends TagResourceCommand_base {
@@ -70,6 +70,7 @@ declare const UntagResourceCommand_base: {
70
70
  * @throws {@link BedrockServiceException}
71
71
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
@@ -182,6 +182,7 @@ declare const UpdateGuardrailCommand_base: {
182
182
  * @throws {@link BedrockServiceException}
183
183
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
184
184
  *
185
+ *
185
186
  * @public
186
187
  */
187
188
  export declare class UpdateGuardrailCommand extends UpdateGuardrailCommand_base {
@@ -118,6 +118,7 @@ declare const UpdateMarketplaceModelEndpointCommand_base: {
118
118
  * @throws {@link BedrockServiceException}
119
119
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
120
120
  *
121
+ *
121
122
  * @public
122
123
  */
123
124
  export declare class UpdateMarketplaceModelEndpointCommand extends UpdateMarketplaceModelEndpointCommand_base {
@@ -69,6 +69,7 @@ declare const UpdateProvisionedModelThroughputCommand_base: {
69
69
  * @throws {@link BedrockServiceException}
70
70
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
71
71
  *
72
+ *
72
73
  * @public
73
74
  */
74
75
  export declare class UpdateProvisionedModelThroughputCommand extends UpdateProvisionedModelThroughputCommand_base {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock",
3
3
  "description": "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
4
- "version": "3.774.0",
4
+ "version": "3.777.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",
@@ -20,41 +20,41 @@
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.774.0",
24
- "@aws-sdk/credential-provider-node": "3.774.0",
25
- "@aws-sdk/middleware-host-header": "3.774.0",
26
- "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
- "@aws-sdk/middleware-user-agent": "3.774.0",
29
- "@aws-sdk/region-config-resolver": "3.734.0",
30
- "@aws-sdk/types": "3.734.0",
31
- "@aws-sdk/util-endpoints": "3.743.0",
32
- "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.774.0",
34
- "@smithy/config-resolver": "^4.0.1",
35
- "@smithy/core": "^3.1.5",
36
- "@smithy/fetch-http-handler": "^5.0.1",
37
- "@smithy/hash-node": "^4.0.1",
38
- "@smithy/invalid-dependency": "^4.0.1",
39
- "@smithy/middleware-content-length": "^4.0.1",
40
- "@smithy/middleware-endpoint": "^4.0.6",
41
- "@smithy/middleware-retry": "^4.0.7",
42
- "@smithy/middleware-serde": "^4.0.2",
43
- "@smithy/middleware-stack": "^4.0.1",
44
- "@smithy/node-config-provider": "^4.0.1",
45
- "@smithy/node-http-handler": "^4.0.3",
46
- "@smithy/protocol-http": "^5.0.1",
47
- "@smithy/smithy-client": "^4.1.6",
48
- "@smithy/types": "^4.1.0",
49
- "@smithy/url-parser": "^4.0.1",
23
+ "@aws-sdk/core": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.777.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.775.0",
29
+ "@aws-sdk/region-config-resolver": "3.775.0",
30
+ "@aws-sdk/types": "3.775.0",
31
+ "@aws-sdk/util-endpoints": "3.775.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.775.0",
33
+ "@aws-sdk/util-user-agent-node": "3.775.0",
34
+ "@smithy/config-resolver": "^4.1.0",
35
+ "@smithy/core": "^3.2.0",
36
+ "@smithy/fetch-http-handler": "^5.0.2",
37
+ "@smithy/hash-node": "^4.0.2",
38
+ "@smithy/invalid-dependency": "^4.0.2",
39
+ "@smithy/middleware-content-length": "^4.0.2",
40
+ "@smithy/middleware-endpoint": "^4.1.0",
41
+ "@smithy/middleware-retry": "^4.1.0",
42
+ "@smithy/middleware-serde": "^4.0.3",
43
+ "@smithy/middleware-stack": "^4.0.2",
44
+ "@smithy/node-config-provider": "^4.0.2",
45
+ "@smithy/node-http-handler": "^4.0.4",
46
+ "@smithy/protocol-http": "^5.1.0",
47
+ "@smithy/smithy-client": "^4.2.0",
48
+ "@smithy/types": "^4.2.0",
49
+ "@smithy/url-parser": "^4.0.2",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.7",
54
- "@smithy/util-defaults-mode-node": "^4.0.7",
55
- "@smithy/util-endpoints": "^3.0.1",
56
- "@smithy/util-middleware": "^4.0.1",
57
- "@smithy/util-retry": "^4.0.1",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.8",
54
+ "@smithy/util-defaults-mode-node": "^4.0.8",
55
+ "@smithy/util-endpoints": "^3.0.2",
56
+ "@smithy/util-middleware": "^4.0.2",
57
+ "@smithy/util-retry": "^4.0.2",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
59
  "@types/uuid": "^9.0.1",
60
60
  "tslib": "^2.6.2",