@aws-sdk/client-bedrock 3.478.0 → 3.481.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 (85) hide show
  1. package/dist-cjs/commands/CreateModelCustomizationJobCommand.js +18 -41
  2. package/dist-cjs/commands/CreateProvisionedModelThroughputCommand.js +18 -41
  3. package/dist-cjs/commands/DeleteCustomModelCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteModelInvocationLoggingConfigurationCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteProvisionedModelThroughputCommand.js +18 -41
  6. package/dist-cjs/commands/GetCustomModelCommand.js +18 -41
  7. package/dist-cjs/commands/GetFoundationModelCommand.js +18 -41
  8. package/dist-cjs/commands/GetModelCustomizationJobCommand.js +18 -41
  9. package/dist-cjs/commands/GetModelInvocationLoggingConfigurationCommand.js +18 -41
  10. package/dist-cjs/commands/GetProvisionedModelThroughputCommand.js +18 -41
  11. package/dist-cjs/commands/ListCustomModelsCommand.js +18 -41
  12. package/dist-cjs/commands/ListFoundationModelsCommand.js +18 -41
  13. package/dist-cjs/commands/ListModelCustomizationJobsCommand.js +18 -41
  14. package/dist-cjs/commands/ListProvisionedModelThroughputsCommand.js +18 -41
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  16. package/dist-cjs/commands/PutModelInvocationLoggingConfigurationCommand.js +18 -41
  17. package/dist-cjs/commands/StopModelCustomizationJobCommand.js +18 -41
  18. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  19. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  20. package/dist-cjs/commands/UpdateProvisionedModelThroughputCommand.js +18 -41
  21. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  22. package/dist-es/commands/CreateModelCustomizationJobCommand.js +18 -41
  23. package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +18 -41
  24. package/dist-es/commands/DeleteCustomModelCommand.js +18 -41
  25. package/dist-es/commands/DeleteModelInvocationLoggingConfigurationCommand.js +18 -41
  26. package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +18 -41
  27. package/dist-es/commands/GetCustomModelCommand.js +18 -41
  28. package/dist-es/commands/GetFoundationModelCommand.js +18 -41
  29. package/dist-es/commands/GetModelCustomizationJobCommand.js +18 -41
  30. package/dist-es/commands/GetModelInvocationLoggingConfigurationCommand.js +18 -41
  31. package/dist-es/commands/GetProvisionedModelThroughputCommand.js +18 -41
  32. package/dist-es/commands/ListCustomModelsCommand.js +18 -41
  33. package/dist-es/commands/ListFoundationModelsCommand.js +18 -41
  34. package/dist-es/commands/ListModelCustomizationJobsCommand.js +18 -41
  35. package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +18 -41
  36. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  37. package/dist-es/commands/PutModelInvocationLoggingConfigurationCommand.js +18 -41
  38. package/dist-es/commands/StopModelCustomizationJobCommand.js +18 -41
  39. package/dist-es/commands/TagResourceCommand.js +18 -41
  40. package/dist-es/commands/UntagResourceCommand.js +18 -41
  41. package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +18 -41
  42. package/dist-es/endpoint/EndpointParameters.js +6 -0
  43. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +6 -21
  44. package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +6 -21
  45. package/dist-types/commands/DeleteCustomModelCommand.d.ts +6 -21
  46. package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +6 -21
  47. package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +6 -21
  48. package/dist-types/commands/GetCustomModelCommand.d.ts +6 -21
  49. package/dist-types/commands/GetFoundationModelCommand.d.ts +6 -21
  50. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +6 -21
  51. package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +6 -21
  52. package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +6 -21
  53. package/dist-types/commands/ListCustomModelsCommand.d.ts +6 -21
  54. package/dist-types/commands/ListFoundationModelsCommand.d.ts +6 -21
  55. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +6 -21
  56. package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +6 -21
  57. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  58. package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +6 -21
  59. package/dist-types/commands/StopModelCustomizationJobCommand.d.ts +6 -21
  60. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  61. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  62. package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +6 -21
  63. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  64. package/dist-types/ts3.4/commands/CreateModelCustomizationJobCommand.d.ts +12 -24
  65. package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +12 -24
  66. package/dist-types/ts3.4/commands/DeleteCustomModelCommand.d.ts +14 -23
  67. package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +12 -24
  68. package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +12 -24
  69. package/dist-types/ts3.4/commands/GetCustomModelCommand.d.ts +14 -23
  70. package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +14 -23
  71. package/dist-types/ts3.4/commands/GetModelCustomizationJobCommand.d.ts +12 -24
  72. package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +12 -24
  73. package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +12 -24
  74. package/dist-types/ts3.4/commands/ListCustomModelsCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +12 -24
  76. package/dist-types/ts3.4/commands/ListModelCustomizationJobsCommand.d.ts +12 -24
  77. package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +12 -24
  78. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +12 -24
  80. package/dist-types/ts3.4/commands/StopModelCustomizationJobCommand.d.ts +12 -24
  81. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +12 -24
  84. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  85. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StopModelCustomizationJobCommand, se_StopModelCustomizationJobCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class StopModelCustomizationJobCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, StopModelCustomizationJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BedrockClient";
26
- const commandName = "StopModelCustomizationJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonBedrockControlPlaneService",
35
- operation: "StopModelCustomizationJob",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_StopModelCustomizationJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StopModelCustomizationJobCommand(output, context);
46
- }
7
+ export class StopModelCustomizationJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockControlPlaneService", "StopModelCustomizationJob", {})
19
+ .n("BedrockClient", "StopModelCustomizationJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopModelCustomizationJobCommand)
22
+ .de(de_StopModelCustomizationJobCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BedrockClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonBedrockControlPlaneService",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockControlPlaneService", "TagResource", {})
19
+ .n("BedrockClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BedrockClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonBedrockControlPlaneService",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockControlPlaneService", "UntagResource", {})
19
+ .n("BedrockClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateProvisionedModelThroughputCommand, se_UpdateProvisionedModelThroughputCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateProvisionedModelThroughputCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateProvisionedModelThroughputCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BedrockClient";
26
- const commandName = "UpdateProvisionedModelThroughputCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonBedrockControlPlaneService",
35
- operation: "UpdateProvisionedModelThroughput",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateProvisionedModelThroughputCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateProvisionedModelThroughputCommand(output, context);
46
- }
7
+ export class UpdateProvisionedModelThroughputCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonBedrockControlPlaneService", "UpdateProvisionedModelThroughput", {})
19
+ .n("BedrockClient", "UpdateProvisionedModelThroughputCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateProvisionedModelThroughputCommand)
22
+ .de(de_UpdateProvisionedModelThroughputCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "bedrock",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
5
4
  import { CreateModelCustomizationJobRequest, CreateModelCustomizationJobResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateModelCustomizationJobCommandInput extends CreateModelCust
21
20
  */
22
21
  export interface CreateModelCustomizationJobCommandOutput extends CreateModelCustomizationJobResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateModelCustomizationJobCommand_base: {
24
+ new (input: CreateModelCustomizationJobCommandInput): import("@smithy/smithy-client").CommandImpl<CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a fine-tuning job to customize a base model.</p>
@@ -128,23 +131,5 @@ export interface CreateModelCustomizationJobCommandOutput extends CreateModelCus
128
131
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
129
132
  *
130
133
  */
131
- export declare class CreateModelCustomizationJobCommand extends $Command<CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput, BedrockClientResolvedConfig> {
132
- readonly input: CreateModelCustomizationJobCommandInput;
133
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
134
- /**
135
- * @public
136
- */
137
- constructor(input: CreateModelCustomizationJobCommandInput);
138
- /**
139
- * @internal
140
- */
141
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput>;
142
- /**
143
- * @internal
144
- */
145
- private serialize;
146
- /**
147
- * @internal
148
- */
149
- private deserialize;
134
+ export declare class CreateModelCustomizationJobCommand extends CreateModelCustomizationJobCommand_base {
150
135
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
5
4
  import { CreateProvisionedModelThroughputRequest, CreateProvisionedModelThroughputResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateProvisionedModelThroughputCommandInput extends CreateProv
21
20
  */
22
21
  export interface CreateProvisionedModelThroughputCommandOutput extends CreateProvisionedModelThroughputResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateProvisionedModelThroughputCommand_base: {
24
+ new (input: CreateProvisionedModelThroughputCommandInput): import("@smithy/smithy-client").CommandImpl<CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a provisioned throughput with dedicated capacity for a foundation model or a fine-tuned model.</p>
@@ -84,23 +87,5 @@ export interface CreateProvisionedModelThroughputCommandOutput extends CreatePro
84
87
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
85
88
  *
86
89
  */
87
- export declare class CreateProvisionedModelThroughputCommand extends $Command<CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput, BedrockClientResolvedConfig> {
88
- readonly input: CreateProvisionedModelThroughputCommandInput;
89
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
- /**
91
- * @public
92
- */
93
- constructor(input: CreateProvisionedModelThroughputCommandInput);
94
- /**
95
- * @internal
96
- */
97
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput>;
98
- /**
99
- * @internal
100
- */
101
- private serialize;
102
- /**
103
- * @internal
104
- */
105
- private deserialize;
90
+ export declare class CreateProvisionedModelThroughputCommand extends CreateProvisionedModelThroughputCommand_base {
106
91
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
5
4
  import { DeleteCustomModelRequest, DeleteCustomModelResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteCustomModelCommandInput extends DeleteCustomModelRequest
21
20
  */
22
21
  export interface DeleteCustomModelCommandOutput extends DeleteCustomModelResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteCustomModelCommand_base: {
24
+ new (input: DeleteCustomModelCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a custom model that you created earlier. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a> in the Bedrock User Guide.</p>
@@ -67,23 +70,5 @@ export interface DeleteCustomModelCommandOutput extends DeleteCustomModelRespons
67
70
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
68
71
  *
69
72
  */
70
- export declare class DeleteCustomModelCommand extends $Command<DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput, BedrockClientResolvedConfig> {
71
- readonly input: DeleteCustomModelCommandInput;
72
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
- /**
74
- * @public
75
- */
76
- constructor(input: DeleteCustomModelCommandInput);
77
- /**
78
- * @internal
79
- */
80
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput>;
81
- /**
82
- * @internal
83
- */
84
- private serialize;
85
- /**
86
- * @internal
87
- */
88
- private deserialize;
73
+ export declare class DeleteCustomModelCommand extends DeleteCustomModelCommand_base {
89
74
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
5
4
  import { DeleteModelInvocationLoggingConfigurationRequest, DeleteModelInvocationLoggingConfigurationResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteModelInvocationLoggingConfigurationCommandInput extends D
21
20
  */
22
21
  export interface DeleteModelInvocationLoggingConfigurationCommandOutput extends DeleteModelInvocationLoggingConfigurationResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteModelInvocationLoggingConfigurationCommand_base: {
24
+ new (input: DeleteModelInvocationLoggingConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Delete the invocation logging. </p>
@@ -56,23 +59,5 @@ export interface DeleteModelInvocationLoggingConfigurationCommandOutput extends
56
59
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
57
60
  *
58
61
  */
59
- export declare class DeleteModelInvocationLoggingConfigurationCommand extends $Command<DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput, BedrockClientResolvedConfig> {
60
- readonly input: DeleteModelInvocationLoggingConfigurationCommandInput;
61
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
62
- /**
63
- * @public
64
- */
65
- constructor(input: DeleteModelInvocationLoggingConfigurationCommandInput);
66
- /**
67
- * @internal
68
- */
69
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput>;
70
- /**
71
- * @internal
72
- */
73
- private serialize;
74
- /**
75
- * @internal
76
- */
77
- private deserialize;
62
+ export declare class DeleteModelInvocationLoggingConfigurationCommand extends DeleteModelInvocationLoggingConfigurationCommand_base {
78
63
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
5
4
  import { DeleteProvisionedModelThroughputRequest, DeleteProvisionedModelThroughputResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteProvisionedModelThroughputCommandInput extends DeleteProv
21
20
  */
22
21
  export interface DeleteProvisionedModelThroughputCommandOutput extends DeleteProvisionedModelThroughputResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteProvisionedModelThroughputCommand_base: {
24
+ new (input: DeleteProvisionedModelThroughputCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a provisioned throughput. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Provisioned throughput</a> in the Bedrock User Guide.</p>
@@ -67,23 +70,5 @@ export interface DeleteProvisionedModelThroughputCommandOutput extends DeletePro
67
70
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
68
71
  *
69
72
  */
70
- export declare class DeleteProvisionedModelThroughputCommand extends $Command<DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput, BedrockClientResolvedConfig> {
71
- readonly input: DeleteProvisionedModelThroughputCommandInput;
72
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
- /**
74
- * @public
75
- */
76
- constructor(input: DeleteProvisionedModelThroughputCommandInput);
77
- /**
78
- * @internal
79
- */
80
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput>;
81
- /**
82
- * @internal
83
- */
84
- private serialize;
85
- /**
86
- * @internal
87
- */
88
- private deserialize;
73
+ export declare class DeleteProvisionedModelThroughputCommand extends DeleteProvisionedModelThroughputCommand_base {
89
74
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
5
4
  import { GetCustomModelRequest, GetCustomModelResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetCustomModelCommandInput extends GetCustomModelRequest {
21
20
  */
22
21
  export interface GetCustomModelCommandOutput extends GetCustomModelResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetCustomModelCommand_base: {
24
+ new (input: GetCustomModelCommandInput): import("@smithy/smithy-client").CommandImpl<GetCustomModelCommandInput, GetCustomModelCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Get the properties associated with a Amazon Bedrock custom model that you have created.For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a> in the Bedrock User Guide.</p>
@@ -97,23 +100,5 @@ export interface GetCustomModelCommandOutput extends GetCustomModelResponse, __M
97
100
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
98
101
  *
99
102
  */
100
- export declare class GetCustomModelCommand extends $Command<GetCustomModelCommandInput, GetCustomModelCommandOutput, BedrockClientResolvedConfig> {
101
- readonly input: GetCustomModelCommandInput;
102
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
103
- /**
104
- * @public
105
- */
106
- constructor(input: GetCustomModelCommandInput);
107
- /**
108
- * @internal
109
- */
110
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCustomModelCommandInput, GetCustomModelCommandOutput>;
111
- /**
112
- * @internal
113
- */
114
- private serialize;
115
- /**
116
- * @internal
117
- */
118
- private deserialize;
103
+ export declare class GetCustomModelCommand extends GetCustomModelCommand_base {
119
104
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
5
4
  import { GetFoundationModelRequest, GetFoundationModelResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetFoundationModelCommandInput extends GetFoundationModelReques
21
20
  */
22
21
  export interface GetFoundationModelCommandOutput extends GetFoundationModelResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetFoundationModelCommand_base: {
24
+ new (input: GetFoundationModelCommandInput): import("@smithy/smithy-client").CommandImpl<GetFoundationModelCommandInput, GetFoundationModelCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Get details about a Amazon Bedrock foundation model.</p>
@@ -87,23 +90,5 @@ export interface GetFoundationModelCommandOutput extends GetFoundationModelRespo
87
90
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
88
91
  *
89
92
  */
90
- export declare class GetFoundationModelCommand extends $Command<GetFoundationModelCommandInput, GetFoundationModelCommandOutput, BedrockClientResolvedConfig> {
91
- readonly input: GetFoundationModelCommandInput;
92
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
- /**
94
- * @public
95
- */
96
- constructor(input: GetFoundationModelCommandInput);
97
- /**
98
- * @internal
99
- */
100
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetFoundationModelCommandInput, GetFoundationModelCommandOutput>;
101
- /**
102
- * @internal
103
- */
104
- private serialize;
105
- /**
106
- * @internal
107
- */
108
- private deserialize;
93
+ export declare class GetFoundationModelCommand extends GetFoundationModelCommand_base {
109
94
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
5
4
  import { GetModelCustomizationJobRequest, GetModelCustomizationJobResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetModelCustomizationJobCommandInput extends GetModelCustomizat
21
20
  */
22
21
  export interface GetModelCustomizationJobCommandOutput extends GetModelCustomizationJobResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetModelCustomizationJobCommand_base: {
24
+ new (input: GetModelCustomizationJobCommandInput): import("@smithy/smithy-client").CommandImpl<GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the properties associated with a model-customization job, including the status of the job.
@@ -112,23 +115,5 @@ export interface GetModelCustomizationJobCommandOutput extends GetModelCustomiza
112
115
  * <p>Base exception class for all service exceptions from Bedrock service.</p>
113
116
  *
114
117
  */
115
- export declare class GetModelCustomizationJobCommand extends $Command<GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput, BedrockClientResolvedConfig> {
116
- readonly input: GetModelCustomizationJobCommandInput;
117
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
118
- /**
119
- * @public
120
- */
121
- constructor(input: GetModelCustomizationJobCommandInput);
122
- /**
123
- * @internal
124
- */
125
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput>;
126
- /**
127
- * @internal
128
- */
129
- private serialize;
130
- /**
131
- * @internal
132
- */
133
- private deserialize;
118
+ export declare class GetModelCustomizationJobCommand extends GetModelCustomizationJobCommand_base {
134
119
  }