@aws-sdk/client-bedrock 3.859.0 → 3.861.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 +192 -0
- package/dist-cjs/index.js +2684 -369
- package/dist-es/Bedrock.js +48 -0
- package/dist-es/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.js +22 -0
- package/dist-es/commands/CreateAutomatedReasoningPolicyCommand.js +23 -0
- package/dist-es/commands/CreateAutomatedReasoningPolicyTestCaseCommand.js +23 -0
- package/dist-es/commands/CreateAutomatedReasoningPolicyVersionCommand.js +23 -0
- package/dist-es/commands/CreateGuardrailCommand.js +1 -1
- package/dist-es/commands/CreateGuardrailVersionCommand.js +1 -1
- package/dist-es/commands/CreateInferenceProfileCommand.js +1 -1
- package/dist-es/commands/CreatePromptRouterCommand.js +1 -1
- package/dist-es/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.js +22 -0
- package/dist-es/commands/DeleteAutomatedReasoningPolicyCommand.js +22 -0
- package/dist-es/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.js +22 -0
- package/dist-es/commands/ExportAutomatedReasoningPolicyVersionCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyAnnotationsCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyNextScenarioCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyTestCaseCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyTestResultCommand.js +23 -0
- package/dist-es/commands/GetGuardrailCommand.js +1 -1
- package/dist-es/commands/GetInferenceProfileCommand.js +1 -1
- package/dist-es/commands/GetModelInvocationJobCommand.js +1 -1
- package/dist-es/commands/GetPromptRouterCommand.js +1 -1
- package/dist-es/commands/ListAutomatedReasoningPoliciesCommand.js +23 -0
- package/dist-es/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.js +22 -0
- package/dist-es/commands/ListAutomatedReasoningPolicyTestCasesCommand.js +23 -0
- package/dist-es/commands/ListAutomatedReasoningPolicyTestResultsCommand.js +23 -0
- package/dist-es/commands/ListGuardrailsCommand.js +1 -1
- package/dist-es/commands/ListInferenceProfilesCommand.js +1 -1
- package/dist-es/commands/ListModelInvocationJobsCommand.js +1 -1
- package/dist-es/commands/ListPromptRoutersCommand.js +1 -1
- package/dist-es/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.js +23 -0
- package/dist-es/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.js +22 -0
- package/dist-es/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.js +23 -0
- package/dist-es/commands/UpdateAutomatedReasoningPolicyCommand.js +23 -0
- package/dist-es/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.js +23 -0
- package/dist-es/commands/UpdateGuardrailCommand.js +1 -1
- package/dist-es/commands/index.js +24 -0
- package/dist-es/models/models_0.js +742 -315
- package/dist-es/models/models_1.js +300 -1
- package/dist-es/pagination/ListAutomatedReasoningPoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListAutomatedReasoningPolicyBuildWorkflowsPaginator.js +4 -0
- package/dist-es/pagination/ListAutomatedReasoningPolicyTestCasesPaginator.js +4 -0
- package/dist-es/pagination/ListAutomatedReasoningPolicyTestResultsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +997 -31
- package/dist-types/Bedrock.d.ts +169 -0
- package/dist-types/BedrockClient.d.ts +26 -2
- package/dist-types/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +86 -0
- package/dist-types/commands/CreateAutomatedReasoningPolicyCommand.d.ts +139 -0
- package/dist-types/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +99 -0
- package/dist-types/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +106 -0
- package/dist-types/commands/CreateGuardrailCommand.d.ts +7 -1
- package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateInferenceProfileCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelCopyJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelImportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/commands/CreatePromptRouterCommand.d.ts +1 -1
- package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +90 -0
- package/dist-types/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +85 -0
- package/dist-types/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +93 -0
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +1 -1
- package/dist-types/commands/DeleteImportedModelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInferenceProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeletePromptRouterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +115 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +172 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +96 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +307 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyCommand.d.ts +94 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +96 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +97 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +258 -0
- package/dist-types/commands/GetFoundationModelCommand.d.ts +1 -1
- package/dist-types/commands/GetGuardrailCommand.d.ts +7 -1
- package/dist-types/commands/GetImportedModelCommand.d.ts +1 -1
- package/dist-types/commands/GetInferenceProfileCommand.d.ts +1 -1
- package/dist-types/commands/GetModelCopyJobCommand.d.ts +1 -1
- package/dist-types/commands/GetModelImportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetPromptRouterCommand.d.ts +1 -1
- package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/commands/ListAutomatedReasoningPoliciesCommand.d.ts +100 -0
- package/dist-types/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +99 -0
- package/dist-types/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +100 -0
- package/dist-types/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +265 -0
- package/dist-types/commands/ListFoundationModelsCommand.d.ts +1 -1
- package/dist-types/commands/ListGuardrailsCommand.d.ts +1 -1
- package/dist-types/commands/ListImportedModelsCommand.d.ts +1 -1
- package/dist-types/commands/ListInferenceProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListModelCopyJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListModelImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListPromptRoutersCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +1 -2
- package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +222 -0
- package/dist-types/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +95 -0
- package/dist-types/commands/StopModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +175 -0
- package/dist-types/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +127 -0
- package/dist-types/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +102 -0
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +7 -1
- package/dist-types/commands/index.d.ts +24 -0
- package/dist-types/models/models_0.d.ts +3899 -3774
- package/dist-types/models/models_1.d.ts +3320 -1
- package/dist-types/pagination/ListAutomatedReasoningPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutomatedReasoningPolicyBuildWorkflowsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutomatedReasoningPolicyTestCasesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutomatedReasoningPolicyTestResultsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +216 -0
- package/dist-types/ts3.4/Bedrock.d.ts +523 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +144 -0
- package/dist-types/ts3.4/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateGuardrailVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateInferenceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateModelCopyJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateModelImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePromptRouterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteImportedModelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteInferenceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeletePromptRouterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetImportedModelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetModelCopyJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetModelImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPromptRouterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPoliciesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListGuardrailsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelCopyJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelInvocationJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPromptRoutersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +24 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2324 -1702
- package/dist-types/ts3.4/models/models_1.d.ts +970 -2
- package/dist-types/ts3.4/pagination/ListAutomatedReasoningPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutomatedReasoningPolicyBuildWorkflowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutomatedReasoningPolicyTestCasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutomatedReasoningPolicyTestResultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +288 -0
- package/package.json +1 -1
|
@@ -56,70 +56,60 @@ export interface PutUseCaseForModelAccessRequest {
|
|
|
56
56
|
formData: Uint8Array | undefined;
|
|
57
57
|
}
|
|
58
58
|
export interface PutUseCaseForModelAccessResponse {}
|
|
59
|
+
export interface CancelAutomatedReasoningPolicyBuildWorkflowRequest {
|
|
60
|
+
policyArn: string | undefined;
|
|
61
|
+
buildWorkflowId: string | undefined;
|
|
62
|
+
}
|
|
63
|
+
export interface CancelAutomatedReasoningPolicyBuildWorkflowResponse {}
|
|
59
64
|
export declare class ConflictException extends __BaseException {
|
|
60
65
|
readonly name: "ConflictException";
|
|
61
66
|
readonly $fault: "client";
|
|
62
67
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
63
68
|
}
|
|
64
|
-
export interface
|
|
65
|
-
|
|
66
|
-
|
|
69
|
+
export interface AutomatedReasoningPolicyDefinitionRule {
|
|
70
|
+
id: string | undefined;
|
|
71
|
+
expression: string | undefined;
|
|
72
|
+
alternateExpression?: string | undefined;
|
|
67
73
|
}
|
|
68
|
-
export interface
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
executionRole: string | undefined;
|
|
72
|
-
kmsEncryptionKey?: string | undefined;
|
|
73
|
-
vpc?: VpcConfig | undefined;
|
|
74
|
+
export interface AutomatedReasoningPolicyDefinitionTypeValue {
|
|
75
|
+
value: string | undefined;
|
|
76
|
+
description?: string | undefined;
|
|
74
77
|
}
|
|
75
|
-
export
|
|
76
|
-
|
|
|
77
|
-
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
const visit: <T>(value: EndpointConfig, visitor: Visitor<T>) => T;
|
|
78
|
+
export interface AutomatedReasoningPolicyDefinitionType {
|
|
79
|
+
name: string | undefined;
|
|
80
|
+
description?: string | undefined;
|
|
81
|
+
values: AutomatedReasoningPolicyDefinitionTypeValue[] | undefined;
|
|
82
|
+
}
|
|
83
|
+
export interface AutomatedReasoningPolicyDefinitionVariable {
|
|
84
|
+
name: string | undefined;
|
|
85
|
+
type: string | undefined;
|
|
86
|
+
description: string | undefined;
|
|
87
|
+
}
|
|
88
|
+
export interface AutomatedReasoningPolicyDefinition {
|
|
89
|
+
version?: string | undefined;
|
|
90
|
+
types?: AutomatedReasoningPolicyDefinitionType[] | undefined;
|
|
91
|
+
rules?: AutomatedReasoningPolicyDefinitionRule[] | undefined;
|
|
92
|
+
variables?: AutomatedReasoningPolicyDefinitionVariable[] | undefined;
|
|
92
93
|
}
|
|
93
94
|
export interface Tag {
|
|
94
95
|
key: string | undefined;
|
|
95
96
|
value: string | undefined;
|
|
96
97
|
}
|
|
97
|
-
export interface
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
acceptEula?: boolean | undefined;
|
|
101
|
-
endpointName: string | undefined;
|
|
98
|
+
export interface CreateAutomatedReasoningPolicyRequest {
|
|
99
|
+
name: string | undefined;
|
|
100
|
+
description?: string | undefined;
|
|
102
101
|
clientRequestToken?: string | undefined;
|
|
102
|
+
policyDefinition?: AutomatedReasoningPolicyDefinition | undefined;
|
|
103
103
|
tags?: Tag[] | undefined;
|
|
104
104
|
}
|
|
105
|
-
export
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
endpointArn: string | undefined;
|
|
112
|
-
modelSourceIdentifier: string | undefined;
|
|
113
|
-
status?: Status | undefined;
|
|
114
|
-
statusMessage?: string | undefined;
|
|
105
|
+
export interface CreateAutomatedReasoningPolicyResponse {
|
|
106
|
+
policyArn: string | undefined;
|
|
107
|
+
version: string | undefined;
|
|
108
|
+
name: string | undefined;
|
|
109
|
+
description?: string | undefined;
|
|
110
|
+
definitionHash?: string | undefined;
|
|
115
111
|
createdAt: Date | undefined;
|
|
116
112
|
updatedAt: Date | undefined;
|
|
117
|
-
endpointConfig: EndpointConfig | undefined;
|
|
118
|
-
endpointStatus: string | undefined;
|
|
119
|
-
endpointStatusMessage?: string | undefined;
|
|
120
|
-
}
|
|
121
|
-
export interface CreateMarketplaceModelEndpointResponse {
|
|
122
|
-
marketplaceModelEndpoint: MarketplaceModelEndpoint | undefined;
|
|
123
113
|
}
|
|
124
114
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
125
115
|
readonly name: "ServiceQuotaExceededException";
|
|
@@ -128,1897 +118,2622 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
128
118
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
129
119
|
);
|
|
130
120
|
}
|
|
131
|
-
export
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
export interface DeregisterMarketplaceModelEndpointRequest {
|
|
136
|
-
endpointArn: string | undefined;
|
|
137
|
-
}
|
|
138
|
-
export interface DeregisterMarketplaceModelEndpointResponse {}
|
|
139
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
140
|
-
readonly name: "ServiceUnavailableException";
|
|
141
|
-
readonly $fault: "server";
|
|
121
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
122
|
+
readonly name: "TooManyTagsException";
|
|
123
|
+
readonly $fault: "client";
|
|
124
|
+
resourceName?: string | undefined;
|
|
142
125
|
constructor(
|
|
143
|
-
opts: __ExceptionOptionType<
|
|
126
|
+
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
144
127
|
);
|
|
145
128
|
}
|
|
146
|
-
export
|
|
147
|
-
|
|
129
|
+
export declare const AutomatedReasoningCheckResult: {
|
|
130
|
+
readonly IMPOSSIBLE: "IMPOSSIBLE";
|
|
131
|
+
readonly INVALID: "INVALID";
|
|
132
|
+
readonly NO_TRANSLATION: "NO_TRANSLATION";
|
|
133
|
+
readonly SATISFIABLE: "SATISFIABLE";
|
|
134
|
+
readonly TOO_COMPLEX: "TOO_COMPLEX";
|
|
135
|
+
readonly TRANSLATION_AMBIGUOUS: "TRANSLATION_AMBIGUOUS";
|
|
136
|
+
readonly VALID: "VALID";
|
|
137
|
+
};
|
|
138
|
+
export type AutomatedReasoningCheckResult =
|
|
139
|
+
(typeof AutomatedReasoningCheckResult)[keyof typeof AutomatedReasoningCheckResult];
|
|
140
|
+
export interface CreateAutomatedReasoningPolicyTestCaseRequest {
|
|
141
|
+
policyArn: string | undefined;
|
|
142
|
+
guardContent: string | undefined;
|
|
143
|
+
queryContent?: string | undefined;
|
|
144
|
+
expectedAggregatedFindingsResult: AutomatedReasoningCheckResult | undefined;
|
|
145
|
+
clientRequestToken?: string | undefined;
|
|
146
|
+
confidenceThreshold?: number | undefined;
|
|
148
147
|
}
|
|
149
|
-
export interface
|
|
150
|
-
|
|
148
|
+
export interface CreateAutomatedReasoningPolicyTestCaseResponse {
|
|
149
|
+
policyArn: string | undefined;
|
|
150
|
+
testCaseId: string | undefined;
|
|
151
151
|
}
|
|
152
|
-
export interface
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
152
|
+
export interface CreateAutomatedReasoningPolicyVersionRequest {
|
|
153
|
+
policyArn: string | undefined;
|
|
154
|
+
clientRequestToken?: string | undefined;
|
|
155
|
+
lastUpdatedDefinitionHash: string | undefined;
|
|
156
|
+
tags?: Tag[] | undefined;
|
|
156
157
|
}
|
|
157
|
-
export interface
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
158
|
+
export interface CreateAutomatedReasoningPolicyVersionResponse {
|
|
159
|
+
policyArn: string | undefined;
|
|
160
|
+
version: string | undefined;
|
|
161
|
+
name: string | undefined;
|
|
162
|
+
description?: string | undefined;
|
|
163
|
+
definitionHash: string | undefined;
|
|
162
164
|
createdAt: Date | undefined;
|
|
163
|
-
updatedAt: Date | undefined;
|
|
164
|
-
}
|
|
165
|
-
export interface ListMarketplaceModelEndpointsResponse {
|
|
166
|
-
marketplaceModelEndpoints?: MarketplaceModelEndpointSummary[] | undefined;
|
|
167
|
-
nextToken?: string | undefined;
|
|
168
|
-
}
|
|
169
|
-
export interface RegisterMarketplaceModelEndpointRequest {
|
|
170
|
-
endpointIdentifier: string | undefined;
|
|
171
|
-
modelSourceIdentifier: string | undefined;
|
|
172
|
-
}
|
|
173
|
-
export interface RegisterMarketplaceModelEndpointResponse {
|
|
174
|
-
marketplaceModelEndpoint: MarketplaceModelEndpoint | undefined;
|
|
175
|
-
}
|
|
176
|
-
export interface UpdateMarketplaceModelEndpointRequest {
|
|
177
|
-
endpointArn: string | undefined;
|
|
178
|
-
endpointConfig: EndpointConfig | undefined;
|
|
179
|
-
clientRequestToken?: string | undefined;
|
|
180
165
|
}
|
|
181
|
-
export interface
|
|
182
|
-
|
|
166
|
+
export interface DeleteAutomatedReasoningPolicyRequest {
|
|
167
|
+
policyArn: string | undefined;
|
|
183
168
|
}
|
|
184
|
-
export interface
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
clientRequestToken?: string | undefined;
|
|
169
|
+
export interface DeleteAutomatedReasoningPolicyResponse {}
|
|
170
|
+
export interface DeleteAutomatedReasoningPolicyBuildWorkflowRequest {
|
|
171
|
+
policyArn: string | undefined;
|
|
172
|
+
buildWorkflowId: string | undefined;
|
|
173
|
+
lastUpdatedAt: Date | undefined;
|
|
190
174
|
}
|
|
191
|
-
export interface
|
|
192
|
-
|
|
175
|
+
export interface DeleteAutomatedReasoningPolicyBuildWorkflowResponse {}
|
|
176
|
+
export interface DeleteAutomatedReasoningPolicyTestCaseRequest {
|
|
177
|
+
policyArn: string | undefined;
|
|
178
|
+
testCaseId: string | undefined;
|
|
179
|
+
lastUpdatedAt: Date | undefined;
|
|
193
180
|
}
|
|
194
|
-
export
|
|
195
|
-
|
|
181
|
+
export interface DeleteAutomatedReasoningPolicyTestCaseResponse {}
|
|
182
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
183
|
+
readonly name: "ResourceInUseException";
|
|
196
184
|
readonly $fault: "client";
|
|
197
|
-
resourceName?: string | undefined;
|
|
198
185
|
constructor(
|
|
199
|
-
opts: __ExceptionOptionType<
|
|
186
|
+
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
200
187
|
);
|
|
201
188
|
}
|
|
202
|
-
export interface
|
|
203
|
-
|
|
189
|
+
export interface ExportAutomatedReasoningPolicyVersionRequest {
|
|
190
|
+
policyArn: string | undefined;
|
|
204
191
|
}
|
|
205
|
-
export interface
|
|
206
|
-
|
|
207
|
-
customModelDeploymentIdentifier: string | undefined;
|
|
192
|
+
export interface ExportAutomatedReasoningPolicyVersionResponse {
|
|
193
|
+
policyDefinition: AutomatedReasoningPolicyDefinition | undefined;
|
|
208
194
|
}
|
|
209
|
-
export
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
customModelDeploymentArn: string | undefined;
|
|
218
|
-
modelDeploymentName: string | undefined;
|
|
219
|
-
modelArn: string | undefined;
|
|
220
|
-
createdAt: Date | undefined;
|
|
221
|
-
status: CustomModelDeploymentStatus | undefined;
|
|
195
|
+
export interface GetAutomatedReasoningPolicyRequest {
|
|
196
|
+
policyArn: string | undefined;
|
|
197
|
+
}
|
|
198
|
+
export interface GetAutomatedReasoningPolicyResponse {
|
|
199
|
+
policyArn: string | undefined;
|
|
200
|
+
name: string | undefined;
|
|
201
|
+
version: string | undefined;
|
|
202
|
+
policyId: string | undefined;
|
|
222
203
|
description?: string | undefined;
|
|
223
|
-
|
|
224
|
-
|
|
204
|
+
definitionHash: string | undefined;
|
|
205
|
+
createdAt?: Date | undefined;
|
|
206
|
+
updatedAt: Date | undefined;
|
|
225
207
|
}
|
|
226
|
-
export
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
export type SortModelsBy = (typeof SortModelsBy)[keyof typeof SortModelsBy];
|
|
230
|
-
export declare const SortOrder: {
|
|
231
|
-
readonly ASCENDING: "Ascending";
|
|
232
|
-
readonly DESCENDING: "Descending";
|
|
233
|
-
};
|
|
234
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
235
|
-
export interface ListCustomModelDeploymentsRequest {
|
|
236
|
-
createdBefore?: Date | undefined;
|
|
237
|
-
createdAfter?: Date | undefined;
|
|
238
|
-
nameContains?: string | undefined;
|
|
239
|
-
maxResults?: number | undefined;
|
|
240
|
-
nextToken?: string | undefined;
|
|
241
|
-
sortBy?: SortModelsBy | undefined;
|
|
242
|
-
sortOrder?: SortOrder | undefined;
|
|
243
|
-
statusEquals?: CustomModelDeploymentStatus | undefined;
|
|
244
|
-
modelArnEquals?: string | undefined;
|
|
208
|
+
export interface GetAutomatedReasoningPolicyAnnotationsRequest {
|
|
209
|
+
policyArn: string | undefined;
|
|
210
|
+
buildWorkflowId: string | undefined;
|
|
245
211
|
}
|
|
246
|
-
export interface
|
|
247
|
-
|
|
248
|
-
customModelDeploymentName: string | undefined;
|
|
249
|
-
modelArn: string | undefined;
|
|
250
|
-
createdAt: Date | undefined;
|
|
251
|
-
status: CustomModelDeploymentStatus | undefined;
|
|
252
|
-
lastUpdatedAt?: Date | undefined;
|
|
253
|
-
failureMessage?: string | undefined;
|
|
212
|
+
export interface AutomatedReasoningPolicyAddRuleAnnotation {
|
|
213
|
+
expression: string | undefined;
|
|
254
214
|
}
|
|
255
|
-
export interface
|
|
256
|
-
|
|
257
|
-
modelDeploymentSummaries?: CustomModelDeploymentSummary[] | undefined;
|
|
215
|
+
export interface AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation {
|
|
216
|
+
naturalLanguage: string | undefined;
|
|
258
217
|
}
|
|
259
|
-
export interface
|
|
260
|
-
|
|
218
|
+
export interface AutomatedReasoningPolicyAddTypeAnnotation {
|
|
219
|
+
name: string | undefined;
|
|
220
|
+
description: string | undefined;
|
|
221
|
+
values: AutomatedReasoningPolicyDefinitionTypeValue[] | undefined;
|
|
261
222
|
}
|
|
262
|
-
export
|
|
263
|
-
|
|
|
264
|
-
|
|
|
265
|
-
|
|
266
|
-
interface S3DataSourceMember {
|
|
267
|
-
s3DataSource: S3DataSource;
|
|
268
|
-
$unknown?: never;
|
|
269
|
-
}
|
|
270
|
-
interface $UnknownMember {
|
|
271
|
-
s3DataSource?: never;
|
|
272
|
-
$unknown: [string, any];
|
|
273
|
-
}
|
|
274
|
-
interface Visitor<T> {
|
|
275
|
-
s3DataSource: (value: S3DataSource) => T;
|
|
276
|
-
_: (name: string, value: any) => T;
|
|
277
|
-
}
|
|
278
|
-
const visit: <T>(value: ModelDataSource, visitor: Visitor<T>) => T;
|
|
223
|
+
export interface AutomatedReasoningPolicyAddVariableAnnotation {
|
|
224
|
+
name: string | undefined;
|
|
225
|
+
type: string | undefined;
|
|
226
|
+
description: string | undefined;
|
|
279
227
|
}
|
|
280
|
-
export interface
|
|
281
|
-
|
|
282
|
-
modelSourceConfig: ModelDataSource | undefined;
|
|
283
|
-
modelKmsKeyArn?: string | undefined;
|
|
284
|
-
roleArn?: string | undefined;
|
|
285
|
-
modelTags?: Tag[] | undefined;
|
|
286
|
-
clientRequestToken?: string | undefined;
|
|
228
|
+
export interface AutomatedReasoningPolicyDeleteRuleAnnotation {
|
|
229
|
+
ruleId: string | undefined;
|
|
287
230
|
}
|
|
288
|
-
export interface
|
|
289
|
-
|
|
231
|
+
export interface AutomatedReasoningPolicyDeleteTypeAnnotation {
|
|
232
|
+
name: string | undefined;
|
|
290
233
|
}
|
|
291
|
-
export interface
|
|
292
|
-
|
|
234
|
+
export interface AutomatedReasoningPolicyDeleteVariableAnnotation {
|
|
235
|
+
name: string | undefined;
|
|
293
236
|
}
|
|
294
|
-
export interface
|
|
295
|
-
|
|
296
|
-
modelIdentifier: string | undefined;
|
|
237
|
+
export interface AutomatedReasoningPolicyIngestContentAnnotation {
|
|
238
|
+
content: string | undefined;
|
|
297
239
|
}
|
|
298
|
-
export interface
|
|
299
|
-
|
|
300
|
-
|
|
240
|
+
export interface AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation {
|
|
241
|
+
ruleIds?: string[] | undefined;
|
|
242
|
+
feedback: string | undefined;
|
|
301
243
|
}
|
|
302
|
-
export interface
|
|
303
|
-
|
|
244
|
+
export interface AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation {
|
|
245
|
+
ruleIds?: string[] | undefined;
|
|
246
|
+
scenarioExpression: string | undefined;
|
|
247
|
+
feedback?: string | undefined;
|
|
304
248
|
}
|
|
305
|
-
export
|
|
306
|
-
|
|
|
307
|
-
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
249
|
+
export interface AutomatedReasoningPolicyUpdateRuleAnnotation {
|
|
250
|
+
ruleId: string | undefined;
|
|
251
|
+
expression: string | undefined;
|
|
252
|
+
}
|
|
253
|
+
export interface AutomatedReasoningPolicyAddTypeValue {
|
|
254
|
+
value: string | undefined;
|
|
255
|
+
description?: string | undefined;
|
|
256
|
+
}
|
|
257
|
+
export interface AutomatedReasoningPolicyDeleteTypeValue {
|
|
258
|
+
value: string | undefined;
|
|
259
|
+
}
|
|
260
|
+
export interface AutomatedReasoningPolicyUpdateTypeValue {
|
|
261
|
+
value: string | undefined;
|
|
262
|
+
newValue?: string | undefined;
|
|
263
|
+
description?: string | undefined;
|
|
264
|
+
}
|
|
265
|
+
export type AutomatedReasoningPolicyTypeValueAnnotation =
|
|
266
|
+
| AutomatedReasoningPolicyTypeValueAnnotation.AddTypeValueMember
|
|
267
|
+
| AutomatedReasoningPolicyTypeValueAnnotation.DeleteTypeValueMember
|
|
268
|
+
| AutomatedReasoningPolicyTypeValueAnnotation.UpdateTypeValueMember
|
|
269
|
+
| AutomatedReasoningPolicyTypeValueAnnotation.$UnknownMember;
|
|
270
|
+
export declare namespace AutomatedReasoningPolicyTypeValueAnnotation {
|
|
271
|
+
interface AddTypeValueMember {
|
|
272
|
+
addTypeValue: AutomatedReasoningPolicyAddTypeValue;
|
|
273
|
+
updateTypeValue?: never;
|
|
274
|
+
deleteTypeValue?: never;
|
|
275
|
+
$unknown?: never;
|
|
276
|
+
}
|
|
277
|
+
interface UpdateTypeValueMember {
|
|
278
|
+
addTypeValue?: never;
|
|
279
|
+
updateTypeValue: AutomatedReasoningPolicyUpdateTypeValue;
|
|
280
|
+
deleteTypeValue?: never;
|
|
281
|
+
$unknown?: never;
|
|
282
|
+
}
|
|
283
|
+
interface DeleteTypeValueMember {
|
|
284
|
+
addTypeValue?: never;
|
|
285
|
+
updateTypeValue?: never;
|
|
286
|
+
deleteTypeValue: AutomatedReasoningPolicyDeleteTypeValue;
|
|
311
287
|
$unknown?: never;
|
|
312
288
|
}
|
|
313
289
|
interface $UnknownMember {
|
|
314
|
-
|
|
290
|
+
addTypeValue?: never;
|
|
291
|
+
updateTypeValue?: never;
|
|
292
|
+
deleteTypeValue?: never;
|
|
315
293
|
$unknown: [string, any];
|
|
316
294
|
}
|
|
317
295
|
interface Visitor<T> {
|
|
318
|
-
|
|
296
|
+
addTypeValue: (value: AutomatedReasoningPolicyAddTypeValue) => T;
|
|
297
|
+
updateTypeValue: (value: AutomatedReasoningPolicyUpdateTypeValue) => T;
|
|
298
|
+
deleteTypeValue: (value: AutomatedReasoningPolicyDeleteTypeValue) => T;
|
|
319
299
|
_: (name: string, value: any) => T;
|
|
320
300
|
}
|
|
321
|
-
const visit: <T>(
|
|
301
|
+
const visit: <T>(
|
|
302
|
+
value: AutomatedReasoningPolicyTypeValueAnnotation,
|
|
303
|
+
visitor: Visitor<T>
|
|
304
|
+
) => T;
|
|
322
305
|
}
|
|
323
|
-
export
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
};
|
|
329
|
-
export type CustomizationType =
|
|
330
|
-
(typeof CustomizationType)[keyof typeof CustomizationType];
|
|
331
|
-
export declare const ModelStatus: {
|
|
332
|
-
readonly ACTIVE: "Active";
|
|
333
|
-
readonly CREATING: "Creating";
|
|
334
|
-
readonly FAILED: "Failed";
|
|
335
|
-
};
|
|
336
|
-
export type ModelStatus = (typeof ModelStatus)[keyof typeof ModelStatus];
|
|
337
|
-
export interface OutputDataConfig {
|
|
338
|
-
s3Uri: string | undefined;
|
|
306
|
+
export interface AutomatedReasoningPolicyUpdateTypeAnnotation {
|
|
307
|
+
name: string | undefined;
|
|
308
|
+
newName?: string | undefined;
|
|
309
|
+
description?: string | undefined;
|
|
310
|
+
values: AutomatedReasoningPolicyTypeValueAnnotation[] | undefined;
|
|
339
311
|
}
|
|
340
|
-
export
|
|
341
|
-
|
|
|
342
|
-
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
312
|
+
export interface AutomatedReasoningPolicyUpdateVariableAnnotation {
|
|
313
|
+
name: string | undefined;
|
|
314
|
+
newName?: string | undefined;
|
|
315
|
+
description?: string | undefined;
|
|
316
|
+
}
|
|
317
|
+
export type AutomatedReasoningPolicyAnnotation =
|
|
318
|
+
| AutomatedReasoningPolicyAnnotation.AddRuleMember
|
|
319
|
+
| AutomatedReasoningPolicyAnnotation.AddRuleFromNaturalLanguageMember
|
|
320
|
+
| AutomatedReasoningPolicyAnnotation.AddTypeMember
|
|
321
|
+
| AutomatedReasoningPolicyAnnotation.AddVariableMember
|
|
322
|
+
| AutomatedReasoningPolicyAnnotation.DeleteRuleMember
|
|
323
|
+
| AutomatedReasoningPolicyAnnotation.DeleteTypeMember
|
|
324
|
+
| AutomatedReasoningPolicyAnnotation.DeleteVariableMember
|
|
325
|
+
| AutomatedReasoningPolicyAnnotation.IngestContentMember
|
|
326
|
+
| AutomatedReasoningPolicyAnnotation.UpdateFromRulesFeedbackMember
|
|
327
|
+
| AutomatedReasoningPolicyAnnotation.UpdateFromScenarioFeedbackMember
|
|
328
|
+
| AutomatedReasoningPolicyAnnotation.UpdateRuleMember
|
|
329
|
+
| AutomatedReasoningPolicyAnnotation.UpdateTypeMember
|
|
330
|
+
| AutomatedReasoningPolicyAnnotation.UpdateVariableMember
|
|
331
|
+
| AutomatedReasoningPolicyAnnotation.$UnknownMember;
|
|
332
|
+
export declare namespace AutomatedReasoningPolicyAnnotation {
|
|
333
|
+
interface AddTypeMember {
|
|
334
|
+
addType: AutomatedReasoningPolicyAddTypeAnnotation;
|
|
335
|
+
updateType?: never;
|
|
336
|
+
deleteType?: never;
|
|
337
|
+
addVariable?: never;
|
|
338
|
+
updateVariable?: never;
|
|
339
|
+
deleteVariable?: never;
|
|
340
|
+
addRule?: never;
|
|
341
|
+
updateRule?: never;
|
|
342
|
+
deleteRule?: never;
|
|
343
|
+
addRuleFromNaturalLanguage?: never;
|
|
344
|
+
updateFromRulesFeedback?: never;
|
|
345
|
+
updateFromScenarioFeedback?: never;
|
|
346
|
+
ingestContent?: never;
|
|
346
347
|
$unknown?: never;
|
|
347
348
|
}
|
|
348
|
-
interface
|
|
349
|
-
|
|
350
|
-
|
|
349
|
+
interface UpdateTypeMember {
|
|
350
|
+
addType?: never;
|
|
351
|
+
updateType: AutomatedReasoningPolicyUpdateTypeAnnotation;
|
|
352
|
+
deleteType?: never;
|
|
353
|
+
addVariable?: never;
|
|
354
|
+
updateVariable?: never;
|
|
355
|
+
deleteVariable?: never;
|
|
356
|
+
addRule?: never;
|
|
357
|
+
updateRule?: never;
|
|
358
|
+
deleteRule?: never;
|
|
359
|
+
addRuleFromNaturalLanguage?: never;
|
|
360
|
+
updateFromRulesFeedback?: never;
|
|
361
|
+
updateFromScenarioFeedback?: never;
|
|
362
|
+
ingestContent?: never;
|
|
363
|
+
$unknown?: never;
|
|
351
364
|
}
|
|
352
|
-
interface
|
|
353
|
-
|
|
354
|
-
|
|
365
|
+
interface DeleteTypeMember {
|
|
366
|
+
addType?: never;
|
|
367
|
+
updateType?: never;
|
|
368
|
+
deleteType: AutomatedReasoningPolicyDeleteTypeAnnotation;
|
|
369
|
+
addVariable?: never;
|
|
370
|
+
updateVariable?: never;
|
|
371
|
+
deleteVariable?: never;
|
|
372
|
+
addRule?: never;
|
|
373
|
+
updateRule?: never;
|
|
374
|
+
deleteRule?: never;
|
|
375
|
+
addRuleFromNaturalLanguage?: never;
|
|
376
|
+
updateFromRulesFeedback?: never;
|
|
377
|
+
updateFromScenarioFeedback?: never;
|
|
378
|
+
ingestContent?: never;
|
|
379
|
+
$unknown?: never;
|
|
355
380
|
}
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
equals: Record<string, string>;
|
|
371
|
-
notEquals?: never;
|
|
372
|
-
andAll?: never;
|
|
373
|
-
orAll?: never;
|
|
381
|
+
interface AddVariableMember {
|
|
382
|
+
addType?: never;
|
|
383
|
+
updateType?: never;
|
|
384
|
+
deleteType?: never;
|
|
385
|
+
addVariable: AutomatedReasoningPolicyAddVariableAnnotation;
|
|
386
|
+
updateVariable?: never;
|
|
387
|
+
deleteVariable?: never;
|
|
388
|
+
addRule?: never;
|
|
389
|
+
updateRule?: never;
|
|
390
|
+
deleteRule?: never;
|
|
391
|
+
addRuleFromNaturalLanguage?: never;
|
|
392
|
+
updateFromRulesFeedback?: never;
|
|
393
|
+
updateFromScenarioFeedback?: never;
|
|
394
|
+
ingestContent?: never;
|
|
374
395
|
$unknown?: never;
|
|
375
396
|
}
|
|
376
|
-
interface
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
397
|
+
interface UpdateVariableMember {
|
|
398
|
+
addType?: never;
|
|
399
|
+
updateType?: never;
|
|
400
|
+
deleteType?: never;
|
|
401
|
+
addVariable?: never;
|
|
402
|
+
updateVariable: AutomatedReasoningPolicyUpdateVariableAnnotation;
|
|
403
|
+
deleteVariable?: never;
|
|
404
|
+
addRule?: never;
|
|
405
|
+
updateRule?: never;
|
|
406
|
+
deleteRule?: never;
|
|
407
|
+
addRuleFromNaturalLanguage?: never;
|
|
408
|
+
updateFromRulesFeedback?: never;
|
|
409
|
+
updateFromScenarioFeedback?: never;
|
|
410
|
+
ingestContent?: never;
|
|
381
411
|
$unknown?: never;
|
|
382
412
|
}
|
|
383
|
-
interface
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
413
|
+
interface DeleteVariableMember {
|
|
414
|
+
addType?: never;
|
|
415
|
+
updateType?: never;
|
|
416
|
+
deleteType?: never;
|
|
417
|
+
addVariable?: never;
|
|
418
|
+
updateVariable?: never;
|
|
419
|
+
deleteVariable: AutomatedReasoningPolicyDeleteVariableAnnotation;
|
|
420
|
+
addRule?: never;
|
|
421
|
+
updateRule?: never;
|
|
422
|
+
deleteRule?: never;
|
|
423
|
+
addRuleFromNaturalLanguage?: never;
|
|
424
|
+
updateFromRulesFeedback?: never;
|
|
425
|
+
updateFromScenarioFeedback?: never;
|
|
426
|
+
ingestContent?: never;
|
|
388
427
|
$unknown?: never;
|
|
389
428
|
}
|
|
390
|
-
interface
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
429
|
+
interface AddRuleMember {
|
|
430
|
+
addType?: never;
|
|
431
|
+
updateType?: never;
|
|
432
|
+
deleteType?: never;
|
|
433
|
+
addVariable?: never;
|
|
434
|
+
updateVariable?: never;
|
|
435
|
+
deleteVariable?: never;
|
|
436
|
+
addRule: AutomatedReasoningPolicyAddRuleAnnotation;
|
|
437
|
+
updateRule?: never;
|
|
438
|
+
deleteRule?: never;
|
|
439
|
+
addRuleFromNaturalLanguage?: never;
|
|
440
|
+
updateFromRulesFeedback?: never;
|
|
441
|
+
updateFromScenarioFeedback?: never;
|
|
442
|
+
ingestContent?: never;
|
|
443
|
+
$unknown?: never;
|
|
444
|
+
}
|
|
445
|
+
interface UpdateRuleMember {
|
|
446
|
+
addType?: never;
|
|
447
|
+
updateType?: never;
|
|
448
|
+
deleteType?: never;
|
|
449
|
+
addVariable?: never;
|
|
450
|
+
updateVariable?: never;
|
|
451
|
+
deleteVariable?: never;
|
|
452
|
+
addRule?: never;
|
|
453
|
+
updateRule: AutomatedReasoningPolicyUpdateRuleAnnotation;
|
|
454
|
+
deleteRule?: never;
|
|
455
|
+
addRuleFromNaturalLanguage?: never;
|
|
456
|
+
updateFromRulesFeedback?: never;
|
|
457
|
+
updateFromScenarioFeedback?: never;
|
|
458
|
+
ingestContent?: never;
|
|
459
|
+
$unknown?: never;
|
|
460
|
+
}
|
|
461
|
+
interface DeleteRuleMember {
|
|
462
|
+
addType?: never;
|
|
463
|
+
updateType?: never;
|
|
464
|
+
deleteType?: never;
|
|
465
|
+
addVariable?: never;
|
|
466
|
+
updateVariable?: never;
|
|
467
|
+
deleteVariable?: never;
|
|
468
|
+
addRule?: never;
|
|
469
|
+
updateRule?: never;
|
|
470
|
+
deleteRule: AutomatedReasoningPolicyDeleteRuleAnnotation;
|
|
471
|
+
addRuleFromNaturalLanguage?: never;
|
|
472
|
+
updateFromRulesFeedback?: never;
|
|
473
|
+
updateFromScenarioFeedback?: never;
|
|
474
|
+
ingestContent?: never;
|
|
475
|
+
$unknown?: never;
|
|
476
|
+
}
|
|
477
|
+
interface AddRuleFromNaturalLanguageMember {
|
|
478
|
+
addType?: never;
|
|
479
|
+
updateType?: never;
|
|
480
|
+
deleteType?: never;
|
|
481
|
+
addVariable?: never;
|
|
482
|
+
updateVariable?: never;
|
|
483
|
+
deleteVariable?: never;
|
|
484
|
+
addRule?: never;
|
|
485
|
+
updateRule?: never;
|
|
486
|
+
deleteRule?: never;
|
|
487
|
+
addRuleFromNaturalLanguage: AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation;
|
|
488
|
+
updateFromRulesFeedback?: never;
|
|
489
|
+
updateFromScenarioFeedback?: never;
|
|
490
|
+
ingestContent?: never;
|
|
491
|
+
$unknown?: never;
|
|
492
|
+
}
|
|
493
|
+
interface UpdateFromRulesFeedbackMember {
|
|
494
|
+
addType?: never;
|
|
495
|
+
updateType?: never;
|
|
496
|
+
deleteType?: never;
|
|
497
|
+
addVariable?: never;
|
|
498
|
+
updateVariable?: never;
|
|
499
|
+
deleteVariable?: never;
|
|
500
|
+
addRule?: never;
|
|
501
|
+
updateRule?: never;
|
|
502
|
+
deleteRule?: never;
|
|
503
|
+
addRuleFromNaturalLanguage?: never;
|
|
504
|
+
updateFromRulesFeedback: AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation;
|
|
505
|
+
updateFromScenarioFeedback?: never;
|
|
506
|
+
ingestContent?: never;
|
|
507
|
+
$unknown?: never;
|
|
508
|
+
}
|
|
509
|
+
interface UpdateFromScenarioFeedbackMember {
|
|
510
|
+
addType?: never;
|
|
511
|
+
updateType?: never;
|
|
512
|
+
deleteType?: never;
|
|
513
|
+
addVariable?: never;
|
|
514
|
+
updateVariable?: never;
|
|
515
|
+
deleteVariable?: never;
|
|
516
|
+
addRule?: never;
|
|
517
|
+
updateRule?: never;
|
|
518
|
+
deleteRule?: never;
|
|
519
|
+
addRuleFromNaturalLanguage?: never;
|
|
520
|
+
updateFromRulesFeedback?: never;
|
|
521
|
+
updateFromScenarioFeedback: AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation;
|
|
522
|
+
ingestContent?: never;
|
|
523
|
+
$unknown?: never;
|
|
524
|
+
}
|
|
525
|
+
interface IngestContentMember {
|
|
526
|
+
addType?: never;
|
|
527
|
+
updateType?: never;
|
|
528
|
+
deleteType?: never;
|
|
529
|
+
addVariable?: never;
|
|
530
|
+
updateVariable?: never;
|
|
531
|
+
deleteVariable?: never;
|
|
532
|
+
addRule?: never;
|
|
533
|
+
updateRule?: never;
|
|
534
|
+
deleteRule?: never;
|
|
535
|
+
addRuleFromNaturalLanguage?: never;
|
|
536
|
+
updateFromRulesFeedback?: never;
|
|
537
|
+
updateFromScenarioFeedback?: never;
|
|
538
|
+
ingestContent: AutomatedReasoningPolicyIngestContentAnnotation;
|
|
395
539
|
$unknown?: never;
|
|
396
540
|
}
|
|
397
541
|
interface $UnknownMember {
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
542
|
+
addType?: never;
|
|
543
|
+
updateType?: never;
|
|
544
|
+
deleteType?: never;
|
|
545
|
+
addVariable?: never;
|
|
546
|
+
updateVariable?: never;
|
|
547
|
+
deleteVariable?: never;
|
|
548
|
+
addRule?: never;
|
|
549
|
+
updateRule?: never;
|
|
550
|
+
deleteRule?: never;
|
|
551
|
+
addRuleFromNaturalLanguage?: never;
|
|
552
|
+
updateFromRulesFeedback?: never;
|
|
553
|
+
updateFromScenarioFeedback?: never;
|
|
554
|
+
ingestContent?: never;
|
|
402
555
|
$unknown: [string, any];
|
|
403
556
|
}
|
|
404
557
|
interface Visitor<T> {
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
558
|
+
addType: (value: AutomatedReasoningPolicyAddTypeAnnotation) => T;
|
|
559
|
+
updateType: (value: AutomatedReasoningPolicyUpdateTypeAnnotation) => T;
|
|
560
|
+
deleteType: (value: AutomatedReasoningPolicyDeleteTypeAnnotation) => T;
|
|
561
|
+
addVariable: (value: AutomatedReasoningPolicyAddVariableAnnotation) => T;
|
|
562
|
+
updateVariable: (
|
|
563
|
+
value: AutomatedReasoningPolicyUpdateVariableAnnotation
|
|
564
|
+
) => T;
|
|
565
|
+
deleteVariable: (
|
|
566
|
+
value: AutomatedReasoningPolicyDeleteVariableAnnotation
|
|
567
|
+
) => T;
|
|
568
|
+
addRule: (value: AutomatedReasoningPolicyAddRuleAnnotation) => T;
|
|
569
|
+
updateRule: (value: AutomatedReasoningPolicyUpdateRuleAnnotation) => T;
|
|
570
|
+
deleteRule: (value: AutomatedReasoningPolicyDeleteRuleAnnotation) => T;
|
|
571
|
+
addRuleFromNaturalLanguage: (
|
|
572
|
+
value: AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation
|
|
573
|
+
) => T;
|
|
574
|
+
updateFromRulesFeedback: (
|
|
575
|
+
value: AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation
|
|
576
|
+
) => T;
|
|
577
|
+
updateFromScenarioFeedback: (
|
|
578
|
+
value: AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation
|
|
579
|
+
) => T;
|
|
580
|
+
ingestContent: (
|
|
581
|
+
value: AutomatedReasoningPolicyIngestContentAnnotation
|
|
582
|
+
) => T;
|
|
409
583
|
_: (name: string, value: any) => T;
|
|
410
584
|
}
|
|
411
|
-
const visit: <T>(
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
invocationLogSource: InvocationLogSource | undefined;
|
|
416
|
-
requestMetadataFilters?: RequestMetadataFilters | undefined;
|
|
417
|
-
}
|
|
418
|
-
export interface TrainingDataConfig {
|
|
419
|
-
s3Uri?: string | undefined;
|
|
420
|
-
invocationLogsConfig?: InvocationLogsConfig | undefined;
|
|
421
|
-
}
|
|
422
|
-
export interface TrainingMetrics {
|
|
423
|
-
trainingLoss?: number | undefined;
|
|
424
|
-
}
|
|
425
|
-
export interface Validator {
|
|
426
|
-
s3Uri: string | undefined;
|
|
585
|
+
const visit: <T>(
|
|
586
|
+
value: AutomatedReasoningPolicyAnnotation,
|
|
587
|
+
visitor: Visitor<T>
|
|
588
|
+
) => T;
|
|
427
589
|
}
|
|
428
|
-
export interface
|
|
429
|
-
|
|
590
|
+
export interface GetAutomatedReasoningPolicyAnnotationsResponse {
|
|
591
|
+
policyArn: string | undefined;
|
|
592
|
+
name: string | undefined;
|
|
593
|
+
buildWorkflowId: string | undefined;
|
|
594
|
+
annotations: AutomatedReasoningPolicyAnnotation[] | undefined;
|
|
595
|
+
annotationSetHash: string | undefined;
|
|
596
|
+
updatedAt: Date | undefined;
|
|
430
597
|
}
|
|
431
|
-
export interface
|
|
432
|
-
|
|
598
|
+
export interface GetAutomatedReasoningPolicyBuildWorkflowRequest {
|
|
599
|
+
policyArn: string | undefined;
|
|
600
|
+
buildWorkflowId: string | undefined;
|
|
433
601
|
}
|
|
434
|
-
export
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
602
|
+
export declare const AutomatedReasoningPolicyBuildWorkflowType: {
|
|
603
|
+
readonly IMPORT_POLICY: "IMPORT_POLICY";
|
|
604
|
+
readonly INGEST_CONTENT: "INGEST_CONTENT";
|
|
605
|
+
readonly REFINE_POLICY: "REFINE_POLICY";
|
|
606
|
+
};
|
|
607
|
+
export type AutomatedReasoningPolicyBuildWorkflowType =
|
|
608
|
+
(typeof AutomatedReasoningPolicyBuildWorkflowType)[keyof typeof AutomatedReasoningPolicyBuildWorkflowType];
|
|
609
|
+
export declare const AutomatedReasoningPolicyBuildDocumentContentType: {
|
|
610
|
+
readonly PDF: "pdf";
|
|
611
|
+
readonly TEXT: "txt";
|
|
612
|
+
};
|
|
613
|
+
export type AutomatedReasoningPolicyBuildDocumentContentType =
|
|
614
|
+
(typeof AutomatedReasoningPolicyBuildDocumentContentType)[keyof typeof AutomatedReasoningPolicyBuildDocumentContentType];
|
|
615
|
+
export declare const AutomatedReasoningPolicyBuildWorkflowStatus: {
|
|
616
|
+
readonly BUILDING: "BUILDING";
|
|
617
|
+
readonly CANCELLED: "CANCELLED";
|
|
618
|
+
readonly CANCEL_REQUESTED: "CANCEL_REQUESTED";
|
|
619
|
+
readonly COMPLETED: "COMPLETED";
|
|
620
|
+
readonly FAILED: "FAILED";
|
|
621
|
+
readonly PREPROCESSING: "PREPROCESSING";
|
|
622
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
623
|
+
readonly TESTING: "TESTING";
|
|
624
|
+
};
|
|
625
|
+
export type AutomatedReasoningPolicyBuildWorkflowStatus =
|
|
626
|
+
(typeof AutomatedReasoningPolicyBuildWorkflowStatus)[keyof typeof AutomatedReasoningPolicyBuildWorkflowStatus];
|
|
627
|
+
export interface GetAutomatedReasoningPolicyBuildWorkflowResponse {
|
|
628
|
+
policyArn: string | undefined;
|
|
629
|
+
buildWorkflowId: string | undefined;
|
|
630
|
+
status: AutomatedReasoningPolicyBuildWorkflowStatus | undefined;
|
|
631
|
+
buildWorkflowType: AutomatedReasoningPolicyBuildWorkflowType | undefined;
|
|
632
|
+
documentName?: string | undefined;
|
|
633
|
+
documentContentType?:
|
|
634
|
+
| AutomatedReasoningPolicyBuildDocumentContentType
|
|
635
|
+
| undefined;
|
|
636
|
+
documentDescription?: string | undefined;
|
|
637
|
+
createdAt: Date | undefined;
|
|
638
|
+
updatedAt: Date | undefined;
|
|
452
639
|
}
|
|
453
|
-
export
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
modelStatus?: ModelStatus | undefined;
|
|
640
|
+
export declare const AutomatedReasoningPolicyBuildResultAssetType: {
|
|
641
|
+
readonly BUILD_LOG: "BUILD_LOG";
|
|
642
|
+
readonly POLICY_DEFINITION: "POLICY_DEFINITION";
|
|
643
|
+
readonly QUALITY_REPORT: "QUALITY_REPORT";
|
|
644
|
+
};
|
|
645
|
+
export type AutomatedReasoningPolicyBuildResultAssetType =
|
|
646
|
+
(typeof AutomatedReasoningPolicyBuildResultAssetType)[keyof typeof AutomatedReasoningPolicyBuildResultAssetType];
|
|
647
|
+
export interface GetAutomatedReasoningPolicyBuildWorkflowResultAssetsRequest {
|
|
648
|
+
policyArn: string | undefined;
|
|
649
|
+
buildWorkflowId: string | undefined;
|
|
650
|
+
assetType: AutomatedReasoningPolicyBuildResultAssetType | undefined;
|
|
465
651
|
}
|
|
466
|
-
export interface
|
|
467
|
-
|
|
468
|
-
modelName: string | undefined;
|
|
469
|
-
creationTime: Date | undefined;
|
|
470
|
-
baseModelArn: string | undefined;
|
|
471
|
-
baseModelName: string | undefined;
|
|
472
|
-
customizationType?: CustomizationType | undefined;
|
|
473
|
-
ownerAccountId?: string | undefined;
|
|
474
|
-
modelStatus?: ModelStatus | undefined;
|
|
652
|
+
export interface AutomatedReasoningPolicyAddRuleMutation {
|
|
653
|
+
rule: AutomatedReasoningPolicyDefinitionRule | undefined;
|
|
475
654
|
}
|
|
476
|
-
export interface
|
|
477
|
-
|
|
478
|
-
modelSummaries?: CustomModelSummary[] | undefined;
|
|
655
|
+
export interface AutomatedReasoningPolicyAddTypeMutation {
|
|
656
|
+
type: AutomatedReasoningPolicyDefinitionType | undefined;
|
|
479
657
|
}
|
|
480
|
-
export interface
|
|
481
|
-
|
|
658
|
+
export interface AutomatedReasoningPolicyAddVariableMutation {
|
|
659
|
+
variable: AutomatedReasoningPolicyDefinitionVariable | undefined;
|
|
482
660
|
}
|
|
483
|
-
export interface
|
|
484
|
-
|
|
485
|
-
code: string | undefined;
|
|
486
|
-
message?: string | undefined;
|
|
661
|
+
export interface AutomatedReasoningPolicyDeleteRuleMutation {
|
|
662
|
+
id: string | undefined;
|
|
487
663
|
}
|
|
488
|
-
export
|
|
489
|
-
|
|
490
|
-
readonly DELETING: "Deleting";
|
|
491
|
-
readonly FAILED: "Failed";
|
|
492
|
-
readonly IN_PROGRESS: "InProgress";
|
|
493
|
-
readonly STOPPED: "Stopped";
|
|
494
|
-
readonly STOPPING: "Stopping";
|
|
495
|
-
};
|
|
496
|
-
export type EvaluationJobStatus =
|
|
497
|
-
(typeof EvaluationJobStatus)[keyof typeof EvaluationJobStatus];
|
|
498
|
-
export interface BatchDeleteEvaluationJobItem {
|
|
499
|
-
jobIdentifier: string | undefined;
|
|
500
|
-
jobStatus: EvaluationJobStatus | undefined;
|
|
664
|
+
export interface AutomatedReasoningPolicyDeleteTypeMutation {
|
|
665
|
+
name: string | undefined;
|
|
501
666
|
}
|
|
502
|
-
export interface
|
|
503
|
-
|
|
504
|
-
evaluationJobs: BatchDeleteEvaluationJobItem[] | undefined;
|
|
667
|
+
export interface AutomatedReasoningPolicyDeleteVariableMutation {
|
|
668
|
+
name: string | undefined;
|
|
505
669
|
}
|
|
506
|
-
export
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
export
|
|
513
|
-
|
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
670
|
+
export interface AutomatedReasoningPolicyUpdateRuleMutation {
|
|
671
|
+
rule: AutomatedReasoningPolicyDefinitionRule | undefined;
|
|
672
|
+
}
|
|
673
|
+
export interface AutomatedReasoningPolicyUpdateTypeMutation {
|
|
674
|
+
type: AutomatedReasoningPolicyDefinitionType | undefined;
|
|
675
|
+
}
|
|
676
|
+
export interface AutomatedReasoningPolicyUpdateVariableMutation {
|
|
677
|
+
variable: AutomatedReasoningPolicyDefinitionVariable | undefined;
|
|
678
|
+
}
|
|
679
|
+
export type AutomatedReasoningPolicyMutation =
|
|
680
|
+
| AutomatedReasoningPolicyMutation.AddRuleMember
|
|
681
|
+
| AutomatedReasoningPolicyMutation.AddTypeMember
|
|
682
|
+
| AutomatedReasoningPolicyMutation.AddVariableMember
|
|
683
|
+
| AutomatedReasoningPolicyMutation.DeleteRuleMember
|
|
684
|
+
| AutomatedReasoningPolicyMutation.DeleteTypeMember
|
|
685
|
+
| AutomatedReasoningPolicyMutation.DeleteVariableMember
|
|
686
|
+
| AutomatedReasoningPolicyMutation.UpdateRuleMember
|
|
687
|
+
| AutomatedReasoningPolicyMutation.UpdateTypeMember
|
|
688
|
+
| AutomatedReasoningPolicyMutation.UpdateVariableMember
|
|
689
|
+
| AutomatedReasoningPolicyMutation.$UnknownMember;
|
|
690
|
+
export declare namespace AutomatedReasoningPolicyMutation {
|
|
691
|
+
interface AddTypeMember {
|
|
692
|
+
addType: AutomatedReasoningPolicyAddTypeMutation;
|
|
693
|
+
updateType?: never;
|
|
694
|
+
deleteType?: never;
|
|
695
|
+
addVariable?: never;
|
|
696
|
+
updateVariable?: never;
|
|
697
|
+
deleteVariable?: never;
|
|
698
|
+
addRule?: never;
|
|
699
|
+
updateRule?: never;
|
|
700
|
+
deleteRule?: never;
|
|
520
701
|
$unknown?: never;
|
|
521
702
|
}
|
|
522
|
-
interface
|
|
523
|
-
|
|
524
|
-
|
|
703
|
+
interface UpdateTypeMember {
|
|
704
|
+
addType?: never;
|
|
705
|
+
updateType: AutomatedReasoningPolicyUpdateTypeMutation;
|
|
706
|
+
deleteType?: never;
|
|
707
|
+
addVariable?: never;
|
|
708
|
+
updateVariable?: never;
|
|
709
|
+
deleteVariable?: never;
|
|
710
|
+
addRule?: never;
|
|
711
|
+
updateRule?: never;
|
|
712
|
+
deleteRule?: never;
|
|
713
|
+
$unknown?: never;
|
|
714
|
+
}
|
|
715
|
+
interface DeleteTypeMember {
|
|
716
|
+
addType?: never;
|
|
717
|
+
updateType?: never;
|
|
718
|
+
deleteType: AutomatedReasoningPolicyDeleteTypeMutation;
|
|
719
|
+
addVariable?: never;
|
|
720
|
+
updateVariable?: never;
|
|
721
|
+
deleteVariable?: never;
|
|
722
|
+
addRule?: never;
|
|
723
|
+
updateRule?: never;
|
|
724
|
+
deleteRule?: never;
|
|
725
|
+
$unknown?: never;
|
|
726
|
+
}
|
|
727
|
+
interface AddVariableMember {
|
|
728
|
+
addType?: never;
|
|
729
|
+
updateType?: never;
|
|
730
|
+
deleteType?: never;
|
|
731
|
+
addVariable: AutomatedReasoningPolicyAddVariableMutation;
|
|
732
|
+
updateVariable?: never;
|
|
733
|
+
deleteVariable?: never;
|
|
734
|
+
addRule?: never;
|
|
735
|
+
updateRule?: never;
|
|
736
|
+
deleteRule?: never;
|
|
737
|
+
$unknown?: never;
|
|
738
|
+
}
|
|
739
|
+
interface UpdateVariableMember {
|
|
740
|
+
addType?: never;
|
|
741
|
+
updateType?: never;
|
|
742
|
+
deleteType?: never;
|
|
743
|
+
addVariable?: never;
|
|
744
|
+
updateVariable: AutomatedReasoningPolicyUpdateVariableMutation;
|
|
745
|
+
deleteVariable?: never;
|
|
746
|
+
addRule?: never;
|
|
747
|
+
updateRule?: never;
|
|
748
|
+
deleteRule?: never;
|
|
749
|
+
$unknown?: never;
|
|
750
|
+
}
|
|
751
|
+
interface DeleteVariableMember {
|
|
752
|
+
addType?: never;
|
|
753
|
+
updateType?: never;
|
|
754
|
+
deleteType?: never;
|
|
755
|
+
addVariable?: never;
|
|
756
|
+
updateVariable?: never;
|
|
757
|
+
deleteVariable: AutomatedReasoningPolicyDeleteVariableMutation;
|
|
758
|
+
addRule?: never;
|
|
759
|
+
updateRule?: never;
|
|
760
|
+
deleteRule?: never;
|
|
761
|
+
$unknown?: never;
|
|
762
|
+
}
|
|
763
|
+
interface AddRuleMember {
|
|
764
|
+
addType?: never;
|
|
765
|
+
updateType?: never;
|
|
766
|
+
deleteType?: never;
|
|
767
|
+
addVariable?: never;
|
|
768
|
+
updateVariable?: never;
|
|
769
|
+
deleteVariable?: never;
|
|
770
|
+
addRule: AutomatedReasoningPolicyAddRuleMutation;
|
|
771
|
+
updateRule?: never;
|
|
772
|
+
deleteRule?: never;
|
|
773
|
+
$unknown?: never;
|
|
774
|
+
}
|
|
775
|
+
interface UpdateRuleMember {
|
|
776
|
+
addType?: never;
|
|
777
|
+
updateType?: never;
|
|
778
|
+
deleteType?: never;
|
|
779
|
+
addVariable?: never;
|
|
780
|
+
updateVariable?: never;
|
|
781
|
+
deleteVariable?: never;
|
|
782
|
+
addRule?: never;
|
|
783
|
+
updateRule: AutomatedReasoningPolicyUpdateRuleMutation;
|
|
784
|
+
deleteRule?: never;
|
|
785
|
+
$unknown?: never;
|
|
786
|
+
}
|
|
787
|
+
interface DeleteRuleMember {
|
|
788
|
+
addType?: never;
|
|
789
|
+
updateType?: never;
|
|
790
|
+
deleteType?: never;
|
|
791
|
+
addVariable?: never;
|
|
792
|
+
updateVariable?: never;
|
|
793
|
+
deleteVariable?: never;
|
|
794
|
+
addRule?: never;
|
|
795
|
+
updateRule?: never;
|
|
796
|
+
deleteRule: AutomatedReasoningPolicyDeleteRuleMutation;
|
|
525
797
|
$unknown?: never;
|
|
526
798
|
}
|
|
527
799
|
interface $UnknownMember {
|
|
528
|
-
|
|
529
|
-
|
|
800
|
+
addType?: never;
|
|
801
|
+
updateType?: never;
|
|
802
|
+
deleteType?: never;
|
|
803
|
+
addVariable?: never;
|
|
804
|
+
updateVariable?: never;
|
|
805
|
+
deleteVariable?: never;
|
|
806
|
+
addRule?: never;
|
|
807
|
+
updateRule?: never;
|
|
808
|
+
deleteRule?: never;
|
|
530
809
|
$unknown: [string, any];
|
|
531
810
|
}
|
|
532
811
|
interface Visitor<T> {
|
|
533
|
-
|
|
534
|
-
|
|
812
|
+
addType: (value: AutomatedReasoningPolicyAddTypeMutation) => T;
|
|
813
|
+
updateType: (value: AutomatedReasoningPolicyUpdateTypeMutation) => T;
|
|
814
|
+
deleteType: (value: AutomatedReasoningPolicyDeleteTypeMutation) => T;
|
|
815
|
+
addVariable: (value: AutomatedReasoningPolicyAddVariableMutation) => T;
|
|
816
|
+
updateVariable: (
|
|
817
|
+
value: AutomatedReasoningPolicyUpdateVariableMutation
|
|
818
|
+
) => T;
|
|
819
|
+
deleteVariable: (
|
|
820
|
+
value: AutomatedReasoningPolicyDeleteVariableMutation
|
|
821
|
+
) => T;
|
|
822
|
+
addRule: (value: AutomatedReasoningPolicyAddRuleMutation) => T;
|
|
823
|
+
updateRule: (value: AutomatedReasoningPolicyUpdateRuleMutation) => T;
|
|
824
|
+
deleteRule: (value: AutomatedReasoningPolicyDeleteRuleMutation) => T;
|
|
535
825
|
_: (name: string, value: any) => T;
|
|
536
826
|
}
|
|
537
|
-
const visit: <T>(
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
value: RatingScaleItemValue | undefined;
|
|
542
|
-
}
|
|
543
|
-
export interface CustomMetricDefinition {
|
|
544
|
-
name: string | undefined;
|
|
545
|
-
instructions: string | undefined;
|
|
546
|
-
ratingScale?: RatingScaleItem[] | undefined;
|
|
827
|
+
const visit: <T>(
|
|
828
|
+
value: AutomatedReasoningPolicyMutation,
|
|
829
|
+
visitor: Visitor<T>
|
|
830
|
+
) => T;
|
|
547
831
|
}
|
|
548
|
-
export
|
|
549
|
-
|
|
550
|
-
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
832
|
+
export interface AutomatedReasoningPolicyPlanning {}
|
|
833
|
+
export type AutomatedReasoningPolicyBuildStepContext =
|
|
834
|
+
| AutomatedReasoningPolicyBuildStepContext.MutationMember
|
|
835
|
+
| AutomatedReasoningPolicyBuildStepContext.PlanningMember
|
|
836
|
+
| AutomatedReasoningPolicyBuildStepContext.$UnknownMember;
|
|
837
|
+
export declare namespace AutomatedReasoningPolicyBuildStepContext {
|
|
838
|
+
interface PlanningMember {
|
|
839
|
+
planning: AutomatedReasoningPolicyPlanning;
|
|
840
|
+
mutation?: never;
|
|
841
|
+
$unknown?: never;
|
|
842
|
+
}
|
|
843
|
+
interface MutationMember {
|
|
844
|
+
planning?: never;
|
|
845
|
+
mutation: AutomatedReasoningPolicyMutation;
|
|
554
846
|
$unknown?: never;
|
|
555
847
|
}
|
|
556
848
|
interface $UnknownMember {
|
|
557
|
-
|
|
849
|
+
planning?: never;
|
|
850
|
+
mutation?: never;
|
|
558
851
|
$unknown: [string, any];
|
|
559
852
|
}
|
|
560
853
|
interface Visitor<T> {
|
|
561
|
-
|
|
854
|
+
planning: (value: AutomatedReasoningPolicyPlanning) => T;
|
|
855
|
+
mutation: (value: AutomatedReasoningPolicyMutation) => T;
|
|
562
856
|
_: (name: string, value: any) => T;
|
|
563
857
|
}
|
|
564
858
|
const visit: <T>(
|
|
565
|
-
value:
|
|
859
|
+
value: AutomatedReasoningPolicyBuildStepContext,
|
|
566
860
|
visitor: Visitor<T>
|
|
567
861
|
) => T;
|
|
568
862
|
}
|
|
569
|
-
export
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
863
|
+
export declare const AutomatedReasoningPolicyBuildMessageType: {
|
|
864
|
+
readonly ERROR: "ERROR";
|
|
865
|
+
readonly INFO: "INFO";
|
|
866
|
+
readonly WARNING: "WARNING";
|
|
867
|
+
};
|
|
868
|
+
export type AutomatedReasoningPolicyBuildMessageType =
|
|
869
|
+
(typeof AutomatedReasoningPolicyBuildMessageType)[keyof typeof AutomatedReasoningPolicyBuildMessageType];
|
|
870
|
+
export interface AutomatedReasoningPolicyBuildStepMessage {
|
|
871
|
+
message: string | undefined;
|
|
872
|
+
messageType: AutomatedReasoningPolicyBuildMessageType | undefined;
|
|
873
|
+
}
|
|
874
|
+
export type AutomatedReasoningPolicyDefinitionElement =
|
|
875
|
+
| AutomatedReasoningPolicyDefinitionElement.PolicyDefinitionRuleMember
|
|
876
|
+
| AutomatedReasoningPolicyDefinitionElement.PolicyDefinitionTypeMember
|
|
877
|
+
| AutomatedReasoningPolicyDefinitionElement.PolicyDefinitionVariableMember
|
|
878
|
+
| AutomatedReasoningPolicyDefinitionElement.$UnknownMember;
|
|
879
|
+
export declare namespace AutomatedReasoningPolicyDefinitionElement {
|
|
880
|
+
interface PolicyDefinitionVariableMember {
|
|
881
|
+
policyDefinitionVariable: AutomatedReasoningPolicyDefinitionVariable;
|
|
882
|
+
policyDefinitionType?: never;
|
|
883
|
+
policyDefinitionRule?: never;
|
|
884
|
+
$unknown?: never;
|
|
885
|
+
}
|
|
886
|
+
interface PolicyDefinitionTypeMember {
|
|
887
|
+
policyDefinitionVariable?: never;
|
|
888
|
+
policyDefinitionType: AutomatedReasoningPolicyDefinitionType;
|
|
889
|
+
policyDefinitionRule?: never;
|
|
890
|
+
$unknown?: never;
|
|
891
|
+
}
|
|
892
|
+
interface PolicyDefinitionRuleMember {
|
|
893
|
+
policyDefinitionVariable?: never;
|
|
894
|
+
policyDefinitionType?: never;
|
|
895
|
+
policyDefinitionRule: AutomatedReasoningPolicyDefinitionRule;
|
|
585
896
|
$unknown?: never;
|
|
586
897
|
}
|
|
587
898
|
interface $UnknownMember {
|
|
588
|
-
|
|
899
|
+
policyDefinitionVariable?: never;
|
|
900
|
+
policyDefinitionType?: never;
|
|
901
|
+
policyDefinitionRule?: never;
|
|
589
902
|
$unknown: [string, any];
|
|
590
903
|
}
|
|
591
904
|
interface Visitor<T> {
|
|
592
|
-
|
|
905
|
+
policyDefinitionVariable: (
|
|
906
|
+
value: AutomatedReasoningPolicyDefinitionVariable
|
|
907
|
+
) => T;
|
|
908
|
+
policyDefinitionType: (value: AutomatedReasoningPolicyDefinitionType) => T;
|
|
909
|
+
policyDefinitionRule: (value: AutomatedReasoningPolicyDefinitionRule) => T;
|
|
593
910
|
_: (name: string, value: any) => T;
|
|
594
911
|
}
|
|
595
|
-
const visit: <T>(
|
|
912
|
+
const visit: <T>(
|
|
913
|
+
value: AutomatedReasoningPolicyDefinitionElement,
|
|
914
|
+
visitor: Visitor<T>
|
|
915
|
+
) => T;
|
|
596
916
|
}
|
|
597
|
-
export interface
|
|
598
|
-
|
|
599
|
-
|
|
917
|
+
export interface AutomatedReasoningPolicyBuildStep {
|
|
918
|
+
context: AutomatedReasoningPolicyBuildStepContext | undefined;
|
|
919
|
+
priorElement?: AutomatedReasoningPolicyDefinitionElement | undefined;
|
|
920
|
+
messages: AutomatedReasoningPolicyBuildStepMessage[] | undefined;
|
|
600
921
|
}
|
|
601
|
-
export declare const
|
|
602
|
-
readonly
|
|
603
|
-
readonly
|
|
604
|
-
readonly GENERATION: "Generation";
|
|
605
|
-
readonly QUESTION_AND_ANSWER: "QuestionAndAnswer";
|
|
606
|
-
readonly SUMMARIZATION: "Summarization";
|
|
922
|
+
export declare const AutomatedReasoningPolicyAnnotationStatus: {
|
|
923
|
+
readonly APPLIED: "APPLIED";
|
|
924
|
+
readonly FAILED: "FAILED";
|
|
607
925
|
};
|
|
608
|
-
export type
|
|
609
|
-
(typeof
|
|
610
|
-
export interface
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
}
|
|
615
|
-
export interface
|
|
616
|
-
|
|
617
|
-
}
|
|
618
|
-
export
|
|
619
|
-
|
|
|
620
|
-
|
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
926
|
+
export type AutomatedReasoningPolicyAnnotationStatus =
|
|
927
|
+
(typeof AutomatedReasoningPolicyAnnotationStatus)[keyof typeof AutomatedReasoningPolicyAnnotationStatus];
|
|
928
|
+
export interface AutomatedReasoningPolicyBuildLogEntry {
|
|
929
|
+
annotation: AutomatedReasoningPolicyAnnotation | undefined;
|
|
930
|
+
status: AutomatedReasoningPolicyAnnotationStatus | undefined;
|
|
931
|
+
buildSteps: AutomatedReasoningPolicyBuildStep[] | undefined;
|
|
932
|
+
}
|
|
933
|
+
export interface AutomatedReasoningPolicyBuildLog {
|
|
934
|
+
entries: AutomatedReasoningPolicyBuildLogEntry[] | undefined;
|
|
935
|
+
}
|
|
936
|
+
export interface AutomatedReasoningPolicyDisjointRuleSet {
|
|
937
|
+
variables: string[] | undefined;
|
|
938
|
+
rules: string[] | undefined;
|
|
939
|
+
}
|
|
940
|
+
export interface AutomatedReasoningPolicyDefinitionTypeValuePair {
|
|
941
|
+
typeName: string | undefined;
|
|
942
|
+
valueName: string | undefined;
|
|
943
|
+
}
|
|
944
|
+
export interface AutomatedReasoningPolicyDefinitionQualityReport {
|
|
945
|
+
typeCount: number | undefined;
|
|
946
|
+
variableCount: number | undefined;
|
|
947
|
+
ruleCount: number | undefined;
|
|
948
|
+
unusedTypes: string[] | undefined;
|
|
949
|
+
unusedTypeValues:
|
|
950
|
+
| AutomatedReasoningPolicyDefinitionTypeValuePair[]
|
|
951
|
+
| undefined;
|
|
952
|
+
unusedVariables: string[] | undefined;
|
|
953
|
+
conflictingRules: string[] | undefined;
|
|
954
|
+
disjointRuleSets: AutomatedReasoningPolicyDisjointRuleSet[] | undefined;
|
|
955
|
+
}
|
|
956
|
+
export type AutomatedReasoningPolicyBuildResultAssets =
|
|
957
|
+
| AutomatedReasoningPolicyBuildResultAssets.BuildLogMember
|
|
958
|
+
| AutomatedReasoningPolicyBuildResultAssets.PolicyDefinitionMember
|
|
959
|
+
| AutomatedReasoningPolicyBuildResultAssets.QualityReportMember
|
|
960
|
+
| AutomatedReasoningPolicyBuildResultAssets.$UnknownMember;
|
|
961
|
+
export declare namespace AutomatedReasoningPolicyBuildResultAssets {
|
|
962
|
+
interface PolicyDefinitionMember {
|
|
963
|
+
policyDefinition: AutomatedReasoningPolicyDefinition;
|
|
964
|
+
qualityReport?: never;
|
|
965
|
+
buildLog?: never;
|
|
966
|
+
$unknown?: never;
|
|
967
|
+
}
|
|
968
|
+
interface QualityReportMember {
|
|
969
|
+
policyDefinition?: never;
|
|
970
|
+
qualityReport: AutomatedReasoningPolicyDefinitionQualityReport;
|
|
971
|
+
buildLog?: never;
|
|
972
|
+
$unknown?: never;
|
|
973
|
+
}
|
|
974
|
+
interface BuildLogMember {
|
|
975
|
+
policyDefinition?: never;
|
|
976
|
+
qualityReport?: never;
|
|
977
|
+
buildLog: AutomatedReasoningPolicyBuildLog;
|
|
624
978
|
$unknown?: never;
|
|
625
979
|
}
|
|
626
980
|
interface $UnknownMember {
|
|
627
|
-
|
|
981
|
+
policyDefinition?: never;
|
|
982
|
+
qualityReport?: never;
|
|
983
|
+
buildLog?: never;
|
|
628
984
|
$unknown: [string, any];
|
|
629
985
|
}
|
|
630
986
|
interface Visitor<T> {
|
|
631
|
-
|
|
987
|
+
policyDefinition: (value: AutomatedReasoningPolicyDefinition) => T;
|
|
988
|
+
qualityReport: (
|
|
989
|
+
value: AutomatedReasoningPolicyDefinitionQualityReport
|
|
990
|
+
) => T;
|
|
991
|
+
buildLog: (value: AutomatedReasoningPolicyBuildLog) => T;
|
|
632
992
|
_: (name: string, value: any) => T;
|
|
633
993
|
}
|
|
634
|
-
const visit: <T>(
|
|
994
|
+
const visit: <T>(
|
|
995
|
+
value: AutomatedReasoningPolicyBuildResultAssets,
|
|
996
|
+
visitor: Visitor<T>
|
|
997
|
+
) => T;
|
|
635
998
|
}
|
|
636
|
-
export interface
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
999
|
+
export interface GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponse {
|
|
1000
|
+
policyArn: string | undefined;
|
|
1001
|
+
buildWorkflowId: string | undefined;
|
|
1002
|
+
buildWorkflowAssets?: AutomatedReasoningPolicyBuildResultAssets | undefined;
|
|
1003
|
+
}
|
|
1004
|
+
export interface GetAutomatedReasoningPolicyNextScenarioRequest {
|
|
1005
|
+
policyArn: string | undefined;
|
|
1006
|
+
buildWorkflowId: string | undefined;
|
|
1007
|
+
}
|
|
1008
|
+
export interface AutomatedReasoningPolicyScenario {
|
|
1009
|
+
expression: string | undefined;
|
|
1010
|
+
alternateExpression: string | undefined;
|
|
1011
|
+
ruleIds: string[] | undefined;
|
|
1012
|
+
expectedResult: AutomatedReasoningCheckResult | undefined;
|
|
1013
|
+
}
|
|
1014
|
+
export interface GetAutomatedReasoningPolicyNextScenarioResponse {
|
|
1015
|
+
policyArn: string | undefined;
|
|
1016
|
+
scenario?: AutomatedReasoningPolicyScenario | undefined;
|
|
1017
|
+
}
|
|
1018
|
+
export interface GetAutomatedReasoningPolicyTestCaseRequest {
|
|
1019
|
+
policyArn: string | undefined;
|
|
1020
|
+
testCaseId: string | undefined;
|
|
1021
|
+
}
|
|
1022
|
+
export interface AutomatedReasoningPolicyTestCase {
|
|
1023
|
+
testCaseId: string | undefined;
|
|
1024
|
+
guardContent: string | undefined;
|
|
1025
|
+
queryContent?: string | undefined;
|
|
1026
|
+
expectedAggregatedFindingsResult?: AutomatedReasoningCheckResult | undefined;
|
|
1027
|
+
createdAt: Date | undefined;
|
|
1028
|
+
updatedAt: Date | undefined;
|
|
1029
|
+
confidenceThreshold?: number | undefined;
|
|
640
1030
|
}
|
|
641
|
-
export interface
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
ratingMethod: string | undefined;
|
|
1031
|
+
export interface GetAutomatedReasoningPolicyTestCaseResponse {
|
|
1032
|
+
policyArn: string | undefined;
|
|
1033
|
+
testCase: AutomatedReasoningPolicyTestCase | undefined;
|
|
645
1034
|
}
|
|
646
|
-
export interface
|
|
647
|
-
|
|
648
|
-
|
|
1035
|
+
export interface GetAutomatedReasoningPolicyTestResultRequest {
|
|
1036
|
+
policyArn: string | undefined;
|
|
1037
|
+
buildWorkflowId: string | undefined;
|
|
1038
|
+
testCaseId: string | undefined;
|
|
649
1039
|
}
|
|
650
|
-
export interface
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
datasetMetricConfigs: EvaluationDatasetMetricConfig[] | undefined;
|
|
1040
|
+
export interface AutomatedReasoningCheckRule {
|
|
1041
|
+
id?: string | undefined;
|
|
1042
|
+
policyVersionArn?: string | undefined;
|
|
654
1043
|
}
|
|
655
|
-
export
|
|
656
|
-
|
|
|
657
|
-
|
|
|
658
|
-
|
|
659
|
-
export declare
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
1044
|
+
export interface AutomatedReasoningLogicStatement {
|
|
1045
|
+
logic: string | undefined;
|
|
1046
|
+
naturalLanguage?: string | undefined;
|
|
1047
|
+
}
|
|
1048
|
+
export declare const AutomatedReasoningCheckLogicWarningType: {
|
|
1049
|
+
readonly ALWAYS_FALSE: "ALWAYS_FALSE";
|
|
1050
|
+
readonly ALWAYS_TRUE: "ALWAYS_TRUE";
|
|
1051
|
+
};
|
|
1052
|
+
export type AutomatedReasoningCheckLogicWarningType =
|
|
1053
|
+
(typeof AutomatedReasoningCheckLogicWarningType)[keyof typeof AutomatedReasoningCheckLogicWarningType];
|
|
1054
|
+
export interface AutomatedReasoningCheckLogicWarning {
|
|
1055
|
+
type?: AutomatedReasoningCheckLogicWarningType | undefined;
|
|
1056
|
+
premises?: AutomatedReasoningLogicStatement[] | undefined;
|
|
1057
|
+
claims?: AutomatedReasoningLogicStatement[] | undefined;
|
|
1058
|
+
}
|
|
1059
|
+
export interface AutomatedReasoningCheckInputTextReference {
|
|
1060
|
+
text?: string | undefined;
|
|
1061
|
+
}
|
|
1062
|
+
export interface AutomatedReasoningCheckTranslation {
|
|
1063
|
+
premises?: AutomatedReasoningLogicStatement[] | undefined;
|
|
1064
|
+
claims: AutomatedReasoningLogicStatement[] | undefined;
|
|
1065
|
+
untranslatedPremises?:
|
|
1066
|
+
| AutomatedReasoningCheckInputTextReference[]
|
|
1067
|
+
| undefined;
|
|
1068
|
+
untranslatedClaims?: AutomatedReasoningCheckInputTextReference[] | undefined;
|
|
1069
|
+
confidence: number | undefined;
|
|
1070
|
+
}
|
|
1071
|
+
export interface AutomatedReasoningCheckImpossibleFinding {
|
|
1072
|
+
translation?: AutomatedReasoningCheckTranslation | undefined;
|
|
1073
|
+
contradictingRules?: AutomatedReasoningCheckRule[] | undefined;
|
|
1074
|
+
logicWarning?: AutomatedReasoningCheckLogicWarning | undefined;
|
|
1075
|
+
}
|
|
1076
|
+
export interface AutomatedReasoningCheckInvalidFinding {
|
|
1077
|
+
translation?: AutomatedReasoningCheckTranslation | undefined;
|
|
1078
|
+
contradictingRules?: AutomatedReasoningCheckRule[] | undefined;
|
|
1079
|
+
logicWarning?: AutomatedReasoningCheckLogicWarning | undefined;
|
|
1080
|
+
}
|
|
1081
|
+
export interface AutomatedReasoningCheckNoTranslationsFinding {}
|
|
1082
|
+
export interface AutomatedReasoningCheckScenario {
|
|
1083
|
+
statements?: AutomatedReasoningLogicStatement[] | undefined;
|
|
1084
|
+
}
|
|
1085
|
+
export interface AutomatedReasoningCheckSatisfiableFinding {
|
|
1086
|
+
translation?: AutomatedReasoningCheckTranslation | undefined;
|
|
1087
|
+
claimsTrueScenario?: AutomatedReasoningCheckScenario | undefined;
|
|
1088
|
+
claimsFalseScenario?: AutomatedReasoningCheckScenario | undefined;
|
|
1089
|
+
logicWarning?: AutomatedReasoningCheckLogicWarning | undefined;
|
|
1090
|
+
}
|
|
1091
|
+
export interface AutomatedReasoningCheckTooComplexFinding {}
|
|
1092
|
+
export interface AutomatedReasoningCheckTranslationOption {
|
|
1093
|
+
translations?: AutomatedReasoningCheckTranslation[] | undefined;
|
|
1094
|
+
}
|
|
1095
|
+
export interface AutomatedReasoningCheckTranslationAmbiguousFinding {
|
|
1096
|
+
options?: AutomatedReasoningCheckTranslationOption[] | undefined;
|
|
1097
|
+
differenceScenarios?: AutomatedReasoningCheckScenario[] | undefined;
|
|
1098
|
+
}
|
|
1099
|
+
export interface AutomatedReasoningCheckValidFinding {
|
|
1100
|
+
translation?: AutomatedReasoningCheckTranslation | undefined;
|
|
1101
|
+
claimsTrueScenario?: AutomatedReasoningCheckScenario | undefined;
|
|
1102
|
+
supportingRules?: AutomatedReasoningCheckRule[] | undefined;
|
|
1103
|
+
logicWarning?: AutomatedReasoningCheckLogicWarning | undefined;
|
|
1104
|
+
}
|
|
1105
|
+
export type AutomatedReasoningCheckFinding =
|
|
1106
|
+
| AutomatedReasoningCheckFinding.ImpossibleMember
|
|
1107
|
+
| AutomatedReasoningCheckFinding.InvalidMember
|
|
1108
|
+
| AutomatedReasoningCheckFinding.NoTranslationsMember
|
|
1109
|
+
| AutomatedReasoningCheckFinding.SatisfiableMember
|
|
1110
|
+
| AutomatedReasoningCheckFinding.TooComplexMember
|
|
1111
|
+
| AutomatedReasoningCheckFinding.TranslationAmbiguousMember
|
|
1112
|
+
| AutomatedReasoningCheckFinding.ValidMember
|
|
1113
|
+
| AutomatedReasoningCheckFinding.$UnknownMember;
|
|
1114
|
+
export declare namespace AutomatedReasoningCheckFinding {
|
|
1115
|
+
interface ValidMember {
|
|
1116
|
+
valid: AutomatedReasoningCheckValidFinding;
|
|
1117
|
+
invalid?: never;
|
|
1118
|
+
satisfiable?: never;
|
|
1119
|
+
impossible?: never;
|
|
1120
|
+
translationAmbiguous?: never;
|
|
1121
|
+
tooComplex?: never;
|
|
1122
|
+
noTranslations?: never;
|
|
663
1123
|
$unknown?: never;
|
|
664
1124
|
}
|
|
665
|
-
interface
|
|
666
|
-
|
|
667
|
-
|
|
1125
|
+
interface InvalidMember {
|
|
1126
|
+
valid?: never;
|
|
1127
|
+
invalid: AutomatedReasoningCheckInvalidFinding;
|
|
1128
|
+
satisfiable?: never;
|
|
1129
|
+
impossible?: never;
|
|
1130
|
+
translationAmbiguous?: never;
|
|
1131
|
+
tooComplex?: never;
|
|
1132
|
+
noTranslations?: never;
|
|
1133
|
+
$unknown?: never;
|
|
1134
|
+
}
|
|
1135
|
+
interface SatisfiableMember {
|
|
1136
|
+
valid?: never;
|
|
1137
|
+
invalid?: never;
|
|
1138
|
+
satisfiable: AutomatedReasoningCheckSatisfiableFinding;
|
|
1139
|
+
impossible?: never;
|
|
1140
|
+
translationAmbiguous?: never;
|
|
1141
|
+
tooComplex?: never;
|
|
1142
|
+
noTranslations?: never;
|
|
1143
|
+
$unknown?: never;
|
|
1144
|
+
}
|
|
1145
|
+
interface ImpossibleMember {
|
|
1146
|
+
valid?: never;
|
|
1147
|
+
invalid?: never;
|
|
1148
|
+
satisfiable?: never;
|
|
1149
|
+
impossible: AutomatedReasoningCheckImpossibleFinding;
|
|
1150
|
+
translationAmbiguous?: never;
|
|
1151
|
+
tooComplex?: never;
|
|
1152
|
+
noTranslations?: never;
|
|
1153
|
+
$unknown?: never;
|
|
1154
|
+
}
|
|
1155
|
+
interface TranslationAmbiguousMember {
|
|
1156
|
+
valid?: never;
|
|
1157
|
+
invalid?: never;
|
|
1158
|
+
satisfiable?: never;
|
|
1159
|
+
impossible?: never;
|
|
1160
|
+
translationAmbiguous: AutomatedReasoningCheckTranslationAmbiguousFinding;
|
|
1161
|
+
tooComplex?: never;
|
|
1162
|
+
noTranslations?: never;
|
|
1163
|
+
$unknown?: never;
|
|
1164
|
+
}
|
|
1165
|
+
interface TooComplexMember {
|
|
1166
|
+
valid?: never;
|
|
1167
|
+
invalid?: never;
|
|
1168
|
+
satisfiable?: never;
|
|
1169
|
+
impossible?: never;
|
|
1170
|
+
translationAmbiguous?: never;
|
|
1171
|
+
tooComplex: AutomatedReasoningCheckTooComplexFinding;
|
|
1172
|
+
noTranslations?: never;
|
|
1173
|
+
$unknown?: never;
|
|
1174
|
+
}
|
|
1175
|
+
interface NoTranslationsMember {
|
|
1176
|
+
valid?: never;
|
|
1177
|
+
invalid?: never;
|
|
1178
|
+
satisfiable?: never;
|
|
1179
|
+
impossible?: never;
|
|
1180
|
+
translationAmbiguous?: never;
|
|
1181
|
+
tooComplex?: never;
|
|
1182
|
+
noTranslations: AutomatedReasoningCheckNoTranslationsFinding;
|
|
668
1183
|
$unknown?: never;
|
|
669
1184
|
}
|
|
670
1185
|
interface $UnknownMember {
|
|
671
|
-
|
|
672
|
-
|
|
1186
|
+
valid?: never;
|
|
1187
|
+
invalid?: never;
|
|
1188
|
+
satisfiable?: never;
|
|
1189
|
+
impossible?: never;
|
|
1190
|
+
translationAmbiguous?: never;
|
|
1191
|
+
tooComplex?: never;
|
|
1192
|
+
noTranslations?: never;
|
|
673
1193
|
$unknown: [string, any];
|
|
674
1194
|
}
|
|
675
1195
|
interface Visitor<T> {
|
|
676
|
-
|
|
677
|
-
|
|
1196
|
+
valid: (value: AutomatedReasoningCheckValidFinding) => T;
|
|
1197
|
+
invalid: (value: AutomatedReasoningCheckInvalidFinding) => T;
|
|
1198
|
+
satisfiable: (value: AutomatedReasoningCheckSatisfiableFinding) => T;
|
|
1199
|
+
impossible: (value: AutomatedReasoningCheckImpossibleFinding) => T;
|
|
1200
|
+
translationAmbiguous: (
|
|
1201
|
+
value: AutomatedReasoningCheckTranslationAmbiguousFinding
|
|
1202
|
+
) => T;
|
|
1203
|
+
tooComplex: (value: AutomatedReasoningCheckTooComplexFinding) => T;
|
|
1204
|
+
noTranslations: (value: AutomatedReasoningCheckNoTranslationsFinding) => T;
|
|
678
1205
|
_: (name: string, value: any) => T;
|
|
679
1206
|
}
|
|
680
|
-
const visit: <T>(
|
|
1207
|
+
const visit: <T>(
|
|
1208
|
+
value: AutomatedReasoningCheckFinding,
|
|
1209
|
+
visitor: Visitor<T>
|
|
1210
|
+
) => T;
|
|
681
1211
|
}
|
|
682
|
-
export declare const
|
|
683
|
-
readonly
|
|
684
|
-
readonly
|
|
1212
|
+
export declare const AutomatedReasoningPolicyTestRunResult: {
|
|
1213
|
+
readonly FAILED: "FAILED";
|
|
1214
|
+
readonly PASSED: "PASSED";
|
|
685
1215
|
};
|
|
686
|
-
export type
|
|
687
|
-
(typeof
|
|
688
|
-
export
|
|
689
|
-
|
|
1216
|
+
export type AutomatedReasoningPolicyTestRunResult =
|
|
1217
|
+
(typeof AutomatedReasoningPolicyTestRunResult)[keyof typeof AutomatedReasoningPolicyTestRunResult];
|
|
1218
|
+
export declare const AutomatedReasoningPolicyTestRunStatus: {
|
|
1219
|
+
readonly COMPLETED: "COMPLETED";
|
|
1220
|
+
readonly FAILED: "FAILED";
|
|
1221
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
1222
|
+
readonly NOT_STARTED: "NOT_STARTED";
|
|
1223
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
1224
|
+
};
|
|
1225
|
+
export type AutomatedReasoningPolicyTestRunStatus =
|
|
1226
|
+
(typeof AutomatedReasoningPolicyTestRunStatus)[keyof typeof AutomatedReasoningPolicyTestRunStatus];
|
|
1227
|
+
export interface AutomatedReasoningPolicyTestResult {
|
|
1228
|
+
testCase: AutomatedReasoningPolicyTestCase | undefined;
|
|
1229
|
+
policyArn: string | undefined;
|
|
1230
|
+
testRunStatus: AutomatedReasoningPolicyTestRunStatus | undefined;
|
|
1231
|
+
testFindings?: AutomatedReasoningCheckFinding[] | undefined;
|
|
1232
|
+
testRunResult?: AutomatedReasoningPolicyTestRunResult | undefined;
|
|
1233
|
+
aggregatedTestFindingsResult?: AutomatedReasoningCheckResult | undefined;
|
|
1234
|
+
updatedAt: Date | undefined;
|
|
690
1235
|
}
|
|
691
|
-
export interface
|
|
692
|
-
|
|
693
|
-
inferenceParams?: string | undefined;
|
|
694
|
-
performanceConfig?: PerformanceConfiguration | undefined;
|
|
1236
|
+
export interface GetAutomatedReasoningPolicyTestResultResponse {
|
|
1237
|
+
testResult: AutomatedReasoningPolicyTestResult | undefined;
|
|
695
1238
|
}
|
|
696
|
-
export interface
|
|
697
|
-
|
|
1239
|
+
export interface ListAutomatedReasoningPoliciesRequest {
|
|
1240
|
+
policyArn?: string | undefined;
|
|
1241
|
+
nextToken?: string | undefined;
|
|
1242
|
+
maxResults?: number | undefined;
|
|
698
1243
|
}
|
|
699
|
-
export
|
|
700
|
-
|
|
|
701
|
-
|
|
|
702
|
-
|
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
1244
|
+
export interface AutomatedReasoningPolicySummary {
|
|
1245
|
+
policyArn: string | undefined;
|
|
1246
|
+
name: string | undefined;
|
|
1247
|
+
description?: string | undefined;
|
|
1248
|
+
version: string | undefined;
|
|
1249
|
+
policyId: string | undefined;
|
|
1250
|
+
createdAt: Date | undefined;
|
|
1251
|
+
updatedAt: Date | undefined;
|
|
1252
|
+
}
|
|
1253
|
+
export interface ListAutomatedReasoningPoliciesResponse {
|
|
1254
|
+
automatedReasoningPolicySummaries:
|
|
1255
|
+
| AutomatedReasoningPolicySummary[]
|
|
1256
|
+
| undefined;
|
|
1257
|
+
nextToken?: string | undefined;
|
|
1258
|
+
}
|
|
1259
|
+
export interface ListAutomatedReasoningPolicyBuildWorkflowsRequest {
|
|
1260
|
+
policyArn: string | undefined;
|
|
1261
|
+
nextToken?: string | undefined;
|
|
1262
|
+
maxResults?: number | undefined;
|
|
1263
|
+
}
|
|
1264
|
+
export interface AutomatedReasoningPolicyBuildWorkflowSummary {
|
|
1265
|
+
policyArn: string | undefined;
|
|
1266
|
+
buildWorkflowId: string | undefined;
|
|
1267
|
+
status: AutomatedReasoningPolicyBuildWorkflowStatus | undefined;
|
|
1268
|
+
buildWorkflowType: AutomatedReasoningPolicyBuildWorkflowType | undefined;
|
|
1269
|
+
createdAt: Date | undefined;
|
|
1270
|
+
updatedAt: Date | undefined;
|
|
1271
|
+
}
|
|
1272
|
+
export interface ListAutomatedReasoningPolicyBuildWorkflowsResponse {
|
|
1273
|
+
automatedReasoningPolicyBuildWorkflowSummaries:
|
|
1274
|
+
| AutomatedReasoningPolicyBuildWorkflowSummary[]
|
|
1275
|
+
| undefined;
|
|
1276
|
+
nextToken?: string | undefined;
|
|
1277
|
+
}
|
|
1278
|
+
export interface ListAutomatedReasoningPolicyTestCasesRequest {
|
|
1279
|
+
policyArn: string | undefined;
|
|
1280
|
+
nextToken?: string | undefined;
|
|
1281
|
+
maxResults?: number | undefined;
|
|
1282
|
+
}
|
|
1283
|
+
export interface ListAutomatedReasoningPolicyTestCasesResponse {
|
|
1284
|
+
testCases: AutomatedReasoningPolicyTestCase[] | undefined;
|
|
1285
|
+
nextToken?: string | undefined;
|
|
1286
|
+
}
|
|
1287
|
+
export interface ListAutomatedReasoningPolicyTestResultsRequest {
|
|
1288
|
+
policyArn: string | undefined;
|
|
1289
|
+
buildWorkflowId: string | undefined;
|
|
1290
|
+
nextToken?: string | undefined;
|
|
1291
|
+
maxResults?: number | undefined;
|
|
1292
|
+
}
|
|
1293
|
+
export interface ListAutomatedReasoningPolicyTestResultsResponse {
|
|
1294
|
+
testResults: AutomatedReasoningPolicyTestResult[] | undefined;
|
|
1295
|
+
nextToken?: string | undefined;
|
|
1296
|
+
}
|
|
1297
|
+
export interface AutomatedReasoningPolicyBuildWorkflowDocument {
|
|
1298
|
+
document: Uint8Array | undefined;
|
|
1299
|
+
documentContentType:
|
|
1300
|
+
| AutomatedReasoningPolicyBuildDocumentContentType
|
|
1301
|
+
| undefined;
|
|
1302
|
+
documentName: string | undefined;
|
|
1303
|
+
documentDescription?: string | undefined;
|
|
1304
|
+
}
|
|
1305
|
+
export interface AutomatedReasoningPolicyBuildWorkflowRepairContent {
|
|
1306
|
+
annotations: AutomatedReasoningPolicyAnnotation[] | undefined;
|
|
1307
|
+
}
|
|
1308
|
+
export type AutomatedReasoningPolicyWorkflowTypeContent =
|
|
1309
|
+
| AutomatedReasoningPolicyWorkflowTypeContent.DocumentsMember
|
|
1310
|
+
| AutomatedReasoningPolicyWorkflowTypeContent.PolicyRepairAssetsMember
|
|
1311
|
+
| AutomatedReasoningPolicyWorkflowTypeContent.$UnknownMember;
|
|
1312
|
+
export declare namespace AutomatedReasoningPolicyWorkflowTypeContent {
|
|
1313
|
+
interface DocumentsMember {
|
|
1314
|
+
documents: AutomatedReasoningPolicyBuildWorkflowDocument[];
|
|
1315
|
+
policyRepairAssets?: never;
|
|
707
1316
|
$unknown?: never;
|
|
708
1317
|
}
|
|
709
|
-
interface
|
|
710
|
-
|
|
711
|
-
|
|
1318
|
+
interface PolicyRepairAssetsMember {
|
|
1319
|
+
documents?: never;
|
|
1320
|
+
policyRepairAssets: AutomatedReasoningPolicyBuildWorkflowRepairContent;
|
|
712
1321
|
$unknown?: never;
|
|
713
1322
|
}
|
|
714
1323
|
interface $UnknownMember {
|
|
715
|
-
|
|
716
|
-
|
|
1324
|
+
documents?: never;
|
|
1325
|
+
policyRepairAssets?: never;
|
|
717
1326
|
$unknown: [string, any];
|
|
718
1327
|
}
|
|
719
1328
|
interface Visitor<T> {
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
value:
|
|
1329
|
+
documents: (value: AutomatedReasoningPolicyBuildWorkflowDocument[]) => T;
|
|
1330
|
+
policyRepairAssets: (
|
|
1331
|
+
value: AutomatedReasoningPolicyBuildWorkflowRepairContent
|
|
723
1332
|
) => T;
|
|
724
1333
|
_: (name: string, value: any) => T;
|
|
725
1334
|
}
|
|
726
|
-
const visit: <T>(
|
|
1335
|
+
const visit: <T>(
|
|
1336
|
+
value: AutomatedReasoningPolicyWorkflowTypeContent,
|
|
1337
|
+
visitor: Visitor<T>
|
|
1338
|
+
) => T;
|
|
727
1339
|
}
|
|
728
|
-
export interface
|
|
729
|
-
|
|
730
|
-
|
|
1340
|
+
export interface AutomatedReasoningPolicyBuildWorkflowSource {
|
|
1341
|
+
policyDefinition?: AutomatedReasoningPolicyDefinition | undefined;
|
|
1342
|
+
workflowContent?: AutomatedReasoningPolicyWorkflowTypeContent | undefined;
|
|
731
1343
|
}
|
|
732
|
-
export interface
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
1344
|
+
export interface StartAutomatedReasoningPolicyBuildWorkflowRequest {
|
|
1345
|
+
policyArn: string | undefined;
|
|
1346
|
+
buildWorkflowType: AutomatedReasoningPolicyBuildWorkflowType | undefined;
|
|
1347
|
+
clientRequestToken?: string | undefined;
|
|
1348
|
+
sourceContent: AutomatedReasoningPolicyBuildWorkflowSource | undefined;
|
|
737
1349
|
}
|
|
738
|
-
export interface
|
|
739
|
-
|
|
1350
|
+
export interface StartAutomatedReasoningPolicyBuildWorkflowResponse {
|
|
1351
|
+
policyArn: string | undefined;
|
|
1352
|
+
buildWorkflowId: string | undefined;
|
|
740
1353
|
}
|
|
741
|
-
export interface
|
|
742
|
-
|
|
1354
|
+
export interface StartAutomatedReasoningPolicyTestWorkflowRequest {
|
|
1355
|
+
policyArn: string | undefined;
|
|
1356
|
+
buildWorkflowId: string | undefined;
|
|
1357
|
+
testCaseIds?: string[] | undefined;
|
|
1358
|
+
clientRequestToken?: string | undefined;
|
|
743
1359
|
}
|
|
744
|
-
export interface
|
|
745
|
-
|
|
746
|
-
guardrailConfiguration?: GuardrailConfiguration | undefined;
|
|
747
|
-
kbInferenceConfig?: KbInferenceConfig | undefined;
|
|
748
|
-
additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
|
|
1360
|
+
export interface StartAutomatedReasoningPolicyTestWorkflowResponse {
|
|
1361
|
+
policyArn: string | undefined;
|
|
749
1362
|
}
|
|
750
|
-
export interface
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
1363
|
+
export interface UpdateAutomatedReasoningPolicyRequest {
|
|
1364
|
+
policyArn: string | undefined;
|
|
1365
|
+
policyDefinition: AutomatedReasoningPolicyDefinition | undefined;
|
|
1366
|
+
name?: string | undefined;
|
|
1367
|
+
description?: string | undefined;
|
|
754
1368
|
}
|
|
755
|
-
export interface
|
|
756
|
-
|
|
1369
|
+
export interface UpdateAutomatedReasoningPolicyResponse {
|
|
1370
|
+
policyArn: string | undefined;
|
|
1371
|
+
name: string | undefined;
|
|
1372
|
+
definitionHash: string | undefined;
|
|
1373
|
+
updatedAt: Date | undefined;
|
|
757
1374
|
}
|
|
758
|
-
export
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
(typeof ExternalSourceType)[keyof typeof ExternalSourceType];
|
|
764
|
-
export interface ExternalSource {
|
|
765
|
-
sourceType: ExternalSourceType | undefined;
|
|
766
|
-
s3Location?: S3ObjectDoc | undefined;
|
|
767
|
-
byteContent?: ByteContentDoc | undefined;
|
|
1375
|
+
export interface UpdateAutomatedReasoningPolicyAnnotationsRequest {
|
|
1376
|
+
policyArn: string | undefined;
|
|
1377
|
+
buildWorkflowId: string | undefined;
|
|
1378
|
+
annotations: AutomatedReasoningPolicyAnnotation[] | undefined;
|
|
1379
|
+
lastUpdatedAnnotationSetHash: string | undefined;
|
|
768
1380
|
}
|
|
769
|
-
export interface
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
1381
|
+
export interface UpdateAutomatedReasoningPolicyAnnotationsResponse {
|
|
1382
|
+
policyArn: string | undefined;
|
|
1383
|
+
buildWorkflowId: string | undefined;
|
|
1384
|
+
annotationSetHash: string | undefined;
|
|
1385
|
+
updatedAt: Date | undefined;
|
|
773
1386
|
}
|
|
774
|
-
export interface
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
1387
|
+
export interface UpdateAutomatedReasoningPolicyTestCaseRequest {
|
|
1388
|
+
policyArn: string | undefined;
|
|
1389
|
+
testCaseId: string | undefined;
|
|
1390
|
+
guardContent: string | undefined;
|
|
1391
|
+
queryContent?: string | undefined;
|
|
1392
|
+
lastUpdatedAt: Date | undefined;
|
|
1393
|
+
expectedAggregatedFindingsResult: AutomatedReasoningCheckResult | undefined;
|
|
1394
|
+
confidenceThreshold?: number | undefined;
|
|
1395
|
+
kmsKeyArn?: string | undefined;
|
|
1396
|
+
clientRequestToken?: string | undefined;
|
|
779
1397
|
}
|
|
780
|
-
export
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
export type QueryTransformationType =
|
|
784
|
-
(typeof QueryTransformationType)[keyof typeof QueryTransformationType];
|
|
785
|
-
export interface QueryTransformationConfiguration {
|
|
786
|
-
type: QueryTransformationType | undefined;
|
|
1398
|
+
export interface UpdateAutomatedReasoningPolicyTestCaseResponse {
|
|
1399
|
+
policyArn: string | undefined;
|
|
1400
|
+
testCaseId: string | undefined;
|
|
787
1401
|
}
|
|
788
|
-
export interface
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
| undefined;
|
|
1402
|
+
export interface VpcConfig {
|
|
1403
|
+
subnetIds: string[] | undefined;
|
|
1404
|
+
securityGroupIds: string[] | undefined;
|
|
792
1405
|
}
|
|
793
|
-
export interface
|
|
794
|
-
|
|
795
|
-
|
|
1406
|
+
export interface SageMakerEndpoint {
|
|
1407
|
+
initialInstanceCount: number | undefined;
|
|
1408
|
+
instanceType: string | undefined;
|
|
1409
|
+
executionRole: string | undefined;
|
|
1410
|
+
kmsEncryptionKey?: string | undefined;
|
|
1411
|
+
vpc?: VpcConfig | undefined;
|
|
796
1412
|
}
|
|
797
|
-
export
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType];
|
|
804
|
-
export interface MetadataAttributeSchema {
|
|
805
|
-
key: string | undefined;
|
|
806
|
-
type: AttributeType | undefined;
|
|
807
|
-
description: string | undefined;
|
|
808
|
-
}
|
|
809
|
-
export interface ImplicitFilterConfiguration {
|
|
810
|
-
metadataAttributes: MetadataAttributeSchema[] | undefined;
|
|
811
|
-
modelArn: string | undefined;
|
|
812
|
-
}
|
|
813
|
-
export declare const SearchType: {
|
|
814
|
-
readonly HYBRID: "HYBRID";
|
|
815
|
-
readonly SEMANTIC: "SEMANTIC";
|
|
816
|
-
};
|
|
817
|
-
export type SearchType = (typeof SearchType)[keyof typeof SearchType];
|
|
818
|
-
export declare const RerankingMetadataSelectionMode: {
|
|
819
|
-
readonly ALL: "ALL";
|
|
820
|
-
readonly SELECTIVE: "SELECTIVE";
|
|
821
|
-
};
|
|
822
|
-
export type RerankingMetadataSelectionMode =
|
|
823
|
-
(typeof RerankingMetadataSelectionMode)[keyof typeof RerankingMetadataSelectionMode];
|
|
824
|
-
export interface FieldForReranking {
|
|
825
|
-
fieldName: string | undefined;
|
|
826
|
-
}
|
|
827
|
-
export type RerankingMetadataSelectiveModeConfiguration =
|
|
828
|
-
| RerankingMetadataSelectiveModeConfiguration.FieldsToExcludeMember
|
|
829
|
-
| RerankingMetadataSelectiveModeConfiguration.FieldsToIncludeMember
|
|
830
|
-
| RerankingMetadataSelectiveModeConfiguration.$UnknownMember;
|
|
831
|
-
export declare namespace RerankingMetadataSelectiveModeConfiguration {
|
|
832
|
-
interface FieldsToIncludeMember {
|
|
833
|
-
fieldsToInclude: FieldForReranking[];
|
|
834
|
-
fieldsToExclude?: never;
|
|
835
|
-
$unknown?: never;
|
|
836
|
-
}
|
|
837
|
-
interface FieldsToExcludeMember {
|
|
838
|
-
fieldsToInclude?: never;
|
|
839
|
-
fieldsToExclude: FieldForReranking[];
|
|
1413
|
+
export type EndpointConfig =
|
|
1414
|
+
| EndpointConfig.SageMakerMember
|
|
1415
|
+
| EndpointConfig.$UnknownMember;
|
|
1416
|
+
export declare namespace EndpointConfig {
|
|
1417
|
+
interface SageMakerMember {
|
|
1418
|
+
sageMaker: SageMakerEndpoint;
|
|
840
1419
|
$unknown?: never;
|
|
841
1420
|
}
|
|
842
1421
|
interface $UnknownMember {
|
|
843
|
-
|
|
844
|
-
fieldsToExclude?: never;
|
|
1422
|
+
sageMaker?: never;
|
|
845
1423
|
$unknown: [string, any];
|
|
846
1424
|
}
|
|
847
1425
|
interface Visitor<T> {
|
|
848
|
-
|
|
849
|
-
fieldsToExclude: (value: FieldForReranking[]) => T;
|
|
1426
|
+
sageMaker: (value: SageMakerEndpoint) => T;
|
|
850
1427
|
_: (name: string, value: any) => T;
|
|
851
1428
|
}
|
|
852
|
-
const visit: <T>(
|
|
853
|
-
value: RerankingMetadataSelectiveModeConfiguration,
|
|
854
|
-
visitor: Visitor<T>
|
|
855
|
-
) => T;
|
|
856
|
-
}
|
|
857
|
-
export interface MetadataConfigurationForReranking {
|
|
858
|
-
selectionMode: RerankingMetadataSelectionMode | undefined;
|
|
859
|
-
selectiveModeConfiguration?:
|
|
860
|
-
| RerankingMetadataSelectiveModeConfiguration
|
|
861
|
-
| undefined;
|
|
862
|
-
}
|
|
863
|
-
export interface VectorSearchBedrockRerankingModelConfiguration {
|
|
864
|
-
modelArn: string | undefined;
|
|
865
|
-
additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
|
|
1429
|
+
const visit: <T>(value: EndpointConfig, visitor: Visitor<T>) => T;
|
|
866
1430
|
}
|
|
867
|
-
export interface
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
1431
|
+
export interface CreateMarketplaceModelEndpointRequest {
|
|
1432
|
+
modelSourceIdentifier: string | undefined;
|
|
1433
|
+
endpointConfig: EndpointConfig | undefined;
|
|
1434
|
+
acceptEula?: boolean | undefined;
|
|
1435
|
+
endpointName: string | undefined;
|
|
1436
|
+
clientRequestToken?: string | undefined;
|
|
1437
|
+
tags?: Tag[] | undefined;
|
|
873
1438
|
}
|
|
874
|
-
export declare const
|
|
875
|
-
readonly
|
|
1439
|
+
export declare const Status: {
|
|
1440
|
+
readonly INCOMPATIBLE_ENDPOINT: "INCOMPATIBLE_ENDPOINT";
|
|
1441
|
+
readonly REGISTERED: "REGISTERED";
|
|
876
1442
|
};
|
|
877
|
-
export type
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
1443
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
1444
|
+
export interface MarketplaceModelEndpoint {
|
|
1445
|
+
endpointArn: string | undefined;
|
|
1446
|
+
modelSourceIdentifier: string | undefined;
|
|
1447
|
+
status?: Status | undefined;
|
|
1448
|
+
statusMessage?: string | undefined;
|
|
1449
|
+
createdAt: Date | undefined;
|
|
1450
|
+
updatedAt: Date | undefined;
|
|
1451
|
+
endpointConfig: EndpointConfig | undefined;
|
|
1452
|
+
endpointStatus: string | undefined;
|
|
1453
|
+
endpointStatusMessage?: string | undefined;
|
|
884
1454
|
}
|
|
885
|
-
export
|
|
886
|
-
|
|
887
|
-
readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
888
|
-
};
|
|
889
|
-
export type RetrieveAndGenerateType =
|
|
890
|
-
(typeof RetrieveAndGenerateType)[keyof typeof RetrieveAndGenerateType];
|
|
891
|
-
export interface EvaluationPrecomputedRetrieveAndGenerateSourceConfig {
|
|
892
|
-
ragSourceIdentifier: string | undefined;
|
|
1455
|
+
export interface CreateMarketplaceModelEndpointResponse {
|
|
1456
|
+
marketplaceModelEndpoint: MarketplaceModelEndpoint | undefined;
|
|
893
1457
|
}
|
|
894
|
-
export interface
|
|
895
|
-
|
|
1458
|
+
export interface DeleteMarketplaceModelEndpointRequest {
|
|
1459
|
+
endpointArn: string | undefined;
|
|
896
1460
|
}
|
|
897
|
-
export
|
|
898
|
-
|
|
899
|
-
|
|
|
900
|
-
| EvaluationPrecomputedRagSourceConfig.$UnknownMember;
|
|
901
|
-
export declare namespace EvaluationPrecomputedRagSourceConfig {
|
|
902
|
-
interface RetrieveSourceConfigMember {
|
|
903
|
-
retrieveSourceConfig: EvaluationPrecomputedRetrieveSourceConfig;
|
|
904
|
-
retrieveAndGenerateSourceConfig?: never;
|
|
905
|
-
$unknown?: never;
|
|
906
|
-
}
|
|
907
|
-
interface RetrieveAndGenerateSourceConfigMember {
|
|
908
|
-
retrieveSourceConfig?: never;
|
|
909
|
-
retrieveAndGenerateSourceConfig: EvaluationPrecomputedRetrieveAndGenerateSourceConfig;
|
|
910
|
-
$unknown?: never;
|
|
911
|
-
}
|
|
912
|
-
interface $UnknownMember {
|
|
913
|
-
retrieveSourceConfig?: never;
|
|
914
|
-
retrieveAndGenerateSourceConfig?: never;
|
|
915
|
-
$unknown: [string, any];
|
|
916
|
-
}
|
|
917
|
-
interface Visitor<T> {
|
|
918
|
-
retrieveSourceConfig: (
|
|
919
|
-
value: EvaluationPrecomputedRetrieveSourceConfig
|
|
920
|
-
) => T;
|
|
921
|
-
retrieveAndGenerateSourceConfig: (
|
|
922
|
-
value: EvaluationPrecomputedRetrieveAndGenerateSourceConfig
|
|
923
|
-
) => T;
|
|
924
|
-
_: (name: string, value: any) => T;
|
|
925
|
-
}
|
|
926
|
-
const visit: <T>(
|
|
927
|
-
value: EvaluationPrecomputedRagSourceConfig,
|
|
928
|
-
visitor: Visitor<T>
|
|
929
|
-
) => T;
|
|
1461
|
+
export interface DeleteMarketplaceModelEndpointResponse {}
|
|
1462
|
+
export interface DeregisterMarketplaceModelEndpointRequest {
|
|
1463
|
+
endpointArn: string | undefined;
|
|
930
1464
|
}
|
|
931
|
-
export interface
|
|
932
|
-
|
|
1465
|
+
export interface DeregisterMarketplaceModelEndpointResponse {}
|
|
1466
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
1467
|
+
readonly name: "ServiceUnavailableException";
|
|
1468
|
+
readonly $fault: "server";
|
|
1469
|
+
constructor(
|
|
1470
|
+
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
1471
|
+
);
|
|
933
1472
|
}
|
|
934
|
-
export interface
|
|
935
|
-
|
|
1473
|
+
export interface GetMarketplaceModelEndpointRequest {
|
|
1474
|
+
endpointArn: string | undefined;
|
|
936
1475
|
}
|
|
937
|
-
export interface
|
|
938
|
-
|
|
1476
|
+
export interface GetMarketplaceModelEndpointResponse {
|
|
1477
|
+
marketplaceModelEndpoint?: MarketplaceModelEndpoint | undefined;
|
|
939
1478
|
}
|
|
940
|
-
export
|
|
941
|
-
readonly AUTOMATED: "Automated";
|
|
942
|
-
readonly HUMAN: "Human";
|
|
943
|
-
};
|
|
944
|
-
export type EvaluationJobType =
|
|
945
|
-
(typeof EvaluationJobType)[keyof typeof EvaluationJobType];
|
|
946
|
-
export declare const SortJobsBy: {
|
|
947
|
-
readonly CREATION_TIME: "CreationTime";
|
|
948
|
-
};
|
|
949
|
-
export type SortJobsBy = (typeof SortJobsBy)[keyof typeof SortJobsBy];
|
|
950
|
-
export interface ListEvaluationJobsRequest {
|
|
951
|
-
creationTimeAfter?: Date | undefined;
|
|
952
|
-
creationTimeBefore?: Date | undefined;
|
|
953
|
-
statusEquals?: EvaluationJobStatus | undefined;
|
|
954
|
-
applicationTypeEquals?: ApplicationType | undefined;
|
|
955
|
-
nameContains?: string | undefined;
|
|
1479
|
+
export interface ListMarketplaceModelEndpointsRequest {
|
|
956
1480
|
maxResults?: number | undefined;
|
|
957
1481
|
nextToken?: string | undefined;
|
|
958
|
-
|
|
959
|
-
sortOrder?: SortOrder | undefined;
|
|
1482
|
+
modelSourceEquals?: string | undefined;
|
|
960
1483
|
}
|
|
961
|
-
export interface
|
|
962
|
-
|
|
963
|
-
|
|
1484
|
+
export interface MarketplaceModelEndpointSummary {
|
|
1485
|
+
endpointArn: string | undefined;
|
|
1486
|
+
modelSourceIdentifier: string | undefined;
|
|
1487
|
+
status?: Status | undefined;
|
|
1488
|
+
statusMessage?: string | undefined;
|
|
1489
|
+
createdAt: Date | undefined;
|
|
1490
|
+
updatedAt: Date | undefined;
|
|
964
1491
|
}
|
|
965
|
-
export interface
|
|
966
|
-
|
|
967
|
-
|
|
1492
|
+
export interface ListMarketplaceModelEndpointsResponse {
|
|
1493
|
+
marketplaceModelEndpoints?: MarketplaceModelEndpointSummary[] | undefined;
|
|
1494
|
+
nextToken?: string | undefined;
|
|
968
1495
|
}
|
|
969
|
-
export interface
|
|
970
|
-
|
|
971
|
-
|
|
1496
|
+
export interface RegisterMarketplaceModelEndpointRequest {
|
|
1497
|
+
endpointIdentifier: string | undefined;
|
|
1498
|
+
modelSourceIdentifier: string | undefined;
|
|
972
1499
|
}
|
|
973
|
-
export interface
|
|
974
|
-
|
|
975
|
-
jobName: string | undefined;
|
|
976
|
-
status: EvaluationJobStatus | undefined;
|
|
977
|
-
creationTime: Date | undefined;
|
|
978
|
-
jobType: EvaluationJobType | undefined;
|
|
979
|
-
evaluationTaskTypes: EvaluationTaskType[] | undefined;
|
|
980
|
-
modelIdentifiers?: string[] | undefined;
|
|
981
|
-
ragIdentifiers?: string[] | undefined;
|
|
982
|
-
evaluatorModelIdentifiers?: string[] | undefined;
|
|
983
|
-
customMetricsEvaluatorModelIdentifiers?: string[] | undefined;
|
|
984
|
-
inferenceConfigSummary?: EvaluationInferenceConfigSummary | undefined;
|
|
985
|
-
applicationType?: ApplicationType | undefined;
|
|
1500
|
+
export interface RegisterMarketplaceModelEndpointResponse {
|
|
1501
|
+
marketplaceModelEndpoint: MarketplaceModelEndpoint | undefined;
|
|
986
1502
|
}
|
|
987
|
-
export interface
|
|
988
|
-
|
|
989
|
-
|
|
1503
|
+
export interface UpdateMarketplaceModelEndpointRequest {
|
|
1504
|
+
endpointArn: string | undefined;
|
|
1505
|
+
endpointConfig: EndpointConfig | undefined;
|
|
1506
|
+
clientRequestToken?: string | undefined;
|
|
990
1507
|
}
|
|
991
|
-
export interface
|
|
992
|
-
|
|
1508
|
+
export interface UpdateMarketplaceModelEndpointResponse {
|
|
1509
|
+
marketplaceModelEndpoint: MarketplaceModelEndpoint | undefined;
|
|
993
1510
|
}
|
|
994
|
-
export interface
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
(typeof GuardrailContentFilterAction)[keyof typeof GuardrailContentFilterAction];
|
|
1001
|
-
export declare const GuardrailModality: {
|
|
1002
|
-
readonly IMAGE: "IMAGE";
|
|
1003
|
-
readonly TEXT: "TEXT";
|
|
1004
|
-
};
|
|
1005
|
-
export type GuardrailModality =
|
|
1006
|
-
(typeof GuardrailModality)[keyof typeof GuardrailModality];
|
|
1007
|
-
export declare const GuardrailFilterStrength: {
|
|
1008
|
-
readonly HIGH: "HIGH";
|
|
1009
|
-
readonly LOW: "LOW";
|
|
1010
|
-
readonly MEDIUM: "MEDIUM";
|
|
1011
|
-
readonly NONE: "NONE";
|
|
1012
|
-
};
|
|
1013
|
-
export type GuardrailFilterStrength =
|
|
1014
|
-
(typeof GuardrailFilterStrength)[keyof typeof GuardrailFilterStrength];
|
|
1015
|
-
export declare const GuardrailContentFilterType: {
|
|
1016
|
-
readonly HATE: "HATE";
|
|
1017
|
-
readonly INSULTS: "INSULTS";
|
|
1018
|
-
readonly MISCONDUCT: "MISCONDUCT";
|
|
1019
|
-
readonly PROMPT_ATTACK: "PROMPT_ATTACK";
|
|
1020
|
-
readonly SEXUAL: "SEXUAL";
|
|
1021
|
-
readonly VIOLENCE: "VIOLENCE";
|
|
1022
|
-
};
|
|
1023
|
-
export type GuardrailContentFilterType =
|
|
1024
|
-
(typeof GuardrailContentFilterType)[keyof typeof GuardrailContentFilterType];
|
|
1025
|
-
export interface GuardrailContentFilterConfig {
|
|
1026
|
-
type: GuardrailContentFilterType | undefined;
|
|
1027
|
-
inputStrength: GuardrailFilterStrength | undefined;
|
|
1028
|
-
outputStrength: GuardrailFilterStrength | undefined;
|
|
1029
|
-
inputModalities?: GuardrailModality[] | undefined;
|
|
1030
|
-
outputModalities?: GuardrailModality[] | undefined;
|
|
1031
|
-
inputAction?: GuardrailContentFilterAction | undefined;
|
|
1032
|
-
outputAction?: GuardrailContentFilterAction | undefined;
|
|
1033
|
-
inputEnabled?: boolean | undefined;
|
|
1034
|
-
outputEnabled?: boolean | undefined;
|
|
1511
|
+
export interface CreateCustomModelDeploymentRequest {
|
|
1512
|
+
modelDeploymentName: string | undefined;
|
|
1513
|
+
modelArn: string | undefined;
|
|
1514
|
+
description?: string | undefined;
|
|
1515
|
+
tags?: Tag[] | undefined;
|
|
1516
|
+
clientRequestToken?: string | undefined;
|
|
1035
1517
|
}
|
|
1036
|
-
export
|
|
1037
|
-
|
|
1038
|
-
readonly STANDARD: "STANDARD";
|
|
1039
|
-
};
|
|
1040
|
-
export type GuardrailContentFiltersTierName =
|
|
1041
|
-
(typeof GuardrailContentFiltersTierName)[keyof typeof GuardrailContentFiltersTierName];
|
|
1042
|
-
export interface GuardrailContentFiltersTierConfig {
|
|
1043
|
-
tierName: GuardrailContentFiltersTierName | undefined;
|
|
1518
|
+
export interface CreateCustomModelDeploymentResponse {
|
|
1519
|
+
customModelDeploymentArn: string | undefined;
|
|
1044
1520
|
}
|
|
1045
|
-
export interface
|
|
1046
|
-
|
|
1047
|
-
tierConfig?: GuardrailContentFiltersTierConfig | undefined;
|
|
1521
|
+
export interface DeleteCustomModelDeploymentRequest {
|
|
1522
|
+
customModelDeploymentIdentifier: string | undefined;
|
|
1048
1523
|
}
|
|
1049
|
-
export
|
|
1050
|
-
|
|
1051
|
-
|
|
1524
|
+
export interface DeleteCustomModelDeploymentResponse {}
|
|
1525
|
+
export interface GetCustomModelDeploymentRequest {
|
|
1526
|
+
customModelDeploymentIdentifier: string | undefined;
|
|
1527
|
+
}
|
|
1528
|
+
export declare const CustomModelDeploymentStatus: {
|
|
1529
|
+
readonly ACTIVE: "Active";
|
|
1530
|
+
readonly CREATING: "Creating";
|
|
1531
|
+
readonly FAILED: "Failed";
|
|
1052
1532
|
};
|
|
1053
|
-
export type
|
|
1054
|
-
(typeof
|
|
1055
|
-
export
|
|
1056
|
-
|
|
1057
|
-
|
|
1533
|
+
export type CustomModelDeploymentStatus =
|
|
1534
|
+
(typeof CustomModelDeploymentStatus)[keyof typeof CustomModelDeploymentStatus];
|
|
1535
|
+
export interface GetCustomModelDeploymentResponse {
|
|
1536
|
+
customModelDeploymentArn: string | undefined;
|
|
1537
|
+
modelDeploymentName: string | undefined;
|
|
1538
|
+
modelArn: string | undefined;
|
|
1539
|
+
createdAt: Date | undefined;
|
|
1540
|
+
status: CustomModelDeploymentStatus | undefined;
|
|
1541
|
+
description?: string | undefined;
|
|
1542
|
+
failureMessage?: string | undefined;
|
|
1543
|
+
lastUpdatedAt?: Date | undefined;
|
|
1544
|
+
}
|
|
1545
|
+
export declare const SortModelsBy: {
|
|
1546
|
+
readonly CREATION_TIME: "CreationTime";
|
|
1058
1547
|
};
|
|
1059
|
-
export type
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1548
|
+
export type SortModelsBy = (typeof SortModelsBy)[keyof typeof SortModelsBy];
|
|
1549
|
+
export declare const SortOrder: {
|
|
1550
|
+
readonly ASCENDING: "Ascending";
|
|
1551
|
+
readonly DESCENDING: "Descending";
|
|
1552
|
+
};
|
|
1553
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
1554
|
+
export interface ListCustomModelDeploymentsRequest {
|
|
1555
|
+
createdBefore?: Date | undefined;
|
|
1556
|
+
createdAfter?: Date | undefined;
|
|
1557
|
+
nameContains?: string | undefined;
|
|
1558
|
+
maxResults?: number | undefined;
|
|
1559
|
+
nextToken?: string | undefined;
|
|
1560
|
+
sortBy?: SortModelsBy | undefined;
|
|
1561
|
+
sortOrder?: SortOrder | undefined;
|
|
1562
|
+
statusEquals?: CustomModelDeploymentStatus | undefined;
|
|
1563
|
+
modelArnEquals?: string | undefined;
|
|
1066
1564
|
}
|
|
1067
|
-
export interface
|
|
1068
|
-
|
|
1565
|
+
export interface CustomModelDeploymentSummary {
|
|
1566
|
+
customModelDeploymentArn: string | undefined;
|
|
1567
|
+
customModelDeploymentName: string | undefined;
|
|
1568
|
+
modelArn: string | undefined;
|
|
1569
|
+
createdAt: Date | undefined;
|
|
1570
|
+
status: CustomModelDeploymentStatus | undefined;
|
|
1571
|
+
lastUpdatedAt?: Date | undefined;
|
|
1572
|
+
failureMessage?: string | undefined;
|
|
1069
1573
|
}
|
|
1070
|
-
export interface
|
|
1071
|
-
|
|
1574
|
+
export interface ListCustomModelDeploymentsResponse {
|
|
1575
|
+
nextToken?: string | undefined;
|
|
1576
|
+
modelDeploymentSummaries?: CustomModelDeploymentSummary[] | undefined;
|
|
1072
1577
|
}
|
|
1073
|
-
export
|
|
1074
|
-
|
|
1075
|
-
readonly BLOCK: "BLOCK";
|
|
1076
|
-
readonly NONE: "NONE";
|
|
1077
|
-
};
|
|
1078
|
-
export type GuardrailSensitiveInformationAction =
|
|
1079
|
-
(typeof GuardrailSensitiveInformationAction)[keyof typeof GuardrailSensitiveInformationAction];
|
|
1080
|
-
export declare const GuardrailPiiEntityType: {
|
|
1081
|
-
readonly ADDRESS: "ADDRESS";
|
|
1082
|
-
readonly AGE: "AGE";
|
|
1083
|
-
readonly AWS_ACCESS_KEY: "AWS_ACCESS_KEY";
|
|
1084
|
-
readonly AWS_SECRET_KEY: "AWS_SECRET_KEY";
|
|
1085
|
-
readonly CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER";
|
|
1086
|
-
readonly CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER";
|
|
1087
|
-
readonly CREDIT_DEBIT_CARD_CVV: "CREDIT_DEBIT_CARD_CVV";
|
|
1088
|
-
readonly CREDIT_DEBIT_CARD_EXPIRY: "CREDIT_DEBIT_CARD_EXPIRY";
|
|
1089
|
-
readonly CREDIT_DEBIT_CARD_NUMBER: "CREDIT_DEBIT_CARD_NUMBER";
|
|
1090
|
-
readonly DRIVER_ID: "DRIVER_ID";
|
|
1091
|
-
readonly EMAIL: "EMAIL";
|
|
1092
|
-
readonly INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER";
|
|
1093
|
-
readonly IP_ADDRESS: "IP_ADDRESS";
|
|
1094
|
-
readonly LICENSE_PLATE: "LICENSE_PLATE";
|
|
1095
|
-
readonly MAC_ADDRESS: "MAC_ADDRESS";
|
|
1096
|
-
readonly NAME: "NAME";
|
|
1097
|
-
readonly PASSWORD: "PASSWORD";
|
|
1098
|
-
readonly PHONE: "PHONE";
|
|
1099
|
-
readonly PIN: "PIN";
|
|
1100
|
-
readonly SWIFT_CODE: "SWIFT_CODE";
|
|
1101
|
-
readonly UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER";
|
|
1102
|
-
readonly UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER";
|
|
1103
|
-
readonly UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER";
|
|
1104
|
-
readonly URL: "URL";
|
|
1105
|
-
readonly USERNAME: "USERNAME";
|
|
1106
|
-
readonly US_BANK_ACCOUNT_NUMBER: "US_BANK_ACCOUNT_NUMBER";
|
|
1107
|
-
readonly US_BANK_ROUTING_NUMBER: "US_BANK_ROUTING_NUMBER";
|
|
1108
|
-
readonly US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER";
|
|
1109
|
-
readonly US_PASSPORT_NUMBER: "US_PASSPORT_NUMBER";
|
|
1110
|
-
readonly US_SOCIAL_SECURITY_NUMBER: "US_SOCIAL_SECURITY_NUMBER";
|
|
1111
|
-
readonly VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER";
|
|
1112
|
-
};
|
|
1113
|
-
export type GuardrailPiiEntityType =
|
|
1114
|
-
(typeof GuardrailPiiEntityType)[keyof typeof GuardrailPiiEntityType];
|
|
1115
|
-
export interface GuardrailPiiEntityConfig {
|
|
1116
|
-
type: GuardrailPiiEntityType | undefined;
|
|
1117
|
-
action: GuardrailSensitiveInformationAction | undefined;
|
|
1118
|
-
inputAction?: GuardrailSensitiveInformationAction | undefined;
|
|
1119
|
-
outputAction?: GuardrailSensitiveInformationAction | undefined;
|
|
1120
|
-
inputEnabled?: boolean | undefined;
|
|
1121
|
-
outputEnabled?: boolean | undefined;
|
|
1578
|
+
export interface S3DataSource {
|
|
1579
|
+
s3Uri: string | undefined;
|
|
1122
1580
|
}
|
|
1123
|
-
export
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1581
|
+
export type ModelDataSource =
|
|
1582
|
+
| ModelDataSource.S3DataSourceMember
|
|
1583
|
+
| ModelDataSource.$UnknownMember;
|
|
1584
|
+
export declare namespace ModelDataSource {
|
|
1585
|
+
interface S3DataSourceMember {
|
|
1586
|
+
s3DataSource: S3DataSource;
|
|
1587
|
+
$unknown?: never;
|
|
1588
|
+
}
|
|
1589
|
+
interface $UnknownMember {
|
|
1590
|
+
s3DataSource?: never;
|
|
1591
|
+
$unknown: [string, any];
|
|
1592
|
+
}
|
|
1593
|
+
interface Visitor<T> {
|
|
1594
|
+
s3DataSource: (value: S3DataSource) => T;
|
|
1595
|
+
_: (name: string, value: any) => T;
|
|
1596
|
+
}
|
|
1597
|
+
const visit: <T>(value: ModelDataSource, visitor: Visitor<T>) => T;
|
|
1132
1598
|
}
|
|
1133
|
-
export interface
|
|
1134
|
-
|
|
1135
|
-
|
|
1599
|
+
export interface CreateCustomModelRequest {
|
|
1600
|
+
modelName: string | undefined;
|
|
1601
|
+
modelSourceConfig: ModelDataSource | undefined;
|
|
1602
|
+
modelKmsKeyArn?: string | undefined;
|
|
1603
|
+
roleArn?: string | undefined;
|
|
1604
|
+
modelTags?: Tag[] | undefined;
|
|
1605
|
+
clientRequestToken?: string | undefined;
|
|
1136
1606
|
}
|
|
1137
|
-
export
|
|
1138
|
-
|
|
1139
|
-
readonly STANDARD: "STANDARD";
|
|
1140
|
-
};
|
|
1141
|
-
export type GuardrailTopicsTierName =
|
|
1142
|
-
(typeof GuardrailTopicsTierName)[keyof typeof GuardrailTopicsTierName];
|
|
1143
|
-
export interface GuardrailTopicsTierConfig {
|
|
1144
|
-
tierName: GuardrailTopicsTierName | undefined;
|
|
1607
|
+
export interface CreateCustomModelResponse {
|
|
1608
|
+
modelArn: string | undefined;
|
|
1145
1609
|
}
|
|
1146
|
-
export
|
|
1147
|
-
|
|
1148
|
-
readonly NONE: "NONE";
|
|
1149
|
-
};
|
|
1150
|
-
export type GuardrailTopicAction =
|
|
1151
|
-
(typeof GuardrailTopicAction)[keyof typeof GuardrailTopicAction];
|
|
1152
|
-
export declare const GuardrailTopicType: {
|
|
1153
|
-
readonly DENY: "DENY";
|
|
1154
|
-
};
|
|
1155
|
-
export type GuardrailTopicType =
|
|
1156
|
-
(typeof GuardrailTopicType)[keyof typeof GuardrailTopicType];
|
|
1157
|
-
export interface GuardrailTopicConfig {
|
|
1158
|
-
name: string | undefined;
|
|
1159
|
-
definition: string | undefined;
|
|
1160
|
-
examples?: string[] | undefined;
|
|
1161
|
-
type: GuardrailTopicType | undefined;
|
|
1162
|
-
inputAction?: GuardrailTopicAction | undefined;
|
|
1163
|
-
outputAction?: GuardrailTopicAction | undefined;
|
|
1164
|
-
inputEnabled?: boolean | undefined;
|
|
1165
|
-
outputEnabled?: boolean | undefined;
|
|
1610
|
+
export interface DeleteCustomModelRequest {
|
|
1611
|
+
modelIdentifier: string | undefined;
|
|
1166
1612
|
}
|
|
1167
|
-
export interface
|
|
1168
|
-
|
|
1169
|
-
|
|
1613
|
+
export interface DeleteCustomModelResponse {}
|
|
1614
|
+
export interface GetCustomModelRequest {
|
|
1615
|
+
modelIdentifier: string | undefined;
|
|
1170
1616
|
}
|
|
1171
|
-
export
|
|
1172
|
-
|
|
1173
|
-
|
|
1617
|
+
export interface TeacherModelConfig {
|
|
1618
|
+
teacherModelIdentifier: string | undefined;
|
|
1619
|
+
maxResponseLengthForInference?: number | undefined;
|
|
1620
|
+
}
|
|
1621
|
+
export interface DistillationConfig {
|
|
1622
|
+
teacherModelConfig: TeacherModelConfig | undefined;
|
|
1623
|
+
}
|
|
1624
|
+
export type CustomizationConfig =
|
|
1625
|
+
| CustomizationConfig.DistillationConfigMember
|
|
1626
|
+
| CustomizationConfig.$UnknownMember;
|
|
1627
|
+
export declare namespace CustomizationConfig {
|
|
1628
|
+
interface DistillationConfigMember {
|
|
1629
|
+
distillationConfig: DistillationConfig;
|
|
1630
|
+
$unknown?: never;
|
|
1631
|
+
}
|
|
1632
|
+
interface $UnknownMember {
|
|
1633
|
+
distillationConfig?: never;
|
|
1634
|
+
$unknown: [string, any];
|
|
1635
|
+
}
|
|
1636
|
+
interface Visitor<T> {
|
|
1637
|
+
distillationConfig: (value: DistillationConfig) => T;
|
|
1638
|
+
_: (name: string, value: any) => T;
|
|
1639
|
+
}
|
|
1640
|
+
const visit: <T>(value: CustomizationConfig, visitor: Visitor<T>) => T;
|
|
1641
|
+
}
|
|
1642
|
+
export declare const CustomizationType: {
|
|
1643
|
+
readonly CONTINUED_PRE_TRAINING: "CONTINUED_PRE_TRAINING";
|
|
1644
|
+
readonly DISTILLATION: "DISTILLATION";
|
|
1645
|
+
readonly FINE_TUNING: "FINE_TUNING";
|
|
1646
|
+
readonly IMPORTED: "IMPORTED";
|
|
1174
1647
|
};
|
|
1175
|
-
export type
|
|
1176
|
-
(typeof
|
|
1177
|
-
export declare const
|
|
1178
|
-
readonly
|
|
1648
|
+
export type CustomizationType =
|
|
1649
|
+
(typeof CustomizationType)[keyof typeof CustomizationType];
|
|
1650
|
+
export declare const ModelStatus: {
|
|
1651
|
+
readonly ACTIVE: "Active";
|
|
1652
|
+
readonly CREATING: "Creating";
|
|
1653
|
+
readonly FAILED: "Failed";
|
|
1179
1654
|
};
|
|
1180
|
-
export type
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
type: GuardrailManagedWordsType | undefined;
|
|
1184
|
-
inputAction?: GuardrailWordAction | undefined;
|
|
1185
|
-
outputAction?: GuardrailWordAction | undefined;
|
|
1186
|
-
inputEnabled?: boolean | undefined;
|
|
1187
|
-
outputEnabled?: boolean | undefined;
|
|
1655
|
+
export type ModelStatus = (typeof ModelStatus)[keyof typeof ModelStatus];
|
|
1656
|
+
export interface OutputDataConfig {
|
|
1657
|
+
s3Uri: string | undefined;
|
|
1188
1658
|
}
|
|
1189
|
-
export
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1659
|
+
export type InvocationLogSource =
|
|
1660
|
+
| InvocationLogSource.S3UriMember
|
|
1661
|
+
| InvocationLogSource.$UnknownMember;
|
|
1662
|
+
export declare namespace InvocationLogSource {
|
|
1663
|
+
interface S3UriMember {
|
|
1664
|
+
s3Uri: string;
|
|
1665
|
+
$unknown?: never;
|
|
1666
|
+
}
|
|
1667
|
+
interface $UnknownMember {
|
|
1668
|
+
s3Uri?: never;
|
|
1669
|
+
$unknown: [string, any];
|
|
1670
|
+
}
|
|
1671
|
+
interface Visitor<T> {
|
|
1672
|
+
s3Uri: (value: string) => T;
|
|
1673
|
+
_: (name: string, value: any) => T;
|
|
1674
|
+
}
|
|
1675
|
+
const visit: <T>(value: InvocationLogSource, visitor: Visitor<T>) => T;
|
|
1195
1676
|
}
|
|
1196
|
-
export interface
|
|
1197
|
-
|
|
1198
|
-
|
|
1677
|
+
export interface RequestMetadataBaseFilters {
|
|
1678
|
+
equals?: Record<string, string> | undefined;
|
|
1679
|
+
notEquals?: Record<string, string> | undefined;
|
|
1199
1680
|
}
|
|
1200
|
-
export
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1681
|
+
export type RequestMetadataFilters =
|
|
1682
|
+
| RequestMetadataFilters.AndAllMember
|
|
1683
|
+
| RequestMetadataFilters.EqualsMember
|
|
1684
|
+
| RequestMetadataFilters.NotEqualsMember
|
|
1685
|
+
| RequestMetadataFilters.OrAllMember
|
|
1686
|
+
| RequestMetadataFilters.$UnknownMember;
|
|
1687
|
+
export declare namespace RequestMetadataFilters {
|
|
1688
|
+
interface EqualsMember {
|
|
1689
|
+
equals: Record<string, string>;
|
|
1690
|
+
notEquals?: never;
|
|
1691
|
+
andAll?: never;
|
|
1692
|
+
orAll?: never;
|
|
1693
|
+
$unknown?: never;
|
|
1694
|
+
}
|
|
1695
|
+
interface NotEqualsMember {
|
|
1696
|
+
equals?: never;
|
|
1697
|
+
notEquals: Record<string, string>;
|
|
1698
|
+
andAll?: never;
|
|
1699
|
+
orAll?: never;
|
|
1700
|
+
$unknown?: never;
|
|
1701
|
+
}
|
|
1702
|
+
interface AndAllMember {
|
|
1703
|
+
equals?: never;
|
|
1704
|
+
notEquals?: never;
|
|
1705
|
+
andAll: RequestMetadataBaseFilters[];
|
|
1706
|
+
orAll?: never;
|
|
1707
|
+
$unknown?: never;
|
|
1708
|
+
}
|
|
1709
|
+
interface OrAllMember {
|
|
1710
|
+
equals?: never;
|
|
1711
|
+
notEquals?: never;
|
|
1712
|
+
andAll?: never;
|
|
1713
|
+
orAll: RequestMetadataBaseFilters[];
|
|
1714
|
+
$unknown?: never;
|
|
1715
|
+
}
|
|
1716
|
+
interface $UnknownMember {
|
|
1717
|
+
equals?: never;
|
|
1718
|
+
notEquals?: never;
|
|
1719
|
+
andAll?: never;
|
|
1720
|
+
orAll?: never;
|
|
1721
|
+
$unknown: [string, any];
|
|
1722
|
+
}
|
|
1723
|
+
interface Visitor<T> {
|
|
1724
|
+
equals: (value: Record<string, string>) => T;
|
|
1725
|
+
notEquals: (value: Record<string, string>) => T;
|
|
1726
|
+
andAll: (value: RequestMetadataBaseFilters[]) => T;
|
|
1727
|
+
orAll: (value: RequestMetadataBaseFilters[]) => T;
|
|
1728
|
+
_: (name: string, value: any) => T;
|
|
1729
|
+
}
|
|
1730
|
+
const visit: <T>(value: RequestMetadataFilters, visitor: Visitor<T>) => T;
|
|
1218
1731
|
}
|
|
1219
|
-
export interface
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
createdAt: Date | undefined;
|
|
1732
|
+
export interface InvocationLogsConfig {
|
|
1733
|
+
usePromptResponse?: boolean | undefined;
|
|
1734
|
+
invocationLogSource: InvocationLogSource | undefined;
|
|
1735
|
+
requestMetadataFilters?: RequestMetadataFilters | undefined;
|
|
1224
1736
|
}
|
|
1225
|
-
export interface
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
clientRequestToken?: string | undefined;
|
|
1737
|
+
export interface TrainingDataConfig {
|
|
1738
|
+
s3Uri?: string | undefined;
|
|
1739
|
+
invocationLogsConfig?: InvocationLogsConfig | undefined;
|
|
1229
1740
|
}
|
|
1230
|
-
export interface
|
|
1231
|
-
|
|
1232
|
-
version: string | undefined;
|
|
1741
|
+
export interface TrainingMetrics {
|
|
1742
|
+
trainingLoss?: number | undefined;
|
|
1233
1743
|
}
|
|
1234
|
-
export interface
|
|
1235
|
-
|
|
1236
|
-
guardrailVersion?: string | undefined;
|
|
1744
|
+
export interface Validator {
|
|
1745
|
+
s3Uri: string | undefined;
|
|
1237
1746
|
}
|
|
1238
|
-
export interface
|
|
1239
|
-
|
|
1240
|
-
guardrailIdentifier: string | undefined;
|
|
1241
|
-
guardrailVersion?: string | undefined;
|
|
1747
|
+
export interface ValidationDataConfig {
|
|
1748
|
+
validators: Validator[] | undefined;
|
|
1242
1749
|
}
|
|
1243
|
-
export interface
|
|
1244
|
-
|
|
1245
|
-
inputStrength: GuardrailFilterStrength | undefined;
|
|
1246
|
-
outputStrength: GuardrailFilterStrength | undefined;
|
|
1247
|
-
inputModalities?: GuardrailModality[] | undefined;
|
|
1248
|
-
outputModalities?: GuardrailModality[] | undefined;
|
|
1249
|
-
inputAction?: GuardrailContentFilterAction | undefined;
|
|
1250
|
-
outputAction?: GuardrailContentFilterAction | undefined;
|
|
1251
|
-
inputEnabled?: boolean | undefined;
|
|
1252
|
-
outputEnabled?: boolean | undefined;
|
|
1750
|
+
export interface ValidatorMetric {
|
|
1751
|
+
validationLoss?: number | undefined;
|
|
1253
1752
|
}
|
|
1254
|
-
export interface
|
|
1255
|
-
|
|
1753
|
+
export interface GetCustomModelResponse {
|
|
1754
|
+
modelArn: string | undefined;
|
|
1755
|
+
modelName: string | undefined;
|
|
1756
|
+
jobName?: string | undefined;
|
|
1757
|
+
jobArn?: string | undefined;
|
|
1758
|
+
baseModelArn?: string | undefined;
|
|
1759
|
+
customizationType?: CustomizationType | undefined;
|
|
1760
|
+
modelKmsKeyArn?: string | undefined;
|
|
1761
|
+
hyperParameters?: Record<string, string> | undefined;
|
|
1762
|
+
trainingDataConfig?: TrainingDataConfig | undefined;
|
|
1763
|
+
validationDataConfig?: ValidationDataConfig | undefined;
|
|
1764
|
+
outputDataConfig?: OutputDataConfig | undefined;
|
|
1765
|
+
trainingMetrics?: TrainingMetrics | undefined;
|
|
1766
|
+
validationMetrics?: ValidatorMetric[] | undefined;
|
|
1767
|
+
creationTime: Date | undefined;
|
|
1768
|
+
customizationConfig?: CustomizationConfig | undefined;
|
|
1769
|
+
modelStatus?: ModelStatus | undefined;
|
|
1770
|
+
failureMessage?: string | undefined;
|
|
1256
1771
|
}
|
|
1257
|
-
export interface
|
|
1258
|
-
|
|
1259
|
-
|
|
1772
|
+
export interface ListCustomModelsRequest {
|
|
1773
|
+
creationTimeBefore?: Date | undefined;
|
|
1774
|
+
creationTimeAfter?: Date | undefined;
|
|
1775
|
+
nameContains?: string | undefined;
|
|
1776
|
+
baseModelArnEquals?: string | undefined;
|
|
1777
|
+
foundationModelArnEquals?: string | undefined;
|
|
1778
|
+
maxResults?: number | undefined;
|
|
1779
|
+
nextToken?: string | undefined;
|
|
1780
|
+
sortBy?: SortModelsBy | undefined;
|
|
1781
|
+
sortOrder?: SortOrder | undefined;
|
|
1782
|
+
isOwned?: boolean | undefined;
|
|
1783
|
+
modelStatus?: ModelStatus | undefined;
|
|
1260
1784
|
}
|
|
1261
|
-
export interface
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1785
|
+
export interface CustomModelSummary {
|
|
1786
|
+
modelArn: string | undefined;
|
|
1787
|
+
modelName: string | undefined;
|
|
1788
|
+
creationTime: Date | undefined;
|
|
1789
|
+
baseModelArn: string | undefined;
|
|
1790
|
+
baseModelName: string | undefined;
|
|
1791
|
+
customizationType?: CustomizationType | undefined;
|
|
1792
|
+
ownerAccountId?: string | undefined;
|
|
1793
|
+
modelStatus?: ModelStatus | undefined;
|
|
1266
1794
|
}
|
|
1267
|
-
export interface
|
|
1268
|
-
|
|
1795
|
+
export interface ListCustomModelsResponse {
|
|
1796
|
+
nextToken?: string | undefined;
|
|
1797
|
+
modelSummaries?: CustomModelSummary[] | undefined;
|
|
1269
1798
|
}
|
|
1270
|
-
export interface
|
|
1271
|
-
|
|
1272
|
-
guardrailProfileArn?: string | undefined;
|
|
1799
|
+
export interface BatchDeleteEvaluationJobRequest {
|
|
1800
|
+
jobIdentifiers: string[] | undefined;
|
|
1273
1801
|
}
|
|
1274
|
-
export interface
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
outputAction?: GuardrailSensitiveInformationAction | undefined;
|
|
1279
|
-
inputEnabled?: boolean | undefined;
|
|
1280
|
-
outputEnabled?: boolean | undefined;
|
|
1802
|
+
export interface BatchDeleteEvaluationJobError {
|
|
1803
|
+
jobIdentifier: string | undefined;
|
|
1804
|
+
code: string | undefined;
|
|
1805
|
+
message?: string | undefined;
|
|
1281
1806
|
}
|
|
1282
|
-
export
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1807
|
+
export declare const EvaluationJobStatus: {
|
|
1808
|
+
readonly COMPLETED: "Completed";
|
|
1809
|
+
readonly DELETING: "Deleting";
|
|
1810
|
+
readonly FAILED: "Failed";
|
|
1811
|
+
readonly IN_PROGRESS: "InProgress";
|
|
1812
|
+
readonly STOPPED: "Stopped";
|
|
1813
|
+
readonly STOPPING: "Stopping";
|
|
1814
|
+
};
|
|
1815
|
+
export type EvaluationJobStatus =
|
|
1816
|
+
(typeof EvaluationJobStatus)[keyof typeof EvaluationJobStatus];
|
|
1817
|
+
export interface BatchDeleteEvaluationJobItem {
|
|
1818
|
+
jobIdentifier: string | undefined;
|
|
1819
|
+
jobStatus: EvaluationJobStatus | undefined;
|
|
1291
1820
|
}
|
|
1292
|
-
export interface
|
|
1293
|
-
|
|
1294
|
-
|
|
1821
|
+
export interface BatchDeleteEvaluationJobResponse {
|
|
1822
|
+
errors: BatchDeleteEvaluationJobError[] | undefined;
|
|
1823
|
+
evaluationJobs: BatchDeleteEvaluationJobItem[] | undefined;
|
|
1295
1824
|
}
|
|
1296
|
-
export declare const
|
|
1297
|
-
readonly
|
|
1298
|
-
readonly
|
|
1299
|
-
readonly FAILED: "FAILED";
|
|
1300
|
-
readonly READY: "READY";
|
|
1301
|
-
readonly UPDATING: "UPDATING";
|
|
1302
|
-
readonly VERSIONING: "VERSIONING";
|
|
1825
|
+
export declare const ApplicationType: {
|
|
1826
|
+
readonly MODEL_EVALUATION: "ModelEvaluation";
|
|
1827
|
+
readonly RAG_EVALUATION: "RagEvaluation";
|
|
1303
1828
|
};
|
|
1304
|
-
export type
|
|
1305
|
-
(typeof
|
|
1306
|
-
export
|
|
1307
|
-
|
|
1829
|
+
export type ApplicationType =
|
|
1830
|
+
(typeof ApplicationType)[keyof typeof ApplicationType];
|
|
1831
|
+
export type RatingScaleItemValue =
|
|
1832
|
+
| RatingScaleItemValue.FloatValueMember
|
|
1833
|
+
| RatingScaleItemValue.StringValueMember
|
|
1834
|
+
| RatingScaleItemValue.$UnknownMember;
|
|
1835
|
+
export declare namespace RatingScaleItemValue {
|
|
1836
|
+
interface StringValueMember {
|
|
1837
|
+
stringValue: string;
|
|
1838
|
+
floatValue?: never;
|
|
1839
|
+
$unknown?: never;
|
|
1840
|
+
}
|
|
1841
|
+
interface FloatValueMember {
|
|
1842
|
+
stringValue?: never;
|
|
1843
|
+
floatValue: number;
|
|
1844
|
+
$unknown?: never;
|
|
1845
|
+
}
|
|
1846
|
+
interface $UnknownMember {
|
|
1847
|
+
stringValue?: never;
|
|
1848
|
+
floatValue?: never;
|
|
1849
|
+
$unknown: [string, any];
|
|
1850
|
+
}
|
|
1851
|
+
interface Visitor<T> {
|
|
1852
|
+
stringValue: (value: string) => T;
|
|
1853
|
+
floatValue: (value: number) => T;
|
|
1854
|
+
_: (name: string, value: any) => T;
|
|
1855
|
+
}
|
|
1856
|
+
const visit: <T>(value: RatingScaleItemValue, visitor: Visitor<T>) => T;
|
|
1308
1857
|
}
|
|
1309
|
-
export interface
|
|
1310
|
-
name: string | undefined;
|
|
1858
|
+
export interface RatingScaleItem {
|
|
1311
1859
|
definition: string | undefined;
|
|
1312
|
-
|
|
1313
|
-
type?: GuardrailTopicType | undefined;
|
|
1314
|
-
inputAction?: GuardrailTopicAction | undefined;
|
|
1315
|
-
outputAction?: GuardrailTopicAction | undefined;
|
|
1316
|
-
inputEnabled?: boolean | undefined;
|
|
1317
|
-
outputEnabled?: boolean | undefined;
|
|
1318
|
-
}
|
|
1319
|
-
export interface GuardrailTopicPolicy {
|
|
1320
|
-
topics: GuardrailTopic[] | undefined;
|
|
1321
|
-
tier?: GuardrailTopicsTier | undefined;
|
|
1322
|
-
}
|
|
1323
|
-
export interface GuardrailManagedWords {
|
|
1324
|
-
type: GuardrailManagedWordsType | undefined;
|
|
1325
|
-
inputAction?: GuardrailWordAction | undefined;
|
|
1326
|
-
outputAction?: GuardrailWordAction | undefined;
|
|
1327
|
-
inputEnabled?: boolean | undefined;
|
|
1328
|
-
outputEnabled?: boolean | undefined;
|
|
1329
|
-
}
|
|
1330
|
-
export interface GuardrailWord {
|
|
1331
|
-
text: string | undefined;
|
|
1332
|
-
inputAction?: GuardrailWordAction | undefined;
|
|
1333
|
-
outputAction?: GuardrailWordAction | undefined;
|
|
1334
|
-
inputEnabled?: boolean | undefined;
|
|
1335
|
-
outputEnabled?: boolean | undefined;
|
|
1336
|
-
}
|
|
1337
|
-
export interface GuardrailWordPolicy {
|
|
1338
|
-
words?: GuardrailWord[] | undefined;
|
|
1339
|
-
managedWordLists?: GuardrailManagedWords[] | undefined;
|
|
1340
|
-
}
|
|
1341
|
-
export interface GetGuardrailResponse {
|
|
1342
|
-
name: string | undefined;
|
|
1343
|
-
description?: string | undefined;
|
|
1344
|
-
guardrailId: string | undefined;
|
|
1345
|
-
guardrailArn: string | undefined;
|
|
1346
|
-
version: string | undefined;
|
|
1347
|
-
status: GuardrailStatus | undefined;
|
|
1348
|
-
topicPolicy?: GuardrailTopicPolicy | undefined;
|
|
1349
|
-
contentPolicy?: GuardrailContentPolicy | undefined;
|
|
1350
|
-
wordPolicy?: GuardrailWordPolicy | undefined;
|
|
1351
|
-
sensitiveInformationPolicy?: GuardrailSensitiveInformationPolicy | undefined;
|
|
1352
|
-
contextualGroundingPolicy?: GuardrailContextualGroundingPolicy | undefined;
|
|
1353
|
-
crossRegionDetails?: GuardrailCrossRegionDetails | undefined;
|
|
1354
|
-
createdAt: Date | undefined;
|
|
1355
|
-
updatedAt: Date | undefined;
|
|
1356
|
-
statusReasons?: string[] | undefined;
|
|
1357
|
-
failureRecommendations?: string[] | undefined;
|
|
1358
|
-
blockedInputMessaging: string | undefined;
|
|
1359
|
-
blockedOutputsMessaging: string | undefined;
|
|
1360
|
-
kmsKeyArn?: string | undefined;
|
|
1361
|
-
}
|
|
1362
|
-
export interface ListGuardrailsRequest {
|
|
1363
|
-
guardrailIdentifier?: string | undefined;
|
|
1364
|
-
maxResults?: number | undefined;
|
|
1365
|
-
nextToken?: string | undefined;
|
|
1366
|
-
}
|
|
1367
|
-
export interface GuardrailSummary {
|
|
1368
|
-
id: string | undefined;
|
|
1369
|
-
arn: string | undefined;
|
|
1370
|
-
status: GuardrailStatus | undefined;
|
|
1371
|
-
name: string | undefined;
|
|
1372
|
-
description?: string | undefined;
|
|
1373
|
-
version: string | undefined;
|
|
1374
|
-
createdAt: Date | undefined;
|
|
1375
|
-
updatedAt: Date | undefined;
|
|
1376
|
-
crossRegionDetails?: GuardrailCrossRegionDetails | undefined;
|
|
1377
|
-
}
|
|
1378
|
-
export interface ListGuardrailsResponse {
|
|
1379
|
-
guardrails: GuardrailSummary[] | undefined;
|
|
1380
|
-
nextToken?: string | undefined;
|
|
1860
|
+
value: RatingScaleItemValue | undefined;
|
|
1381
1861
|
}
|
|
1382
|
-
export interface
|
|
1383
|
-
guardrailIdentifier: string | undefined;
|
|
1862
|
+
export interface CustomMetricDefinition {
|
|
1384
1863
|
name: string | undefined;
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
contentPolicyConfig?: GuardrailContentPolicyConfig | undefined;
|
|
1388
|
-
wordPolicyConfig?: GuardrailWordPolicyConfig | undefined;
|
|
1389
|
-
sensitiveInformationPolicyConfig?:
|
|
1390
|
-
| GuardrailSensitiveInformationPolicyConfig
|
|
1391
|
-
| undefined;
|
|
1392
|
-
contextualGroundingPolicyConfig?:
|
|
1393
|
-
| GuardrailContextualGroundingPolicyConfig
|
|
1394
|
-
| undefined;
|
|
1395
|
-
crossRegionConfig?: GuardrailCrossRegionConfig | undefined;
|
|
1396
|
-
blockedInputMessaging: string | undefined;
|
|
1397
|
-
blockedOutputsMessaging: string | undefined;
|
|
1398
|
-
kmsKeyId?: string | undefined;
|
|
1399
|
-
}
|
|
1400
|
-
export interface UpdateGuardrailResponse {
|
|
1401
|
-
guardrailId: string | undefined;
|
|
1402
|
-
guardrailArn: string | undefined;
|
|
1403
|
-
version: string | undefined;
|
|
1404
|
-
updatedAt: Date | undefined;
|
|
1864
|
+
instructions: string | undefined;
|
|
1865
|
+
ratingScale?: RatingScaleItem[] | undefined;
|
|
1405
1866
|
}
|
|
1406
|
-
export type
|
|
1407
|
-
|
|
|
1408
|
-
|
|
|
1409
|
-
export declare namespace
|
|
1410
|
-
interface
|
|
1411
|
-
|
|
1867
|
+
export type AutomatedEvaluationCustomMetricSource =
|
|
1868
|
+
| AutomatedEvaluationCustomMetricSource.CustomMetricDefinitionMember
|
|
1869
|
+
| AutomatedEvaluationCustomMetricSource.$UnknownMember;
|
|
1870
|
+
export declare namespace AutomatedEvaluationCustomMetricSource {
|
|
1871
|
+
interface CustomMetricDefinitionMember {
|
|
1872
|
+
customMetricDefinition: CustomMetricDefinition;
|
|
1412
1873
|
$unknown?: never;
|
|
1413
1874
|
}
|
|
1414
1875
|
interface $UnknownMember {
|
|
1415
|
-
|
|
1876
|
+
customMetricDefinition?: never;
|
|
1416
1877
|
$unknown: [string, any];
|
|
1417
1878
|
}
|
|
1418
1879
|
interface Visitor<T> {
|
|
1419
|
-
|
|
1880
|
+
customMetricDefinition: (value: CustomMetricDefinition) => T;
|
|
1420
1881
|
_: (name: string, value: any) => T;
|
|
1421
1882
|
}
|
|
1422
1883
|
const visit: <T>(
|
|
1423
|
-
value:
|
|
1884
|
+
value: AutomatedEvaluationCustomMetricSource,
|
|
1424
1885
|
visitor: Visitor<T>
|
|
1425
1886
|
) => T;
|
|
1426
1887
|
}
|
|
1427
|
-
export interface
|
|
1428
|
-
|
|
1429
|
-
description?: string | undefined;
|
|
1430
|
-
clientRequestToken?: string | undefined;
|
|
1431
|
-
modelSource: InferenceProfileModelSource | undefined;
|
|
1432
|
-
tags?: Tag[] | undefined;
|
|
1888
|
+
export interface CustomMetricBedrockEvaluatorModel {
|
|
1889
|
+
modelIdentifier: string | undefined;
|
|
1433
1890
|
}
|
|
1434
|
-
export
|
|
1435
|
-
|
|
1436
|
-
};
|
|
1437
|
-
export type InferenceProfileStatus =
|
|
1438
|
-
(typeof InferenceProfileStatus)[keyof typeof InferenceProfileStatus];
|
|
1439
|
-
export interface CreateInferenceProfileResponse {
|
|
1440
|
-
inferenceProfileArn: string | undefined;
|
|
1441
|
-
status?: InferenceProfileStatus | undefined;
|
|
1891
|
+
export interface CustomMetricEvaluatorModelConfig {
|
|
1892
|
+
bedrockEvaluatorModels: CustomMetricBedrockEvaluatorModel[] | undefined;
|
|
1442
1893
|
}
|
|
1443
|
-
export interface
|
|
1444
|
-
|
|
1894
|
+
export interface AutomatedEvaluationCustomMetricConfig {
|
|
1895
|
+
customMetrics: AutomatedEvaluationCustomMetricSource[] | undefined;
|
|
1896
|
+
evaluatorModelConfig: CustomMetricEvaluatorModelConfig | undefined;
|
|
1445
1897
|
}
|
|
1446
|
-
export
|
|
1447
|
-
|
|
1448
|
-
|
|
1898
|
+
export type EvaluationDatasetLocation =
|
|
1899
|
+
| EvaluationDatasetLocation.S3UriMember
|
|
1900
|
+
| EvaluationDatasetLocation.$UnknownMember;
|
|
1901
|
+
export declare namespace EvaluationDatasetLocation {
|
|
1902
|
+
interface S3UriMember {
|
|
1903
|
+
s3Uri: string;
|
|
1904
|
+
$unknown?: never;
|
|
1905
|
+
}
|
|
1906
|
+
interface $UnknownMember {
|
|
1907
|
+
s3Uri?: never;
|
|
1908
|
+
$unknown: [string, any];
|
|
1909
|
+
}
|
|
1910
|
+
interface Visitor<T> {
|
|
1911
|
+
s3Uri: (value: string) => T;
|
|
1912
|
+
_: (name: string, value: any) => T;
|
|
1913
|
+
}
|
|
1914
|
+
const visit: <T>(value: EvaluationDatasetLocation, visitor: Visitor<T>) => T;
|
|
1449
1915
|
}
|
|
1450
|
-
export interface
|
|
1451
|
-
|
|
1916
|
+
export interface EvaluationDataset {
|
|
1917
|
+
name: string | undefined;
|
|
1918
|
+
datasetLocation?: EvaluationDatasetLocation | undefined;
|
|
1452
1919
|
}
|
|
1453
|
-
export declare const
|
|
1454
|
-
readonly
|
|
1455
|
-
readonly
|
|
1920
|
+
export declare const EvaluationTaskType: {
|
|
1921
|
+
readonly CLASSIFICATION: "Classification";
|
|
1922
|
+
readonly CUSTOM: "Custom";
|
|
1923
|
+
readonly GENERATION: "Generation";
|
|
1924
|
+
readonly QUESTION_AND_ANSWER: "QuestionAndAnswer";
|
|
1925
|
+
readonly SUMMARIZATION: "Summarization";
|
|
1456
1926
|
};
|
|
1457
|
-
export type
|
|
1458
|
-
(typeof
|
|
1459
|
-
export interface
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
export
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1927
|
+
export type EvaluationTaskType =
|
|
1928
|
+
(typeof EvaluationTaskType)[keyof typeof EvaluationTaskType];
|
|
1929
|
+
export interface EvaluationDatasetMetricConfig {
|
|
1930
|
+
taskType: EvaluationTaskType | undefined;
|
|
1931
|
+
dataset: EvaluationDataset | undefined;
|
|
1932
|
+
metricNames: string[] | undefined;
|
|
1933
|
+
}
|
|
1934
|
+
export interface BedrockEvaluatorModel {
|
|
1935
|
+
modelIdentifier: string | undefined;
|
|
1936
|
+
}
|
|
1937
|
+
export type EvaluatorModelConfig =
|
|
1938
|
+
| EvaluatorModelConfig.BedrockEvaluatorModelsMember
|
|
1939
|
+
| EvaluatorModelConfig.$UnknownMember;
|
|
1940
|
+
export declare namespace EvaluatorModelConfig {
|
|
1941
|
+
interface BedrockEvaluatorModelsMember {
|
|
1942
|
+
bedrockEvaluatorModels: BedrockEvaluatorModel[];
|
|
1943
|
+
$unknown?: never;
|
|
1944
|
+
}
|
|
1945
|
+
interface $UnknownMember {
|
|
1946
|
+
bedrockEvaluatorModels?: never;
|
|
1947
|
+
$unknown: [string, any];
|
|
1948
|
+
}
|
|
1949
|
+
interface Visitor<T> {
|
|
1950
|
+
bedrockEvaluatorModels: (value: BedrockEvaluatorModel[]) => T;
|
|
1951
|
+
_: (name: string, value: any) => T;
|
|
1952
|
+
}
|
|
1953
|
+
const visit: <T>(value: EvaluatorModelConfig, visitor: Visitor<T>) => T;
|
|
1954
|
+
}
|
|
1955
|
+
export interface AutomatedEvaluationConfig {
|
|
1956
|
+
datasetMetricConfigs: EvaluationDatasetMetricConfig[] | undefined;
|
|
1957
|
+
evaluatorModelConfig?: EvaluatorModelConfig | undefined;
|
|
1958
|
+
customMetricConfig?: AutomatedEvaluationCustomMetricConfig | undefined;
|
|
1474
1959
|
}
|
|
1475
|
-
export interface
|
|
1476
|
-
|
|
1960
|
+
export interface HumanEvaluationCustomMetric {
|
|
1961
|
+
name: string | undefined;
|
|
1477
1962
|
description?: string | undefined;
|
|
1478
|
-
|
|
1479
|
-
updatedAt?: Date | undefined;
|
|
1480
|
-
inferenceProfileArn: string | undefined;
|
|
1481
|
-
models: InferenceProfileModel[] | undefined;
|
|
1482
|
-
inferenceProfileId: string | undefined;
|
|
1483
|
-
status: InferenceProfileStatus | undefined;
|
|
1484
|
-
type: InferenceProfileType | undefined;
|
|
1485
|
-
}
|
|
1486
|
-
export interface ListInferenceProfilesResponse {
|
|
1487
|
-
inferenceProfileSummaries?: InferenceProfileSummary[] | undefined;
|
|
1488
|
-
nextToken?: string | undefined;
|
|
1963
|
+
ratingMethod: string | undefined;
|
|
1489
1964
|
}
|
|
1490
|
-
export interface
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
export interface S3Config {
|
|
1494
|
-
bucketName: string | undefined;
|
|
1495
|
-
keyPrefix?: string | undefined;
|
|
1496
|
-
}
|
|
1497
|
-
export interface CloudWatchConfig {
|
|
1498
|
-
logGroupName: string | undefined;
|
|
1499
|
-
roleArn: string | undefined;
|
|
1500
|
-
largeDataDeliveryS3Config?: S3Config | undefined;
|
|
1501
|
-
}
|
|
1502
|
-
export interface LoggingConfig {
|
|
1503
|
-
cloudWatchConfig?: CloudWatchConfig | undefined;
|
|
1504
|
-
s3Config?: S3Config | undefined;
|
|
1505
|
-
textDataDeliveryEnabled?: boolean | undefined;
|
|
1506
|
-
imageDataDeliveryEnabled?: boolean | undefined;
|
|
1507
|
-
embeddingDataDeliveryEnabled?: boolean | undefined;
|
|
1508
|
-
videoDataDeliveryEnabled?: boolean | undefined;
|
|
1509
|
-
}
|
|
1510
|
-
export interface GetModelInvocationLoggingConfigurationResponse {
|
|
1511
|
-
loggingConfig?: LoggingConfig | undefined;
|
|
1512
|
-
}
|
|
1513
|
-
export interface PutModelInvocationLoggingConfigurationRequest {
|
|
1514
|
-
loggingConfig: LoggingConfig | undefined;
|
|
1515
|
-
}
|
|
1516
|
-
export interface PutModelInvocationLoggingConfigurationResponse {}
|
|
1517
|
-
export interface CreateModelCopyJobRequest {
|
|
1518
|
-
sourceModelArn: string | undefined;
|
|
1519
|
-
targetModelName: string | undefined;
|
|
1520
|
-
modelKmsKeyId?: string | undefined;
|
|
1521
|
-
targetModelTags?: Tag[] | undefined;
|
|
1522
|
-
clientRequestToken?: string | undefined;
|
|
1965
|
+
export interface HumanWorkflowConfig {
|
|
1966
|
+
flowDefinitionArn: string | undefined;
|
|
1967
|
+
instructions?: string | undefined;
|
|
1523
1968
|
}
|
|
1524
|
-
export interface
|
|
1525
|
-
|
|
1969
|
+
export interface HumanEvaluationConfig {
|
|
1970
|
+
humanWorkflowConfig?: HumanWorkflowConfig | undefined;
|
|
1971
|
+
customMetrics?: HumanEvaluationCustomMetric[] | undefined;
|
|
1972
|
+
datasetMetricConfigs: EvaluationDatasetMetricConfig[] | undefined;
|
|
1526
1973
|
}
|
|
1527
|
-
export
|
|
1528
|
-
|
|
1974
|
+
export type EvaluationConfig =
|
|
1975
|
+
| EvaluationConfig.AutomatedMember
|
|
1976
|
+
| EvaluationConfig.HumanMember
|
|
1977
|
+
| EvaluationConfig.$UnknownMember;
|
|
1978
|
+
export declare namespace EvaluationConfig {
|
|
1979
|
+
interface AutomatedMember {
|
|
1980
|
+
automated: AutomatedEvaluationConfig;
|
|
1981
|
+
human?: never;
|
|
1982
|
+
$unknown?: never;
|
|
1983
|
+
}
|
|
1984
|
+
interface HumanMember {
|
|
1985
|
+
automated?: never;
|
|
1986
|
+
human: HumanEvaluationConfig;
|
|
1987
|
+
$unknown?: never;
|
|
1988
|
+
}
|
|
1989
|
+
interface $UnknownMember {
|
|
1990
|
+
automated?: never;
|
|
1991
|
+
human?: never;
|
|
1992
|
+
$unknown: [string, any];
|
|
1993
|
+
}
|
|
1994
|
+
interface Visitor<T> {
|
|
1995
|
+
automated: (value: AutomatedEvaluationConfig) => T;
|
|
1996
|
+
human: (value: HumanEvaluationConfig) => T;
|
|
1997
|
+
_: (name: string, value: any) => T;
|
|
1998
|
+
}
|
|
1999
|
+
const visit: <T>(value: EvaluationConfig, visitor: Visitor<T>) => T;
|
|
1529
2000
|
}
|
|
1530
|
-
export declare const
|
|
1531
|
-
readonly
|
|
1532
|
-
readonly
|
|
1533
|
-
readonly IN_PROGRESS: "InProgress";
|
|
2001
|
+
export declare const PerformanceConfigLatency: {
|
|
2002
|
+
readonly OPTIMIZED: "optimized";
|
|
2003
|
+
readonly STANDARD: "standard";
|
|
1534
2004
|
};
|
|
1535
|
-
export type
|
|
1536
|
-
(typeof
|
|
1537
|
-
export interface
|
|
1538
|
-
|
|
1539
|
-
status: ModelCopyJobStatus | undefined;
|
|
1540
|
-
creationTime: Date | undefined;
|
|
1541
|
-
targetModelArn: string | undefined;
|
|
1542
|
-
targetModelName?: string | undefined;
|
|
1543
|
-
sourceAccountId: string | undefined;
|
|
1544
|
-
sourceModelArn: string | undefined;
|
|
1545
|
-
targetModelKmsKeyArn?: string | undefined;
|
|
1546
|
-
targetModelTags?: Tag[] | undefined;
|
|
1547
|
-
failureMessage?: string | undefined;
|
|
1548
|
-
sourceModelName?: string | undefined;
|
|
2005
|
+
export type PerformanceConfigLatency =
|
|
2006
|
+
(typeof PerformanceConfigLatency)[keyof typeof PerformanceConfigLatency];
|
|
2007
|
+
export interface PerformanceConfiguration {
|
|
2008
|
+
latency?: PerformanceConfigLatency | undefined;
|
|
1549
2009
|
}
|
|
1550
|
-
export interface
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
sourceAccountEquals?: string | undefined;
|
|
1555
|
-
sourceModelArnEquals?: string | undefined;
|
|
1556
|
-
targetModelNameContains?: string | undefined;
|
|
1557
|
-
maxResults?: number | undefined;
|
|
1558
|
-
nextToken?: string | undefined;
|
|
1559
|
-
sortBy?: SortJobsBy | undefined;
|
|
1560
|
-
sortOrder?: SortOrder | undefined;
|
|
2010
|
+
export interface EvaluationBedrockModel {
|
|
2011
|
+
modelIdentifier: string | undefined;
|
|
2012
|
+
inferenceParams?: string | undefined;
|
|
2013
|
+
performanceConfig?: PerformanceConfiguration | undefined;
|
|
1561
2014
|
}
|
|
1562
|
-
export interface
|
|
1563
|
-
|
|
1564
|
-
status: ModelCopyJobStatus | undefined;
|
|
1565
|
-
creationTime: Date | undefined;
|
|
1566
|
-
targetModelArn: string | undefined;
|
|
1567
|
-
targetModelName?: string | undefined;
|
|
1568
|
-
sourceAccountId: string | undefined;
|
|
1569
|
-
sourceModelArn: string | undefined;
|
|
1570
|
-
targetModelKmsKeyArn?: string | undefined;
|
|
1571
|
-
targetModelTags?: Tag[] | undefined;
|
|
1572
|
-
failureMessage?: string | undefined;
|
|
1573
|
-
sourceModelName?: string | undefined;
|
|
2015
|
+
export interface EvaluationPrecomputedInferenceSource {
|
|
2016
|
+
inferenceSourceIdentifier: string | undefined;
|
|
1574
2017
|
}
|
|
1575
|
-
export
|
|
1576
|
-
|
|
1577
|
-
|
|
2018
|
+
export type EvaluationModelConfig =
|
|
2019
|
+
| EvaluationModelConfig.BedrockModelMember
|
|
2020
|
+
| EvaluationModelConfig.PrecomputedInferenceSourceMember
|
|
2021
|
+
| EvaluationModelConfig.$UnknownMember;
|
|
2022
|
+
export declare namespace EvaluationModelConfig {
|
|
2023
|
+
interface BedrockModelMember {
|
|
2024
|
+
bedrockModel: EvaluationBedrockModel;
|
|
2025
|
+
precomputedInferenceSource?: never;
|
|
2026
|
+
$unknown?: never;
|
|
2027
|
+
}
|
|
2028
|
+
interface PrecomputedInferenceSourceMember {
|
|
2029
|
+
bedrockModel?: never;
|
|
2030
|
+
precomputedInferenceSource: EvaluationPrecomputedInferenceSource;
|
|
2031
|
+
$unknown?: never;
|
|
2032
|
+
}
|
|
2033
|
+
interface $UnknownMember {
|
|
2034
|
+
bedrockModel?: never;
|
|
2035
|
+
precomputedInferenceSource?: never;
|
|
2036
|
+
$unknown: [string, any];
|
|
2037
|
+
}
|
|
2038
|
+
interface Visitor<T> {
|
|
2039
|
+
bedrockModel: (value: EvaluationBedrockModel) => T;
|
|
2040
|
+
precomputedInferenceSource: (
|
|
2041
|
+
value: EvaluationPrecomputedInferenceSource
|
|
2042
|
+
) => T;
|
|
2043
|
+
_: (name: string, value: any) => T;
|
|
2044
|
+
}
|
|
2045
|
+
const visit: <T>(value: EvaluationModelConfig, visitor: Visitor<T>) => T;
|
|
1578
2046
|
}
|
|
1579
|
-
export interface
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
roleArn: string | undefined;
|
|
1583
|
-
modelDataSource: ModelDataSource | undefined;
|
|
1584
|
-
jobTags?: Tag[] | undefined;
|
|
1585
|
-
importedModelTags?: Tag[] | undefined;
|
|
1586
|
-
clientRequestToken?: string | undefined;
|
|
1587
|
-
vpcConfig?: VpcConfig | undefined;
|
|
1588
|
-
importedModelKmsKeyId?: string | undefined;
|
|
2047
|
+
export interface GuardrailConfiguration {
|
|
2048
|
+
guardrailId: string | undefined;
|
|
2049
|
+
guardrailVersion: string | undefined;
|
|
1589
2050
|
}
|
|
1590
|
-
export interface
|
|
1591
|
-
|
|
2051
|
+
export interface TextInferenceConfig {
|
|
2052
|
+
temperature?: number | undefined;
|
|
2053
|
+
topP?: number | undefined;
|
|
2054
|
+
maxTokens?: number | undefined;
|
|
2055
|
+
stopSequences?: string[] | undefined;
|
|
1592
2056
|
}
|
|
1593
|
-
export interface
|
|
1594
|
-
|
|
2057
|
+
export interface KbInferenceConfig {
|
|
2058
|
+
textInferenceConfig?: TextInferenceConfig | undefined;
|
|
1595
2059
|
}
|
|
1596
|
-
export interface
|
|
1597
|
-
|
|
1598
|
-
modelIdentifier: string | undefined;
|
|
2060
|
+
export interface PromptTemplate {
|
|
2061
|
+
textPromptTemplate?: string | undefined;
|
|
1599
2062
|
}
|
|
1600
|
-
export interface
|
|
1601
|
-
|
|
1602
|
-
|
|
2063
|
+
export interface ExternalSourcesGenerationConfiguration {
|
|
2064
|
+
promptTemplate?: PromptTemplate | undefined;
|
|
2065
|
+
guardrailConfiguration?: GuardrailConfiguration | undefined;
|
|
2066
|
+
kbInferenceConfig?: KbInferenceConfig | undefined;
|
|
2067
|
+
additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
|
|
1603
2068
|
}
|
|
1604
|
-
export interface
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
jobArn?: string | undefined;
|
|
1609
|
-
modelDataSource?: ModelDataSource | undefined;
|
|
1610
|
-
creationTime?: Date | undefined;
|
|
1611
|
-
modelArchitecture?: string | undefined;
|
|
1612
|
-
modelKmsKeyArn?: string | undefined;
|
|
1613
|
-
instructSupported?: boolean | undefined;
|
|
1614
|
-
customModelUnits?: CustomModelUnits | undefined;
|
|
2069
|
+
export interface ByteContentDoc {
|
|
2070
|
+
identifier: string | undefined;
|
|
2071
|
+
contentType: string | undefined;
|
|
2072
|
+
data: Uint8Array | undefined;
|
|
1615
2073
|
}
|
|
1616
|
-
export interface
|
|
1617
|
-
|
|
2074
|
+
export interface S3ObjectDoc {
|
|
2075
|
+
uri: string | undefined;
|
|
1618
2076
|
}
|
|
1619
|
-
export declare const
|
|
1620
|
-
readonly
|
|
1621
|
-
readonly
|
|
1622
|
-
readonly IN_PROGRESS: "InProgress";
|
|
2077
|
+
export declare const ExternalSourceType: {
|
|
2078
|
+
readonly BYTE_CONTENT: "BYTE_CONTENT";
|
|
2079
|
+
readonly S3: "S3";
|
|
1623
2080
|
};
|
|
1624
|
-
export type
|
|
1625
|
-
(typeof
|
|
1626
|
-
export interface
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
importedModelArn?: string | undefined;
|
|
1631
|
-
roleArn?: string | undefined;
|
|
1632
|
-
modelDataSource?: ModelDataSource | undefined;
|
|
1633
|
-
status?: ModelImportJobStatus | undefined;
|
|
1634
|
-
failureMessage?: string | undefined;
|
|
1635
|
-
creationTime?: Date | undefined;
|
|
1636
|
-
lastModifiedTime?: Date | undefined;
|
|
1637
|
-
endTime?: Date | undefined;
|
|
1638
|
-
vpcConfig?: VpcConfig | undefined;
|
|
1639
|
-
importedModelKmsKeyArn?: string | undefined;
|
|
1640
|
-
}
|
|
1641
|
-
export interface ListImportedModelsRequest {
|
|
1642
|
-
creationTimeBefore?: Date | undefined;
|
|
1643
|
-
creationTimeAfter?: Date | undefined;
|
|
1644
|
-
nameContains?: string | undefined;
|
|
1645
|
-
maxResults?: number | undefined;
|
|
1646
|
-
nextToken?: string | undefined;
|
|
1647
|
-
sortBy?: SortModelsBy | undefined;
|
|
1648
|
-
sortOrder?: SortOrder | undefined;
|
|
2081
|
+
export type ExternalSourceType =
|
|
2082
|
+
(typeof ExternalSourceType)[keyof typeof ExternalSourceType];
|
|
2083
|
+
export interface ExternalSource {
|
|
2084
|
+
sourceType: ExternalSourceType | undefined;
|
|
2085
|
+
s3Location?: S3ObjectDoc | undefined;
|
|
2086
|
+
byteContent?: ByteContentDoc | undefined;
|
|
1649
2087
|
}
|
|
1650
|
-
export interface
|
|
2088
|
+
export interface ExternalSourcesRetrieveAndGenerateConfiguration {
|
|
1651
2089
|
modelArn: string | undefined;
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
2090
|
+
sources: ExternalSource[] | undefined;
|
|
2091
|
+
generationConfiguration?: ExternalSourcesGenerationConfiguration | undefined;
|
|
2092
|
+
}
|
|
2093
|
+
export interface GenerationConfiguration {
|
|
2094
|
+
promptTemplate?: PromptTemplate | undefined;
|
|
2095
|
+
guardrailConfiguration?: GuardrailConfiguration | undefined;
|
|
2096
|
+
kbInferenceConfig?: KbInferenceConfig | undefined;
|
|
2097
|
+
additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
|
|
1656
2098
|
}
|
|
1657
|
-
export
|
|
1658
|
-
|
|
1659
|
-
|
|
2099
|
+
export declare const QueryTransformationType: {
|
|
2100
|
+
readonly QUERY_DECOMPOSITION: "QUERY_DECOMPOSITION";
|
|
2101
|
+
};
|
|
2102
|
+
export type QueryTransformationType =
|
|
2103
|
+
(typeof QueryTransformationType)[keyof typeof QueryTransformationType];
|
|
2104
|
+
export interface QueryTransformationConfiguration {
|
|
2105
|
+
type: QueryTransformationType | undefined;
|
|
1660
2106
|
}
|
|
1661
|
-
export interface
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
nameContains?: string | undefined;
|
|
1666
|
-
maxResults?: number | undefined;
|
|
1667
|
-
nextToken?: string | undefined;
|
|
1668
|
-
sortBy?: SortJobsBy | undefined;
|
|
1669
|
-
sortOrder?: SortOrder | undefined;
|
|
2107
|
+
export interface OrchestrationConfiguration {
|
|
2108
|
+
queryTransformationConfiguration:
|
|
2109
|
+
| QueryTransformationConfiguration
|
|
2110
|
+
| undefined;
|
|
1670
2111
|
}
|
|
1671
|
-
export interface
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
status: ModelImportJobStatus | undefined;
|
|
1675
|
-
lastModifiedTime?: Date | undefined;
|
|
1676
|
-
creationTime: Date | undefined;
|
|
1677
|
-
endTime?: Date | undefined;
|
|
1678
|
-
importedModelArn?: string | undefined;
|
|
1679
|
-
importedModelName?: string | undefined;
|
|
2112
|
+
export interface FilterAttribute {
|
|
2113
|
+
key: string | undefined;
|
|
2114
|
+
value: __DocumentType | undefined;
|
|
1680
2115
|
}
|
|
1681
|
-
export
|
|
1682
|
-
|
|
1683
|
-
|
|
2116
|
+
export declare const AttributeType: {
|
|
2117
|
+
readonly BOOLEAN: "BOOLEAN";
|
|
2118
|
+
readonly NUMBER: "NUMBER";
|
|
2119
|
+
readonly STRING: "STRING";
|
|
2120
|
+
readonly STRING_LIST: "STRING_LIST";
|
|
2121
|
+
};
|
|
2122
|
+
export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType];
|
|
2123
|
+
export interface MetadataAttributeSchema {
|
|
2124
|
+
key: string | undefined;
|
|
2125
|
+
type: AttributeType | undefined;
|
|
2126
|
+
description: string | undefined;
|
|
2127
|
+
}
|
|
2128
|
+
export interface ImplicitFilterConfiguration {
|
|
2129
|
+
metadataAttributes: MetadataAttributeSchema[] | undefined;
|
|
2130
|
+
modelArn: string | undefined;
|
|
1684
2131
|
}
|
|
1685
|
-
export declare const
|
|
1686
|
-
readonly
|
|
2132
|
+
export declare const SearchType: {
|
|
2133
|
+
readonly HYBRID: "HYBRID";
|
|
2134
|
+
readonly SEMANTIC: "SEMANTIC";
|
|
1687
2135
|
};
|
|
1688
|
-
export type
|
|
1689
|
-
export
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
2136
|
+
export type SearchType = (typeof SearchType)[keyof typeof SearchType];
|
|
2137
|
+
export declare const RerankingMetadataSelectionMode: {
|
|
2138
|
+
readonly ALL: "ALL";
|
|
2139
|
+
readonly SELECTIVE: "SELECTIVE";
|
|
2140
|
+
};
|
|
2141
|
+
export type RerankingMetadataSelectionMode =
|
|
2142
|
+
(typeof RerankingMetadataSelectionMode)[keyof typeof RerankingMetadataSelectionMode];
|
|
2143
|
+
export interface FieldForReranking {
|
|
2144
|
+
fieldName: string | undefined;
|
|
2145
|
+
}
|
|
2146
|
+
export type RerankingMetadataSelectiveModeConfiguration =
|
|
2147
|
+
| RerankingMetadataSelectiveModeConfiguration.FieldsToExcludeMember
|
|
2148
|
+
| RerankingMetadataSelectiveModeConfiguration.FieldsToIncludeMember
|
|
2149
|
+
| RerankingMetadataSelectiveModeConfiguration.$UnknownMember;
|
|
2150
|
+
export declare namespace RerankingMetadataSelectiveModeConfiguration {
|
|
2151
|
+
interface FieldsToIncludeMember {
|
|
2152
|
+
fieldsToInclude: FieldForReranking[];
|
|
2153
|
+
fieldsToExclude?: never;
|
|
2154
|
+
$unknown?: never;
|
|
2155
|
+
}
|
|
2156
|
+
interface FieldsToExcludeMember {
|
|
2157
|
+
fieldsToInclude?: never;
|
|
2158
|
+
fieldsToExclude: FieldForReranking[];
|
|
1700
2159
|
$unknown?: never;
|
|
1701
2160
|
}
|
|
1702
2161
|
interface $UnknownMember {
|
|
1703
|
-
|
|
2162
|
+
fieldsToInclude?: never;
|
|
2163
|
+
fieldsToExclude?: never;
|
|
1704
2164
|
$unknown: [string, any];
|
|
1705
2165
|
}
|
|
1706
2166
|
interface Visitor<T> {
|
|
1707
|
-
|
|
2167
|
+
fieldsToInclude: (value: FieldForReranking[]) => T;
|
|
2168
|
+
fieldsToExclude: (value: FieldForReranking[]) => T;
|
|
1708
2169
|
_: (name: string, value: any) => T;
|
|
1709
2170
|
}
|
|
1710
2171
|
const visit: <T>(
|
|
1711
|
-
value:
|
|
2172
|
+
value: RerankingMetadataSelectiveModeConfiguration,
|
|
1712
2173
|
visitor: Visitor<T>
|
|
1713
2174
|
) => T;
|
|
1714
2175
|
}
|
|
1715
|
-
export interface
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
2176
|
+
export interface MetadataConfigurationForReranking {
|
|
2177
|
+
selectionMode: RerankingMetadataSelectionMode | undefined;
|
|
2178
|
+
selectiveModeConfiguration?:
|
|
2179
|
+
| RerankingMetadataSelectiveModeConfiguration
|
|
2180
|
+
| undefined;
|
|
2181
|
+
}
|
|
2182
|
+
export interface VectorSearchBedrockRerankingModelConfiguration {
|
|
2183
|
+
modelArn: string | undefined;
|
|
2184
|
+
additionalModelRequestFields?: Record<string, __DocumentType> | undefined;
|
|
2185
|
+
}
|
|
2186
|
+
export interface VectorSearchBedrockRerankingConfiguration {
|
|
2187
|
+
modelConfiguration:
|
|
2188
|
+
| VectorSearchBedrockRerankingModelConfiguration
|
|
2189
|
+
| undefined;
|
|
2190
|
+
numberOfRerankedResults?: number | undefined;
|
|
2191
|
+
metadataConfiguration?: MetadataConfigurationForReranking | undefined;
|
|
2192
|
+
}
|
|
2193
|
+
export declare const VectorSearchRerankingConfigurationType: {
|
|
2194
|
+
readonly BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL";
|
|
2195
|
+
};
|
|
2196
|
+
export type VectorSearchRerankingConfigurationType =
|
|
2197
|
+
(typeof VectorSearchRerankingConfigurationType)[keyof typeof VectorSearchRerankingConfigurationType];
|
|
2198
|
+
export interface VectorSearchRerankingConfiguration {
|
|
2199
|
+
type: VectorSearchRerankingConfigurationType | undefined;
|
|
2200
|
+
bedrockRerankingConfiguration?:
|
|
2201
|
+
| VectorSearchBedrockRerankingConfiguration
|
|
2202
|
+
| undefined;
|
|
2203
|
+
}
|
|
2204
|
+
export declare const RetrieveAndGenerateType: {
|
|
2205
|
+
readonly EXTERNAL_SOURCES: "EXTERNAL_SOURCES";
|
|
2206
|
+
readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
2207
|
+
};
|
|
2208
|
+
export type RetrieveAndGenerateType =
|
|
2209
|
+
(typeof RetrieveAndGenerateType)[keyof typeof RetrieveAndGenerateType];
|
|
2210
|
+
export interface EvaluationPrecomputedRetrieveAndGenerateSourceConfig {
|
|
2211
|
+
ragSourceIdentifier: string | undefined;
|
|
2212
|
+
}
|
|
2213
|
+
export interface EvaluationPrecomputedRetrieveSourceConfig {
|
|
2214
|
+
ragSourceIdentifier: string | undefined;
|
|
2215
|
+
}
|
|
2216
|
+
export type EvaluationPrecomputedRagSourceConfig =
|
|
2217
|
+
| EvaluationPrecomputedRagSourceConfig.RetrieveAndGenerateSourceConfigMember
|
|
2218
|
+
| EvaluationPrecomputedRagSourceConfig.RetrieveSourceConfigMember
|
|
2219
|
+
| EvaluationPrecomputedRagSourceConfig.$UnknownMember;
|
|
2220
|
+
export declare namespace EvaluationPrecomputedRagSourceConfig {
|
|
2221
|
+
interface RetrieveSourceConfigMember {
|
|
2222
|
+
retrieveSourceConfig: EvaluationPrecomputedRetrieveSourceConfig;
|
|
2223
|
+
retrieveAndGenerateSourceConfig?: never;
|
|
2224
|
+
$unknown?: never;
|
|
2225
|
+
}
|
|
2226
|
+
interface RetrieveAndGenerateSourceConfigMember {
|
|
2227
|
+
retrieveSourceConfig?: never;
|
|
2228
|
+
retrieveAndGenerateSourceConfig: EvaluationPrecomputedRetrieveAndGenerateSourceConfig;
|
|
1726
2229
|
$unknown?: never;
|
|
1727
2230
|
}
|
|
1728
2231
|
interface $UnknownMember {
|
|
1729
|
-
|
|
2232
|
+
retrieveSourceConfig?: never;
|
|
2233
|
+
retrieveAndGenerateSourceConfig?: never;
|
|
1730
2234
|
$unknown: [string, any];
|
|
1731
2235
|
}
|
|
1732
2236
|
interface Visitor<T> {
|
|
1733
|
-
|
|
2237
|
+
retrieveSourceConfig: (
|
|
2238
|
+
value: EvaluationPrecomputedRetrieveSourceConfig
|
|
2239
|
+
) => T;
|
|
2240
|
+
retrieveAndGenerateSourceConfig: (
|
|
2241
|
+
value: EvaluationPrecomputedRetrieveAndGenerateSourceConfig
|
|
2242
|
+
) => T;
|
|
1734
2243
|
_: (name: string, value: any) => T;
|
|
1735
2244
|
}
|
|
1736
2245
|
const visit: <T>(
|
|
1737
|
-
value:
|
|
2246
|
+
value: EvaluationPrecomputedRagSourceConfig,
|
|
1738
2247
|
visitor: Visitor<T>
|
|
1739
2248
|
) => T;
|
|
1740
2249
|
}
|
|
1741
|
-
export interface
|
|
1742
|
-
|
|
1743
|
-
roleArn: string | undefined;
|
|
1744
|
-
clientRequestToken?: string | undefined;
|
|
1745
|
-
modelId: string | undefined;
|
|
1746
|
-
inputDataConfig: ModelInvocationJobInputDataConfig | undefined;
|
|
1747
|
-
outputDataConfig: ModelInvocationJobOutputDataConfig | undefined;
|
|
1748
|
-
vpcConfig?: VpcConfig | undefined;
|
|
1749
|
-
timeoutDurationInHours?: number | undefined;
|
|
1750
|
-
tags?: Tag[] | undefined;
|
|
2250
|
+
export interface EvaluationOutputDataConfig {
|
|
2251
|
+
s3Uri: string | undefined;
|
|
1751
2252
|
}
|
|
1752
|
-
export interface
|
|
2253
|
+
export interface CreateEvaluationJobResponse {
|
|
1753
2254
|
jobArn: string | undefined;
|
|
1754
2255
|
}
|
|
1755
|
-
export interface
|
|
2256
|
+
export interface GetEvaluationJobRequest {
|
|
1756
2257
|
jobIdentifier: string | undefined;
|
|
1757
2258
|
}
|
|
1758
|
-
export declare const
|
|
1759
|
-
readonly
|
|
1760
|
-
readonly
|
|
1761
|
-
readonly FAILED: "Failed";
|
|
1762
|
-
readonly IN_PROGRESS: "InProgress";
|
|
1763
|
-
readonly PARTIALLY_COMPLETED: "PartiallyCompleted";
|
|
1764
|
-
readonly SCHEDULED: "Scheduled";
|
|
1765
|
-
readonly STOPPED: "Stopped";
|
|
1766
|
-
readonly STOPPING: "Stopping";
|
|
1767
|
-
readonly SUBMITTED: "Submitted";
|
|
1768
|
-
readonly VALIDATING: "Validating";
|
|
2259
|
+
export declare const EvaluationJobType: {
|
|
2260
|
+
readonly AUTOMATED: "Automated";
|
|
2261
|
+
readonly HUMAN: "Human";
|
|
1769
2262
|
};
|
|
1770
|
-
export type
|
|
1771
|
-
(typeof
|
|
1772
|
-
export
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
lastModifiedTime?: Date | undefined;
|
|
1782
|
-
endTime?: Date | undefined;
|
|
1783
|
-
inputDataConfig: ModelInvocationJobInputDataConfig | undefined;
|
|
1784
|
-
outputDataConfig: ModelInvocationJobOutputDataConfig | undefined;
|
|
1785
|
-
vpcConfig?: VpcConfig | undefined;
|
|
1786
|
-
timeoutDurationInHours?: number | undefined;
|
|
1787
|
-
jobExpirationTime?: Date | undefined;
|
|
1788
|
-
}
|
|
1789
|
-
export interface ListModelInvocationJobsRequest {
|
|
1790
|
-
submitTimeAfter?: Date | undefined;
|
|
1791
|
-
submitTimeBefore?: Date | undefined;
|
|
1792
|
-
statusEquals?: ModelInvocationJobStatus | undefined;
|
|
2263
|
+
export type EvaluationJobType =
|
|
2264
|
+
(typeof EvaluationJobType)[keyof typeof EvaluationJobType];
|
|
2265
|
+
export declare const SortJobsBy: {
|
|
2266
|
+
readonly CREATION_TIME: "CreationTime";
|
|
2267
|
+
};
|
|
2268
|
+
export type SortJobsBy = (typeof SortJobsBy)[keyof typeof SortJobsBy];
|
|
2269
|
+
export interface ListEvaluationJobsRequest {
|
|
2270
|
+
creationTimeAfter?: Date | undefined;
|
|
2271
|
+
creationTimeBefore?: Date | undefined;
|
|
2272
|
+
statusEquals?: EvaluationJobStatus | undefined;
|
|
2273
|
+
applicationTypeEquals?: ApplicationType | undefined;
|
|
1793
2274
|
nameContains?: string | undefined;
|
|
1794
2275
|
maxResults?: number | undefined;
|
|
1795
2276
|
nextToken?: string | undefined;
|
|
1796
2277
|
sortBy?: SortJobsBy | undefined;
|
|
1797
2278
|
sortOrder?: SortOrder | undefined;
|
|
1798
2279
|
}
|
|
1799
|
-
export interface
|
|
2280
|
+
export interface EvaluationModelConfigSummary {
|
|
2281
|
+
bedrockModelIdentifiers?: string[] | undefined;
|
|
2282
|
+
precomputedInferenceSourceIdentifiers?: string[] | undefined;
|
|
2283
|
+
}
|
|
2284
|
+
export interface EvaluationRagConfigSummary {
|
|
2285
|
+
bedrockKnowledgeBaseIdentifiers?: string[] | undefined;
|
|
2286
|
+
precomputedRagSourceIdentifiers?: string[] | undefined;
|
|
2287
|
+
}
|
|
2288
|
+
export interface EvaluationInferenceConfigSummary {
|
|
2289
|
+
modelConfigSummary?: EvaluationModelConfigSummary | undefined;
|
|
2290
|
+
ragConfigSummary?: EvaluationRagConfigSummary | undefined;
|
|
2291
|
+
}
|
|
2292
|
+
export interface EvaluationSummary {
|
|
1800
2293
|
jobArn: string | undefined;
|
|
1801
2294
|
jobName: string | undefined;
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
jobExpirationTime?: Date | undefined;
|
|
1815
|
-
}
|
|
1816
|
-
export interface ListModelInvocationJobsResponse {
|
|
2295
|
+
status: EvaluationJobStatus | undefined;
|
|
2296
|
+
creationTime: Date | undefined;
|
|
2297
|
+
jobType: EvaluationJobType | undefined;
|
|
2298
|
+
evaluationTaskTypes: EvaluationTaskType[] | undefined;
|
|
2299
|
+
modelIdentifiers?: string[] | undefined;
|
|
2300
|
+
ragIdentifiers?: string[] | undefined;
|
|
2301
|
+
evaluatorModelIdentifiers?: string[] | undefined;
|
|
2302
|
+
customMetricsEvaluatorModelIdentifiers?: string[] | undefined;
|
|
2303
|
+
inferenceConfigSummary?: EvaluationInferenceConfigSummary | undefined;
|
|
2304
|
+
applicationType?: ApplicationType | undefined;
|
|
2305
|
+
}
|
|
2306
|
+
export interface ListEvaluationJobsResponse {
|
|
1817
2307
|
nextToken?: string | undefined;
|
|
1818
|
-
|
|
2308
|
+
jobSummaries?: EvaluationSummary[] | undefined;
|
|
1819
2309
|
}
|
|
1820
|
-
export interface
|
|
2310
|
+
export interface StopEvaluationJobRequest {
|
|
1821
2311
|
jobIdentifier: string | undefined;
|
|
1822
2312
|
}
|
|
1823
|
-
export interface
|
|
1824
|
-
export interface
|
|
1825
|
-
|
|
2313
|
+
export interface StopEvaluationJobResponse {}
|
|
2314
|
+
export interface GuardrailAutomatedReasoningPolicyConfig {
|
|
2315
|
+
policies: string[] | undefined;
|
|
2316
|
+
confidenceThreshold?: number | undefined;
|
|
1826
2317
|
}
|
|
1827
|
-
export declare const
|
|
1828
|
-
readonly
|
|
1829
|
-
readonly
|
|
1830
|
-
readonly FINE_TUNING: "FINE_TUNING";
|
|
1831
|
-
};
|
|
1832
|
-
export type ModelCustomization =
|
|
1833
|
-
(typeof ModelCustomization)[keyof typeof ModelCustomization];
|
|
1834
|
-
export declare const InferenceType: {
|
|
1835
|
-
readonly ON_DEMAND: "ON_DEMAND";
|
|
1836
|
-
readonly PROVISIONED: "PROVISIONED";
|
|
2318
|
+
export declare const GuardrailContentFilterAction: {
|
|
2319
|
+
readonly BLOCK: "BLOCK";
|
|
2320
|
+
readonly NONE: "NONE";
|
|
1837
2321
|
};
|
|
1838
|
-
export type
|
|
1839
|
-
|
|
1840
|
-
|
|
2322
|
+
export type GuardrailContentFilterAction =
|
|
2323
|
+
(typeof GuardrailContentFilterAction)[keyof typeof GuardrailContentFilterAction];
|
|
2324
|
+
export declare const GuardrailModality: {
|
|
1841
2325
|
readonly IMAGE: "IMAGE";
|
|
1842
2326
|
readonly TEXT: "TEXT";
|
|
1843
2327
|
};
|
|
1844
|
-
export type
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
readonly
|
|
2328
|
+
export type GuardrailModality =
|
|
2329
|
+
(typeof GuardrailModality)[keyof typeof GuardrailModality];
|
|
2330
|
+
export declare const GuardrailFilterStrength: {
|
|
2331
|
+
readonly HIGH: "HIGH";
|
|
2332
|
+
readonly LOW: "LOW";
|
|
2333
|
+
readonly MEDIUM: "MEDIUM";
|
|
2334
|
+
readonly NONE: "NONE";
|
|
2335
|
+
};
|
|
2336
|
+
export type GuardrailFilterStrength =
|
|
2337
|
+
(typeof GuardrailFilterStrength)[keyof typeof GuardrailFilterStrength];
|
|
2338
|
+
export declare const GuardrailContentFilterType: {
|
|
2339
|
+
readonly HATE: "HATE";
|
|
2340
|
+
readonly INSULTS: "INSULTS";
|
|
2341
|
+
readonly MISCONDUCT: "MISCONDUCT";
|
|
2342
|
+
readonly PROMPT_ATTACK: "PROMPT_ATTACK";
|
|
2343
|
+
readonly SEXUAL: "SEXUAL";
|
|
2344
|
+
readonly VIOLENCE: "VIOLENCE";
|
|
2345
|
+
};
|
|
2346
|
+
export type GuardrailContentFilterType =
|
|
2347
|
+
(typeof GuardrailContentFilterType)[keyof typeof GuardrailContentFilterType];
|
|
2348
|
+
export interface GuardrailContentFilterConfig {
|
|
2349
|
+
type: GuardrailContentFilterType | undefined;
|
|
2350
|
+
inputStrength: GuardrailFilterStrength | undefined;
|
|
2351
|
+
outputStrength: GuardrailFilterStrength | undefined;
|
|
2352
|
+
inputModalities?: GuardrailModality[] | undefined;
|
|
2353
|
+
outputModalities?: GuardrailModality[] | undefined;
|
|
2354
|
+
inputAction?: GuardrailContentFilterAction | undefined;
|
|
2355
|
+
outputAction?: GuardrailContentFilterAction | undefined;
|
|
2356
|
+
inputEnabled?: boolean | undefined;
|
|
2357
|
+
outputEnabled?: boolean | undefined;
|
|
2358
|
+
}
|
|
2359
|
+
export declare const GuardrailContentFiltersTierName: {
|
|
2360
|
+
readonly CLASSIC: "CLASSIC";
|
|
2361
|
+
readonly STANDARD: "STANDARD";
|
|
2362
|
+
};
|
|
2363
|
+
export type GuardrailContentFiltersTierName =
|
|
2364
|
+
(typeof GuardrailContentFiltersTierName)[keyof typeof GuardrailContentFiltersTierName];
|
|
2365
|
+
export interface GuardrailContentFiltersTierConfig {
|
|
2366
|
+
tierName: GuardrailContentFiltersTierName | undefined;
|
|
2367
|
+
}
|
|
2368
|
+
export interface GuardrailContentPolicyConfig {
|
|
2369
|
+
filtersConfig: GuardrailContentFilterConfig[] | undefined;
|
|
2370
|
+
tierConfig?: GuardrailContentFiltersTierConfig | undefined;
|
|
2371
|
+
}
|
|
2372
|
+
export declare const GuardrailContextualGroundingAction: {
|
|
2373
|
+
readonly BLOCK: "BLOCK";
|
|
2374
|
+
readonly NONE: "NONE";
|
|
2375
|
+
};
|
|
2376
|
+
export type GuardrailContextualGroundingAction =
|
|
2377
|
+
(typeof GuardrailContextualGroundingAction)[keyof typeof GuardrailContextualGroundingAction];
|
|
2378
|
+
export declare const GuardrailContextualGroundingFilterType: {
|
|
2379
|
+
readonly GROUNDING: "GROUNDING";
|
|
2380
|
+
readonly RELEVANCE: "RELEVANCE";
|
|
1848
2381
|
};
|
|
1849
|
-
export type
|
|
1850
|
-
(typeof
|
|
1851
|
-
export interface
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
modelId: string | undefined;
|
|
1857
|
-
modelName?: string | undefined;
|
|
1858
|
-
providerName?: string | undefined;
|
|
1859
|
-
inputModalities?: ModelModality[] | undefined;
|
|
1860
|
-
outputModalities?: ModelModality[] | undefined;
|
|
1861
|
-
responseStreamingSupported?: boolean | undefined;
|
|
1862
|
-
customizationsSupported?: ModelCustomization[] | undefined;
|
|
1863
|
-
inferenceTypesSupported?: InferenceType[] | undefined;
|
|
1864
|
-
modelLifecycle?: FoundationModelLifecycle | undefined;
|
|
1865
|
-
}
|
|
1866
|
-
export interface GetFoundationModelResponse {
|
|
1867
|
-
modelDetails?: FoundationModelDetails | undefined;
|
|
1868
|
-
}
|
|
1869
|
-
export interface ListFoundationModelsRequest {
|
|
1870
|
-
byProvider?: string | undefined;
|
|
1871
|
-
byCustomizationType?: ModelCustomization | undefined;
|
|
1872
|
-
byOutputModality?: ModelModality | undefined;
|
|
1873
|
-
byInferenceType?: InferenceType | undefined;
|
|
1874
|
-
}
|
|
1875
|
-
export interface FoundationModelSummary {
|
|
1876
|
-
modelArn: string | undefined;
|
|
1877
|
-
modelId: string | undefined;
|
|
1878
|
-
modelName?: string | undefined;
|
|
1879
|
-
providerName?: string | undefined;
|
|
1880
|
-
inputModalities?: ModelModality[] | undefined;
|
|
1881
|
-
outputModalities?: ModelModality[] | undefined;
|
|
1882
|
-
responseStreamingSupported?: boolean | undefined;
|
|
1883
|
-
customizationsSupported?: ModelCustomization[] | undefined;
|
|
1884
|
-
inferenceTypesSupported?: InferenceType[] | undefined;
|
|
1885
|
-
modelLifecycle?: FoundationModelLifecycle | undefined;
|
|
1886
|
-
}
|
|
1887
|
-
export interface ListFoundationModelsResponse {
|
|
1888
|
-
modelSummaries?: FoundationModelSummary[] | undefined;
|
|
1889
|
-
}
|
|
1890
|
-
export interface PromptRouterTargetModel {
|
|
1891
|
-
modelArn: string | undefined;
|
|
1892
|
-
}
|
|
1893
|
-
export interface RoutingCriteria {
|
|
1894
|
-
responseQualityDifference: number | undefined;
|
|
1895
|
-
}
|
|
1896
|
-
export interface CreatePromptRouterRequest {
|
|
1897
|
-
clientRequestToken?: string | undefined;
|
|
1898
|
-
promptRouterName: string | undefined;
|
|
1899
|
-
models: PromptRouterTargetModel[] | undefined;
|
|
1900
|
-
description?: string | undefined;
|
|
1901
|
-
routingCriteria: RoutingCriteria | undefined;
|
|
1902
|
-
fallbackModel: PromptRouterTargetModel | undefined;
|
|
1903
|
-
tags?: Tag[] | undefined;
|
|
1904
|
-
}
|
|
1905
|
-
export interface CreatePromptRouterResponse {
|
|
1906
|
-
promptRouterArn?: string | undefined;
|
|
2382
|
+
export type GuardrailContextualGroundingFilterType =
|
|
2383
|
+
(typeof GuardrailContextualGroundingFilterType)[keyof typeof GuardrailContextualGroundingFilterType];
|
|
2384
|
+
export interface GuardrailContextualGroundingFilterConfig {
|
|
2385
|
+
type: GuardrailContextualGroundingFilterType | undefined;
|
|
2386
|
+
threshold: number | undefined;
|
|
2387
|
+
action?: GuardrailContextualGroundingAction | undefined;
|
|
2388
|
+
enabled?: boolean | undefined;
|
|
1907
2389
|
}
|
|
1908
|
-
export interface
|
|
1909
|
-
|
|
2390
|
+
export interface GuardrailContextualGroundingPolicyConfig {
|
|
2391
|
+
filtersConfig: GuardrailContextualGroundingFilterConfig[] | undefined;
|
|
1910
2392
|
}
|
|
1911
|
-
export interface
|
|
1912
|
-
|
|
1913
|
-
promptRouterArn: string | undefined;
|
|
2393
|
+
export interface GuardrailCrossRegionConfig {
|
|
2394
|
+
guardrailProfileIdentifier: string | undefined;
|
|
1914
2395
|
}
|
|
1915
|
-
export declare const
|
|
1916
|
-
readonly
|
|
2396
|
+
export declare const GuardrailSensitiveInformationAction: {
|
|
2397
|
+
readonly ANONYMIZE: "ANONYMIZE";
|
|
2398
|
+
readonly BLOCK: "BLOCK";
|
|
2399
|
+
readonly NONE: "NONE";
|
|
1917
2400
|
};
|
|
1918
|
-
export type
|
|
1919
|
-
(typeof
|
|
1920
|
-
export declare const
|
|
1921
|
-
readonly
|
|
1922
|
-
readonly
|
|
2401
|
+
export type GuardrailSensitiveInformationAction =
|
|
2402
|
+
(typeof GuardrailSensitiveInformationAction)[keyof typeof GuardrailSensitiveInformationAction];
|
|
2403
|
+
export declare const GuardrailPiiEntityType: {
|
|
2404
|
+
readonly ADDRESS: "ADDRESS";
|
|
2405
|
+
readonly AGE: "AGE";
|
|
2406
|
+
readonly AWS_ACCESS_KEY: "AWS_ACCESS_KEY";
|
|
2407
|
+
readonly AWS_SECRET_KEY: "AWS_SECRET_KEY";
|
|
2408
|
+
readonly CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER";
|
|
2409
|
+
readonly CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER";
|
|
2410
|
+
readonly CREDIT_DEBIT_CARD_CVV: "CREDIT_DEBIT_CARD_CVV";
|
|
2411
|
+
readonly CREDIT_DEBIT_CARD_EXPIRY: "CREDIT_DEBIT_CARD_EXPIRY";
|
|
2412
|
+
readonly CREDIT_DEBIT_CARD_NUMBER: "CREDIT_DEBIT_CARD_NUMBER";
|
|
2413
|
+
readonly DRIVER_ID: "DRIVER_ID";
|
|
2414
|
+
readonly EMAIL: "EMAIL";
|
|
2415
|
+
readonly INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER";
|
|
2416
|
+
readonly IP_ADDRESS: "IP_ADDRESS";
|
|
2417
|
+
readonly LICENSE_PLATE: "LICENSE_PLATE";
|
|
2418
|
+
readonly MAC_ADDRESS: "MAC_ADDRESS";
|
|
2419
|
+
readonly NAME: "NAME";
|
|
2420
|
+
readonly PASSWORD: "PASSWORD";
|
|
2421
|
+
readonly PHONE: "PHONE";
|
|
2422
|
+
readonly PIN: "PIN";
|
|
2423
|
+
readonly SWIFT_CODE: "SWIFT_CODE";
|
|
2424
|
+
readonly UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER";
|
|
2425
|
+
readonly UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER";
|
|
2426
|
+
readonly UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER";
|
|
2427
|
+
readonly URL: "URL";
|
|
2428
|
+
readonly USERNAME: "USERNAME";
|
|
2429
|
+
readonly US_BANK_ACCOUNT_NUMBER: "US_BANK_ACCOUNT_NUMBER";
|
|
2430
|
+
readonly US_BANK_ROUTING_NUMBER: "US_BANK_ROUTING_NUMBER";
|
|
2431
|
+
readonly US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER";
|
|
2432
|
+
readonly US_PASSPORT_NUMBER: "US_PASSPORT_NUMBER";
|
|
2433
|
+
readonly US_SOCIAL_SECURITY_NUMBER: "US_SOCIAL_SECURITY_NUMBER";
|
|
2434
|
+
readonly VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER";
|
|
1923
2435
|
};
|
|
1924
|
-
export type
|
|
1925
|
-
(typeof
|
|
1926
|
-
export interface
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
models: PromptRouterTargetModel[] | undefined;
|
|
1934
|
-
fallbackModel: PromptRouterTargetModel | undefined;
|
|
1935
|
-
status: PromptRouterStatus | undefined;
|
|
1936
|
-
type: PromptRouterType | undefined;
|
|
1937
|
-
}
|
|
1938
|
-
export interface ListPromptRoutersRequest {
|
|
1939
|
-
maxResults?: number | undefined;
|
|
1940
|
-
nextToken?: string | undefined;
|
|
1941
|
-
type?: PromptRouterType | undefined;
|
|
2436
|
+
export type GuardrailPiiEntityType =
|
|
2437
|
+
(typeof GuardrailPiiEntityType)[keyof typeof GuardrailPiiEntityType];
|
|
2438
|
+
export interface GuardrailPiiEntityConfig {
|
|
2439
|
+
type: GuardrailPiiEntityType | undefined;
|
|
2440
|
+
action: GuardrailSensitiveInformationAction | undefined;
|
|
2441
|
+
inputAction?: GuardrailSensitiveInformationAction | undefined;
|
|
2442
|
+
outputAction?: GuardrailSensitiveInformationAction | undefined;
|
|
2443
|
+
inputEnabled?: boolean | undefined;
|
|
2444
|
+
outputEnabled?: boolean | undefined;
|
|
1942
2445
|
}
|
|
1943
|
-
export interface
|
|
1944
|
-
|
|
1945
|
-
routingCriteria: RoutingCriteria | undefined;
|
|
2446
|
+
export interface GuardrailRegexConfig {
|
|
2447
|
+
name: string | undefined;
|
|
1946
2448
|
description?: string | undefined;
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
type: PromptRouterType | undefined;
|
|
1954
|
-
}
|
|
1955
|
-
export interface ListPromptRoutersResponse {
|
|
1956
|
-
promptRouterSummaries?: PromptRouterSummary[] | undefined;
|
|
1957
|
-
nextToken?: string | undefined;
|
|
1958
|
-
}
|
|
1959
|
-
export declare const CommitmentDuration: {
|
|
1960
|
-
readonly ONE_MONTH: "OneMonth";
|
|
1961
|
-
readonly SIX_MONTHS: "SixMonths";
|
|
1962
|
-
};
|
|
1963
|
-
export type CommitmentDuration =
|
|
1964
|
-
(typeof CommitmentDuration)[keyof typeof CommitmentDuration];
|
|
1965
|
-
export interface CreateProvisionedModelThroughputRequest {
|
|
1966
|
-
clientRequestToken?: string | undefined;
|
|
1967
|
-
modelUnits: number | undefined;
|
|
1968
|
-
provisionedModelName: string | undefined;
|
|
1969
|
-
modelId: string | undefined;
|
|
1970
|
-
commitmentDuration?: CommitmentDuration | undefined;
|
|
1971
|
-
tags?: Tag[] | undefined;
|
|
1972
|
-
}
|
|
1973
|
-
export interface CreateProvisionedModelThroughputResponse {
|
|
1974
|
-
provisionedModelArn: string | undefined;
|
|
1975
|
-
}
|
|
1976
|
-
export interface DeleteProvisionedModelThroughputRequest {
|
|
1977
|
-
provisionedModelId: string | undefined;
|
|
2449
|
+
pattern: string | undefined;
|
|
2450
|
+
action: GuardrailSensitiveInformationAction | undefined;
|
|
2451
|
+
inputAction?: GuardrailSensitiveInformationAction | undefined;
|
|
2452
|
+
outputAction?: GuardrailSensitiveInformationAction | undefined;
|
|
2453
|
+
inputEnabled?: boolean | undefined;
|
|
2454
|
+
outputEnabled?: boolean | undefined;
|
|
1978
2455
|
}
|
|
1979
|
-
export interface
|
|
1980
|
-
|
|
1981
|
-
|
|
2456
|
+
export interface GuardrailSensitiveInformationPolicyConfig {
|
|
2457
|
+
piiEntitiesConfig?: GuardrailPiiEntityConfig[] | undefined;
|
|
2458
|
+
regexesConfig?: GuardrailRegexConfig[] | undefined;
|
|
1982
2459
|
}
|
|
1983
|
-
export declare const
|
|
1984
|
-
readonly
|
|
1985
|
-
readonly
|
|
1986
|
-
readonly IN_SERVICE: "InService";
|
|
1987
|
-
readonly UPDATING: "Updating";
|
|
2460
|
+
export declare const GuardrailTopicsTierName: {
|
|
2461
|
+
readonly CLASSIC: "CLASSIC";
|
|
2462
|
+
readonly STANDARD: "STANDARD";
|
|
1988
2463
|
};
|
|
1989
|
-
export type
|
|
1990
|
-
(typeof
|
|
1991
|
-
export interface
|
|
1992
|
-
|
|
1993
|
-
desiredModelUnits: number | undefined;
|
|
1994
|
-
provisionedModelName: string | undefined;
|
|
1995
|
-
provisionedModelArn: string | undefined;
|
|
1996
|
-
modelArn: string | undefined;
|
|
1997
|
-
desiredModelArn: string | undefined;
|
|
1998
|
-
foundationModelArn: string | undefined;
|
|
1999
|
-
status: ProvisionedModelStatus | undefined;
|
|
2000
|
-
creationTime: Date | undefined;
|
|
2001
|
-
lastModifiedTime: Date | undefined;
|
|
2002
|
-
failureMessage?: string | undefined;
|
|
2003
|
-
commitmentDuration?: CommitmentDuration | undefined;
|
|
2004
|
-
commitmentExpirationTime?: Date | undefined;
|
|
2464
|
+
export type GuardrailTopicsTierName =
|
|
2465
|
+
(typeof GuardrailTopicsTierName)[keyof typeof GuardrailTopicsTierName];
|
|
2466
|
+
export interface GuardrailTopicsTierConfig {
|
|
2467
|
+
tierName: GuardrailTopicsTierName | undefined;
|
|
2005
2468
|
}
|
|
2006
|
-
export declare const
|
|
2007
|
-
readonly
|
|
2469
|
+
export declare const GuardrailTopicAction: {
|
|
2470
|
+
readonly BLOCK: "BLOCK";
|
|
2471
|
+
readonly NONE: "NONE";
|
|
2008
2472
|
};
|
|
2009
|
-
export type
|
|
2010
|
-
(typeof
|
|
2011
|
-
export
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2473
|
+
export type GuardrailTopicAction =
|
|
2474
|
+
(typeof GuardrailTopicAction)[keyof typeof GuardrailTopicAction];
|
|
2475
|
+
export declare const GuardrailTopicType: {
|
|
2476
|
+
readonly DENY: "DENY";
|
|
2477
|
+
};
|
|
2478
|
+
export type GuardrailTopicType =
|
|
2479
|
+
(typeof GuardrailTopicType)[keyof typeof GuardrailTopicType];
|
|
2480
|
+
export interface GuardrailTopicConfig {
|
|
2481
|
+
name: string | undefined;
|
|
2482
|
+
definition: string | undefined;
|
|
2483
|
+
examples?: string[] | undefined;
|
|
2484
|
+
type: GuardrailTopicType | undefined;
|
|
2485
|
+
inputAction?: GuardrailTopicAction | undefined;
|
|
2486
|
+
outputAction?: GuardrailTopicAction | undefined;
|
|
2487
|
+
inputEnabled?: boolean | undefined;
|
|
2488
|
+
outputEnabled?: boolean | undefined;
|
|
2021
2489
|
}
|
|
2490
|
+
export interface GuardrailTopicPolicyConfig {
|
|
2491
|
+
topicsConfig: GuardrailTopicConfig[] | undefined;
|
|
2492
|
+
tierConfig?: GuardrailTopicsTierConfig | undefined;
|
|
2493
|
+
}
|
|
2494
|
+
export declare const GuardrailWordAction: {
|
|
2495
|
+
readonly BLOCK: "BLOCK";
|
|
2496
|
+
readonly NONE: "NONE";
|
|
2497
|
+
};
|
|
2498
|
+
export type GuardrailWordAction =
|
|
2499
|
+
(typeof GuardrailWordAction)[keyof typeof GuardrailWordAction];
|
|
2500
|
+
export declare const AutomatedReasoningPolicyDefinitionRuleFilterSensitiveLog: (
|
|
2501
|
+
obj: AutomatedReasoningPolicyDefinitionRule
|
|
2502
|
+
) => any;
|
|
2503
|
+
export declare const AutomatedReasoningPolicyDefinitionTypeValueFilterSensitiveLog: (
|
|
2504
|
+
obj: AutomatedReasoningPolicyDefinitionTypeValue
|
|
2505
|
+
) => any;
|
|
2506
|
+
export declare const AutomatedReasoningPolicyDefinitionTypeFilterSensitiveLog: (
|
|
2507
|
+
obj: AutomatedReasoningPolicyDefinitionType
|
|
2508
|
+
) => any;
|
|
2509
|
+
export declare const AutomatedReasoningPolicyDefinitionVariableFilterSensitiveLog: (
|
|
2510
|
+
obj: AutomatedReasoningPolicyDefinitionVariable
|
|
2511
|
+
) => any;
|
|
2512
|
+
export declare const AutomatedReasoningPolicyDefinitionFilterSensitiveLog: (
|
|
2513
|
+
obj: AutomatedReasoningPolicyDefinition
|
|
2514
|
+
) => any;
|
|
2515
|
+
export declare const CreateAutomatedReasoningPolicyRequestFilterSensitiveLog: (
|
|
2516
|
+
obj: CreateAutomatedReasoningPolicyRequest
|
|
2517
|
+
) => any;
|
|
2518
|
+
export declare const CreateAutomatedReasoningPolicyResponseFilterSensitiveLog: (
|
|
2519
|
+
obj: CreateAutomatedReasoningPolicyResponse
|
|
2520
|
+
) => any;
|
|
2521
|
+
export declare const CreateAutomatedReasoningPolicyTestCaseRequestFilterSensitiveLog: (
|
|
2522
|
+
obj: CreateAutomatedReasoningPolicyTestCaseRequest
|
|
2523
|
+
) => any;
|
|
2524
|
+
export declare const CreateAutomatedReasoningPolicyVersionResponseFilterSensitiveLog: (
|
|
2525
|
+
obj: CreateAutomatedReasoningPolicyVersionResponse
|
|
2526
|
+
) => any;
|
|
2527
|
+
export declare const ExportAutomatedReasoningPolicyVersionResponseFilterSensitiveLog: (
|
|
2528
|
+
obj: ExportAutomatedReasoningPolicyVersionResponse
|
|
2529
|
+
) => any;
|
|
2530
|
+
export declare const GetAutomatedReasoningPolicyResponseFilterSensitiveLog: (
|
|
2531
|
+
obj: GetAutomatedReasoningPolicyResponse
|
|
2532
|
+
) => any;
|
|
2533
|
+
export declare const AutomatedReasoningPolicyAddRuleAnnotationFilterSensitiveLog: (
|
|
2534
|
+
obj: AutomatedReasoningPolicyAddRuleAnnotation
|
|
2535
|
+
) => any;
|
|
2536
|
+
export declare const AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotationFilterSensitiveLog: (
|
|
2537
|
+
obj: AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation
|
|
2538
|
+
) => any;
|
|
2539
|
+
export declare const AutomatedReasoningPolicyAddTypeAnnotationFilterSensitiveLog: (
|
|
2540
|
+
obj: AutomatedReasoningPolicyAddTypeAnnotation
|
|
2541
|
+
) => any;
|
|
2542
|
+
export declare const AutomatedReasoningPolicyAddVariableAnnotationFilterSensitiveLog: (
|
|
2543
|
+
obj: AutomatedReasoningPolicyAddVariableAnnotation
|
|
2544
|
+
) => any;
|
|
2545
|
+
export declare const AutomatedReasoningPolicyDeleteTypeAnnotationFilterSensitiveLog: (
|
|
2546
|
+
obj: AutomatedReasoningPolicyDeleteTypeAnnotation
|
|
2547
|
+
) => any;
|
|
2548
|
+
export declare const AutomatedReasoningPolicyDeleteVariableAnnotationFilterSensitiveLog: (
|
|
2549
|
+
obj: AutomatedReasoningPolicyDeleteVariableAnnotation
|
|
2550
|
+
) => any;
|
|
2551
|
+
export declare const AutomatedReasoningPolicyIngestContentAnnotationFilterSensitiveLog: (
|
|
2552
|
+
obj: AutomatedReasoningPolicyIngestContentAnnotation
|
|
2553
|
+
) => any;
|
|
2554
|
+
export declare const AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotationFilterSensitiveLog: (
|
|
2555
|
+
obj: AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation
|
|
2556
|
+
) => any;
|
|
2557
|
+
export declare const AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotationFilterSensitiveLog: (
|
|
2558
|
+
obj: AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation
|
|
2559
|
+
) => any;
|
|
2560
|
+
export declare const AutomatedReasoningPolicyUpdateRuleAnnotationFilterSensitiveLog: (
|
|
2561
|
+
obj: AutomatedReasoningPolicyUpdateRuleAnnotation
|
|
2562
|
+
) => any;
|
|
2563
|
+
export declare const AutomatedReasoningPolicyAddTypeValueFilterSensitiveLog: (
|
|
2564
|
+
obj: AutomatedReasoningPolicyAddTypeValue
|
|
2565
|
+
) => any;
|
|
2566
|
+
export declare const AutomatedReasoningPolicyUpdateTypeValueFilterSensitiveLog: (
|
|
2567
|
+
obj: AutomatedReasoningPolicyUpdateTypeValue
|
|
2568
|
+
) => any;
|
|
2569
|
+
export declare const AutomatedReasoningPolicyTypeValueAnnotationFilterSensitiveLog: (
|
|
2570
|
+
obj: AutomatedReasoningPolicyTypeValueAnnotation
|
|
2571
|
+
) => any;
|
|
2572
|
+
export declare const AutomatedReasoningPolicyUpdateTypeAnnotationFilterSensitiveLog: (
|
|
2573
|
+
obj: AutomatedReasoningPolicyUpdateTypeAnnotation
|
|
2574
|
+
) => any;
|
|
2575
|
+
export declare const AutomatedReasoningPolicyUpdateVariableAnnotationFilterSensitiveLog: (
|
|
2576
|
+
obj: AutomatedReasoningPolicyUpdateVariableAnnotation
|
|
2577
|
+
) => any;
|
|
2578
|
+
export declare const AutomatedReasoningPolicyAnnotationFilterSensitiveLog: (
|
|
2579
|
+
obj: AutomatedReasoningPolicyAnnotation
|
|
2580
|
+
) => any;
|
|
2581
|
+
export declare const GetAutomatedReasoningPolicyAnnotationsResponseFilterSensitiveLog: (
|
|
2582
|
+
obj: GetAutomatedReasoningPolicyAnnotationsResponse
|
|
2583
|
+
) => any;
|
|
2584
|
+
export declare const GetAutomatedReasoningPolicyBuildWorkflowResponseFilterSensitiveLog: (
|
|
2585
|
+
obj: GetAutomatedReasoningPolicyBuildWorkflowResponse
|
|
2586
|
+
) => any;
|
|
2587
|
+
export declare const AutomatedReasoningPolicyAddRuleMutationFilterSensitiveLog: (
|
|
2588
|
+
obj: AutomatedReasoningPolicyAddRuleMutation
|
|
2589
|
+
) => any;
|
|
2590
|
+
export declare const AutomatedReasoningPolicyAddTypeMutationFilterSensitiveLog: (
|
|
2591
|
+
obj: AutomatedReasoningPolicyAddTypeMutation
|
|
2592
|
+
) => any;
|
|
2593
|
+
export declare const AutomatedReasoningPolicyAddVariableMutationFilterSensitiveLog: (
|
|
2594
|
+
obj: AutomatedReasoningPolicyAddVariableMutation
|
|
2595
|
+
) => any;
|
|
2596
|
+
export declare const AutomatedReasoningPolicyDeleteTypeMutationFilterSensitiveLog: (
|
|
2597
|
+
obj: AutomatedReasoningPolicyDeleteTypeMutation
|
|
2598
|
+
) => any;
|
|
2599
|
+
export declare const AutomatedReasoningPolicyDeleteVariableMutationFilterSensitiveLog: (
|
|
2600
|
+
obj: AutomatedReasoningPolicyDeleteVariableMutation
|
|
2601
|
+
) => any;
|
|
2602
|
+
export declare const AutomatedReasoningPolicyUpdateRuleMutationFilterSensitiveLog: (
|
|
2603
|
+
obj: AutomatedReasoningPolicyUpdateRuleMutation
|
|
2604
|
+
) => any;
|
|
2605
|
+
export declare const AutomatedReasoningPolicyUpdateTypeMutationFilterSensitiveLog: (
|
|
2606
|
+
obj: AutomatedReasoningPolicyUpdateTypeMutation
|
|
2607
|
+
) => any;
|
|
2608
|
+
export declare const AutomatedReasoningPolicyUpdateVariableMutationFilterSensitiveLog: (
|
|
2609
|
+
obj: AutomatedReasoningPolicyUpdateVariableMutation
|
|
2610
|
+
) => any;
|
|
2611
|
+
export declare const AutomatedReasoningPolicyMutationFilterSensitiveLog: (
|
|
2612
|
+
obj: AutomatedReasoningPolicyMutation
|
|
2613
|
+
) => any;
|
|
2614
|
+
export declare const AutomatedReasoningPolicyBuildStepContextFilterSensitiveLog: (
|
|
2615
|
+
obj: AutomatedReasoningPolicyBuildStepContext
|
|
2616
|
+
) => any;
|
|
2617
|
+
export declare const AutomatedReasoningPolicyDefinitionElementFilterSensitiveLog: (
|
|
2618
|
+
obj: AutomatedReasoningPolicyDefinitionElement
|
|
2619
|
+
) => any;
|
|
2620
|
+
export declare const AutomatedReasoningPolicyBuildStepFilterSensitiveLog: (
|
|
2621
|
+
obj: AutomatedReasoningPolicyBuildStep
|
|
2622
|
+
) => any;
|
|
2623
|
+
export declare const AutomatedReasoningPolicyBuildLogEntryFilterSensitiveLog: (
|
|
2624
|
+
obj: AutomatedReasoningPolicyBuildLogEntry
|
|
2625
|
+
) => any;
|
|
2626
|
+
export declare const AutomatedReasoningPolicyBuildLogFilterSensitiveLog: (
|
|
2627
|
+
obj: AutomatedReasoningPolicyBuildLog
|
|
2628
|
+
) => any;
|
|
2629
|
+
export declare const AutomatedReasoningPolicyDisjointRuleSetFilterSensitiveLog: (
|
|
2630
|
+
obj: AutomatedReasoningPolicyDisjointRuleSet
|
|
2631
|
+
) => any;
|
|
2632
|
+
export declare const AutomatedReasoningPolicyDefinitionTypeValuePairFilterSensitiveLog: (
|
|
2633
|
+
obj: AutomatedReasoningPolicyDefinitionTypeValuePair
|
|
2634
|
+
) => any;
|
|
2635
|
+
export declare const AutomatedReasoningPolicyDefinitionQualityReportFilterSensitiveLog: (
|
|
2636
|
+
obj: AutomatedReasoningPolicyDefinitionQualityReport
|
|
2637
|
+
) => any;
|
|
2638
|
+
export declare const AutomatedReasoningPolicyBuildResultAssetsFilterSensitiveLog: (
|
|
2639
|
+
obj: AutomatedReasoningPolicyBuildResultAssets
|
|
2640
|
+
) => any;
|
|
2641
|
+
export declare const GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponseFilterSensitiveLog: (
|
|
2642
|
+
obj: GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponse
|
|
2643
|
+
) => any;
|
|
2644
|
+
export declare const AutomatedReasoningPolicyScenarioFilterSensitiveLog: (
|
|
2645
|
+
obj: AutomatedReasoningPolicyScenario
|
|
2646
|
+
) => any;
|
|
2647
|
+
export declare const GetAutomatedReasoningPolicyNextScenarioResponseFilterSensitiveLog: (
|
|
2648
|
+
obj: GetAutomatedReasoningPolicyNextScenarioResponse
|
|
2649
|
+
) => any;
|
|
2650
|
+
export declare const AutomatedReasoningPolicyTestCaseFilterSensitiveLog: (
|
|
2651
|
+
obj: AutomatedReasoningPolicyTestCase
|
|
2652
|
+
) => any;
|
|
2653
|
+
export declare const GetAutomatedReasoningPolicyTestCaseResponseFilterSensitiveLog: (
|
|
2654
|
+
obj: GetAutomatedReasoningPolicyTestCaseResponse
|
|
2655
|
+
) => any;
|
|
2656
|
+
export declare const AutomatedReasoningLogicStatementFilterSensitiveLog: (
|
|
2657
|
+
obj: AutomatedReasoningLogicStatement
|
|
2658
|
+
) => any;
|
|
2659
|
+
export declare const AutomatedReasoningCheckLogicWarningFilterSensitiveLog: (
|
|
2660
|
+
obj: AutomatedReasoningCheckLogicWarning
|
|
2661
|
+
) => any;
|
|
2662
|
+
export declare const AutomatedReasoningCheckInputTextReferenceFilterSensitiveLog: (
|
|
2663
|
+
obj: AutomatedReasoningCheckInputTextReference
|
|
2664
|
+
) => any;
|
|
2665
|
+
export declare const AutomatedReasoningCheckTranslationFilterSensitiveLog: (
|
|
2666
|
+
obj: AutomatedReasoningCheckTranslation
|
|
2667
|
+
) => any;
|
|
2668
|
+
export declare const AutomatedReasoningCheckImpossibleFindingFilterSensitiveLog: (
|
|
2669
|
+
obj: AutomatedReasoningCheckImpossibleFinding
|
|
2670
|
+
) => any;
|
|
2671
|
+
export declare const AutomatedReasoningCheckInvalidFindingFilterSensitiveLog: (
|
|
2672
|
+
obj: AutomatedReasoningCheckInvalidFinding
|
|
2673
|
+
) => any;
|
|
2674
|
+
export declare const AutomatedReasoningCheckScenarioFilterSensitiveLog: (
|
|
2675
|
+
obj: AutomatedReasoningCheckScenario
|
|
2676
|
+
) => any;
|
|
2677
|
+
export declare const AutomatedReasoningCheckSatisfiableFindingFilterSensitiveLog: (
|
|
2678
|
+
obj: AutomatedReasoningCheckSatisfiableFinding
|
|
2679
|
+
) => any;
|
|
2680
|
+
export declare const AutomatedReasoningCheckTranslationOptionFilterSensitiveLog: (
|
|
2681
|
+
obj: AutomatedReasoningCheckTranslationOption
|
|
2682
|
+
) => any;
|
|
2683
|
+
export declare const AutomatedReasoningCheckTranslationAmbiguousFindingFilterSensitiveLog: (
|
|
2684
|
+
obj: AutomatedReasoningCheckTranslationAmbiguousFinding
|
|
2685
|
+
) => any;
|
|
2686
|
+
export declare const AutomatedReasoningCheckValidFindingFilterSensitiveLog: (
|
|
2687
|
+
obj: AutomatedReasoningCheckValidFinding
|
|
2688
|
+
) => any;
|
|
2689
|
+
export declare const AutomatedReasoningCheckFindingFilterSensitiveLog: (
|
|
2690
|
+
obj: AutomatedReasoningCheckFinding
|
|
2691
|
+
) => any;
|
|
2692
|
+
export declare const AutomatedReasoningPolicyTestResultFilterSensitiveLog: (
|
|
2693
|
+
obj: AutomatedReasoningPolicyTestResult
|
|
2694
|
+
) => any;
|
|
2695
|
+
export declare const GetAutomatedReasoningPolicyTestResultResponseFilterSensitiveLog: (
|
|
2696
|
+
obj: GetAutomatedReasoningPolicyTestResultResponse
|
|
2697
|
+
) => any;
|
|
2698
|
+
export declare const AutomatedReasoningPolicySummaryFilterSensitiveLog: (
|
|
2699
|
+
obj: AutomatedReasoningPolicySummary
|
|
2700
|
+
) => any;
|
|
2701
|
+
export declare const ListAutomatedReasoningPoliciesResponseFilterSensitiveLog: (
|
|
2702
|
+
obj: ListAutomatedReasoningPoliciesResponse
|
|
2703
|
+
) => any;
|
|
2704
|
+
export declare const ListAutomatedReasoningPolicyTestCasesResponseFilterSensitiveLog: (
|
|
2705
|
+
obj: ListAutomatedReasoningPolicyTestCasesResponse
|
|
2706
|
+
) => any;
|
|
2707
|
+
export declare const ListAutomatedReasoningPolicyTestResultsResponseFilterSensitiveLog: (
|
|
2708
|
+
obj: ListAutomatedReasoningPolicyTestResultsResponse
|
|
2709
|
+
) => any;
|
|
2710
|
+
export declare const AutomatedReasoningPolicyBuildWorkflowDocumentFilterSensitiveLog: (
|
|
2711
|
+
obj: AutomatedReasoningPolicyBuildWorkflowDocument
|
|
2712
|
+
) => any;
|
|
2713
|
+
export declare const AutomatedReasoningPolicyBuildWorkflowRepairContentFilterSensitiveLog: (
|
|
2714
|
+
obj: AutomatedReasoningPolicyBuildWorkflowRepairContent
|
|
2715
|
+
) => any;
|
|
2716
|
+
export declare const AutomatedReasoningPolicyWorkflowTypeContentFilterSensitiveLog: (
|
|
2717
|
+
obj: AutomatedReasoningPolicyWorkflowTypeContent
|
|
2718
|
+
) => any;
|
|
2719
|
+
export declare const AutomatedReasoningPolicyBuildWorkflowSourceFilterSensitiveLog: (
|
|
2720
|
+
obj: AutomatedReasoningPolicyBuildWorkflowSource
|
|
2721
|
+
) => any;
|
|
2722
|
+
export declare const StartAutomatedReasoningPolicyBuildWorkflowRequestFilterSensitiveLog: (
|
|
2723
|
+
obj: StartAutomatedReasoningPolicyBuildWorkflowRequest
|
|
2724
|
+
) => any;
|
|
2725
|
+
export declare const UpdateAutomatedReasoningPolicyRequestFilterSensitiveLog: (
|
|
2726
|
+
obj: UpdateAutomatedReasoningPolicyRequest
|
|
2727
|
+
) => any;
|
|
2728
|
+
export declare const UpdateAutomatedReasoningPolicyResponseFilterSensitiveLog: (
|
|
2729
|
+
obj: UpdateAutomatedReasoningPolicyResponse
|
|
2730
|
+
) => any;
|
|
2731
|
+
export declare const UpdateAutomatedReasoningPolicyAnnotationsRequestFilterSensitiveLog: (
|
|
2732
|
+
obj: UpdateAutomatedReasoningPolicyAnnotationsRequest
|
|
2733
|
+
) => any;
|
|
2734
|
+
export declare const UpdateAutomatedReasoningPolicyTestCaseRequestFilterSensitiveLog: (
|
|
2735
|
+
obj: UpdateAutomatedReasoningPolicyTestCaseRequest
|
|
2736
|
+
) => any;
|
|
2022
2737
|
export declare const RequestMetadataBaseFiltersFilterSensitiveLog: (
|
|
2023
2738
|
obj: RequestMetadataBaseFilters
|
|
2024
2739
|
) => any;
|
|
@@ -2148,96 +2863,3 @@ export declare const GuardrailTopicConfigFilterSensitiveLog: (
|
|
|
2148
2863
|
export declare const GuardrailTopicPolicyConfigFilterSensitiveLog: (
|
|
2149
2864
|
obj: GuardrailTopicPolicyConfig
|
|
2150
2865
|
) => any;
|
|
2151
|
-
export declare const GuardrailManagedWordsConfigFilterSensitiveLog: (
|
|
2152
|
-
obj: GuardrailManagedWordsConfig
|
|
2153
|
-
) => any;
|
|
2154
|
-
export declare const GuardrailWordConfigFilterSensitiveLog: (
|
|
2155
|
-
obj: GuardrailWordConfig
|
|
2156
|
-
) => any;
|
|
2157
|
-
export declare const GuardrailWordPolicyConfigFilterSensitiveLog: (
|
|
2158
|
-
obj: GuardrailWordPolicyConfig
|
|
2159
|
-
) => any;
|
|
2160
|
-
export declare const CreateGuardrailRequestFilterSensitiveLog: (
|
|
2161
|
-
obj: CreateGuardrailRequest
|
|
2162
|
-
) => any;
|
|
2163
|
-
export declare const CreateGuardrailVersionRequestFilterSensitiveLog: (
|
|
2164
|
-
obj: CreateGuardrailVersionRequest
|
|
2165
|
-
) => any;
|
|
2166
|
-
export declare const GuardrailContentFilterFilterSensitiveLog: (
|
|
2167
|
-
obj: GuardrailContentFilter
|
|
2168
|
-
) => any;
|
|
2169
|
-
export declare const GuardrailContentFiltersTierFilterSensitiveLog: (
|
|
2170
|
-
obj: GuardrailContentFiltersTier
|
|
2171
|
-
) => any;
|
|
2172
|
-
export declare const GuardrailContentPolicyFilterSensitiveLog: (
|
|
2173
|
-
obj: GuardrailContentPolicy
|
|
2174
|
-
) => any;
|
|
2175
|
-
export declare const GuardrailContextualGroundingFilterFilterSensitiveLog: (
|
|
2176
|
-
obj: GuardrailContextualGroundingFilter
|
|
2177
|
-
) => any;
|
|
2178
|
-
export declare const GuardrailContextualGroundingPolicyFilterSensitiveLog: (
|
|
2179
|
-
obj: GuardrailContextualGroundingPolicy
|
|
2180
|
-
) => any;
|
|
2181
|
-
export declare const GuardrailTopicsTierFilterSensitiveLog: (
|
|
2182
|
-
obj: GuardrailTopicsTier
|
|
2183
|
-
) => any;
|
|
2184
|
-
export declare const GuardrailTopicFilterSensitiveLog: (
|
|
2185
|
-
obj: GuardrailTopic
|
|
2186
|
-
) => any;
|
|
2187
|
-
export declare const GuardrailTopicPolicyFilterSensitiveLog: (
|
|
2188
|
-
obj: GuardrailTopicPolicy
|
|
2189
|
-
) => any;
|
|
2190
|
-
export declare const GuardrailManagedWordsFilterSensitiveLog: (
|
|
2191
|
-
obj: GuardrailManagedWords
|
|
2192
|
-
) => any;
|
|
2193
|
-
export declare const GuardrailWordFilterSensitiveLog: (
|
|
2194
|
-
obj: GuardrailWord
|
|
2195
|
-
) => any;
|
|
2196
|
-
export declare const GuardrailWordPolicyFilterSensitiveLog: (
|
|
2197
|
-
obj: GuardrailWordPolicy
|
|
2198
|
-
) => any;
|
|
2199
|
-
export declare const GetGuardrailResponseFilterSensitiveLog: (
|
|
2200
|
-
obj: GetGuardrailResponse
|
|
2201
|
-
) => any;
|
|
2202
|
-
export declare const GuardrailSummaryFilterSensitiveLog: (
|
|
2203
|
-
obj: GuardrailSummary
|
|
2204
|
-
) => any;
|
|
2205
|
-
export declare const ListGuardrailsResponseFilterSensitiveLog: (
|
|
2206
|
-
obj: ListGuardrailsResponse
|
|
2207
|
-
) => any;
|
|
2208
|
-
export declare const UpdateGuardrailRequestFilterSensitiveLog: (
|
|
2209
|
-
obj: UpdateGuardrailRequest
|
|
2210
|
-
) => any;
|
|
2211
|
-
export declare const CreateInferenceProfileRequestFilterSensitiveLog: (
|
|
2212
|
-
obj: CreateInferenceProfileRequest
|
|
2213
|
-
) => any;
|
|
2214
|
-
export declare const GetInferenceProfileResponseFilterSensitiveLog: (
|
|
2215
|
-
obj: GetInferenceProfileResponse
|
|
2216
|
-
) => any;
|
|
2217
|
-
export declare const InferenceProfileSummaryFilterSensitiveLog: (
|
|
2218
|
-
obj: InferenceProfileSummary
|
|
2219
|
-
) => any;
|
|
2220
|
-
export declare const ListInferenceProfilesResponseFilterSensitiveLog: (
|
|
2221
|
-
obj: ListInferenceProfilesResponse
|
|
2222
|
-
) => any;
|
|
2223
|
-
export declare const GetModelInvocationJobResponseFilterSensitiveLog: (
|
|
2224
|
-
obj: GetModelInvocationJobResponse
|
|
2225
|
-
) => any;
|
|
2226
|
-
export declare const ModelInvocationJobSummaryFilterSensitiveLog: (
|
|
2227
|
-
obj: ModelInvocationJobSummary
|
|
2228
|
-
) => any;
|
|
2229
|
-
export declare const ListModelInvocationJobsResponseFilterSensitiveLog: (
|
|
2230
|
-
obj: ListModelInvocationJobsResponse
|
|
2231
|
-
) => any;
|
|
2232
|
-
export declare const CreatePromptRouterRequestFilterSensitiveLog: (
|
|
2233
|
-
obj: CreatePromptRouterRequest
|
|
2234
|
-
) => any;
|
|
2235
|
-
export declare const GetPromptRouterResponseFilterSensitiveLog: (
|
|
2236
|
-
obj: GetPromptRouterResponse
|
|
2237
|
-
) => any;
|
|
2238
|
-
export declare const PromptRouterSummaryFilterSensitiveLog: (
|
|
2239
|
-
obj: PromptRouterSummary
|
|
2240
|
-
) => any;
|
|
2241
|
-
export declare const ListPromptRoutersResponseFilterSensitiveLog: (
|
|
2242
|
-
obj: ListPromptRoutersResponse
|
|
2243
|
-
) => any;
|