@aws-sdk/client-bedrock 3.705.0 → 3.706.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 +72 -0
- package/dist-cjs/index.js +614 -27
- package/dist-es/Bedrock.js +18 -0
- package/dist-es/commands/CreateMarketplaceModelEndpointCommand.js +22 -0
- package/dist-es/commands/DeleteMarketplaceModelEndpointCommand.js +22 -0
- package/dist-es/commands/DeregisterMarketplaceModelEndpointCommand.js +22 -0
- package/dist-es/commands/GetMarketplaceModelEndpointCommand.js +22 -0
- package/dist-es/commands/GetPromptRouterCommand.js +23 -0
- package/dist-es/commands/ListMarketplaceModelEndpointsCommand.js +22 -0
- package/dist-es/commands/ListPromptRoutersCommand.js +23 -0
- package/dist-es/commands/RegisterMarketplaceModelEndpointCommand.js +22 -0
- package/dist-es/commands/UpdateMarketplaceModelEndpointCommand.js +22 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +96 -20
- package/dist-es/pagination/ListMarketplaceModelEndpointsPaginator.js +4 -0
- package/dist-es/pagination/ListPromptRoutersPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +314 -1
- package/dist-types/Bedrock.d.ts +65 -0
- package/dist-types/BedrockClient.d.ts +11 -2
- package/dist-types/commands/CreateGuardrailCommand.d.ts +6 -0
- package/dist-types/commands/CreateMarketplaceModelEndpointCommand.d.ts +143 -0
- package/dist-types/commands/DeleteMarketplaceModelEndpointCommand.d.ts +84 -0
- package/dist-types/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +89 -0
- package/dist-types/commands/GetGuardrailCommand.d.ts +6 -0
- package/dist-types/commands/GetMarketplaceModelEndpointCommand.d.ts +111 -0
- package/dist-types/commands/GetPromptRouterCommand.d.ts +103 -0
- package/dist-types/commands/ListMarketplaceModelEndpointsCommand.d.ts +99 -0
- package/dist-types/commands/ListPromptRoutersCommand.d.ts +106 -0
- package/dist-types/commands/RegisterMarketplaceModelEndpointCommand.d.ts +116 -0
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +6 -0
- package/dist-types/commands/UpdateMarketplaceModelEndpointCommand.d.ts +135 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +736 -97
- package/dist-types/pagination/ListMarketplaceModelEndpointsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPromptRoutersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/Bedrock.d.ts +161 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CreateMarketplaceModelEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteMarketplaceModelEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetMarketplaceModelEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPromptRouterCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListMarketplaceModelEndpointsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPromptRoutersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RegisterMarketplaceModelEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateMarketplaceModelEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +229 -41
- package/dist-types/ts3.4/pagination/ListMarketplaceModelEndpointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPromptRoutersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ export * from "./CreateEvaluationJobCommand";
|
|
|
3
3
|
export * from "./CreateGuardrailCommand";
|
|
4
4
|
export * from "./CreateGuardrailVersionCommand";
|
|
5
5
|
export * from "./CreateInferenceProfileCommand";
|
|
6
|
+
export * from "./CreateMarketplaceModelEndpointCommand";
|
|
6
7
|
export * from "./CreateModelCopyJobCommand";
|
|
7
8
|
export * from "./CreateModelCustomizationJobCommand";
|
|
8
9
|
export * from "./CreateModelImportJobCommand";
|
|
@@ -12,19 +13,23 @@ export * from "./DeleteCustomModelCommand";
|
|
|
12
13
|
export * from "./DeleteGuardrailCommand";
|
|
13
14
|
export * from "./DeleteImportedModelCommand";
|
|
14
15
|
export * from "./DeleteInferenceProfileCommand";
|
|
16
|
+
export * from "./DeleteMarketplaceModelEndpointCommand";
|
|
15
17
|
export * from "./DeleteModelInvocationLoggingConfigurationCommand";
|
|
16
18
|
export * from "./DeleteProvisionedModelThroughputCommand";
|
|
19
|
+
export * from "./DeregisterMarketplaceModelEndpointCommand";
|
|
17
20
|
export * from "./GetCustomModelCommand";
|
|
18
21
|
export * from "./GetEvaluationJobCommand";
|
|
19
22
|
export * from "./GetFoundationModelCommand";
|
|
20
23
|
export * from "./GetGuardrailCommand";
|
|
21
24
|
export * from "./GetImportedModelCommand";
|
|
22
25
|
export * from "./GetInferenceProfileCommand";
|
|
26
|
+
export * from "./GetMarketplaceModelEndpointCommand";
|
|
23
27
|
export * from "./GetModelCopyJobCommand";
|
|
24
28
|
export * from "./GetModelCustomizationJobCommand";
|
|
25
29
|
export * from "./GetModelImportJobCommand";
|
|
26
30
|
export * from "./GetModelInvocationJobCommand";
|
|
27
31
|
export * from "./GetModelInvocationLoggingConfigurationCommand";
|
|
32
|
+
export * from "./GetPromptRouterCommand";
|
|
28
33
|
export * from "./GetProvisionedModelThroughputCommand";
|
|
29
34
|
export * from "./ListCustomModelsCommand";
|
|
30
35
|
export * from "./ListEvaluationJobsCommand";
|
|
@@ -32,17 +37,21 @@ export * from "./ListFoundationModelsCommand";
|
|
|
32
37
|
export * from "./ListGuardrailsCommand";
|
|
33
38
|
export * from "./ListImportedModelsCommand";
|
|
34
39
|
export * from "./ListInferenceProfilesCommand";
|
|
40
|
+
export * from "./ListMarketplaceModelEndpointsCommand";
|
|
35
41
|
export * from "./ListModelCopyJobsCommand";
|
|
36
42
|
export * from "./ListModelCustomizationJobsCommand";
|
|
37
43
|
export * from "./ListModelImportJobsCommand";
|
|
38
44
|
export * from "./ListModelInvocationJobsCommand";
|
|
45
|
+
export * from "./ListPromptRoutersCommand";
|
|
39
46
|
export * from "./ListProvisionedModelThroughputsCommand";
|
|
40
47
|
export * from "./ListTagsForResourceCommand";
|
|
41
48
|
export * from "./PutModelInvocationLoggingConfigurationCommand";
|
|
49
|
+
export * from "./RegisterMarketplaceModelEndpointCommand";
|
|
42
50
|
export * from "./StopEvaluationJobCommand";
|
|
43
51
|
export * from "./StopModelCustomizationJobCommand";
|
|
44
52
|
export * from "./StopModelInvocationJobCommand";
|
|
45
53
|
export * from "./TagResourceCommand";
|
|
46
54
|
export * from "./UntagResourceCommand";
|
|
47
55
|
export * from "./UpdateGuardrailCommand";
|
|
56
|
+
export * from "./UpdateMarketplaceModelEndpointCommand";
|
|
48
57
|
export * from "./UpdateProvisionedModelThroughputCommand";
|
|
@@ -8,37 +8,71 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
8
8
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
export interface BatchDeleteEvaluationJobRequest {
|
|
12
|
-
jobIdentifiers: string[] | undefined;
|
|
13
|
-
}
|
|
14
|
-
export interface BatchDeleteEvaluationJobError {
|
|
15
|
-
jobIdentifier: string | undefined;
|
|
16
|
-
code: string | undefined;
|
|
17
|
-
message?: string | undefined;
|
|
18
|
-
}
|
|
19
|
-
export declare const EvaluationJobStatus: {
|
|
20
|
-
readonly COMPLETED: "Completed";
|
|
21
|
-
readonly DELETING: "Deleting";
|
|
22
|
-
readonly FAILED: "Failed";
|
|
23
|
-
readonly IN_PROGRESS: "InProgress";
|
|
24
|
-
readonly STOPPED: "Stopped";
|
|
25
|
-
readonly STOPPING: "Stopping";
|
|
26
|
-
};
|
|
27
|
-
export type EvaluationJobStatus =
|
|
28
|
-
(typeof EvaluationJobStatus)[keyof typeof EvaluationJobStatus];
|
|
29
|
-
export interface BatchDeleteEvaluationJobItem {
|
|
30
|
-
jobIdentifier: string | undefined;
|
|
31
|
-
jobStatus: EvaluationJobStatus | undefined;
|
|
32
|
-
}
|
|
33
|
-
export interface BatchDeleteEvaluationJobResponse {
|
|
34
|
-
errors: BatchDeleteEvaluationJobError[] | undefined;
|
|
35
|
-
evaluationJobs: BatchDeleteEvaluationJobItem[] | undefined;
|
|
36
|
-
}
|
|
37
11
|
export declare class ConflictException extends __BaseException {
|
|
38
12
|
readonly name: "ConflictException";
|
|
39
13
|
readonly $fault: "client";
|
|
40
14
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
41
15
|
}
|
|
16
|
+
export interface VpcConfig {
|
|
17
|
+
subnetIds: string[] | undefined;
|
|
18
|
+
securityGroupIds: string[] | undefined;
|
|
19
|
+
}
|
|
20
|
+
export interface SageMakerEndpoint {
|
|
21
|
+
initialInstanceCount: number | undefined;
|
|
22
|
+
instanceType: string | undefined;
|
|
23
|
+
executionRole: string | undefined;
|
|
24
|
+
kmsEncryptionKey?: string | undefined;
|
|
25
|
+
vpc?: VpcConfig | undefined;
|
|
26
|
+
}
|
|
27
|
+
export type EndpointConfig =
|
|
28
|
+
| EndpointConfig.SageMakerMember
|
|
29
|
+
| EndpointConfig.$UnknownMember;
|
|
30
|
+
export declare namespace EndpointConfig {
|
|
31
|
+
interface SageMakerMember {
|
|
32
|
+
sageMaker: SageMakerEndpoint;
|
|
33
|
+
$unknown?: never;
|
|
34
|
+
}
|
|
35
|
+
interface $UnknownMember {
|
|
36
|
+
sageMaker?: never;
|
|
37
|
+
$unknown: [string, any];
|
|
38
|
+
}
|
|
39
|
+
interface Visitor<T> {
|
|
40
|
+
sageMaker: (value: SageMakerEndpoint) => T;
|
|
41
|
+
_: (name: string, value: any) => T;
|
|
42
|
+
}
|
|
43
|
+
const visit: <T>(value: EndpointConfig, visitor: Visitor<T>) => T;
|
|
44
|
+
}
|
|
45
|
+
export interface Tag {
|
|
46
|
+
key: string | undefined;
|
|
47
|
+
value: string | undefined;
|
|
48
|
+
}
|
|
49
|
+
export interface CreateMarketplaceModelEndpointRequest {
|
|
50
|
+
modelSourceIdentifier: string | undefined;
|
|
51
|
+
endpointConfig: EndpointConfig | undefined;
|
|
52
|
+
acceptEula?: boolean | undefined;
|
|
53
|
+
endpointName: string | undefined;
|
|
54
|
+
clientRequestToken?: string | undefined;
|
|
55
|
+
tags?: Tag[] | undefined;
|
|
56
|
+
}
|
|
57
|
+
export declare const Status: {
|
|
58
|
+
readonly INCOMPATIBLE_ENDPOINT: "INCOMPATIBLE_ENDPOINT";
|
|
59
|
+
readonly REGISTERED: "REGISTERED";
|
|
60
|
+
};
|
|
61
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
62
|
+
export interface MarketplaceModelEndpoint {
|
|
63
|
+
endpointArn: string | undefined;
|
|
64
|
+
modelSourceIdentifier: string | undefined;
|
|
65
|
+
status?: Status | undefined;
|
|
66
|
+
statusMessage?: string | undefined;
|
|
67
|
+
createdAt: Date | undefined;
|
|
68
|
+
updatedAt: Date | undefined;
|
|
69
|
+
endpointConfig: EndpointConfig | undefined;
|
|
70
|
+
endpointStatus: string | undefined;
|
|
71
|
+
endpointStatusMessage?: string | undefined;
|
|
72
|
+
}
|
|
73
|
+
export interface CreateMarketplaceModelEndpointResponse {
|
|
74
|
+
marketplaceModelEndpoint: MarketplaceModelEndpoint | undefined;
|
|
75
|
+
}
|
|
42
76
|
export declare class InternalServerException extends __BaseException {
|
|
43
77
|
readonly name: "InternalServerException";
|
|
44
78
|
readonly $fault: "server";
|
|
@@ -53,6 +87,13 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
53
87
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
54
88
|
);
|
|
55
89
|
}
|
|
90
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
91
|
+
readonly name: "ServiceQuotaExceededException";
|
|
92
|
+
readonly $fault: "client";
|
|
93
|
+
constructor(
|
|
94
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
95
|
+
);
|
|
96
|
+
}
|
|
56
97
|
export declare class ThrottlingException extends __BaseException {
|
|
57
98
|
readonly name: "ThrottlingException";
|
|
58
99
|
readonly $fault: "client";
|
|
@@ -67,6 +108,85 @@ export declare class ValidationException extends __BaseException {
|
|
|
67
108
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
68
109
|
);
|
|
69
110
|
}
|
|
111
|
+
export interface DeleteMarketplaceModelEndpointRequest {
|
|
112
|
+
endpointArn: string | undefined;
|
|
113
|
+
}
|
|
114
|
+
export interface DeleteMarketplaceModelEndpointResponse {}
|
|
115
|
+
export interface DeregisterMarketplaceModelEndpointRequest {
|
|
116
|
+
endpointArn: string | undefined;
|
|
117
|
+
}
|
|
118
|
+
export interface DeregisterMarketplaceModelEndpointResponse {}
|
|
119
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
120
|
+
readonly name: "ServiceUnavailableException";
|
|
121
|
+
readonly $fault: "server";
|
|
122
|
+
constructor(
|
|
123
|
+
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
export interface GetMarketplaceModelEndpointRequest {
|
|
127
|
+
endpointArn: string | undefined;
|
|
128
|
+
}
|
|
129
|
+
export interface GetMarketplaceModelEndpointResponse {
|
|
130
|
+
marketplaceModelEndpoint?: MarketplaceModelEndpoint | undefined;
|
|
131
|
+
}
|
|
132
|
+
export interface ListMarketplaceModelEndpointsRequest {
|
|
133
|
+
maxResults?: number | undefined;
|
|
134
|
+
nextToken?: string | undefined;
|
|
135
|
+
modelSourceEquals?: string | undefined;
|
|
136
|
+
}
|
|
137
|
+
export interface MarketplaceModelEndpointSummary {
|
|
138
|
+
endpointArn: string | undefined;
|
|
139
|
+
modelSourceIdentifier: string | undefined;
|
|
140
|
+
status?: Status | undefined;
|
|
141
|
+
statusMessage?: string | undefined;
|
|
142
|
+
createdAt: Date | undefined;
|
|
143
|
+
updatedAt: Date | undefined;
|
|
144
|
+
}
|
|
145
|
+
export interface ListMarketplaceModelEndpointsResponse {
|
|
146
|
+
marketplaceModelEndpoints?: MarketplaceModelEndpointSummary[] | undefined;
|
|
147
|
+
nextToken?: string | undefined;
|
|
148
|
+
}
|
|
149
|
+
export interface RegisterMarketplaceModelEndpointRequest {
|
|
150
|
+
endpointIdentifier: string | undefined;
|
|
151
|
+
modelSourceIdentifier: string | undefined;
|
|
152
|
+
}
|
|
153
|
+
export interface RegisterMarketplaceModelEndpointResponse {
|
|
154
|
+
marketplaceModelEndpoint: MarketplaceModelEndpoint | undefined;
|
|
155
|
+
}
|
|
156
|
+
export interface UpdateMarketplaceModelEndpointRequest {
|
|
157
|
+
endpointArn: string | undefined;
|
|
158
|
+
endpointConfig: EndpointConfig | undefined;
|
|
159
|
+
clientRequestToken?: string | undefined;
|
|
160
|
+
}
|
|
161
|
+
export interface UpdateMarketplaceModelEndpointResponse {
|
|
162
|
+
marketplaceModelEndpoint: MarketplaceModelEndpoint | undefined;
|
|
163
|
+
}
|
|
164
|
+
export interface BatchDeleteEvaluationJobRequest {
|
|
165
|
+
jobIdentifiers: string[] | undefined;
|
|
166
|
+
}
|
|
167
|
+
export interface BatchDeleteEvaluationJobError {
|
|
168
|
+
jobIdentifier: string | undefined;
|
|
169
|
+
code: string | undefined;
|
|
170
|
+
message?: string | undefined;
|
|
171
|
+
}
|
|
172
|
+
export declare const EvaluationJobStatus: {
|
|
173
|
+
readonly COMPLETED: "Completed";
|
|
174
|
+
readonly DELETING: "Deleting";
|
|
175
|
+
readonly FAILED: "Failed";
|
|
176
|
+
readonly IN_PROGRESS: "InProgress";
|
|
177
|
+
readonly STOPPED: "Stopped";
|
|
178
|
+
readonly STOPPING: "Stopping";
|
|
179
|
+
};
|
|
180
|
+
export type EvaluationJobStatus =
|
|
181
|
+
(typeof EvaluationJobStatus)[keyof typeof EvaluationJobStatus];
|
|
182
|
+
export interface BatchDeleteEvaluationJobItem {
|
|
183
|
+
jobIdentifier: string | undefined;
|
|
184
|
+
jobStatus: EvaluationJobStatus | undefined;
|
|
185
|
+
}
|
|
186
|
+
export interface BatchDeleteEvaluationJobResponse {
|
|
187
|
+
errors: BatchDeleteEvaluationJobError[] | undefined;
|
|
188
|
+
evaluationJobs: BatchDeleteEvaluationJobItem[] | undefined;
|
|
189
|
+
}
|
|
70
190
|
export declare const ApplicationType: {
|
|
71
191
|
readonly MODEL_EVALUATION: "ModelEvaluation";
|
|
72
192
|
readonly RAG_EVALUATION: "RagEvaluation";
|
|
@@ -277,23 +397,12 @@ export declare const RetrieveAndGenerateType: {
|
|
|
277
397
|
};
|
|
278
398
|
export type RetrieveAndGenerateType =
|
|
279
399
|
(typeof RetrieveAndGenerateType)[keyof typeof RetrieveAndGenerateType];
|
|
280
|
-
export interface Tag {
|
|
281
|
-
key: string | undefined;
|
|
282
|
-
value: string | undefined;
|
|
283
|
-
}
|
|
284
400
|
export interface EvaluationOutputDataConfig {
|
|
285
401
|
s3Uri: string | undefined;
|
|
286
402
|
}
|
|
287
403
|
export interface CreateEvaluationJobResponse {
|
|
288
404
|
jobArn: string | undefined;
|
|
289
405
|
}
|
|
290
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
291
|
-
readonly name: "ServiceQuotaExceededException";
|
|
292
|
-
readonly $fault: "client";
|
|
293
|
-
constructor(
|
|
294
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
295
|
-
);
|
|
296
|
-
}
|
|
297
406
|
export interface GetEvaluationJobRequest {
|
|
298
407
|
jobIdentifier: string | undefined;
|
|
299
408
|
}
|
|
@@ -343,6 +452,12 @@ export interface StopEvaluationJobRequest {
|
|
|
343
452
|
jobIdentifier: string | undefined;
|
|
344
453
|
}
|
|
345
454
|
export interface StopEvaluationJobResponse {}
|
|
455
|
+
export declare const GuardrailModality: {
|
|
456
|
+
readonly IMAGE: "IMAGE";
|
|
457
|
+
readonly TEXT: "TEXT";
|
|
458
|
+
};
|
|
459
|
+
export type GuardrailModality =
|
|
460
|
+
(typeof GuardrailModality)[keyof typeof GuardrailModality];
|
|
346
461
|
export declare const GuardrailFilterStrength: {
|
|
347
462
|
readonly HIGH: "HIGH";
|
|
348
463
|
readonly LOW: "LOW";
|
|
@@ -365,6 +480,8 @@ export interface GuardrailContentFilterConfig {
|
|
|
365
480
|
type: GuardrailContentFilterType | undefined;
|
|
366
481
|
inputStrength: GuardrailFilterStrength | undefined;
|
|
367
482
|
outputStrength: GuardrailFilterStrength | undefined;
|
|
483
|
+
inputModalities?: GuardrailModality[] | undefined;
|
|
484
|
+
outputModalities?: GuardrailModality[] | undefined;
|
|
368
485
|
}
|
|
369
486
|
export interface GuardrailContentPolicyConfig {
|
|
370
487
|
filtersConfig: GuardrailContentFilterConfig[] | undefined;
|
|
@@ -520,6 +637,8 @@ export interface GuardrailContentFilter {
|
|
|
520
637
|
type: GuardrailContentFilterType | undefined;
|
|
521
638
|
inputStrength: GuardrailFilterStrength | undefined;
|
|
522
639
|
outputStrength: GuardrailFilterStrength | undefined;
|
|
640
|
+
inputModalities?: GuardrailModality[] | undefined;
|
|
641
|
+
outputModalities?: GuardrailModality[] | undefined;
|
|
523
642
|
}
|
|
524
643
|
export interface GuardrailContentPolicy {
|
|
525
644
|
filters?: GuardrailContentFilter[] | undefined;
|
|
@@ -830,10 +949,6 @@ export declare namespace ModelDataSource {
|
|
|
830
949
|
}
|
|
831
950
|
const visit: <T>(value: ModelDataSource, visitor: Visitor<T>) => T;
|
|
832
951
|
}
|
|
833
|
-
export interface VpcConfig {
|
|
834
|
-
subnetIds: string[] | undefined;
|
|
835
|
-
securityGroupIds: string[] | undefined;
|
|
836
|
-
}
|
|
837
952
|
export interface CreateModelImportJobRequest {
|
|
838
953
|
jobName: string | undefined;
|
|
839
954
|
importedModelName: string | undefined;
|
|
@@ -1322,6 +1437,58 @@ export interface FoundationModelSummary {
|
|
|
1322
1437
|
export interface ListFoundationModelsResponse {
|
|
1323
1438
|
modelSummaries?: FoundationModelSummary[] | undefined;
|
|
1324
1439
|
}
|
|
1440
|
+
export interface GetPromptRouterRequest {
|
|
1441
|
+
promptRouterArn: string | undefined;
|
|
1442
|
+
}
|
|
1443
|
+
export interface PromptRouterTargetModel {
|
|
1444
|
+
modelArn?: string | undefined;
|
|
1445
|
+
}
|
|
1446
|
+
export interface RoutingCriteria {
|
|
1447
|
+
responseQualityDifference: number | undefined;
|
|
1448
|
+
}
|
|
1449
|
+
export declare const PromptRouterStatus: {
|
|
1450
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
1451
|
+
};
|
|
1452
|
+
export type PromptRouterStatus =
|
|
1453
|
+
(typeof PromptRouterStatus)[keyof typeof PromptRouterStatus];
|
|
1454
|
+
export declare const PromptRouterType: {
|
|
1455
|
+
readonly CUSTOM: "custom";
|
|
1456
|
+
readonly DEFAULT: "default";
|
|
1457
|
+
};
|
|
1458
|
+
export type PromptRouterType =
|
|
1459
|
+
(typeof PromptRouterType)[keyof typeof PromptRouterType];
|
|
1460
|
+
export interface GetPromptRouterResponse {
|
|
1461
|
+
promptRouterName: string | undefined;
|
|
1462
|
+
routingCriteria: RoutingCriteria | undefined;
|
|
1463
|
+
description?: string | undefined;
|
|
1464
|
+
createdAt?: Date | undefined;
|
|
1465
|
+
updatedAt?: Date | undefined;
|
|
1466
|
+
promptRouterArn: string | undefined;
|
|
1467
|
+
models: PromptRouterTargetModel[] | undefined;
|
|
1468
|
+
fallbackModel: PromptRouterTargetModel | undefined;
|
|
1469
|
+
status: PromptRouterStatus | undefined;
|
|
1470
|
+
type: PromptRouterType | undefined;
|
|
1471
|
+
}
|
|
1472
|
+
export interface ListPromptRoutersRequest {
|
|
1473
|
+
maxResults?: number | undefined;
|
|
1474
|
+
nextToken?: string | undefined;
|
|
1475
|
+
}
|
|
1476
|
+
export interface PromptRouterSummary {
|
|
1477
|
+
promptRouterName: string | undefined;
|
|
1478
|
+
routingCriteria: RoutingCriteria | undefined;
|
|
1479
|
+
description?: string | undefined;
|
|
1480
|
+
createdAt?: Date | undefined;
|
|
1481
|
+
updatedAt?: Date | undefined;
|
|
1482
|
+
promptRouterArn: string | undefined;
|
|
1483
|
+
models: PromptRouterTargetModel[] | undefined;
|
|
1484
|
+
fallbackModel: PromptRouterTargetModel | undefined;
|
|
1485
|
+
status: PromptRouterStatus | undefined;
|
|
1486
|
+
type: PromptRouterType | undefined;
|
|
1487
|
+
}
|
|
1488
|
+
export interface ListPromptRoutersResponse {
|
|
1489
|
+
promptRouterSummaries?: PromptRouterSummary[] | undefined;
|
|
1490
|
+
nextToken?: string | undefined;
|
|
1491
|
+
}
|
|
1325
1492
|
export declare const CommitmentDuration: {
|
|
1326
1493
|
readonly ONE_MONTH: "OneMonth";
|
|
1327
1494
|
readonly SIX_MONTHS: "SixMonths";
|
|
@@ -1971,6 +2138,12 @@ export declare const GetEvaluationJobRequestFilterSensitiveLog: (
|
|
|
1971
2138
|
export declare const StopEvaluationJobRequestFilterSensitiveLog: (
|
|
1972
2139
|
obj: StopEvaluationJobRequest
|
|
1973
2140
|
) => any;
|
|
2141
|
+
export declare const GuardrailContentFilterConfigFilterSensitiveLog: (
|
|
2142
|
+
obj: GuardrailContentFilterConfig
|
|
2143
|
+
) => any;
|
|
2144
|
+
export declare const GuardrailContentPolicyConfigFilterSensitiveLog: (
|
|
2145
|
+
obj: GuardrailContentPolicyConfig
|
|
2146
|
+
) => any;
|
|
1974
2147
|
export declare const GuardrailTopicConfigFilterSensitiveLog: (
|
|
1975
2148
|
obj: GuardrailTopicConfig
|
|
1976
2149
|
) => any;
|
|
@@ -1983,6 +2156,12 @@ export declare const CreateGuardrailRequestFilterSensitiveLog: (
|
|
|
1983
2156
|
export declare const CreateGuardrailVersionRequestFilterSensitiveLog: (
|
|
1984
2157
|
obj: CreateGuardrailVersionRequest
|
|
1985
2158
|
) => any;
|
|
2159
|
+
export declare const GuardrailContentFilterFilterSensitiveLog: (
|
|
2160
|
+
obj: GuardrailContentFilter
|
|
2161
|
+
) => any;
|
|
2162
|
+
export declare const GuardrailContentPolicyFilterSensitiveLog: (
|
|
2163
|
+
obj: GuardrailContentPolicy
|
|
2164
|
+
) => any;
|
|
1986
2165
|
export declare const GuardrailTopicFilterSensitiveLog: (
|
|
1987
2166
|
obj: GuardrailTopic
|
|
1988
2167
|
) => any;
|
|
@@ -2037,6 +2216,15 @@ export declare const TrainingDataConfigFilterSensitiveLog: (
|
|
|
2037
2216
|
export declare const GetCustomModelResponseFilterSensitiveLog: (
|
|
2038
2217
|
obj: GetCustomModelResponse
|
|
2039
2218
|
) => any;
|
|
2219
|
+
export declare const GetPromptRouterResponseFilterSensitiveLog: (
|
|
2220
|
+
obj: GetPromptRouterResponse
|
|
2221
|
+
) => any;
|
|
2222
|
+
export declare const PromptRouterSummaryFilterSensitiveLog: (
|
|
2223
|
+
obj: PromptRouterSummary
|
|
2224
|
+
) => any;
|
|
2225
|
+
export declare const ListPromptRoutersResponseFilterSensitiveLog: (
|
|
2226
|
+
obj: ListPromptRoutersResponse
|
|
2227
|
+
) => any;
|
|
2040
2228
|
export declare const CreateModelCustomizationJobRequestFilterSensitiveLog: (
|
|
2041
2229
|
obj: CreateModelCustomizationJobRequest
|
|
2042
2230
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListMarketplaceModelEndpointsCommandInput,
|
|
4
|
+
ListMarketplaceModelEndpointsCommandOutput,
|
|
5
|
+
} from "../commands/ListMarketplaceModelEndpointsCommand";
|
|
6
|
+
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListMarketplaceModelEndpoints: (
|
|
8
|
+
config: BedrockPaginationConfiguration,
|
|
9
|
+
input: ListMarketplaceModelEndpointsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListMarketplaceModelEndpointsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListPromptRoutersCommandInput,
|
|
4
|
+
ListPromptRoutersCommandOutput,
|
|
5
|
+
} from "../commands/ListPromptRoutersCommand";
|
|
6
|
+
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListPromptRouters: (
|
|
8
|
+
config: BedrockPaginationConfiguration,
|
|
9
|
+
input: ListPromptRoutersCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListPromptRoutersCommandOutput>;
|
|
@@ -4,8 +4,10 @@ export * from "./ListEvaluationJobsPaginator";
|
|
|
4
4
|
export * from "./ListGuardrailsPaginator";
|
|
5
5
|
export * from "./ListImportedModelsPaginator";
|
|
6
6
|
export * from "./ListInferenceProfilesPaginator";
|
|
7
|
+
export * from "./ListMarketplaceModelEndpointsPaginator";
|
|
7
8
|
export * from "./ListModelCopyJobsPaginator";
|
|
8
9
|
export * from "./ListModelCustomizationJobsPaginator";
|
|
9
10
|
export * from "./ListModelImportJobsPaginator";
|
|
10
11
|
export * from "./ListModelInvocationJobsPaginator";
|
|
12
|
+
export * from "./ListPromptRoutersPaginator";
|
|
11
13
|
export * from "./ListProvisionedModelThroughputsPaginator";
|