@aws-sdk/client-bedrock 3.422.1 → 3.425.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.
- package/README.md +40 -0
- package/dist-cjs/Bedrock.js +10 -0
- package/dist-cjs/commands/CreateProvisionedModelThroughputCommand.js +51 -0
- package/dist-cjs/commands/DeleteProvisionedModelThroughputCommand.js +51 -0
- package/dist-cjs/commands/GetProvisionedModelThroughputCommand.js +51 -0
- package/dist-cjs/commands/ListProvisionedModelThroughputsCommand.js +51 -0
- package/dist-cjs/commands/UpdateProvisionedModelThroughputCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +25 -12
- package/dist-cjs/pagination/ListProvisionedModelThroughputsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +386 -1
- package/dist-es/Bedrock.js +10 -0
- package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +47 -0
- package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +47 -0
- package/dist-es/commands/GetProvisionedModelThroughputCommand.js +47 -0
- package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +47 -0
- package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +22 -9
- package/dist-es/pagination/ListProvisionedModelThroughputsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +376 -1
- package/dist-types/Bedrock.d.ts +35 -0
- package/dist-types/BedrockClient.d.ts +9 -2
- package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +8 -8
- package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +106 -0
- package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +89 -0
- package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +1 -1
- package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +100 -0
- package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +109 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +88 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +370 -36
- package/dist-types/pagination/ListProvisionedModelThroughputsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Bedrock.d.ts +363 -115
- package/dist-types/ts3.4/BedrockClient.d.ts +238 -182
- package/dist-types/ts3.4/commands/CreateModelCustomizationJobCommand.d.ts +42 -149
- package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteCustomModelCommand.d.ts +39 -89
- package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +42 -78
- package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetCustomModelCommand.d.ts +38 -118
- package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +39 -106
- package/dist-types/ts3.4/commands/GetModelCustomizationJobCommand.d.ts +42 -133
- package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +42 -96
- package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCustomModelsCommand.d.ts +38 -103
- package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +42 -108
- package/dist-types/ts3.4/commands/ListModelCustomizationJobsCommand.d.ts +42 -107
- package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -94
- package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +42 -99
- package/dist-types/ts3.4/commands/StopModelCustomizationJobCommand.d.ts +42 -89
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -96
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -89
- package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +20 -15
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -22
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -5
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -8
- package/dist-types/ts3.4/index.d.ts +7 -12
- package/dist-types/ts3.4/models/BedrockServiceException.d.ts +8 -13
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +412 -1144
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -8
- package/dist-types/ts3.4/pagination/ListCustomModelsPaginator.d.ts +11 -7
- package/dist-types/ts3.4/pagination/ListModelCustomizationJobsPaginator.d.ts +11 -7
- package/dist-types/ts3.4/pagination/ListProvisionedModelThroughputsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -3
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +245 -137
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -46
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -46
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -45
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -17
- package/package.json +31 -31
|
@@ -1,24 +1,33 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
3
|
import { CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput } from "../commands/CreateModelCustomizationJobCommand";
|
|
4
|
+
import { CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThroughputCommandOutput } from "../commands/CreateProvisionedModelThroughputCommand";
|
|
4
5
|
import { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from "../commands/DeleteCustomModelCommand";
|
|
5
6
|
import { DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput } from "../commands/DeleteModelInvocationLoggingConfigurationCommand";
|
|
7
|
+
import { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput } from "../commands/DeleteProvisionedModelThroughputCommand";
|
|
6
8
|
import { GetCustomModelCommandInput, GetCustomModelCommandOutput } from "../commands/GetCustomModelCommand";
|
|
7
9
|
import { GetFoundationModelCommandInput, GetFoundationModelCommandOutput } from "../commands/GetFoundationModelCommand";
|
|
8
10
|
import { GetModelCustomizationJobCommandInput, GetModelCustomizationJobCommandOutput } from "../commands/GetModelCustomizationJobCommand";
|
|
9
11
|
import { GetModelInvocationLoggingConfigurationCommandInput, GetModelInvocationLoggingConfigurationCommandOutput } from "../commands/GetModelInvocationLoggingConfigurationCommand";
|
|
12
|
+
import { GetProvisionedModelThroughputCommandInput, GetProvisionedModelThroughputCommandOutput } from "../commands/GetProvisionedModelThroughputCommand";
|
|
10
13
|
import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "../commands/ListCustomModelsCommand";
|
|
11
14
|
import { ListFoundationModelsCommandInput, ListFoundationModelsCommandOutput } from "../commands/ListFoundationModelsCommand";
|
|
12
15
|
import { ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput } from "../commands/ListModelCustomizationJobsCommand";
|
|
16
|
+
import { ListProvisionedModelThroughputsCommandInput, ListProvisionedModelThroughputsCommandOutput } from "../commands/ListProvisionedModelThroughputsCommand";
|
|
13
17
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
14
18
|
import { PutModelInvocationLoggingConfigurationCommandInput, PutModelInvocationLoggingConfigurationCommandOutput } from "../commands/PutModelInvocationLoggingConfigurationCommand";
|
|
15
19
|
import { StopModelCustomizationJobCommandInput, StopModelCustomizationJobCommandOutput } from "../commands/StopModelCustomizationJobCommand";
|
|
16
20
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
17
21
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
22
|
+
import { UpdateProvisionedModelThroughputCommandInput, UpdateProvisionedModelThroughputCommandOutput } from "../commands/UpdateProvisionedModelThroughputCommand";
|
|
18
23
|
/**
|
|
19
24
|
* serializeAws_restJson1CreateModelCustomizationJobCommand
|
|
20
25
|
*/
|
|
21
26
|
export declare const se_CreateModelCustomizationJobCommand: (input: CreateModelCustomizationJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
|
+
/**
|
|
28
|
+
* serializeAws_restJson1CreateProvisionedModelThroughputCommand
|
|
29
|
+
*/
|
|
30
|
+
export declare const se_CreateProvisionedModelThroughputCommand: (input: CreateProvisionedModelThroughputCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
22
31
|
/**
|
|
23
32
|
* serializeAws_restJson1DeleteCustomModelCommand
|
|
24
33
|
*/
|
|
@@ -27,6 +36,10 @@ export declare const se_DeleteCustomModelCommand: (input: DeleteCustomModelComma
|
|
|
27
36
|
* serializeAws_restJson1DeleteModelInvocationLoggingConfigurationCommand
|
|
28
37
|
*/
|
|
29
38
|
export declare const se_DeleteModelInvocationLoggingConfigurationCommand: (input: DeleteModelInvocationLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
|
+
/**
|
|
40
|
+
* serializeAws_restJson1DeleteProvisionedModelThroughputCommand
|
|
41
|
+
*/
|
|
42
|
+
export declare const se_DeleteProvisionedModelThroughputCommand: (input: DeleteProvisionedModelThroughputCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
30
43
|
/**
|
|
31
44
|
* serializeAws_restJson1GetCustomModelCommand
|
|
32
45
|
*/
|
|
@@ -43,6 +56,10 @@ export declare const se_GetModelCustomizationJobCommand: (input: GetModelCustomi
|
|
|
43
56
|
* serializeAws_restJson1GetModelInvocationLoggingConfigurationCommand
|
|
44
57
|
*/
|
|
45
58
|
export declare const se_GetModelInvocationLoggingConfigurationCommand: (input: GetModelInvocationLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
|
+
/**
|
|
60
|
+
* serializeAws_restJson1GetProvisionedModelThroughputCommand
|
|
61
|
+
*/
|
|
62
|
+
export declare const se_GetProvisionedModelThroughputCommand: (input: GetProvisionedModelThroughputCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
46
63
|
/**
|
|
47
64
|
* serializeAws_restJson1ListCustomModelsCommand
|
|
48
65
|
*/
|
|
@@ -55,6 +72,10 @@ export declare const se_ListFoundationModelsCommand: (input: ListFoundationModel
|
|
|
55
72
|
* serializeAws_restJson1ListModelCustomizationJobsCommand
|
|
56
73
|
*/
|
|
57
74
|
export declare const se_ListModelCustomizationJobsCommand: (input: ListModelCustomizationJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
75
|
+
/**
|
|
76
|
+
* serializeAws_restJson1ListProvisionedModelThroughputsCommand
|
|
77
|
+
*/
|
|
78
|
+
export declare const se_ListProvisionedModelThroughputsCommand: (input: ListProvisionedModelThroughputsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
79
|
/**
|
|
59
80
|
* serializeAws_restJson1ListTagsForResourceCommand
|
|
60
81
|
*/
|
|
@@ -75,10 +96,18 @@ export declare const se_TagResourceCommand: (input: TagResourceCommandInput, con
|
|
|
75
96
|
* serializeAws_restJson1UntagResourceCommand
|
|
76
97
|
*/
|
|
77
98
|
export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
99
|
+
/**
|
|
100
|
+
* serializeAws_restJson1UpdateProvisionedModelThroughputCommand
|
|
101
|
+
*/
|
|
102
|
+
export declare const se_UpdateProvisionedModelThroughputCommand: (input: UpdateProvisionedModelThroughputCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
78
103
|
/**
|
|
79
104
|
* deserializeAws_restJson1CreateModelCustomizationJobCommand
|
|
80
105
|
*/
|
|
81
106
|
export declare const de_CreateModelCustomizationJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateModelCustomizationJobCommandOutput>;
|
|
107
|
+
/**
|
|
108
|
+
* deserializeAws_restJson1CreateProvisionedModelThroughputCommand
|
|
109
|
+
*/
|
|
110
|
+
export declare const de_CreateProvisionedModelThroughputCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateProvisionedModelThroughputCommandOutput>;
|
|
82
111
|
/**
|
|
83
112
|
* deserializeAws_restJson1DeleteCustomModelCommand
|
|
84
113
|
*/
|
|
@@ -87,6 +116,10 @@ export declare const de_DeleteCustomModelCommand: (output: __HttpResponse, conte
|
|
|
87
116
|
* deserializeAws_restJson1DeleteModelInvocationLoggingConfigurationCommand
|
|
88
117
|
*/
|
|
89
118
|
export declare const de_DeleteModelInvocationLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteModelInvocationLoggingConfigurationCommandOutput>;
|
|
119
|
+
/**
|
|
120
|
+
* deserializeAws_restJson1DeleteProvisionedModelThroughputCommand
|
|
121
|
+
*/
|
|
122
|
+
export declare const de_DeleteProvisionedModelThroughputCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteProvisionedModelThroughputCommandOutput>;
|
|
90
123
|
/**
|
|
91
124
|
* deserializeAws_restJson1GetCustomModelCommand
|
|
92
125
|
*/
|
|
@@ -103,6 +136,10 @@ export declare const de_GetModelCustomizationJobCommand: (output: __HttpResponse
|
|
|
103
136
|
* deserializeAws_restJson1GetModelInvocationLoggingConfigurationCommand
|
|
104
137
|
*/
|
|
105
138
|
export declare const de_GetModelInvocationLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetModelInvocationLoggingConfigurationCommandOutput>;
|
|
139
|
+
/**
|
|
140
|
+
* deserializeAws_restJson1GetProvisionedModelThroughputCommand
|
|
141
|
+
*/
|
|
142
|
+
export declare const de_GetProvisionedModelThroughputCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetProvisionedModelThroughputCommandOutput>;
|
|
106
143
|
/**
|
|
107
144
|
* deserializeAws_restJson1ListCustomModelsCommand
|
|
108
145
|
*/
|
|
@@ -115,6 +152,10 @@ export declare const de_ListFoundationModelsCommand: (output: __HttpResponse, co
|
|
|
115
152
|
* deserializeAws_restJson1ListModelCustomizationJobsCommand
|
|
116
153
|
*/
|
|
117
154
|
export declare const de_ListModelCustomizationJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListModelCustomizationJobsCommandOutput>;
|
|
155
|
+
/**
|
|
156
|
+
* deserializeAws_restJson1ListProvisionedModelThroughputsCommand
|
|
157
|
+
*/
|
|
158
|
+
export declare const de_ListProvisionedModelThroughputsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListProvisionedModelThroughputsCommandOutput>;
|
|
118
159
|
/**
|
|
119
160
|
* deserializeAws_restJson1ListTagsForResourceCommand
|
|
120
161
|
*/
|
|
@@ -135,3 +176,7 @@ export declare const de_TagResourceCommand: (output: __HttpResponse, context: __
|
|
|
135
176
|
* deserializeAws_restJson1UntagResourceCommand
|
|
136
177
|
*/
|
|
137
178
|
export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
179
|
+
/**
|
|
180
|
+
* deserializeAws_restJson1UpdateProvisionedModelThroughputCommand
|
|
181
|
+
*/
|
|
182
|
+
export declare const de_UpdateProvisionedModelThroughputCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateProvisionedModelThroughputCommandOutput>;
|
|
@@ -1,115 +1,363 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
-
import { BedrockClient } from "./BedrockClient";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { BedrockClient } from "./BedrockClient";
|
|
3
|
+
import {
|
|
4
|
+
CreateModelCustomizationJobCommandInput,
|
|
5
|
+
CreateModelCustomizationJobCommandOutput,
|
|
6
|
+
} from "./commands/CreateModelCustomizationJobCommand";
|
|
7
|
+
import {
|
|
8
|
+
CreateProvisionedModelThroughputCommandInput,
|
|
9
|
+
CreateProvisionedModelThroughputCommandOutput,
|
|
10
|
+
} from "./commands/CreateProvisionedModelThroughputCommand";
|
|
11
|
+
import {
|
|
12
|
+
DeleteCustomModelCommandInput,
|
|
13
|
+
DeleteCustomModelCommandOutput,
|
|
14
|
+
} from "./commands/DeleteCustomModelCommand";
|
|
15
|
+
import {
|
|
16
|
+
DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
17
|
+
DeleteModelInvocationLoggingConfigurationCommandOutput,
|
|
18
|
+
} from "./commands/DeleteModelInvocationLoggingConfigurationCommand";
|
|
19
|
+
import {
|
|
20
|
+
DeleteProvisionedModelThroughputCommandInput,
|
|
21
|
+
DeleteProvisionedModelThroughputCommandOutput,
|
|
22
|
+
} from "./commands/DeleteProvisionedModelThroughputCommand";
|
|
23
|
+
import {
|
|
24
|
+
GetCustomModelCommandInput,
|
|
25
|
+
GetCustomModelCommandOutput,
|
|
26
|
+
} from "./commands/GetCustomModelCommand";
|
|
27
|
+
import {
|
|
28
|
+
GetFoundationModelCommandInput,
|
|
29
|
+
GetFoundationModelCommandOutput,
|
|
30
|
+
} from "./commands/GetFoundationModelCommand";
|
|
31
|
+
import {
|
|
32
|
+
GetModelCustomizationJobCommandInput,
|
|
33
|
+
GetModelCustomizationJobCommandOutput,
|
|
34
|
+
} from "./commands/GetModelCustomizationJobCommand";
|
|
35
|
+
import {
|
|
36
|
+
GetModelInvocationLoggingConfigurationCommandInput,
|
|
37
|
+
GetModelInvocationLoggingConfigurationCommandOutput,
|
|
38
|
+
} from "./commands/GetModelInvocationLoggingConfigurationCommand";
|
|
39
|
+
import {
|
|
40
|
+
GetProvisionedModelThroughputCommandInput,
|
|
41
|
+
GetProvisionedModelThroughputCommandOutput,
|
|
42
|
+
} from "./commands/GetProvisionedModelThroughputCommand";
|
|
43
|
+
import {
|
|
44
|
+
ListCustomModelsCommandInput,
|
|
45
|
+
ListCustomModelsCommandOutput,
|
|
46
|
+
} from "./commands/ListCustomModelsCommand";
|
|
47
|
+
import {
|
|
48
|
+
ListFoundationModelsCommandInput,
|
|
49
|
+
ListFoundationModelsCommandOutput,
|
|
50
|
+
} from "./commands/ListFoundationModelsCommand";
|
|
51
|
+
import {
|
|
52
|
+
ListModelCustomizationJobsCommandInput,
|
|
53
|
+
ListModelCustomizationJobsCommandOutput,
|
|
54
|
+
} from "./commands/ListModelCustomizationJobsCommand";
|
|
55
|
+
import {
|
|
56
|
+
ListProvisionedModelThroughputsCommandInput,
|
|
57
|
+
ListProvisionedModelThroughputsCommandOutput,
|
|
58
|
+
} from "./commands/ListProvisionedModelThroughputsCommand";
|
|
59
|
+
import {
|
|
60
|
+
ListTagsForResourceCommandInput,
|
|
61
|
+
ListTagsForResourceCommandOutput,
|
|
62
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
63
|
+
import {
|
|
64
|
+
PutModelInvocationLoggingConfigurationCommandInput,
|
|
65
|
+
PutModelInvocationLoggingConfigurationCommandOutput,
|
|
66
|
+
} from "./commands/PutModelInvocationLoggingConfigurationCommand";
|
|
67
|
+
import {
|
|
68
|
+
StopModelCustomizationJobCommandInput,
|
|
69
|
+
StopModelCustomizationJobCommandOutput,
|
|
70
|
+
} from "./commands/StopModelCustomizationJobCommand";
|
|
71
|
+
import {
|
|
72
|
+
TagResourceCommandInput,
|
|
73
|
+
TagResourceCommandOutput,
|
|
74
|
+
} from "./commands/TagResourceCommand";
|
|
75
|
+
import {
|
|
76
|
+
UntagResourceCommandInput,
|
|
77
|
+
UntagResourceCommandOutput,
|
|
78
|
+
} from "./commands/UntagResourceCommand";
|
|
79
|
+
import {
|
|
80
|
+
UpdateProvisionedModelThroughputCommandInput,
|
|
81
|
+
UpdateProvisionedModelThroughputCommandOutput,
|
|
82
|
+
} from "./commands/UpdateProvisionedModelThroughputCommand";
|
|
83
|
+
export interface Bedrock {
|
|
84
|
+
createModelCustomizationJob(
|
|
85
|
+
args: CreateModelCustomizationJobCommandInput,
|
|
86
|
+
options?: __HttpHandlerOptions
|
|
87
|
+
): Promise<CreateModelCustomizationJobCommandOutput>;
|
|
88
|
+
createModelCustomizationJob(
|
|
89
|
+
args: CreateModelCustomizationJobCommandInput,
|
|
90
|
+
cb: (err: any, data?: CreateModelCustomizationJobCommandOutput) => void
|
|
91
|
+
): void;
|
|
92
|
+
createModelCustomizationJob(
|
|
93
|
+
args: CreateModelCustomizationJobCommandInput,
|
|
94
|
+
options: __HttpHandlerOptions,
|
|
95
|
+
cb: (err: any, data?: CreateModelCustomizationJobCommandOutput) => void
|
|
96
|
+
): void;
|
|
97
|
+
createProvisionedModelThroughput(
|
|
98
|
+
args: CreateProvisionedModelThroughputCommandInput,
|
|
99
|
+
options?: __HttpHandlerOptions
|
|
100
|
+
): Promise<CreateProvisionedModelThroughputCommandOutput>;
|
|
101
|
+
createProvisionedModelThroughput(
|
|
102
|
+
args: CreateProvisionedModelThroughputCommandInput,
|
|
103
|
+
cb: (err: any, data?: CreateProvisionedModelThroughputCommandOutput) => void
|
|
104
|
+
): void;
|
|
105
|
+
createProvisionedModelThroughput(
|
|
106
|
+
args: CreateProvisionedModelThroughputCommandInput,
|
|
107
|
+
options: __HttpHandlerOptions,
|
|
108
|
+
cb: (err: any, data?: CreateProvisionedModelThroughputCommandOutput) => void
|
|
109
|
+
): void;
|
|
110
|
+
deleteCustomModel(
|
|
111
|
+
args: DeleteCustomModelCommandInput,
|
|
112
|
+
options?: __HttpHandlerOptions
|
|
113
|
+
): Promise<DeleteCustomModelCommandOutput>;
|
|
114
|
+
deleteCustomModel(
|
|
115
|
+
args: DeleteCustomModelCommandInput,
|
|
116
|
+
cb: (err: any, data?: DeleteCustomModelCommandOutput) => void
|
|
117
|
+
): void;
|
|
118
|
+
deleteCustomModel(
|
|
119
|
+
args: DeleteCustomModelCommandInput,
|
|
120
|
+
options: __HttpHandlerOptions,
|
|
121
|
+
cb: (err: any, data?: DeleteCustomModelCommandOutput) => void
|
|
122
|
+
): void;
|
|
123
|
+
deleteModelInvocationLoggingConfiguration(
|
|
124
|
+
args: DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
125
|
+
options?: __HttpHandlerOptions
|
|
126
|
+
): Promise<DeleteModelInvocationLoggingConfigurationCommandOutput>;
|
|
127
|
+
deleteModelInvocationLoggingConfiguration(
|
|
128
|
+
args: DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
129
|
+
cb: (
|
|
130
|
+
err: any,
|
|
131
|
+
data?: DeleteModelInvocationLoggingConfigurationCommandOutput
|
|
132
|
+
) => void
|
|
133
|
+
): void;
|
|
134
|
+
deleteModelInvocationLoggingConfiguration(
|
|
135
|
+
args: DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
136
|
+
options: __HttpHandlerOptions,
|
|
137
|
+
cb: (
|
|
138
|
+
err: any,
|
|
139
|
+
data?: DeleteModelInvocationLoggingConfigurationCommandOutput
|
|
140
|
+
) => void
|
|
141
|
+
): void;
|
|
142
|
+
deleteProvisionedModelThroughput(
|
|
143
|
+
args: DeleteProvisionedModelThroughputCommandInput,
|
|
144
|
+
options?: __HttpHandlerOptions
|
|
145
|
+
): Promise<DeleteProvisionedModelThroughputCommandOutput>;
|
|
146
|
+
deleteProvisionedModelThroughput(
|
|
147
|
+
args: DeleteProvisionedModelThroughputCommandInput,
|
|
148
|
+
cb: (err: any, data?: DeleteProvisionedModelThroughputCommandOutput) => void
|
|
149
|
+
): void;
|
|
150
|
+
deleteProvisionedModelThroughput(
|
|
151
|
+
args: DeleteProvisionedModelThroughputCommandInput,
|
|
152
|
+
options: __HttpHandlerOptions,
|
|
153
|
+
cb: (err: any, data?: DeleteProvisionedModelThroughputCommandOutput) => void
|
|
154
|
+
): void;
|
|
155
|
+
getCustomModel(
|
|
156
|
+
args: GetCustomModelCommandInput,
|
|
157
|
+
options?: __HttpHandlerOptions
|
|
158
|
+
): Promise<GetCustomModelCommandOutput>;
|
|
159
|
+
getCustomModel(
|
|
160
|
+
args: GetCustomModelCommandInput,
|
|
161
|
+
cb: (err: any, data?: GetCustomModelCommandOutput) => void
|
|
162
|
+
): void;
|
|
163
|
+
getCustomModel(
|
|
164
|
+
args: GetCustomModelCommandInput,
|
|
165
|
+
options: __HttpHandlerOptions,
|
|
166
|
+
cb: (err: any, data?: GetCustomModelCommandOutput) => void
|
|
167
|
+
): void;
|
|
168
|
+
getFoundationModel(
|
|
169
|
+
args: GetFoundationModelCommandInput,
|
|
170
|
+
options?: __HttpHandlerOptions
|
|
171
|
+
): Promise<GetFoundationModelCommandOutput>;
|
|
172
|
+
getFoundationModel(
|
|
173
|
+
args: GetFoundationModelCommandInput,
|
|
174
|
+
cb: (err: any, data?: GetFoundationModelCommandOutput) => void
|
|
175
|
+
): void;
|
|
176
|
+
getFoundationModel(
|
|
177
|
+
args: GetFoundationModelCommandInput,
|
|
178
|
+
options: __HttpHandlerOptions,
|
|
179
|
+
cb: (err: any, data?: GetFoundationModelCommandOutput) => void
|
|
180
|
+
): void;
|
|
181
|
+
getModelCustomizationJob(
|
|
182
|
+
args: GetModelCustomizationJobCommandInput,
|
|
183
|
+
options?: __HttpHandlerOptions
|
|
184
|
+
): Promise<GetModelCustomizationJobCommandOutput>;
|
|
185
|
+
getModelCustomizationJob(
|
|
186
|
+
args: GetModelCustomizationJobCommandInput,
|
|
187
|
+
cb: (err: any, data?: GetModelCustomizationJobCommandOutput) => void
|
|
188
|
+
): void;
|
|
189
|
+
getModelCustomizationJob(
|
|
190
|
+
args: GetModelCustomizationJobCommandInput,
|
|
191
|
+
options: __HttpHandlerOptions,
|
|
192
|
+
cb: (err: any, data?: GetModelCustomizationJobCommandOutput) => void
|
|
193
|
+
): void;
|
|
194
|
+
getModelInvocationLoggingConfiguration(
|
|
195
|
+
args: GetModelInvocationLoggingConfigurationCommandInput,
|
|
196
|
+
options?: __HttpHandlerOptions
|
|
197
|
+
): Promise<GetModelInvocationLoggingConfigurationCommandOutput>;
|
|
198
|
+
getModelInvocationLoggingConfiguration(
|
|
199
|
+
args: GetModelInvocationLoggingConfigurationCommandInput,
|
|
200
|
+
cb: (
|
|
201
|
+
err: any,
|
|
202
|
+
data?: GetModelInvocationLoggingConfigurationCommandOutput
|
|
203
|
+
) => void
|
|
204
|
+
): void;
|
|
205
|
+
getModelInvocationLoggingConfiguration(
|
|
206
|
+
args: GetModelInvocationLoggingConfigurationCommandInput,
|
|
207
|
+
options: __HttpHandlerOptions,
|
|
208
|
+
cb: (
|
|
209
|
+
err: any,
|
|
210
|
+
data?: GetModelInvocationLoggingConfigurationCommandOutput
|
|
211
|
+
) => void
|
|
212
|
+
): void;
|
|
213
|
+
getProvisionedModelThroughput(
|
|
214
|
+
args: GetProvisionedModelThroughputCommandInput,
|
|
215
|
+
options?: __HttpHandlerOptions
|
|
216
|
+
): Promise<GetProvisionedModelThroughputCommandOutput>;
|
|
217
|
+
getProvisionedModelThroughput(
|
|
218
|
+
args: GetProvisionedModelThroughputCommandInput,
|
|
219
|
+
cb: (err: any, data?: GetProvisionedModelThroughputCommandOutput) => void
|
|
220
|
+
): void;
|
|
221
|
+
getProvisionedModelThroughput(
|
|
222
|
+
args: GetProvisionedModelThroughputCommandInput,
|
|
223
|
+
options: __HttpHandlerOptions,
|
|
224
|
+
cb: (err: any, data?: GetProvisionedModelThroughputCommandOutput) => void
|
|
225
|
+
): void;
|
|
226
|
+
listCustomModels(
|
|
227
|
+
args: ListCustomModelsCommandInput,
|
|
228
|
+
options?: __HttpHandlerOptions
|
|
229
|
+
): Promise<ListCustomModelsCommandOutput>;
|
|
230
|
+
listCustomModels(
|
|
231
|
+
args: ListCustomModelsCommandInput,
|
|
232
|
+
cb: (err: any, data?: ListCustomModelsCommandOutput) => void
|
|
233
|
+
): void;
|
|
234
|
+
listCustomModels(
|
|
235
|
+
args: ListCustomModelsCommandInput,
|
|
236
|
+
options: __HttpHandlerOptions,
|
|
237
|
+
cb: (err: any, data?: ListCustomModelsCommandOutput) => void
|
|
238
|
+
): void;
|
|
239
|
+
listFoundationModels(
|
|
240
|
+
args: ListFoundationModelsCommandInput,
|
|
241
|
+
options?: __HttpHandlerOptions
|
|
242
|
+
): Promise<ListFoundationModelsCommandOutput>;
|
|
243
|
+
listFoundationModels(
|
|
244
|
+
args: ListFoundationModelsCommandInput,
|
|
245
|
+
cb: (err: any, data?: ListFoundationModelsCommandOutput) => void
|
|
246
|
+
): void;
|
|
247
|
+
listFoundationModels(
|
|
248
|
+
args: ListFoundationModelsCommandInput,
|
|
249
|
+
options: __HttpHandlerOptions,
|
|
250
|
+
cb: (err: any, data?: ListFoundationModelsCommandOutput) => void
|
|
251
|
+
): void;
|
|
252
|
+
listModelCustomizationJobs(
|
|
253
|
+
args: ListModelCustomizationJobsCommandInput,
|
|
254
|
+
options?: __HttpHandlerOptions
|
|
255
|
+
): Promise<ListModelCustomizationJobsCommandOutput>;
|
|
256
|
+
listModelCustomizationJobs(
|
|
257
|
+
args: ListModelCustomizationJobsCommandInput,
|
|
258
|
+
cb: (err: any, data?: ListModelCustomizationJobsCommandOutput) => void
|
|
259
|
+
): void;
|
|
260
|
+
listModelCustomizationJobs(
|
|
261
|
+
args: ListModelCustomizationJobsCommandInput,
|
|
262
|
+
options: __HttpHandlerOptions,
|
|
263
|
+
cb: (err: any, data?: ListModelCustomizationJobsCommandOutput) => void
|
|
264
|
+
): void;
|
|
265
|
+
listProvisionedModelThroughputs(
|
|
266
|
+
args: ListProvisionedModelThroughputsCommandInput,
|
|
267
|
+
options?: __HttpHandlerOptions
|
|
268
|
+
): Promise<ListProvisionedModelThroughputsCommandOutput>;
|
|
269
|
+
listProvisionedModelThroughputs(
|
|
270
|
+
args: ListProvisionedModelThroughputsCommandInput,
|
|
271
|
+
cb: (err: any, data?: ListProvisionedModelThroughputsCommandOutput) => void
|
|
272
|
+
): void;
|
|
273
|
+
listProvisionedModelThroughputs(
|
|
274
|
+
args: ListProvisionedModelThroughputsCommandInput,
|
|
275
|
+
options: __HttpHandlerOptions,
|
|
276
|
+
cb: (err: any, data?: ListProvisionedModelThroughputsCommandOutput) => void
|
|
277
|
+
): void;
|
|
278
|
+
listTagsForResource(
|
|
279
|
+
args: ListTagsForResourceCommandInput,
|
|
280
|
+
options?: __HttpHandlerOptions
|
|
281
|
+
): Promise<ListTagsForResourceCommandOutput>;
|
|
282
|
+
listTagsForResource(
|
|
283
|
+
args: ListTagsForResourceCommandInput,
|
|
284
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
285
|
+
): void;
|
|
286
|
+
listTagsForResource(
|
|
287
|
+
args: ListTagsForResourceCommandInput,
|
|
288
|
+
options: __HttpHandlerOptions,
|
|
289
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
290
|
+
): void;
|
|
291
|
+
putModelInvocationLoggingConfiguration(
|
|
292
|
+
args: PutModelInvocationLoggingConfigurationCommandInput,
|
|
293
|
+
options?: __HttpHandlerOptions
|
|
294
|
+
): Promise<PutModelInvocationLoggingConfigurationCommandOutput>;
|
|
295
|
+
putModelInvocationLoggingConfiguration(
|
|
296
|
+
args: PutModelInvocationLoggingConfigurationCommandInput,
|
|
297
|
+
cb: (
|
|
298
|
+
err: any,
|
|
299
|
+
data?: PutModelInvocationLoggingConfigurationCommandOutput
|
|
300
|
+
) => void
|
|
301
|
+
): void;
|
|
302
|
+
putModelInvocationLoggingConfiguration(
|
|
303
|
+
args: PutModelInvocationLoggingConfigurationCommandInput,
|
|
304
|
+
options: __HttpHandlerOptions,
|
|
305
|
+
cb: (
|
|
306
|
+
err: any,
|
|
307
|
+
data?: PutModelInvocationLoggingConfigurationCommandOutput
|
|
308
|
+
) => void
|
|
309
|
+
): void;
|
|
310
|
+
stopModelCustomizationJob(
|
|
311
|
+
args: StopModelCustomizationJobCommandInput,
|
|
312
|
+
options?: __HttpHandlerOptions
|
|
313
|
+
): Promise<StopModelCustomizationJobCommandOutput>;
|
|
314
|
+
stopModelCustomizationJob(
|
|
315
|
+
args: StopModelCustomizationJobCommandInput,
|
|
316
|
+
cb: (err: any, data?: StopModelCustomizationJobCommandOutput) => void
|
|
317
|
+
): void;
|
|
318
|
+
stopModelCustomizationJob(
|
|
319
|
+
args: StopModelCustomizationJobCommandInput,
|
|
320
|
+
options: __HttpHandlerOptions,
|
|
321
|
+
cb: (err: any, data?: StopModelCustomizationJobCommandOutput) => void
|
|
322
|
+
): void;
|
|
323
|
+
tagResource(
|
|
324
|
+
args: TagResourceCommandInput,
|
|
325
|
+
options?: __HttpHandlerOptions
|
|
326
|
+
): Promise<TagResourceCommandOutput>;
|
|
327
|
+
tagResource(
|
|
328
|
+
args: TagResourceCommandInput,
|
|
329
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
330
|
+
): void;
|
|
331
|
+
tagResource(
|
|
332
|
+
args: TagResourceCommandInput,
|
|
333
|
+
options: __HttpHandlerOptions,
|
|
334
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
335
|
+
): void;
|
|
336
|
+
untagResource(
|
|
337
|
+
args: UntagResourceCommandInput,
|
|
338
|
+
options?: __HttpHandlerOptions
|
|
339
|
+
): Promise<UntagResourceCommandOutput>;
|
|
340
|
+
untagResource(
|
|
341
|
+
args: UntagResourceCommandInput,
|
|
342
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
343
|
+
): void;
|
|
344
|
+
untagResource(
|
|
345
|
+
args: UntagResourceCommandInput,
|
|
346
|
+
options: __HttpHandlerOptions,
|
|
347
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
348
|
+
): void;
|
|
349
|
+
updateProvisionedModelThroughput(
|
|
350
|
+
args: UpdateProvisionedModelThroughputCommandInput,
|
|
351
|
+
options?: __HttpHandlerOptions
|
|
352
|
+
): Promise<UpdateProvisionedModelThroughputCommandOutput>;
|
|
353
|
+
updateProvisionedModelThroughput(
|
|
354
|
+
args: UpdateProvisionedModelThroughputCommandInput,
|
|
355
|
+
cb: (err: any, data?: UpdateProvisionedModelThroughputCommandOutput) => void
|
|
356
|
+
): void;
|
|
357
|
+
updateProvisionedModelThroughput(
|
|
358
|
+
args: UpdateProvisionedModelThroughputCommandInput,
|
|
359
|
+
options: __HttpHandlerOptions,
|
|
360
|
+
cb: (err: any, data?: UpdateProvisionedModelThroughputCommandOutput) => void
|
|
361
|
+
): void;
|
|
362
|
+
}
|
|
363
|
+
export declare class Bedrock extends BedrockClient implements Bedrock {}
|