@aws-sdk/client-bedrock 3.556.0 → 3.561.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 +81 -1
- package/dist-cjs/index.js +1005 -79
- package/dist-es/Bedrock.js +20 -0
- package/dist-es/commands/CreateEvaluationJobCommand.js +25 -0
- package/dist-es/commands/CreateGuardrailCommand.js +25 -0
- package/dist-es/commands/CreateGuardrailVersionCommand.js +25 -0
- package/dist-es/commands/DeleteGuardrailCommand.js +24 -0
- package/dist-es/commands/GetEvaluationJobCommand.js +25 -0
- package/dist-es/commands/GetGuardrailCommand.js +25 -0
- package/dist-es/commands/ListEvaluationJobsCommand.js +24 -0
- package/dist-es/commands/ListGuardrailsCommand.js +25 -0
- package/dist-es/commands/StopEvaluationJobCommand.js +25 -0
- package/dist-es/commands/UpdateGuardrailCommand.js +25 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +312 -48
- package/dist-es/pagination/ListEvaluationJobsPaginator.js +4 -0
- package/dist-es/pagination/ListGuardrailsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +374 -4
- package/dist-types/Bedrock.d.ts +73 -1
- package/dist-types/BedrockClient.d.ts +13 -3
- package/dist-types/commands/CreateEvaluationJobCommand.d.ts +148 -0
- package/dist-types/commands/CreateGuardrailCommand.d.ts +186 -0
- package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +84 -0
- package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +6 -8
- package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +2 -3
- package/dist-types/commands/DeleteCustomModelCommand.d.ts +2 -2
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +84 -0
- package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +2 -2
- package/dist-types/commands/GetCustomModelCommand.d.ts +2 -2
- package/dist-types/commands/GetEvaluationJobCommand.d.ts +144 -0
- package/dist-types/commands/GetFoundationModelCommand.d.ts +1 -1
- package/dist-types/commands/GetGuardrailCommand.d.ts +140 -0
- package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +2 -2
- package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +2 -2
- package/dist-types/commands/ListCustomModelsCommand.d.ts +1 -1
- package/dist-types/commands/ListEvaluationJobsCommand.d.ts +93 -0
- package/dist-types/commands/ListFoundationModelsCommand.d.ts +1 -1
- package/dist-types/commands/ListGuardrailsCommand.d.ts +89 -0
- package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +2 -2
- package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/StopEvaluationJobCommand.d.ts +75 -0
- package/dist-types/commands/StopModelCustomizationJobCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +176 -0
- package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1926 -215
- package/dist-types/pagination/ListEvaluationJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGuardrailsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/Bedrock.d.ts +172 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/CreateEvaluationJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateGuardrailCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateGuardrailVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteGuardrailCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetEvaluationJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetGuardrailCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListEvaluationJobsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListGuardrailsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StopEvaluationJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateGuardrailCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +572 -49
- package/dist-types/ts3.4/pagination/ListEvaluationJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGuardrailsPaginator.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 +120 -0
- package/package.json +1 -1
package/dist-es/Bedrock.js
CHANGED
|
@@ -1,45 +1,65 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { BedrockClient } from "./BedrockClient";
|
|
3
|
+
import { CreateEvaluationJobCommand, } from "./commands/CreateEvaluationJobCommand";
|
|
4
|
+
import { CreateGuardrailCommand, } from "./commands/CreateGuardrailCommand";
|
|
5
|
+
import { CreateGuardrailVersionCommand, } from "./commands/CreateGuardrailVersionCommand";
|
|
3
6
|
import { CreateModelCustomizationJobCommand, } from "./commands/CreateModelCustomizationJobCommand";
|
|
4
7
|
import { CreateProvisionedModelThroughputCommand, } from "./commands/CreateProvisionedModelThroughputCommand";
|
|
5
8
|
import { DeleteCustomModelCommand, } from "./commands/DeleteCustomModelCommand";
|
|
9
|
+
import { DeleteGuardrailCommand, } from "./commands/DeleteGuardrailCommand";
|
|
6
10
|
import { DeleteModelInvocationLoggingConfigurationCommand, } from "./commands/DeleteModelInvocationLoggingConfigurationCommand";
|
|
7
11
|
import { DeleteProvisionedModelThroughputCommand, } from "./commands/DeleteProvisionedModelThroughputCommand";
|
|
8
12
|
import { GetCustomModelCommand, } from "./commands/GetCustomModelCommand";
|
|
13
|
+
import { GetEvaluationJobCommand, } from "./commands/GetEvaluationJobCommand";
|
|
9
14
|
import { GetFoundationModelCommand, } from "./commands/GetFoundationModelCommand";
|
|
15
|
+
import { GetGuardrailCommand, } from "./commands/GetGuardrailCommand";
|
|
10
16
|
import { GetModelCustomizationJobCommand, } from "./commands/GetModelCustomizationJobCommand";
|
|
11
17
|
import { GetModelInvocationLoggingConfigurationCommand, } from "./commands/GetModelInvocationLoggingConfigurationCommand";
|
|
12
18
|
import { GetProvisionedModelThroughputCommand, } from "./commands/GetProvisionedModelThroughputCommand";
|
|
13
19
|
import { ListCustomModelsCommand, } from "./commands/ListCustomModelsCommand";
|
|
20
|
+
import { ListEvaluationJobsCommand, } from "./commands/ListEvaluationJobsCommand";
|
|
14
21
|
import { ListFoundationModelsCommand, } from "./commands/ListFoundationModelsCommand";
|
|
22
|
+
import { ListGuardrailsCommand, } from "./commands/ListGuardrailsCommand";
|
|
15
23
|
import { ListModelCustomizationJobsCommand, } from "./commands/ListModelCustomizationJobsCommand";
|
|
16
24
|
import { ListProvisionedModelThroughputsCommand, } from "./commands/ListProvisionedModelThroughputsCommand";
|
|
17
25
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
18
26
|
import { PutModelInvocationLoggingConfigurationCommand, } from "./commands/PutModelInvocationLoggingConfigurationCommand";
|
|
27
|
+
import { StopEvaluationJobCommand, } from "./commands/StopEvaluationJobCommand";
|
|
19
28
|
import { StopModelCustomizationJobCommand, } from "./commands/StopModelCustomizationJobCommand";
|
|
20
29
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
21
30
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
31
|
+
import { UpdateGuardrailCommand, } from "./commands/UpdateGuardrailCommand";
|
|
22
32
|
import { UpdateProvisionedModelThroughputCommand, } from "./commands/UpdateProvisionedModelThroughputCommand";
|
|
23
33
|
const commands = {
|
|
34
|
+
CreateEvaluationJobCommand,
|
|
35
|
+
CreateGuardrailCommand,
|
|
36
|
+
CreateGuardrailVersionCommand,
|
|
24
37
|
CreateModelCustomizationJobCommand,
|
|
25
38
|
CreateProvisionedModelThroughputCommand,
|
|
26
39
|
DeleteCustomModelCommand,
|
|
40
|
+
DeleteGuardrailCommand,
|
|
27
41
|
DeleteModelInvocationLoggingConfigurationCommand,
|
|
28
42
|
DeleteProvisionedModelThroughputCommand,
|
|
29
43
|
GetCustomModelCommand,
|
|
44
|
+
GetEvaluationJobCommand,
|
|
30
45
|
GetFoundationModelCommand,
|
|
46
|
+
GetGuardrailCommand,
|
|
31
47
|
GetModelCustomizationJobCommand,
|
|
32
48
|
GetModelInvocationLoggingConfigurationCommand,
|
|
33
49
|
GetProvisionedModelThroughputCommand,
|
|
34
50
|
ListCustomModelsCommand,
|
|
51
|
+
ListEvaluationJobsCommand,
|
|
35
52
|
ListFoundationModelsCommand,
|
|
53
|
+
ListGuardrailsCommand,
|
|
36
54
|
ListModelCustomizationJobsCommand,
|
|
37
55
|
ListProvisionedModelThroughputsCommand,
|
|
38
56
|
ListTagsForResourceCommand,
|
|
39
57
|
PutModelInvocationLoggingConfigurationCommand,
|
|
58
|
+
StopEvaluationJobCommand,
|
|
40
59
|
StopModelCustomizationJobCommand,
|
|
41
60
|
TagResourceCommand,
|
|
42
61
|
UntagResourceCommand,
|
|
62
|
+
UpdateGuardrailCommand,
|
|
43
63
|
UpdateProvisionedModelThroughputCommand,
|
|
44
64
|
};
|
|
45
65
|
export class Bedrock extends BedrockClient {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateEvaluationJobRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_CreateEvaluationJobCommand, se_CreateEvaluationJobCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class CreateEvaluationJobCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonBedrockControlPlaneService", "CreateEvaluationJob", {})
|
|
20
|
+
.n("BedrockClient", "CreateEvaluationJobCommand")
|
|
21
|
+
.f(CreateEvaluationJobRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_CreateEvaluationJobCommand)
|
|
23
|
+
.de(de_CreateEvaluationJobCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateGuardrailRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_CreateGuardrailCommand, se_CreateGuardrailCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class CreateGuardrailCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonBedrockControlPlaneService", "CreateGuardrail", {})
|
|
20
|
+
.n("BedrockClient", "CreateGuardrailCommand")
|
|
21
|
+
.f(CreateGuardrailRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_CreateGuardrailCommand)
|
|
23
|
+
.de(de_CreateGuardrailCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateGuardrailVersionRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_CreateGuardrailVersionCommand, se_CreateGuardrailVersionCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class CreateGuardrailVersionCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonBedrockControlPlaneService", "CreateGuardrailVersion", {})
|
|
20
|
+
.n("BedrockClient", "CreateGuardrailVersionCommand")
|
|
21
|
+
.f(CreateGuardrailVersionRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_CreateGuardrailVersionCommand)
|
|
23
|
+
.de(de_CreateGuardrailVersionCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteGuardrailCommand, se_DeleteGuardrailCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteGuardrailCommand 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", "DeleteGuardrail", {})
|
|
19
|
+
.n("BedrockClient", "DeleteGuardrailCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteGuardrailCommand)
|
|
22
|
+
.de(de_DeleteGuardrailCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { GetEvaluationJobRequestFilterSensitiveLog, GetEvaluationJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_GetEvaluationJobCommand, se_GetEvaluationJobCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class GetEvaluationJobCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonBedrockControlPlaneService", "GetEvaluationJob", {})
|
|
20
|
+
.n("BedrockClient", "GetEvaluationJobCommand")
|
|
21
|
+
.f(GetEvaluationJobRequestFilterSensitiveLog, GetEvaluationJobResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_GetEvaluationJobCommand)
|
|
23
|
+
.de(de_GetEvaluationJobCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { GetGuardrailResponseFilterSensitiveLog } from "../models/models_0";
|
|
6
|
+
import { de_GetGuardrailCommand, se_GetGuardrailCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class GetGuardrailCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonBedrockControlPlaneService", "GetGuardrail", {})
|
|
20
|
+
.n("BedrockClient", "GetGuardrailCommand")
|
|
21
|
+
.f(void 0, GetGuardrailResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_GetGuardrailCommand)
|
|
23
|
+
.de(de_GetGuardrailCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListEvaluationJobsCommand, se_ListEvaluationJobsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListEvaluationJobsCommand 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", "ListEvaluationJobs", {})
|
|
19
|
+
.n("BedrockClient", "ListEvaluationJobsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListEvaluationJobsCommand)
|
|
22
|
+
.de(de_ListEvaluationJobsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ListGuardrailsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_ListGuardrailsCommand, se_ListGuardrailsCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class ListGuardrailsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonBedrockControlPlaneService", "ListGuardrails", {})
|
|
20
|
+
.n("BedrockClient", "ListGuardrailsCommand")
|
|
21
|
+
.f(void 0, ListGuardrailsResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_ListGuardrailsCommand)
|
|
23
|
+
.de(de_ListGuardrailsCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { StopEvaluationJobRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_StopEvaluationJobCommand, se_StopEvaluationJobCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class StopEvaluationJobCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonBedrockControlPlaneService", "StopEvaluationJob", {})
|
|
20
|
+
.n("BedrockClient", "StopEvaluationJobCommand")
|
|
21
|
+
.f(StopEvaluationJobRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_StopEvaluationJobCommand)
|
|
23
|
+
.de(de_StopEvaluationJobCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UpdateGuardrailRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_UpdateGuardrailCommand, se_UpdateGuardrailCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdateGuardrailCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonBedrockControlPlaneService", "UpdateGuardrail", {})
|
|
20
|
+
.n("BedrockClient", "UpdateGuardrailCommand")
|
|
21
|
+
.f(UpdateGuardrailRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_UpdateGuardrailCommand)
|
|
23
|
+
.de(de_UpdateGuardrailCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
@@ -1,20 +1,30 @@
|
|
|
1
|
+
export * from "./CreateEvaluationJobCommand";
|
|
2
|
+
export * from "./CreateGuardrailCommand";
|
|
3
|
+
export * from "./CreateGuardrailVersionCommand";
|
|
1
4
|
export * from "./CreateModelCustomizationJobCommand";
|
|
2
5
|
export * from "./CreateProvisionedModelThroughputCommand";
|
|
3
6
|
export * from "./DeleteCustomModelCommand";
|
|
7
|
+
export * from "./DeleteGuardrailCommand";
|
|
4
8
|
export * from "./DeleteModelInvocationLoggingConfigurationCommand";
|
|
5
9
|
export * from "./DeleteProvisionedModelThroughputCommand";
|
|
6
10
|
export * from "./GetCustomModelCommand";
|
|
11
|
+
export * from "./GetEvaluationJobCommand";
|
|
7
12
|
export * from "./GetFoundationModelCommand";
|
|
13
|
+
export * from "./GetGuardrailCommand";
|
|
8
14
|
export * from "./GetModelCustomizationJobCommand";
|
|
9
15
|
export * from "./GetModelInvocationLoggingConfigurationCommand";
|
|
10
16
|
export * from "./GetProvisionedModelThroughputCommand";
|
|
11
17
|
export * from "./ListCustomModelsCommand";
|
|
18
|
+
export * from "./ListEvaluationJobsCommand";
|
|
12
19
|
export * from "./ListFoundationModelsCommand";
|
|
20
|
+
export * from "./ListGuardrailsCommand";
|
|
13
21
|
export * from "./ListModelCustomizationJobsCommand";
|
|
14
22
|
export * from "./ListProvisionedModelThroughputsCommand";
|
|
15
23
|
export * from "./ListTagsForResourceCommand";
|
|
16
24
|
export * from "./PutModelInvocationLoggingConfigurationCommand";
|
|
25
|
+
export * from "./StopEvaluationJobCommand";
|
|
17
26
|
export * from "./StopModelCustomizationJobCommand";
|
|
18
27
|
export * from "./TagResourceCommand";
|
|
19
28
|
export * from "./UntagResourceCommand";
|
|
29
|
+
export * from "./UpdateGuardrailCommand";
|
|
20
30
|
export * from "./UpdateProvisionedModelThroughputCommand";
|