@aws-sdk/client-bedrock 3.1173.0 → 3.1175.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 +175 -0
- package/dist-cjs/index.js +790 -44
- package/dist-es/Bedrock.js +54 -0
- package/dist-es/commands/ArchiveProjectCommand.js +4 -0
- package/dist-es/commands/CreateProjectCommand.js +4 -0
- package/dist-es/commands/DeleteAccountDataRetentionStorageCommand.js +4 -0
- package/dist-es/commands/DeleteOrganizationDataRetentionStorageCommand.js +4 -0
- package/dist-es/commands/DeleteProjectDataRetentionStorageCommand.js +4 -0
- package/dist-es/commands/GetAccountDataRetentionStorageCommand.js +4 -0
- package/dist-es/commands/GetOrganizationDataRetentionStorageCommand.js +4 -0
- package/dist-es/commands/GetProjectCommand.js +4 -0
- package/dist-es/commands/GetProjectDataRetentionStorageCommand.js +4 -0
- package/dist-es/commands/GetTrustedAccessProgramAccountEnrollmentCommand.js +4 -0
- package/dist-es/commands/GetTrustedAccessProgramCommand.js +4 -0
- package/dist-es/commands/GetTrustedAccessProgramOrganizationEnrollmentCommand.js +4 -0
- package/dist-es/commands/GetTrustedAccessProgramProjectEnrollmentCommand.js +4 -0
- package/dist-es/commands/ListProjectsCommand.js +4 -0
- package/dist-es/commands/ListTrustedAccessProgramsCommand.js +4 -0
- package/dist-es/commands/PutAccountDataRetentionStorageCommand.js +4 -0
- package/dist-es/commands/PutOrganizationDataRetentionStorageCommand.js +4 -0
- package/dist-es/commands/PutProjectDataRetentionStorageCommand.js +4 -0
- package/dist-es/commands/PutTrustedAccessProgramAccountEnrollmentCommand.js +4 -0
- package/dist-es/commands/PutTrustedAccessProgramOrganizationEnrollmentCommand.js +4 -0
- package/dist-es/commands/PutTrustedAccessProgramProjectEnrollmentCommand.js +4 -0
- package/dist-es/commands/StartTrustedAccessProgramAccountApplicationCommand.js +4 -0
- package/dist-es/commands/StartTrustedAccessProgramOrganizationApplicationCommand.js +4 -0
- package/dist-es/commands/StartTrustedAccessProgramProjectApplicationCommand.js +4 -0
- package/dist-es/commands/UpdateProjectCommand.js +4 -0
- package/dist-es/commands/index.js +25 -0
- package/dist-es/models/enums.js +40 -0
- package/dist-es/pagination/ListProjectsPaginator.js +4 -0
- package/dist-es/pagination/ListTrustedAccessProgramsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +526 -43
- package/dist-types/Bedrock.d.ts +191 -0
- package/dist-types/BedrockClient.d.ts +27 -2
- package/dist-types/commands/ArchiveProjectCommand.d.ts +97 -0
- package/dist-types/commands/CreateEvaluationJobCommand.d.ts +1 -2
- package/dist-types/commands/CreateProjectCommand.d.ts +109 -0
- package/dist-types/commands/DeleteAccountDataRetentionStorageCommand.d.ts +81 -0
- package/dist-types/commands/DeleteOrganizationDataRetentionStorageCommand.d.ts +81 -0
- package/dist-types/commands/DeleteProjectDataRetentionStorageCommand.d.ts +85 -0
- package/dist-types/commands/GetAccountDataRetentionStorageCommand.d.ts +96 -0
- package/dist-types/commands/GetEvaluationJobCommand.d.ts +1 -2
- package/dist-types/commands/GetFoundationModelCommand.d.ts +1 -0
- package/dist-types/commands/GetInferenceProfileCommand.d.ts +1 -0
- package/dist-types/commands/GetOrganizationDataRetentionStorageCommand.d.ts +96 -0
- package/dist-types/commands/GetProjectCommand.d.ts +94 -0
- package/dist-types/commands/GetProjectDataRetentionStorageCommand.d.ts +98 -0
- package/dist-types/commands/GetTrustedAccessProgramAccountEnrollmentCommand.d.ts +87 -0
- package/dist-types/commands/GetTrustedAccessProgramCommand.d.ts +102 -0
- package/dist-types/commands/GetTrustedAccessProgramOrganizationEnrollmentCommand.d.ts +87 -0
- package/dist-types/commands/GetTrustedAccessProgramProjectEnrollmentCommand.d.ts +88 -0
- package/dist-types/commands/ListEvaluationJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListFoundationModelsCommand.d.ts +1 -0
- package/dist-types/commands/ListInferenceProfilesCommand.d.ts +1 -0
- package/dist-types/commands/ListProjectsCommand.d.ts +98 -0
- package/dist-types/commands/ListTrustedAccessProgramsCommand.d.ts +108 -0
- package/dist-types/commands/PutAccountDataRetentionStorageCommand.d.ts +102 -0
- package/dist-types/commands/PutOrganizationDataRetentionStorageCommand.d.ts +102 -0
- package/dist-types/commands/PutProjectDataRetentionStorageCommand.d.ts +107 -0
- package/dist-types/commands/PutTrustedAccessProgramAccountEnrollmentCommand.d.ts +91 -0
- package/dist-types/commands/PutTrustedAccessProgramOrganizationEnrollmentCommand.d.ts +91 -0
- package/dist-types/commands/PutTrustedAccessProgramProjectEnrollmentCommand.d.ts +92 -0
- package/dist-types/commands/StartTrustedAccessProgramAccountApplicationCommand.d.ts +92 -0
- package/dist-types/commands/StartTrustedAccessProgramOrganizationApplicationCommand.d.ts +92 -0
- package/dist-types/commands/StartTrustedAccessProgramProjectApplicationCommand.d.ts +93 -0
- package/dist-types/commands/StopEvaluationJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProjectCommand.d.ts +101 -0
- package/dist-types/commands/index.d.ts +25 -0
- package/dist-types/models/enums.d.ts +176 -0
- package/dist-types/models/models_0.d.ts +768 -716
- package/dist-types/models/models_1.d.ts +3216 -1969
- package/dist-types/pagination/ListProjectsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTrustedAccessProgramsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +82 -0
- package/dist-types/ts3.4/Bedrock.d.ts +438 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +147 -0
- package/dist-types/ts3.4/commands/ArchiveProjectCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateEvaluationJobCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteAccountDataRetentionStorageCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteOrganizationDataRetentionStorageCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteProjectDataRetentionStorageCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAccountDataRetentionStorageCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetEvaluationJobCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetOrganizationDataRetentionStorageCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetProjectCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetProjectDataRetentionStorageCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetTrustedAccessProgramAccountEnrollmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetTrustedAccessProgramCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetTrustedAccessProgramOrganizationEnrollmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetTrustedAccessProgramProjectEnrollmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListEvaluationJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTrustedAccessProgramsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutAccountDataRetentionStorageCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutOrganizationDataRetentionStorageCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutProjectDataRetentionStorageCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutTrustedAccessProgramAccountEnrollmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutTrustedAccessProgramOrganizationEnrollmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutTrustedAccessProgramProjectEnrollmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartTrustedAccessProgramAccountApplicationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartTrustedAccessProgramOrganizationApplicationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartTrustedAccessProgramProjectApplicationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopEvaluationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +25 -0
- package/dist-types/ts3.4/models/enums.d.ts +55 -0
- package/dist-types/ts3.4/models/models_0.d.ts +104 -102
- package/dist-types/ts3.4/models/models_1.d.ts +310 -5
- package/dist-types/ts3.4/pagination/ListProjectsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTrustedAccessProgramsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +82 -0
- package/package.json +4 -4
package/dist-types/ts3.4/commands/StartTrustedAccessProgramOrganizationApplicationCommand.d.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
StartTrustedAccessProgramOrganizationApplicationRequest,
|
|
4
|
+
StartTrustedAccessProgramOrganizationApplicationResponse,
|
|
5
|
+
} from "../models/models_1";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface StartTrustedAccessProgramOrganizationApplicationCommandInput extends StartTrustedAccessProgramOrganizationApplicationRequest {}
|
|
8
|
+
export interface StartTrustedAccessProgramOrganizationApplicationCommandOutput
|
|
9
|
+
extends StartTrustedAccessProgramOrganizationApplicationResponse, __MetadataBearer {}
|
|
10
|
+
declare const StartTrustedAccessProgramOrganizationApplicationCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: StartTrustedAccessProgramOrganizationApplicationCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
StartTrustedAccessProgramOrganizationApplicationCommandInput,
|
|
15
|
+
StartTrustedAccessProgramOrganizationApplicationCommandOutput,
|
|
16
|
+
import("..").BedrockClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: StartTrustedAccessProgramOrganizationApplicationCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
StartTrustedAccessProgramOrganizationApplicationCommandInput,
|
|
24
|
+
StartTrustedAccessProgramOrganizationApplicationCommandOutput,
|
|
25
|
+
import("..").BedrockClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class StartTrustedAccessProgramOrganizationApplicationCommand extends StartTrustedAccessProgramOrganizationApplicationCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: StartTrustedAccessProgramOrganizationApplicationRequest;
|
|
35
|
+
output: StartTrustedAccessProgramOrganizationApplicationResponse;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: StartTrustedAccessProgramOrganizationApplicationCommandInput;
|
|
39
|
+
output: StartTrustedAccessProgramOrganizationApplicationCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
StartTrustedAccessProgramProjectApplicationRequest,
|
|
4
|
+
StartTrustedAccessProgramProjectApplicationResponse,
|
|
5
|
+
} from "../models/models_1";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface StartTrustedAccessProgramProjectApplicationCommandInput extends StartTrustedAccessProgramProjectApplicationRequest {}
|
|
8
|
+
export interface StartTrustedAccessProgramProjectApplicationCommandOutput
|
|
9
|
+
extends StartTrustedAccessProgramProjectApplicationResponse, __MetadataBearer {}
|
|
10
|
+
declare const StartTrustedAccessProgramProjectApplicationCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: StartTrustedAccessProgramProjectApplicationCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
StartTrustedAccessProgramProjectApplicationCommandInput,
|
|
15
|
+
StartTrustedAccessProgramProjectApplicationCommandOutput,
|
|
16
|
+
import("..").BedrockClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: StartTrustedAccessProgramProjectApplicationCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
StartTrustedAccessProgramProjectApplicationCommandInput,
|
|
24
|
+
StartTrustedAccessProgramProjectApplicationCommandOutput,
|
|
25
|
+
import("..").BedrockClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class StartTrustedAccessProgramProjectApplicationCommand extends StartTrustedAccessProgramProjectApplicationCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: StartTrustedAccessProgramProjectApplicationRequest;
|
|
35
|
+
output: StartTrustedAccessProgramProjectApplicationResponse;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: StartTrustedAccessProgramProjectApplicationCommandInput;
|
|
39
|
+
output: StartTrustedAccessProgramProjectApplicationCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { StopEvaluationJobRequest, StopEvaluationJobResponse } from "../models/
|
|
2
|
+
import { StopEvaluationJobRequest, StopEvaluationJobResponse } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface StopEvaluationJobCommandInput extends StopEvaluationJobRequest {}
|
|
5
5
|
export interface StopEvaluationJobCommandOutput
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { UpdateProjectRequest, UpdateProjectResponse } from "../models/models_1";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface UpdateProjectCommandInput extends UpdateProjectRequest {}
|
|
5
|
+
export interface UpdateProjectCommandOutput extends UpdateProjectResponse, __MetadataBearer {}
|
|
6
|
+
declare const UpdateProjectCommand_base: {
|
|
7
|
+
new (
|
|
8
|
+
input: UpdateProjectCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
|
+
UpdateProjectCommandInput,
|
|
11
|
+
UpdateProjectCommandOutput,
|
|
12
|
+
import("..").BedrockClientResolvedConfig,
|
|
13
|
+
import("..").ServiceInputTypes,
|
|
14
|
+
import("..").ServiceOutputTypes
|
|
15
|
+
>;
|
|
16
|
+
new (
|
|
17
|
+
input: UpdateProjectCommandInput,
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
UpdateProjectCommandInput,
|
|
20
|
+
UpdateProjectCommandOutput,
|
|
21
|
+
import("..").BedrockClientResolvedConfig,
|
|
22
|
+
import("..").ServiceInputTypes,
|
|
23
|
+
import("..").ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
export declare class UpdateProjectCommand extends UpdateProjectCommand_base {
|
|
28
|
+
protected static __types: {
|
|
29
|
+
api: {
|
|
30
|
+
input: UpdateProjectRequest;
|
|
31
|
+
output: UpdateProjectResponse;
|
|
32
|
+
};
|
|
33
|
+
sdk: {
|
|
34
|
+
input: UpdateProjectCommandInput;
|
|
35
|
+
output: UpdateProjectCommandOutput;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./ArchiveProjectCommand";
|
|
1
2
|
export * from "./BatchDeleteAdvancedPromptOptimizationJobCommand";
|
|
2
3
|
export * from "./BatchDeleteEvaluationJobCommand";
|
|
3
4
|
export * from "./CancelAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
@@ -17,8 +18,10 @@ export * from "./CreateModelCopyJobCommand";
|
|
|
17
18
|
export * from "./CreateModelCustomizationJobCommand";
|
|
18
19
|
export * from "./CreateModelImportJobCommand";
|
|
19
20
|
export * from "./CreateModelInvocationJobCommand";
|
|
21
|
+
export * from "./CreateProjectCommand";
|
|
20
22
|
export * from "./CreatePromptRouterCommand";
|
|
21
23
|
export * from "./CreateProvisionedModelThroughputCommand";
|
|
24
|
+
export * from "./DeleteAccountDataRetentionStorageCommand";
|
|
22
25
|
export * from "./DeleteAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
23
26
|
export * from "./DeleteAutomatedReasoningPolicyCommand";
|
|
24
27
|
export * from "./DeleteAutomatedReasoningPolicyTestCaseCommand";
|
|
@@ -31,12 +34,15 @@ export * from "./DeleteImportedModelCommand";
|
|
|
31
34
|
export * from "./DeleteInferenceProfileCommand";
|
|
32
35
|
export * from "./DeleteMarketplaceModelEndpointCommand";
|
|
33
36
|
export * from "./DeleteModelInvocationLoggingConfigurationCommand";
|
|
37
|
+
export * from "./DeleteOrganizationDataRetentionStorageCommand";
|
|
38
|
+
export * from "./DeleteProjectDataRetentionStorageCommand";
|
|
34
39
|
export * from "./DeletePromptRouterCommand";
|
|
35
40
|
export * from "./DeleteProvisionedModelThroughputCommand";
|
|
36
41
|
export * from "./DeleteResourcePolicyCommand";
|
|
37
42
|
export * from "./DeregisterMarketplaceModelEndpointCommand";
|
|
38
43
|
export * from "./ExportAutomatedReasoningPolicyVersionCommand";
|
|
39
44
|
export * from "./GetAccountDataRetentionCommand";
|
|
45
|
+
export * from "./GetAccountDataRetentionStorageCommand";
|
|
40
46
|
export * from "./GetAdvancedPromptOptimizationJobCommand";
|
|
41
47
|
export * from "./GetAutomatedReasoningPolicyAnnotationsCommand";
|
|
42
48
|
export * from "./GetAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
@@ -59,9 +65,16 @@ export * from "./GetModelCustomizationJobCommand";
|
|
|
59
65
|
export * from "./GetModelImportJobCommand";
|
|
60
66
|
export * from "./GetModelInvocationJobCommand";
|
|
61
67
|
export * from "./GetModelInvocationLoggingConfigurationCommand";
|
|
68
|
+
export * from "./GetOrganizationDataRetentionStorageCommand";
|
|
69
|
+
export * from "./GetProjectCommand";
|
|
70
|
+
export * from "./GetProjectDataRetentionStorageCommand";
|
|
62
71
|
export * from "./GetPromptRouterCommand";
|
|
63
72
|
export * from "./GetProvisionedModelThroughputCommand";
|
|
64
73
|
export * from "./GetResourcePolicyCommand";
|
|
74
|
+
export * from "./GetTrustedAccessProgramAccountEnrollmentCommand";
|
|
75
|
+
export * from "./GetTrustedAccessProgramCommand";
|
|
76
|
+
export * from "./GetTrustedAccessProgramOrganizationEnrollmentCommand";
|
|
77
|
+
export * from "./GetTrustedAccessProgramProjectEnrollmentCommand";
|
|
65
78
|
export * from "./GetUseCaseForModelAccessCommand";
|
|
66
79
|
export * from "./ListAdvancedPromptOptimizationJobsCommand";
|
|
67
80
|
export * from "./ListAutomatedReasoningPoliciesCommand";
|
|
@@ -82,17 +95,28 @@ export * from "./ListModelCopyJobsCommand";
|
|
|
82
95
|
export * from "./ListModelCustomizationJobsCommand";
|
|
83
96
|
export * from "./ListModelImportJobsCommand";
|
|
84
97
|
export * from "./ListModelInvocationJobsCommand";
|
|
98
|
+
export * from "./ListProjectsCommand";
|
|
85
99
|
export * from "./ListPromptRoutersCommand";
|
|
86
100
|
export * from "./ListProvisionedModelThroughputsCommand";
|
|
87
101
|
export * from "./ListTagsForResourceCommand";
|
|
102
|
+
export * from "./ListTrustedAccessProgramsCommand";
|
|
88
103
|
export * from "./PutAccountDataRetentionCommand";
|
|
104
|
+
export * from "./PutAccountDataRetentionStorageCommand";
|
|
89
105
|
export * from "./PutEnforcedGuardrailConfigurationCommand";
|
|
90
106
|
export * from "./PutModelInvocationLoggingConfigurationCommand";
|
|
107
|
+
export * from "./PutOrganizationDataRetentionStorageCommand";
|
|
108
|
+
export * from "./PutProjectDataRetentionStorageCommand";
|
|
91
109
|
export * from "./PutResourcePolicyCommand";
|
|
110
|
+
export * from "./PutTrustedAccessProgramAccountEnrollmentCommand";
|
|
111
|
+
export * from "./PutTrustedAccessProgramOrganizationEnrollmentCommand";
|
|
112
|
+
export * from "./PutTrustedAccessProgramProjectEnrollmentCommand";
|
|
92
113
|
export * from "./PutUseCaseForModelAccessCommand";
|
|
93
114
|
export * from "./RegisterMarketplaceModelEndpointCommand";
|
|
94
115
|
export * from "./StartAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
95
116
|
export * from "./StartAutomatedReasoningPolicyTestWorkflowCommand";
|
|
117
|
+
export * from "./StartTrustedAccessProgramAccountApplicationCommand";
|
|
118
|
+
export * from "./StartTrustedAccessProgramOrganizationApplicationCommand";
|
|
119
|
+
export * from "./StartTrustedAccessProgramProjectApplicationCommand";
|
|
96
120
|
export * from "./StopAdvancedPromptOptimizationJobCommand";
|
|
97
121
|
export * from "./StopEvaluationJobCommand";
|
|
98
122
|
export * from "./StopModelCustomizationJobCommand";
|
|
@@ -105,4 +129,5 @@ export * from "./UpdateAutomatedReasoningPolicyTestCaseCommand";
|
|
|
105
129
|
export * from "./UpdateCustomModelDeploymentCommand";
|
|
106
130
|
export * from "./UpdateGuardrailCommand";
|
|
107
131
|
export * from "./UpdateMarketplaceModelEndpointCommand";
|
|
132
|
+
export * from "./UpdateProjectCommand";
|
|
108
133
|
export * from "./UpdateProvisionedModelThroughputCommand";
|
|
@@ -177,6 +177,32 @@ export declare const DataRetentionMode: {
|
|
|
177
177
|
readonly PROVIDER_DATA_SHARE: "provider_data_share";
|
|
178
178
|
};
|
|
179
179
|
export type DataRetentionMode = (typeof DataRetentionMode)[keyof typeof DataRetentionMode];
|
|
180
|
+
export declare const DataRetentionStorageModelProvider: {
|
|
181
|
+
readonly ANTHROPIC: "anthropic";
|
|
182
|
+
readonly OPENAI: "openai";
|
|
183
|
+
};
|
|
184
|
+
export type DataRetentionStorageModelProvider =
|
|
185
|
+
(typeof DataRetentionStorageModelProvider)[keyof typeof DataRetentionStorageModelProvider];
|
|
186
|
+
export declare const DataRetentionStorageResourceStatus: {
|
|
187
|
+
readonly ACCESS_DENIED: "access_denied";
|
|
188
|
+
readonly ACTIVE: "active";
|
|
189
|
+
readonly PENDING: "pending";
|
|
190
|
+
};
|
|
191
|
+
export type DataRetentionStorageResourceStatus =
|
|
192
|
+
(typeof DataRetentionStorageResourceStatus)[keyof typeof DataRetentionStorageResourceStatus];
|
|
193
|
+
export declare const DataRetentionStorageScope: {
|
|
194
|
+
readonly ACCOUNT: "account";
|
|
195
|
+
readonly ORGANIZATION: "organization";
|
|
196
|
+
readonly PROJECT: "project";
|
|
197
|
+
};
|
|
198
|
+
export type DataRetentionStorageScope =
|
|
199
|
+
(typeof DataRetentionStorageScope)[keyof typeof DataRetentionStorageScope];
|
|
200
|
+
export declare const DataRetentionStorageDestination: {
|
|
201
|
+
readonly AMAZON_MANAGED: "amazon_managed";
|
|
202
|
+
readonly CUSTOMER_MANAGED: "customer_managed";
|
|
203
|
+
};
|
|
204
|
+
export type DataRetentionStorageDestination =
|
|
205
|
+
(typeof DataRetentionStorageDestination)[keyof typeof DataRetentionStorageDestination];
|
|
180
206
|
export declare const EvaluationJobStatus: {
|
|
181
207
|
readonly COMPLETED: "Completed";
|
|
182
208
|
readonly DELETING: "Deleting";
|
|
@@ -446,6 +472,11 @@ export declare const FoundationModelLifecycleStatus: {
|
|
|
446
472
|
};
|
|
447
473
|
export type FoundationModelLifecycleStatus =
|
|
448
474
|
(typeof FoundationModelLifecycleStatus)[keyof typeof FoundationModelLifecycleStatus];
|
|
475
|
+
export declare const ProjectStatus: {
|
|
476
|
+
readonly ACTIVE: "active";
|
|
477
|
+
readonly ARCHIVED: "archived";
|
|
478
|
+
};
|
|
479
|
+
export type ProjectStatus = (typeof ProjectStatus)[keyof typeof ProjectStatus];
|
|
449
480
|
export declare const PromptRouterStatus: {
|
|
450
481
|
readonly AVAILABLE: "AVAILABLE";
|
|
451
482
|
};
|
|
@@ -520,3 +551,27 @@ export declare const FineTuningJobStatus: {
|
|
|
520
551
|
readonly STOPPING: "Stopping";
|
|
521
552
|
};
|
|
522
553
|
export type FineTuningJobStatus = (typeof FineTuningJobStatus)[keyof typeof FineTuningJobStatus];
|
|
554
|
+
export declare const TrustedAccessProgramScope: {
|
|
555
|
+
readonly ACCOUNT: "account";
|
|
556
|
+
readonly ORGANIZATION: "organization";
|
|
557
|
+
readonly PROGRAM_DEFAULT: "program_default";
|
|
558
|
+
readonly PROJECT: "project";
|
|
559
|
+
};
|
|
560
|
+
export type TrustedAccessProgramScope =
|
|
561
|
+
(typeof TrustedAccessProgramScope)[keyof typeof TrustedAccessProgramScope];
|
|
562
|
+
export declare const TrustedAccessProgramOptIn: {
|
|
563
|
+
readonly DISABLED: "disabled";
|
|
564
|
+
readonly ENABLED: "enabled";
|
|
565
|
+
readonly INHERIT: "inherit";
|
|
566
|
+
};
|
|
567
|
+
export type TrustedAccessProgramOptIn =
|
|
568
|
+
(typeof TrustedAccessProgramOptIn)[keyof typeof TrustedAccessProgramOptIn];
|
|
569
|
+
export declare const TrustedAccessProgramStatus: {
|
|
570
|
+
readonly DISABLED: "disabled";
|
|
571
|
+
readonly ELIGIBLE: "eligible";
|
|
572
|
+
readonly ENABLED: "enabled";
|
|
573
|
+
readonly REQUESTABLE: "requestable";
|
|
574
|
+
readonly REVOKED: "revoked";
|
|
575
|
+
};
|
|
576
|
+
export type TrustedAccessProgramStatus =
|
|
577
|
+
(typeof TrustedAccessProgramStatus)[keyof typeof TrustedAccessProgramStatus];
|
|
@@ -2,7 +2,6 @@ import { DocumentType as __DocumentType } from "@smithy/types";
|
|
|
2
2
|
import {
|
|
3
3
|
AdvancedPromptOptimizationJobStatus,
|
|
4
4
|
AgreementStatus,
|
|
5
|
-
ApplicationType,
|
|
6
5
|
AttributeType,
|
|
7
6
|
AutomatedReasoningCheckLogicWarningType,
|
|
8
7
|
AutomatedReasoningCheckResult,
|
|
@@ -19,18 +18,13 @@ import {
|
|
|
19
18
|
CustomModelDeploymentStatus,
|
|
20
19
|
CustomModelDeploymentUpdateStatus,
|
|
21
20
|
DataRetentionMode,
|
|
21
|
+
DataRetentionStorageDestination,
|
|
22
|
+
DataRetentionStorageModelProvider,
|
|
23
|
+
DataRetentionStorageResourceStatus,
|
|
24
|
+
DataRetentionStorageScope,
|
|
22
25
|
EvaluationJobStatus,
|
|
23
|
-
EvaluationJobType,
|
|
24
26
|
EvaluationTaskType,
|
|
25
27
|
ExternalSourceType,
|
|
26
|
-
GuardrailContentFilterAction,
|
|
27
|
-
GuardrailContentFiltersTierName,
|
|
28
|
-
GuardrailContentFilterType,
|
|
29
|
-
GuardrailContextualGroundingAction,
|
|
30
|
-
GuardrailContextualGroundingFilterType,
|
|
31
|
-
GuardrailContextualGroundingTierName,
|
|
32
|
-
GuardrailFilterStrength,
|
|
33
|
-
GuardrailModality,
|
|
34
28
|
InputTags,
|
|
35
29
|
ModelStatus,
|
|
36
30
|
PerformanceConfigLatency,
|
|
@@ -2002,6 +1996,106 @@ export interface PutAccountDataRetentionResponse {
|
|
|
2002
1996
|
mode: DataRetentionMode | undefined;
|
|
2003
1997
|
updatedAt?: Date | undefined;
|
|
2004
1998
|
}
|
|
1999
|
+
export interface DeleteAccountDataRetentionStorageRequest {
|
|
2000
|
+
modelProvider: DataRetentionStorageModelProvider | undefined;
|
|
2001
|
+
}
|
|
2002
|
+
export interface DeleteAccountDataRetentionStorageResponse {}
|
|
2003
|
+
export interface DeleteOrganizationDataRetentionStorageRequest {
|
|
2004
|
+
modelProvider: DataRetentionStorageModelProvider | undefined;
|
|
2005
|
+
}
|
|
2006
|
+
export interface DeleteOrganizationDataRetentionStorageResponse {}
|
|
2007
|
+
export interface DeleteProjectDataRetentionStorageRequest {
|
|
2008
|
+
projectIdentifier: string | undefined;
|
|
2009
|
+
modelProvider: DataRetentionStorageModelProvider | undefined;
|
|
2010
|
+
}
|
|
2011
|
+
export interface DeleteProjectDataRetentionStorageResponse {}
|
|
2012
|
+
export interface GetAccountDataRetentionStorageRequest {
|
|
2013
|
+
modelProvider: DataRetentionStorageModelProvider | undefined;
|
|
2014
|
+
}
|
|
2015
|
+
export interface DataRetentionStorageConfiguration {
|
|
2016
|
+
kmsKeyArn: string | undefined;
|
|
2017
|
+
s3BucketArn: string | undefined;
|
|
2018
|
+
s3BucketOwner: string | undefined;
|
|
2019
|
+
}
|
|
2020
|
+
export interface GetAccountDataRetentionStorageResponse {
|
|
2021
|
+
scope: DataRetentionStorageScope | undefined;
|
|
2022
|
+
modelProvider: DataRetentionStorageModelProvider | undefined;
|
|
2023
|
+
storageDestination: DataRetentionStorageDestination | undefined;
|
|
2024
|
+
storageConfiguration?: DataRetentionStorageConfiguration | undefined;
|
|
2025
|
+
updatedAt: Date | undefined;
|
|
2026
|
+
kmsKeyStatus?: DataRetentionStorageResourceStatus | undefined;
|
|
2027
|
+
s3BucketStatus?: DataRetentionStorageResourceStatus | undefined;
|
|
2028
|
+
}
|
|
2029
|
+
export interface GetOrganizationDataRetentionStorageRequest {
|
|
2030
|
+
modelProvider: DataRetentionStorageModelProvider | undefined;
|
|
2031
|
+
}
|
|
2032
|
+
export interface GetOrganizationDataRetentionStorageResponse {
|
|
2033
|
+
scope: DataRetentionStorageScope | undefined;
|
|
2034
|
+
modelProvider: DataRetentionStorageModelProvider | undefined;
|
|
2035
|
+
storageDestination: DataRetentionStorageDestination | undefined;
|
|
2036
|
+
storageConfiguration?: DataRetentionStorageConfiguration | undefined;
|
|
2037
|
+
updatedAt: Date | undefined;
|
|
2038
|
+
kmsKeyStatus?: DataRetentionStorageResourceStatus | undefined;
|
|
2039
|
+
s3BucketStatus?: DataRetentionStorageResourceStatus | undefined;
|
|
2040
|
+
}
|
|
2041
|
+
export interface GetProjectDataRetentionStorageRequest {
|
|
2042
|
+
projectIdentifier: string | undefined;
|
|
2043
|
+
modelProvider: DataRetentionStorageModelProvider | undefined;
|
|
2044
|
+
}
|
|
2045
|
+
export interface GetProjectDataRetentionStorageResponse {
|
|
2046
|
+
scope: DataRetentionStorageScope | undefined;
|
|
2047
|
+
modelProvider: DataRetentionStorageModelProvider | undefined;
|
|
2048
|
+
storageDestination: DataRetentionStorageDestination | undefined;
|
|
2049
|
+
storageConfiguration?: DataRetentionStorageConfiguration | undefined;
|
|
2050
|
+
updatedAt: Date | undefined;
|
|
2051
|
+
kmsKeyStatus?: DataRetentionStorageResourceStatus | undefined;
|
|
2052
|
+
s3BucketStatus?: DataRetentionStorageResourceStatus | undefined;
|
|
2053
|
+
projectArn: string | undefined;
|
|
2054
|
+
}
|
|
2055
|
+
export interface PutAccountDataRetentionStorageRequest {
|
|
2056
|
+
modelProvider: DataRetentionStorageModelProvider | undefined;
|
|
2057
|
+
storageDestination: DataRetentionStorageDestination | undefined;
|
|
2058
|
+
storageConfiguration?: DataRetentionStorageConfiguration | undefined;
|
|
2059
|
+
}
|
|
2060
|
+
export interface PutAccountDataRetentionStorageResponse {
|
|
2061
|
+
scope: DataRetentionStorageScope | undefined;
|
|
2062
|
+
modelProvider: DataRetentionStorageModelProvider | undefined;
|
|
2063
|
+
storageDestination: DataRetentionStorageDestination | undefined;
|
|
2064
|
+
storageConfiguration?: DataRetentionStorageConfiguration | undefined;
|
|
2065
|
+
updatedAt: Date | undefined;
|
|
2066
|
+
kmsKeyStatus?: DataRetentionStorageResourceStatus | undefined;
|
|
2067
|
+
s3BucketStatus?: DataRetentionStorageResourceStatus | undefined;
|
|
2068
|
+
}
|
|
2069
|
+
export interface PutOrganizationDataRetentionStorageRequest {
|
|
2070
|
+
modelProvider: DataRetentionStorageModelProvider | undefined;
|
|
2071
|
+
storageDestination: DataRetentionStorageDestination | undefined;
|
|
2072
|
+
storageConfiguration?: DataRetentionStorageConfiguration | undefined;
|
|
2073
|
+
}
|
|
2074
|
+
export interface PutOrganizationDataRetentionStorageResponse {
|
|
2075
|
+
scope: DataRetentionStorageScope | undefined;
|
|
2076
|
+
modelProvider: DataRetentionStorageModelProvider | undefined;
|
|
2077
|
+
storageDestination: DataRetentionStorageDestination | undefined;
|
|
2078
|
+
storageConfiguration?: DataRetentionStorageConfiguration | undefined;
|
|
2079
|
+
updatedAt: Date | undefined;
|
|
2080
|
+
kmsKeyStatus?: DataRetentionStorageResourceStatus | undefined;
|
|
2081
|
+
s3BucketStatus?: DataRetentionStorageResourceStatus | undefined;
|
|
2082
|
+
}
|
|
2083
|
+
export interface PutProjectDataRetentionStorageRequest {
|
|
2084
|
+
projectIdentifier: string | undefined;
|
|
2085
|
+
modelProvider: DataRetentionStorageModelProvider | undefined;
|
|
2086
|
+
storageDestination: DataRetentionStorageDestination | undefined;
|
|
2087
|
+
storageConfiguration?: DataRetentionStorageConfiguration | undefined;
|
|
2088
|
+
}
|
|
2089
|
+
export interface PutProjectDataRetentionStorageResponse {
|
|
2090
|
+
scope: DataRetentionStorageScope | undefined;
|
|
2091
|
+
modelProvider: DataRetentionStorageModelProvider | undefined;
|
|
2092
|
+
storageDestination: DataRetentionStorageDestination | undefined;
|
|
2093
|
+
storageConfiguration?: DataRetentionStorageConfiguration | undefined;
|
|
2094
|
+
updatedAt: Date | undefined;
|
|
2095
|
+
kmsKeyStatus?: DataRetentionStorageResourceStatus | undefined;
|
|
2096
|
+
s3BucketStatus?: DataRetentionStorageResourceStatus | undefined;
|
|
2097
|
+
projectArn: string | undefined;
|
|
2098
|
+
}
|
|
2005
2099
|
export interface DeleteEnforcedGuardrailConfigurationRequest {
|
|
2006
2100
|
configId: string | undefined;
|
|
2007
2101
|
}
|
|
@@ -2373,95 +2467,3 @@ export declare namespace EvaluationPrecomputedRagSourceConfig {
|
|
|
2373
2467
|
_: (name: string, value: any) => T;
|
|
2374
2468
|
}
|
|
2375
2469
|
}
|
|
2376
|
-
export interface EvaluationOutputDataConfig {
|
|
2377
|
-
s3Uri: string | undefined;
|
|
2378
|
-
}
|
|
2379
|
-
export interface CreateEvaluationJobResponse {
|
|
2380
|
-
jobArn: string | undefined;
|
|
2381
|
-
}
|
|
2382
|
-
export interface GetEvaluationJobRequest {
|
|
2383
|
-
jobIdentifier: string | undefined;
|
|
2384
|
-
}
|
|
2385
|
-
export interface ListEvaluationJobsRequest {
|
|
2386
|
-
creationTimeAfter?: Date | undefined;
|
|
2387
|
-
creationTimeBefore?: Date | undefined;
|
|
2388
|
-
statusEquals?: EvaluationJobStatus | undefined;
|
|
2389
|
-
applicationTypeEquals?: ApplicationType | undefined;
|
|
2390
|
-
nameContains?: string | undefined;
|
|
2391
|
-
maxResults?: number | undefined;
|
|
2392
|
-
nextToken?: string | undefined;
|
|
2393
|
-
sortBy?: SortJobsBy | undefined;
|
|
2394
|
-
sortOrder?: SortOrder | undefined;
|
|
2395
|
-
}
|
|
2396
|
-
export interface EvaluationModelConfigSummary {
|
|
2397
|
-
bedrockModelIdentifiers?: string[] | undefined;
|
|
2398
|
-
precomputedInferenceSourceIdentifiers?: string[] | undefined;
|
|
2399
|
-
}
|
|
2400
|
-
export interface EvaluationRagConfigSummary {
|
|
2401
|
-
bedrockKnowledgeBaseIdentifiers?: string[] | undefined;
|
|
2402
|
-
precomputedRagSourceIdentifiers?: string[] | undefined;
|
|
2403
|
-
}
|
|
2404
|
-
export interface EvaluationInferenceConfigSummary {
|
|
2405
|
-
modelConfigSummary?: EvaluationModelConfigSummary | undefined;
|
|
2406
|
-
ragConfigSummary?: EvaluationRagConfigSummary | undefined;
|
|
2407
|
-
}
|
|
2408
|
-
export interface EvaluationSummary {
|
|
2409
|
-
jobArn: string | undefined;
|
|
2410
|
-
jobName: string | undefined;
|
|
2411
|
-
status: EvaluationJobStatus | undefined;
|
|
2412
|
-
creationTime: Date | undefined;
|
|
2413
|
-
jobType: EvaluationJobType | undefined;
|
|
2414
|
-
evaluationTaskTypes: EvaluationTaskType[] | undefined;
|
|
2415
|
-
modelIdentifiers?: string[] | undefined;
|
|
2416
|
-
ragIdentifiers?: string[] | undefined;
|
|
2417
|
-
evaluatorModelIdentifiers?: string[] | undefined;
|
|
2418
|
-
customMetricsEvaluatorModelIdentifiers?: string[] | undefined;
|
|
2419
|
-
inferenceConfigSummary?: EvaluationInferenceConfigSummary | undefined;
|
|
2420
|
-
applicationType?: ApplicationType | undefined;
|
|
2421
|
-
}
|
|
2422
|
-
export interface ListEvaluationJobsResponse {
|
|
2423
|
-
nextToken?: string | undefined;
|
|
2424
|
-
jobSummaries?: EvaluationSummary[] | undefined;
|
|
2425
|
-
}
|
|
2426
|
-
export interface StopEvaluationJobRequest {
|
|
2427
|
-
jobIdentifier: string | undefined;
|
|
2428
|
-
}
|
|
2429
|
-
export interface StopEvaluationJobResponse {}
|
|
2430
|
-
export interface GuardrailAutomatedReasoningPolicyConfig {
|
|
2431
|
-
policies: string[] | undefined;
|
|
2432
|
-
confidenceThreshold?: number | undefined;
|
|
2433
|
-
}
|
|
2434
|
-
export interface GuardrailContentFilterConfig {
|
|
2435
|
-
type: GuardrailContentFilterType | undefined;
|
|
2436
|
-
inputStrength: GuardrailFilterStrength | undefined;
|
|
2437
|
-
outputStrength: GuardrailFilterStrength | undefined;
|
|
2438
|
-
inputModalities?: GuardrailModality[] | undefined;
|
|
2439
|
-
outputModalities?: GuardrailModality[] | undefined;
|
|
2440
|
-
inputAction?: GuardrailContentFilterAction | undefined;
|
|
2441
|
-
outputAction?: GuardrailContentFilterAction | undefined;
|
|
2442
|
-
inputEnabled?: boolean | undefined;
|
|
2443
|
-
outputEnabled?: boolean | undefined;
|
|
2444
|
-
}
|
|
2445
|
-
export interface GuardrailContentFiltersTierConfig {
|
|
2446
|
-
tierName: GuardrailContentFiltersTierName | undefined;
|
|
2447
|
-
}
|
|
2448
|
-
export interface GuardrailContentPolicyConfig {
|
|
2449
|
-
filtersConfig: GuardrailContentFilterConfig[] | undefined;
|
|
2450
|
-
tierConfig?: GuardrailContentFiltersTierConfig | undefined;
|
|
2451
|
-
}
|
|
2452
|
-
export interface GuardrailContextualGroundingFilterConfig {
|
|
2453
|
-
type: GuardrailContextualGroundingFilterType | undefined;
|
|
2454
|
-
threshold: number | undefined;
|
|
2455
|
-
action?: GuardrailContextualGroundingAction | undefined;
|
|
2456
|
-
enabled?: boolean | undefined;
|
|
2457
|
-
}
|
|
2458
|
-
export interface GuardrailContextualGroundingTierConfig {
|
|
2459
|
-
tierName: GuardrailContextualGroundingTierName | undefined;
|
|
2460
|
-
}
|
|
2461
|
-
export interface GuardrailContextualGroundingPolicyConfig {
|
|
2462
|
-
filtersConfig: GuardrailContextualGroundingFilterConfig[] | undefined;
|
|
2463
|
-
tierConfig?: GuardrailContextualGroundingTierConfig | undefined;
|
|
2464
|
-
}
|
|
2465
|
-
export interface GuardrailCrossRegionConfig {
|
|
2466
|
-
guardrailProfileIdentifier: string | undefined;
|
|
2467
|
-
}
|