@aws-sdk/client-bedrock 3.678.0 → 3.682.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 +16 -0
- package/dist-cjs/index.js +133 -3
- package/dist-es/Bedrock.js +4 -0
- package/dist-es/commands/CreateInferenceProfileCommand.js +23 -0
- package/dist-es/commands/DeleteInferenceProfileCommand.js +22 -0
- package/dist-es/commands/GetInferenceProfileCommand.js +2 -1
- package/dist-es/commands/ListInferenceProfilesCommand.js +2 -1
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +28 -0
- package/dist-es/protocols/Aws_restJson1.js +54 -0
- package/dist-types/Bedrock.d.ts +14 -0
- package/dist-types/BedrockClient.d.ts +4 -2
- package/dist-types/commands/CreateInferenceProfileCommand.d.ts +108 -0
- package/dist-types/commands/DeleteInferenceProfileCommand.d.ts +87 -0
- package/dist-types/commands/GetInferenceProfileCommand.d.ts +6 -6
- package/dist-types/commands/ListInferenceProfilesCommand.d.ts +8 -7
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +164 -21
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Bedrock.d.ts +34 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateInferenceProfileCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteInferenceProfileCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +56 -6
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +14 -14
|
@@ -4,6 +4,7 @@ import { BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOu
|
|
|
4
4
|
import { CreateEvaluationJobCommandInput, CreateEvaluationJobCommandOutput } from "../commands/CreateEvaluationJobCommand";
|
|
5
5
|
import { CreateGuardrailCommandInput, CreateGuardrailCommandOutput } from "../commands/CreateGuardrailCommand";
|
|
6
6
|
import { CreateGuardrailVersionCommandInput, CreateGuardrailVersionCommandOutput } from "../commands/CreateGuardrailVersionCommand";
|
|
7
|
+
import { CreateInferenceProfileCommandInput, CreateInferenceProfileCommandOutput } from "../commands/CreateInferenceProfileCommand";
|
|
7
8
|
import { CreateModelCopyJobCommandInput, CreateModelCopyJobCommandOutput } from "../commands/CreateModelCopyJobCommand";
|
|
8
9
|
import { CreateModelCustomizationJobCommandInput, CreateModelCustomizationJobCommandOutput } from "../commands/CreateModelCustomizationJobCommand";
|
|
9
10
|
import { CreateModelImportJobCommandInput, CreateModelImportJobCommandOutput } from "../commands/CreateModelImportJobCommand";
|
|
@@ -12,6 +13,7 @@ import { CreateProvisionedModelThroughputCommandInput, CreateProvisionedModelThr
|
|
|
12
13
|
import { DeleteCustomModelCommandInput, DeleteCustomModelCommandOutput } from "../commands/DeleteCustomModelCommand";
|
|
13
14
|
import { DeleteGuardrailCommandInput, DeleteGuardrailCommandOutput } from "../commands/DeleteGuardrailCommand";
|
|
14
15
|
import { DeleteImportedModelCommandInput, DeleteImportedModelCommandOutput } from "../commands/DeleteImportedModelCommand";
|
|
16
|
+
import { DeleteInferenceProfileCommandInput, DeleteInferenceProfileCommandOutput } from "../commands/DeleteInferenceProfileCommand";
|
|
15
17
|
import { DeleteModelInvocationLoggingConfigurationCommandInput, DeleteModelInvocationLoggingConfigurationCommandOutput } from "../commands/DeleteModelInvocationLoggingConfigurationCommand";
|
|
16
18
|
import { DeleteProvisionedModelThroughputCommandInput, DeleteProvisionedModelThroughputCommandOutput } from "../commands/DeleteProvisionedModelThroughputCommand";
|
|
17
19
|
import { GetCustomModelCommandInput, GetCustomModelCommandOutput } from "../commands/GetCustomModelCommand";
|
|
@@ -62,6 +64,10 @@ export declare const se_CreateGuardrailCommand: (input: CreateGuardrailCommandIn
|
|
|
62
64
|
* serializeAws_restJson1CreateGuardrailVersionCommand
|
|
63
65
|
*/
|
|
64
66
|
export declare const se_CreateGuardrailVersionCommand: (input: CreateGuardrailVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
67
|
+
/**
|
|
68
|
+
* serializeAws_restJson1CreateInferenceProfileCommand
|
|
69
|
+
*/
|
|
70
|
+
export declare const se_CreateInferenceProfileCommand: (input: CreateInferenceProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
65
71
|
/**
|
|
66
72
|
* serializeAws_restJson1CreateModelCopyJobCommand
|
|
67
73
|
*/
|
|
@@ -94,6 +100,10 @@ export declare const se_DeleteGuardrailCommand: (input: DeleteGuardrailCommandIn
|
|
|
94
100
|
* serializeAws_restJson1DeleteImportedModelCommand
|
|
95
101
|
*/
|
|
96
102
|
export declare const se_DeleteImportedModelCommand: (input: DeleteImportedModelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
103
|
+
/**
|
|
104
|
+
* serializeAws_restJson1DeleteInferenceProfileCommand
|
|
105
|
+
*/
|
|
106
|
+
export declare const se_DeleteInferenceProfileCommand: (input: DeleteInferenceProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
97
107
|
/**
|
|
98
108
|
* serializeAws_restJson1DeleteModelInvocationLoggingConfigurationCommand
|
|
99
109
|
*/
|
|
@@ -246,6 +256,10 @@ export declare const de_CreateGuardrailCommand: (output: __HttpResponse, context
|
|
|
246
256
|
* deserializeAws_restJson1CreateGuardrailVersionCommand
|
|
247
257
|
*/
|
|
248
258
|
export declare const de_CreateGuardrailVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateGuardrailVersionCommandOutput>;
|
|
259
|
+
/**
|
|
260
|
+
* deserializeAws_restJson1CreateInferenceProfileCommand
|
|
261
|
+
*/
|
|
262
|
+
export declare const de_CreateInferenceProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateInferenceProfileCommandOutput>;
|
|
249
263
|
/**
|
|
250
264
|
* deserializeAws_restJson1CreateModelCopyJobCommand
|
|
251
265
|
*/
|
|
@@ -278,6 +292,10 @@ export declare const de_DeleteGuardrailCommand: (output: __HttpResponse, context
|
|
|
278
292
|
* deserializeAws_restJson1DeleteImportedModelCommand
|
|
279
293
|
*/
|
|
280
294
|
export declare const de_DeleteImportedModelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteImportedModelCommandOutput>;
|
|
295
|
+
/**
|
|
296
|
+
* deserializeAws_restJson1DeleteInferenceProfileCommand
|
|
297
|
+
*/
|
|
298
|
+
export declare const de_DeleteInferenceProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteInferenceProfileCommandOutput>;
|
|
281
299
|
/**
|
|
282
300
|
* deserializeAws_restJson1DeleteModelInvocationLoggingConfigurationCommand
|
|
283
301
|
*/
|
|
@@ -16,6 +16,10 @@ import {
|
|
|
16
16
|
CreateGuardrailVersionCommandInput,
|
|
17
17
|
CreateGuardrailVersionCommandOutput,
|
|
18
18
|
} from "./commands/CreateGuardrailVersionCommand";
|
|
19
|
+
import {
|
|
20
|
+
CreateInferenceProfileCommandInput,
|
|
21
|
+
CreateInferenceProfileCommandOutput,
|
|
22
|
+
} from "./commands/CreateInferenceProfileCommand";
|
|
19
23
|
import {
|
|
20
24
|
CreateModelCopyJobCommandInput,
|
|
21
25
|
CreateModelCopyJobCommandOutput,
|
|
@@ -48,6 +52,10 @@ import {
|
|
|
48
52
|
DeleteImportedModelCommandInput,
|
|
49
53
|
DeleteImportedModelCommandOutput,
|
|
50
54
|
} from "./commands/DeleteImportedModelCommand";
|
|
55
|
+
import {
|
|
56
|
+
DeleteInferenceProfileCommandInput,
|
|
57
|
+
DeleteInferenceProfileCommandOutput,
|
|
58
|
+
} from "./commands/DeleteInferenceProfileCommand";
|
|
51
59
|
import {
|
|
52
60
|
DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
53
61
|
DeleteModelInvocationLoggingConfigurationCommandOutput,
|
|
@@ -237,6 +245,19 @@ export interface Bedrock {
|
|
|
237
245
|
options: __HttpHandlerOptions,
|
|
238
246
|
cb: (err: any, data?: CreateGuardrailVersionCommandOutput) => void
|
|
239
247
|
): void;
|
|
248
|
+
createInferenceProfile(
|
|
249
|
+
args: CreateInferenceProfileCommandInput,
|
|
250
|
+
options?: __HttpHandlerOptions
|
|
251
|
+
): Promise<CreateInferenceProfileCommandOutput>;
|
|
252
|
+
createInferenceProfile(
|
|
253
|
+
args: CreateInferenceProfileCommandInput,
|
|
254
|
+
cb: (err: any, data?: CreateInferenceProfileCommandOutput) => void
|
|
255
|
+
): void;
|
|
256
|
+
createInferenceProfile(
|
|
257
|
+
args: CreateInferenceProfileCommandInput,
|
|
258
|
+
options: __HttpHandlerOptions,
|
|
259
|
+
cb: (err: any, data?: CreateInferenceProfileCommandOutput) => void
|
|
260
|
+
): void;
|
|
240
261
|
createModelCopyJob(
|
|
241
262
|
args: CreateModelCopyJobCommandInput,
|
|
242
263
|
options?: __HttpHandlerOptions
|
|
@@ -341,6 +362,19 @@ export interface Bedrock {
|
|
|
341
362
|
options: __HttpHandlerOptions,
|
|
342
363
|
cb: (err: any, data?: DeleteImportedModelCommandOutput) => void
|
|
343
364
|
): void;
|
|
365
|
+
deleteInferenceProfile(
|
|
366
|
+
args: DeleteInferenceProfileCommandInput,
|
|
367
|
+
options?: __HttpHandlerOptions
|
|
368
|
+
): Promise<DeleteInferenceProfileCommandOutput>;
|
|
369
|
+
deleteInferenceProfile(
|
|
370
|
+
args: DeleteInferenceProfileCommandInput,
|
|
371
|
+
cb: (err: any, data?: DeleteInferenceProfileCommandOutput) => void
|
|
372
|
+
): void;
|
|
373
|
+
deleteInferenceProfile(
|
|
374
|
+
args: DeleteInferenceProfileCommandInput,
|
|
375
|
+
options: __HttpHandlerOptions,
|
|
376
|
+
cb: (err: any, data?: DeleteInferenceProfileCommandOutput) => void
|
|
377
|
+
): void;
|
|
344
378
|
deleteModelInvocationLoggingConfiguration(): Promise<DeleteModelInvocationLoggingConfigurationCommandOutput>;
|
|
345
379
|
deleteModelInvocationLoggingConfiguration(
|
|
346
380
|
args: DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
@@ -61,6 +61,10 @@ import {
|
|
|
61
61
|
CreateGuardrailVersionCommandInput,
|
|
62
62
|
CreateGuardrailVersionCommandOutput,
|
|
63
63
|
} from "./commands/CreateGuardrailVersionCommand";
|
|
64
|
+
import {
|
|
65
|
+
CreateInferenceProfileCommandInput,
|
|
66
|
+
CreateInferenceProfileCommandOutput,
|
|
67
|
+
} from "./commands/CreateInferenceProfileCommand";
|
|
64
68
|
import {
|
|
65
69
|
CreateModelCopyJobCommandInput,
|
|
66
70
|
CreateModelCopyJobCommandOutput,
|
|
@@ -93,6 +97,10 @@ import {
|
|
|
93
97
|
DeleteImportedModelCommandInput,
|
|
94
98
|
DeleteImportedModelCommandOutput,
|
|
95
99
|
} from "./commands/DeleteImportedModelCommand";
|
|
100
|
+
import {
|
|
101
|
+
DeleteInferenceProfileCommandInput,
|
|
102
|
+
DeleteInferenceProfileCommandOutput,
|
|
103
|
+
} from "./commands/DeleteInferenceProfileCommand";
|
|
96
104
|
import {
|
|
97
105
|
DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
98
106
|
DeleteModelInvocationLoggingConfigurationCommandOutput,
|
|
@@ -241,6 +249,7 @@ export type ServiceInputTypes =
|
|
|
241
249
|
| CreateEvaluationJobCommandInput
|
|
242
250
|
| CreateGuardrailCommandInput
|
|
243
251
|
| CreateGuardrailVersionCommandInput
|
|
252
|
+
| CreateInferenceProfileCommandInput
|
|
244
253
|
| CreateModelCopyJobCommandInput
|
|
245
254
|
| CreateModelCustomizationJobCommandInput
|
|
246
255
|
| CreateModelImportJobCommandInput
|
|
@@ -249,6 +258,7 @@ export type ServiceInputTypes =
|
|
|
249
258
|
| DeleteCustomModelCommandInput
|
|
250
259
|
| DeleteGuardrailCommandInput
|
|
251
260
|
| DeleteImportedModelCommandInput
|
|
261
|
+
| DeleteInferenceProfileCommandInput
|
|
252
262
|
| DeleteModelInvocationLoggingConfigurationCommandInput
|
|
253
263
|
| DeleteProvisionedModelThroughputCommandInput
|
|
254
264
|
| GetCustomModelCommandInput
|
|
@@ -288,6 +298,7 @@ export type ServiceOutputTypes =
|
|
|
288
298
|
| CreateEvaluationJobCommandOutput
|
|
289
299
|
| CreateGuardrailCommandOutput
|
|
290
300
|
| CreateGuardrailVersionCommandOutput
|
|
301
|
+
| CreateInferenceProfileCommandOutput
|
|
291
302
|
| CreateModelCopyJobCommandOutput
|
|
292
303
|
| CreateModelCustomizationJobCommandOutput
|
|
293
304
|
| CreateModelImportJobCommandOutput
|
|
@@ -296,6 +307,7 @@ export type ServiceOutputTypes =
|
|
|
296
307
|
| DeleteCustomModelCommandOutput
|
|
297
308
|
| DeleteGuardrailCommandOutput
|
|
298
309
|
| DeleteImportedModelCommandOutput
|
|
310
|
+
| DeleteInferenceProfileCommandOutput
|
|
299
311
|
| DeleteModelInvocationLoggingConfigurationCommandOutput
|
|
300
312
|
| DeleteProvisionedModelThroughputCommandOutput
|
|
301
313
|
| GetCustomModelCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockClient";
|
|
8
|
+
import {
|
|
9
|
+
CreateInferenceProfileRequest,
|
|
10
|
+
CreateInferenceProfileResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CreateInferenceProfileCommandInput
|
|
15
|
+
extends CreateInferenceProfileRequest {}
|
|
16
|
+
export interface CreateInferenceProfileCommandOutput
|
|
17
|
+
extends CreateInferenceProfileResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CreateInferenceProfileCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CreateInferenceProfileCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
CreateInferenceProfileCommandInput,
|
|
24
|
+
CreateInferenceProfileCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: CreateInferenceProfileCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
CreateInferenceProfileCommandInput,
|
|
33
|
+
CreateInferenceProfileCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class CreateInferenceProfileCommand extends CreateInferenceProfileCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: CreateInferenceProfileRequest;
|
|
44
|
+
output: CreateInferenceProfileResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: CreateInferenceProfileCommandInput;
|
|
48
|
+
output: CreateInferenceProfileCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockClient";
|
|
8
|
+
import {
|
|
9
|
+
DeleteInferenceProfileRequest,
|
|
10
|
+
DeleteInferenceProfileResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DeleteInferenceProfileCommandInput
|
|
15
|
+
extends DeleteInferenceProfileRequest {}
|
|
16
|
+
export interface DeleteInferenceProfileCommandOutput
|
|
17
|
+
extends DeleteInferenceProfileResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DeleteInferenceProfileCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteInferenceProfileCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DeleteInferenceProfileCommandInput,
|
|
24
|
+
DeleteInferenceProfileCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: DeleteInferenceProfileCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DeleteInferenceProfileCommandInput,
|
|
33
|
+
DeleteInferenceProfileCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DeleteInferenceProfileCommand extends DeleteInferenceProfileCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DeleteInferenceProfileRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DeleteInferenceProfileCommandInput;
|
|
48
|
+
output: DeleteInferenceProfileCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from "./BatchDeleteEvaluationJobCommand";
|
|
|
2
2
|
export * from "./CreateEvaluationJobCommand";
|
|
3
3
|
export * from "./CreateGuardrailCommand";
|
|
4
4
|
export * from "./CreateGuardrailVersionCommand";
|
|
5
|
+
export * from "./CreateInferenceProfileCommand";
|
|
5
6
|
export * from "./CreateModelCopyJobCommand";
|
|
6
7
|
export * from "./CreateModelCustomizationJobCommand";
|
|
7
8
|
export * from "./CreateModelImportJobCommand";
|
|
@@ -10,6 +11,7 @@ export * from "./CreateProvisionedModelThroughputCommand";
|
|
|
10
11
|
export * from "./DeleteCustomModelCommand";
|
|
11
12
|
export * from "./DeleteGuardrailCommand";
|
|
12
13
|
export * from "./DeleteImportedModelCommand";
|
|
14
|
+
export * from "./DeleteInferenceProfileCommand";
|
|
13
15
|
export * from "./DeleteModelInvocationLoggingConfigurationCommand";
|
|
14
16
|
export * from "./DeleteProvisionedModelThroughputCommand";
|
|
15
17
|
export * from "./GetCustomModelCommand";
|
|
@@ -559,29 +559,66 @@ export interface UpdateGuardrailResponse {
|
|
|
559
559
|
version: string | undefined;
|
|
560
560
|
updatedAt: Date | undefined;
|
|
561
561
|
}
|
|
562
|
-
export
|
|
563
|
-
|
|
562
|
+
export type InferenceProfileModelSource =
|
|
563
|
+
| InferenceProfileModelSource.CopyFromMember
|
|
564
|
+
| InferenceProfileModelSource.$UnknownMember;
|
|
565
|
+
export declare namespace InferenceProfileModelSource {
|
|
566
|
+
interface CopyFromMember {
|
|
567
|
+
copyFrom: string;
|
|
568
|
+
$unknown?: never;
|
|
569
|
+
}
|
|
570
|
+
interface $UnknownMember {
|
|
571
|
+
copyFrom?: never;
|
|
572
|
+
$unknown: [string, any];
|
|
573
|
+
}
|
|
574
|
+
interface Visitor<T> {
|
|
575
|
+
copyFrom: (value: string) => T;
|
|
576
|
+
_: (name: string, value: any) => T;
|
|
577
|
+
}
|
|
578
|
+
const visit: <T>(
|
|
579
|
+
value: InferenceProfileModelSource,
|
|
580
|
+
visitor: Visitor<T>
|
|
581
|
+
) => T;
|
|
564
582
|
}
|
|
565
|
-
export interface
|
|
566
|
-
|
|
583
|
+
export interface CreateInferenceProfileRequest {
|
|
584
|
+
inferenceProfileName: string | undefined;
|
|
585
|
+
description?: string;
|
|
586
|
+
clientRequestToken?: string;
|
|
587
|
+
modelSource: InferenceProfileModelSource | undefined;
|
|
588
|
+
tags?: Tag[];
|
|
567
589
|
}
|
|
568
590
|
export declare const InferenceProfileStatus: {
|
|
569
591
|
readonly ACTIVE: "ACTIVE";
|
|
570
592
|
};
|
|
571
593
|
export type InferenceProfileStatus =
|
|
572
594
|
(typeof InferenceProfileStatus)[keyof typeof InferenceProfileStatus];
|
|
595
|
+
export interface CreateInferenceProfileResponse {
|
|
596
|
+
inferenceProfileArn: string | undefined;
|
|
597
|
+
status?: InferenceProfileStatus;
|
|
598
|
+
}
|
|
599
|
+
export interface DeleteInferenceProfileRequest {
|
|
600
|
+
inferenceProfileIdentifier: string | undefined;
|
|
601
|
+
}
|
|
602
|
+
export interface DeleteInferenceProfileResponse {}
|
|
603
|
+
export interface GetInferenceProfileRequest {
|
|
604
|
+
inferenceProfileIdentifier: string | undefined;
|
|
605
|
+
}
|
|
606
|
+
export interface InferenceProfileModel {
|
|
607
|
+
modelArn?: string;
|
|
608
|
+
}
|
|
573
609
|
export declare const InferenceProfileType: {
|
|
610
|
+
readonly APPLICATION: "APPLICATION";
|
|
574
611
|
readonly SYSTEM_DEFINED: "SYSTEM_DEFINED";
|
|
575
612
|
};
|
|
576
613
|
export type InferenceProfileType =
|
|
577
614
|
(typeof InferenceProfileType)[keyof typeof InferenceProfileType];
|
|
578
615
|
export interface GetInferenceProfileResponse {
|
|
579
616
|
inferenceProfileName: string | undefined;
|
|
580
|
-
models: InferenceProfileModel[] | undefined;
|
|
581
617
|
description?: string;
|
|
582
618
|
createdAt?: Date;
|
|
583
619
|
updatedAt?: Date;
|
|
584
620
|
inferenceProfileArn: string | undefined;
|
|
621
|
+
models: InferenceProfileModel[] | undefined;
|
|
585
622
|
inferenceProfileId: string | undefined;
|
|
586
623
|
status: InferenceProfileStatus | undefined;
|
|
587
624
|
type: InferenceProfileType | undefined;
|
|
@@ -589,14 +626,15 @@ export interface GetInferenceProfileResponse {
|
|
|
589
626
|
export interface ListInferenceProfilesRequest {
|
|
590
627
|
maxResults?: number;
|
|
591
628
|
nextToken?: string;
|
|
629
|
+
typeEquals?: InferenceProfileType;
|
|
592
630
|
}
|
|
593
631
|
export interface InferenceProfileSummary {
|
|
594
632
|
inferenceProfileName: string | undefined;
|
|
595
|
-
models: InferenceProfileModel[] | undefined;
|
|
596
633
|
description?: string;
|
|
597
634
|
createdAt?: Date;
|
|
598
635
|
updatedAt?: Date;
|
|
599
636
|
inferenceProfileArn: string | undefined;
|
|
637
|
+
models: InferenceProfileModel[] | undefined;
|
|
600
638
|
inferenceProfileId: string | undefined;
|
|
601
639
|
status: InferenceProfileStatus | undefined;
|
|
602
640
|
type: InferenceProfileType | undefined;
|
|
@@ -1379,6 +1417,18 @@ export declare const ListGuardrailsResponseFilterSensitiveLog: (
|
|
|
1379
1417
|
export declare const UpdateGuardrailRequestFilterSensitiveLog: (
|
|
1380
1418
|
obj: UpdateGuardrailRequest
|
|
1381
1419
|
) => any;
|
|
1420
|
+
export declare const CreateInferenceProfileRequestFilterSensitiveLog: (
|
|
1421
|
+
obj: CreateInferenceProfileRequest
|
|
1422
|
+
) => any;
|
|
1423
|
+
export declare const GetInferenceProfileResponseFilterSensitiveLog: (
|
|
1424
|
+
obj: GetInferenceProfileResponse
|
|
1425
|
+
) => any;
|
|
1426
|
+
export declare const InferenceProfileSummaryFilterSensitiveLog: (
|
|
1427
|
+
obj: InferenceProfileSummary
|
|
1428
|
+
) => any;
|
|
1429
|
+
export declare const ListInferenceProfilesResponseFilterSensitiveLog: (
|
|
1430
|
+
obj: ListInferenceProfilesResponse
|
|
1431
|
+
) => any;
|
|
1382
1432
|
export declare const GetModelInvocationJobResponseFilterSensitiveLog: (
|
|
1383
1433
|
obj: GetModelInvocationJobResponse
|
|
1384
1434
|
) => any;
|
|
@@ -19,6 +19,10 @@ import {
|
|
|
19
19
|
CreateGuardrailVersionCommandInput,
|
|
20
20
|
CreateGuardrailVersionCommandOutput,
|
|
21
21
|
} from "../commands/CreateGuardrailVersionCommand";
|
|
22
|
+
import {
|
|
23
|
+
CreateInferenceProfileCommandInput,
|
|
24
|
+
CreateInferenceProfileCommandOutput,
|
|
25
|
+
} from "../commands/CreateInferenceProfileCommand";
|
|
22
26
|
import {
|
|
23
27
|
CreateModelCopyJobCommandInput,
|
|
24
28
|
CreateModelCopyJobCommandOutput,
|
|
@@ -51,6 +55,10 @@ import {
|
|
|
51
55
|
DeleteImportedModelCommandInput,
|
|
52
56
|
DeleteImportedModelCommandOutput,
|
|
53
57
|
} from "../commands/DeleteImportedModelCommand";
|
|
58
|
+
import {
|
|
59
|
+
DeleteInferenceProfileCommandInput,
|
|
60
|
+
DeleteInferenceProfileCommandOutput,
|
|
61
|
+
} from "../commands/DeleteInferenceProfileCommand";
|
|
54
62
|
import {
|
|
55
63
|
DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
56
64
|
DeleteModelInvocationLoggingConfigurationCommandOutput,
|
|
@@ -203,6 +211,10 @@ export declare const se_CreateGuardrailVersionCommand: (
|
|
|
203
211
|
input: CreateGuardrailVersionCommandInput,
|
|
204
212
|
context: __SerdeContext
|
|
205
213
|
) => Promise<__HttpRequest>;
|
|
214
|
+
export declare const se_CreateInferenceProfileCommand: (
|
|
215
|
+
input: CreateInferenceProfileCommandInput,
|
|
216
|
+
context: __SerdeContext
|
|
217
|
+
) => Promise<__HttpRequest>;
|
|
206
218
|
export declare const se_CreateModelCopyJobCommand: (
|
|
207
219
|
input: CreateModelCopyJobCommandInput,
|
|
208
220
|
context: __SerdeContext
|
|
@@ -235,6 +247,10 @@ export declare const se_DeleteImportedModelCommand: (
|
|
|
235
247
|
input: DeleteImportedModelCommandInput,
|
|
236
248
|
context: __SerdeContext
|
|
237
249
|
) => Promise<__HttpRequest>;
|
|
250
|
+
export declare const se_DeleteInferenceProfileCommand: (
|
|
251
|
+
input: DeleteInferenceProfileCommandInput,
|
|
252
|
+
context: __SerdeContext
|
|
253
|
+
) => Promise<__HttpRequest>;
|
|
238
254
|
export declare const se_DeleteModelInvocationLoggingConfigurationCommand: (
|
|
239
255
|
input: DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
240
256
|
context: __SerdeContext
|
|
@@ -387,6 +403,10 @@ export declare const de_CreateGuardrailVersionCommand: (
|
|
|
387
403
|
output: __HttpResponse,
|
|
388
404
|
context: __SerdeContext
|
|
389
405
|
) => Promise<CreateGuardrailVersionCommandOutput>;
|
|
406
|
+
export declare const de_CreateInferenceProfileCommand: (
|
|
407
|
+
output: __HttpResponse,
|
|
408
|
+
context: __SerdeContext
|
|
409
|
+
) => Promise<CreateInferenceProfileCommandOutput>;
|
|
390
410
|
export declare const de_CreateModelCopyJobCommand: (
|
|
391
411
|
output: __HttpResponse,
|
|
392
412
|
context: __SerdeContext
|
|
@@ -419,6 +439,10 @@ export declare const de_DeleteImportedModelCommand: (
|
|
|
419
439
|
output: __HttpResponse,
|
|
420
440
|
context: __SerdeContext
|
|
421
441
|
) => Promise<DeleteImportedModelCommandOutput>;
|
|
442
|
+
export declare const de_DeleteInferenceProfileCommand: (
|
|
443
|
+
output: __HttpResponse,
|
|
444
|
+
context: __SerdeContext
|
|
445
|
+
) => Promise<DeleteInferenceProfileCommandOutput>;
|
|
422
446
|
export declare const de_DeleteModelInvocationLoggingConfigurationCommand: (
|
|
423
447
|
output: __HttpResponse,
|
|
424
448
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.682.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.682.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.682.0",
|
|
25
|
+
"@aws-sdk/core": "3.679.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.682.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.679.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.679.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.679.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.682.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.679.0",
|
|
32
|
+
"@aws-sdk/types": "3.679.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.679.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.679.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.682.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.9",
|
|
37
37
|
"@smithy/core": "^2.4.8",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.2.9",
|