@aws-sdk/client-bedrock 3.859.0 → 3.862.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 +34 -34
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgreementAvailability,
|
|
3
3
|
ApplicationType,
|
|
4
|
-
CommitmentDuration,
|
|
5
4
|
CustomizationConfig,
|
|
6
5
|
CustomizationType,
|
|
7
6
|
EvaluationConfig,
|
|
@@ -13,13 +12,33 @@ import {
|
|
|
13
12
|
ExternalSourcesRetrieveAndGenerateConfiguration,
|
|
14
13
|
FilterAttribute,
|
|
15
14
|
GenerationConfiguration,
|
|
15
|
+
GuardrailAutomatedReasoningPolicyConfig,
|
|
16
|
+
GuardrailContentFilterAction,
|
|
17
|
+
GuardrailContentFiltersTierName,
|
|
18
|
+
GuardrailContentFilterType,
|
|
19
|
+
GuardrailContentPolicyConfig,
|
|
20
|
+
GuardrailContextualGroundingAction,
|
|
21
|
+
GuardrailContextualGroundingFilterType,
|
|
22
|
+
GuardrailContextualGroundingPolicyConfig,
|
|
23
|
+
GuardrailCrossRegionConfig,
|
|
24
|
+
GuardrailFilterStrength,
|
|
25
|
+
GuardrailModality,
|
|
26
|
+
GuardrailPiiEntityType,
|
|
27
|
+
GuardrailSensitiveInformationAction,
|
|
28
|
+
GuardrailSensitiveInformationPolicyConfig,
|
|
29
|
+
GuardrailTopicAction,
|
|
30
|
+
GuardrailTopicPolicyConfig,
|
|
31
|
+
GuardrailTopicsTierName,
|
|
32
|
+
GuardrailTopicType,
|
|
33
|
+
GuardrailWordAction,
|
|
16
34
|
ImplicitFilterConfiguration,
|
|
35
|
+
ModelDataSource,
|
|
17
36
|
OrchestrationConfiguration,
|
|
18
37
|
OutputDataConfig,
|
|
19
|
-
ProvisionedModelStatus,
|
|
20
38
|
RetrieveAndGenerateType,
|
|
21
39
|
SearchType,
|
|
22
40
|
SortJobsBy,
|
|
41
|
+
SortModelsBy,
|
|
23
42
|
SortOrder,
|
|
24
43
|
Tag,
|
|
25
44
|
TrainingDataConfig,
|
|
@@ -29,6 +48,862 @@ import {
|
|
|
29
48
|
VectorSearchRerankingConfiguration,
|
|
30
49
|
VpcConfig,
|
|
31
50
|
} from "./models_0";
|
|
51
|
+
export declare const GuardrailManagedWordsType: {
|
|
52
|
+
readonly PROFANITY: "PROFANITY";
|
|
53
|
+
};
|
|
54
|
+
export type GuardrailManagedWordsType =
|
|
55
|
+
(typeof GuardrailManagedWordsType)[keyof typeof GuardrailManagedWordsType];
|
|
56
|
+
export interface GuardrailManagedWordsConfig {
|
|
57
|
+
type: GuardrailManagedWordsType | undefined;
|
|
58
|
+
inputAction?: GuardrailWordAction | undefined;
|
|
59
|
+
outputAction?: GuardrailWordAction | undefined;
|
|
60
|
+
inputEnabled?: boolean | undefined;
|
|
61
|
+
outputEnabled?: boolean | undefined;
|
|
62
|
+
}
|
|
63
|
+
export interface GuardrailWordConfig {
|
|
64
|
+
text: string | undefined;
|
|
65
|
+
inputAction?: GuardrailWordAction | undefined;
|
|
66
|
+
outputAction?: GuardrailWordAction | undefined;
|
|
67
|
+
inputEnabled?: boolean | undefined;
|
|
68
|
+
outputEnabled?: boolean | undefined;
|
|
69
|
+
}
|
|
70
|
+
export interface GuardrailWordPolicyConfig {
|
|
71
|
+
wordsConfig?: GuardrailWordConfig[] | undefined;
|
|
72
|
+
managedWordListsConfig?: GuardrailManagedWordsConfig[] | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface CreateGuardrailRequest {
|
|
75
|
+
name: string | undefined;
|
|
76
|
+
description?: string | undefined;
|
|
77
|
+
topicPolicyConfig?: GuardrailTopicPolicyConfig | undefined;
|
|
78
|
+
contentPolicyConfig?: GuardrailContentPolicyConfig | undefined;
|
|
79
|
+
wordPolicyConfig?: GuardrailWordPolicyConfig | undefined;
|
|
80
|
+
sensitiveInformationPolicyConfig?:
|
|
81
|
+
| GuardrailSensitiveInformationPolicyConfig
|
|
82
|
+
| undefined;
|
|
83
|
+
contextualGroundingPolicyConfig?:
|
|
84
|
+
| GuardrailContextualGroundingPolicyConfig
|
|
85
|
+
| undefined;
|
|
86
|
+
automatedReasoningPolicyConfig?:
|
|
87
|
+
| GuardrailAutomatedReasoningPolicyConfig
|
|
88
|
+
| undefined;
|
|
89
|
+
crossRegionConfig?: GuardrailCrossRegionConfig | undefined;
|
|
90
|
+
blockedInputMessaging: string | undefined;
|
|
91
|
+
blockedOutputsMessaging: string | undefined;
|
|
92
|
+
kmsKeyId?: string | undefined;
|
|
93
|
+
tags?: Tag[] | undefined;
|
|
94
|
+
clientRequestToken?: string | undefined;
|
|
95
|
+
}
|
|
96
|
+
export interface CreateGuardrailResponse {
|
|
97
|
+
guardrailId: string | undefined;
|
|
98
|
+
guardrailArn: string | undefined;
|
|
99
|
+
version: string | undefined;
|
|
100
|
+
createdAt: Date | undefined;
|
|
101
|
+
}
|
|
102
|
+
export interface CreateGuardrailVersionRequest {
|
|
103
|
+
guardrailIdentifier: string | undefined;
|
|
104
|
+
description?: string | undefined;
|
|
105
|
+
clientRequestToken?: string | undefined;
|
|
106
|
+
}
|
|
107
|
+
export interface CreateGuardrailVersionResponse {
|
|
108
|
+
guardrailId: string | undefined;
|
|
109
|
+
version: string | undefined;
|
|
110
|
+
}
|
|
111
|
+
export interface DeleteGuardrailRequest {
|
|
112
|
+
guardrailIdentifier: string | undefined;
|
|
113
|
+
guardrailVersion?: string | undefined;
|
|
114
|
+
}
|
|
115
|
+
export interface DeleteGuardrailResponse {}
|
|
116
|
+
export interface GetGuardrailRequest {
|
|
117
|
+
guardrailIdentifier: string | undefined;
|
|
118
|
+
guardrailVersion?: string | undefined;
|
|
119
|
+
}
|
|
120
|
+
export interface GuardrailAutomatedReasoningPolicy {
|
|
121
|
+
policies: string[] | undefined;
|
|
122
|
+
confidenceThreshold?: number | undefined;
|
|
123
|
+
}
|
|
124
|
+
export interface GuardrailContentFilter {
|
|
125
|
+
type: GuardrailContentFilterType | undefined;
|
|
126
|
+
inputStrength: GuardrailFilterStrength | undefined;
|
|
127
|
+
outputStrength: GuardrailFilterStrength | undefined;
|
|
128
|
+
inputModalities?: GuardrailModality[] | undefined;
|
|
129
|
+
outputModalities?: GuardrailModality[] | undefined;
|
|
130
|
+
inputAction?: GuardrailContentFilterAction | undefined;
|
|
131
|
+
outputAction?: GuardrailContentFilterAction | undefined;
|
|
132
|
+
inputEnabled?: boolean | undefined;
|
|
133
|
+
outputEnabled?: boolean | undefined;
|
|
134
|
+
}
|
|
135
|
+
export interface GuardrailContentFiltersTier {
|
|
136
|
+
tierName: GuardrailContentFiltersTierName | undefined;
|
|
137
|
+
}
|
|
138
|
+
export interface GuardrailContentPolicy {
|
|
139
|
+
filters?: GuardrailContentFilter[] | undefined;
|
|
140
|
+
tier?: GuardrailContentFiltersTier | undefined;
|
|
141
|
+
}
|
|
142
|
+
export interface GuardrailContextualGroundingFilter {
|
|
143
|
+
type: GuardrailContextualGroundingFilterType | undefined;
|
|
144
|
+
threshold: number | undefined;
|
|
145
|
+
action?: GuardrailContextualGroundingAction | undefined;
|
|
146
|
+
enabled?: boolean | undefined;
|
|
147
|
+
}
|
|
148
|
+
export interface GuardrailContextualGroundingPolicy {
|
|
149
|
+
filters: GuardrailContextualGroundingFilter[] | undefined;
|
|
150
|
+
}
|
|
151
|
+
export interface GuardrailCrossRegionDetails {
|
|
152
|
+
guardrailProfileId?: string | undefined;
|
|
153
|
+
guardrailProfileArn?: string | undefined;
|
|
154
|
+
}
|
|
155
|
+
export interface GuardrailPiiEntity {
|
|
156
|
+
type: GuardrailPiiEntityType | undefined;
|
|
157
|
+
action: GuardrailSensitiveInformationAction | undefined;
|
|
158
|
+
inputAction?: GuardrailSensitiveInformationAction | undefined;
|
|
159
|
+
outputAction?: GuardrailSensitiveInformationAction | undefined;
|
|
160
|
+
inputEnabled?: boolean | undefined;
|
|
161
|
+
outputEnabled?: boolean | undefined;
|
|
162
|
+
}
|
|
163
|
+
export interface GuardrailRegex {
|
|
164
|
+
name: string | undefined;
|
|
165
|
+
description?: string | undefined;
|
|
166
|
+
pattern: string | undefined;
|
|
167
|
+
action: GuardrailSensitiveInformationAction | undefined;
|
|
168
|
+
inputAction?: GuardrailSensitiveInformationAction | undefined;
|
|
169
|
+
outputAction?: GuardrailSensitiveInformationAction | undefined;
|
|
170
|
+
inputEnabled?: boolean | undefined;
|
|
171
|
+
outputEnabled?: boolean | undefined;
|
|
172
|
+
}
|
|
173
|
+
export interface GuardrailSensitiveInformationPolicy {
|
|
174
|
+
piiEntities?: GuardrailPiiEntity[] | undefined;
|
|
175
|
+
regexes?: GuardrailRegex[] | undefined;
|
|
176
|
+
}
|
|
177
|
+
export declare const GuardrailStatus: {
|
|
178
|
+
readonly CREATING: "CREATING";
|
|
179
|
+
readonly DELETING: "DELETING";
|
|
180
|
+
readonly FAILED: "FAILED";
|
|
181
|
+
readonly READY: "READY";
|
|
182
|
+
readonly UPDATING: "UPDATING";
|
|
183
|
+
readonly VERSIONING: "VERSIONING";
|
|
184
|
+
};
|
|
185
|
+
export type GuardrailStatus =
|
|
186
|
+
(typeof GuardrailStatus)[keyof typeof GuardrailStatus];
|
|
187
|
+
export interface GuardrailTopicsTier {
|
|
188
|
+
tierName: GuardrailTopicsTierName | undefined;
|
|
189
|
+
}
|
|
190
|
+
export interface GuardrailTopic {
|
|
191
|
+
name: string | undefined;
|
|
192
|
+
definition: string | undefined;
|
|
193
|
+
examples?: string[] | undefined;
|
|
194
|
+
type?: GuardrailTopicType | undefined;
|
|
195
|
+
inputAction?: GuardrailTopicAction | undefined;
|
|
196
|
+
outputAction?: GuardrailTopicAction | undefined;
|
|
197
|
+
inputEnabled?: boolean | undefined;
|
|
198
|
+
outputEnabled?: boolean | undefined;
|
|
199
|
+
}
|
|
200
|
+
export interface GuardrailTopicPolicy {
|
|
201
|
+
topics: GuardrailTopic[] | undefined;
|
|
202
|
+
tier?: GuardrailTopicsTier | undefined;
|
|
203
|
+
}
|
|
204
|
+
export interface GuardrailManagedWords {
|
|
205
|
+
type: GuardrailManagedWordsType | undefined;
|
|
206
|
+
inputAction?: GuardrailWordAction | undefined;
|
|
207
|
+
outputAction?: GuardrailWordAction | undefined;
|
|
208
|
+
inputEnabled?: boolean | undefined;
|
|
209
|
+
outputEnabled?: boolean | undefined;
|
|
210
|
+
}
|
|
211
|
+
export interface GuardrailWord {
|
|
212
|
+
text: string | undefined;
|
|
213
|
+
inputAction?: GuardrailWordAction | undefined;
|
|
214
|
+
outputAction?: GuardrailWordAction | undefined;
|
|
215
|
+
inputEnabled?: boolean | undefined;
|
|
216
|
+
outputEnabled?: boolean | undefined;
|
|
217
|
+
}
|
|
218
|
+
export interface GuardrailWordPolicy {
|
|
219
|
+
words?: GuardrailWord[] | undefined;
|
|
220
|
+
managedWordLists?: GuardrailManagedWords[] | undefined;
|
|
221
|
+
}
|
|
222
|
+
export interface GetGuardrailResponse {
|
|
223
|
+
name: string | undefined;
|
|
224
|
+
description?: string | undefined;
|
|
225
|
+
guardrailId: string | undefined;
|
|
226
|
+
guardrailArn: string | undefined;
|
|
227
|
+
version: string | undefined;
|
|
228
|
+
status: GuardrailStatus | undefined;
|
|
229
|
+
topicPolicy?: GuardrailTopicPolicy | undefined;
|
|
230
|
+
contentPolicy?: GuardrailContentPolicy | undefined;
|
|
231
|
+
wordPolicy?: GuardrailWordPolicy | undefined;
|
|
232
|
+
sensitiveInformationPolicy?: GuardrailSensitiveInformationPolicy | undefined;
|
|
233
|
+
contextualGroundingPolicy?: GuardrailContextualGroundingPolicy | undefined;
|
|
234
|
+
automatedReasoningPolicy?: GuardrailAutomatedReasoningPolicy | undefined;
|
|
235
|
+
crossRegionDetails?: GuardrailCrossRegionDetails | undefined;
|
|
236
|
+
createdAt: Date | undefined;
|
|
237
|
+
updatedAt: Date | undefined;
|
|
238
|
+
statusReasons?: string[] | undefined;
|
|
239
|
+
failureRecommendations?: string[] | undefined;
|
|
240
|
+
blockedInputMessaging: string | undefined;
|
|
241
|
+
blockedOutputsMessaging: string | undefined;
|
|
242
|
+
kmsKeyArn?: string | undefined;
|
|
243
|
+
}
|
|
244
|
+
export interface ListGuardrailsRequest {
|
|
245
|
+
guardrailIdentifier?: string | undefined;
|
|
246
|
+
maxResults?: number | undefined;
|
|
247
|
+
nextToken?: string | undefined;
|
|
248
|
+
}
|
|
249
|
+
export interface GuardrailSummary {
|
|
250
|
+
id: string | undefined;
|
|
251
|
+
arn: string | undefined;
|
|
252
|
+
status: GuardrailStatus | undefined;
|
|
253
|
+
name: string | undefined;
|
|
254
|
+
description?: string | undefined;
|
|
255
|
+
version: string | undefined;
|
|
256
|
+
createdAt: Date | undefined;
|
|
257
|
+
updatedAt: Date | undefined;
|
|
258
|
+
crossRegionDetails?: GuardrailCrossRegionDetails | undefined;
|
|
259
|
+
}
|
|
260
|
+
export interface ListGuardrailsResponse {
|
|
261
|
+
guardrails: GuardrailSummary[] | undefined;
|
|
262
|
+
nextToken?: string | undefined;
|
|
263
|
+
}
|
|
264
|
+
export interface UpdateGuardrailRequest {
|
|
265
|
+
guardrailIdentifier: string | undefined;
|
|
266
|
+
name: string | undefined;
|
|
267
|
+
description?: string | undefined;
|
|
268
|
+
topicPolicyConfig?: GuardrailTopicPolicyConfig | undefined;
|
|
269
|
+
contentPolicyConfig?: GuardrailContentPolicyConfig | undefined;
|
|
270
|
+
wordPolicyConfig?: GuardrailWordPolicyConfig | undefined;
|
|
271
|
+
sensitiveInformationPolicyConfig?:
|
|
272
|
+
| GuardrailSensitiveInformationPolicyConfig
|
|
273
|
+
| undefined;
|
|
274
|
+
contextualGroundingPolicyConfig?:
|
|
275
|
+
| GuardrailContextualGroundingPolicyConfig
|
|
276
|
+
| undefined;
|
|
277
|
+
automatedReasoningPolicyConfig?:
|
|
278
|
+
| GuardrailAutomatedReasoningPolicyConfig
|
|
279
|
+
| undefined;
|
|
280
|
+
crossRegionConfig?: GuardrailCrossRegionConfig | undefined;
|
|
281
|
+
blockedInputMessaging: string | undefined;
|
|
282
|
+
blockedOutputsMessaging: string | undefined;
|
|
283
|
+
kmsKeyId?: string | undefined;
|
|
284
|
+
}
|
|
285
|
+
export interface UpdateGuardrailResponse {
|
|
286
|
+
guardrailId: string | undefined;
|
|
287
|
+
guardrailArn: string | undefined;
|
|
288
|
+
version: string | undefined;
|
|
289
|
+
updatedAt: Date | undefined;
|
|
290
|
+
}
|
|
291
|
+
export type InferenceProfileModelSource =
|
|
292
|
+
| InferenceProfileModelSource.CopyFromMember
|
|
293
|
+
| InferenceProfileModelSource.$UnknownMember;
|
|
294
|
+
export declare namespace InferenceProfileModelSource {
|
|
295
|
+
interface CopyFromMember {
|
|
296
|
+
copyFrom: string;
|
|
297
|
+
$unknown?: never;
|
|
298
|
+
}
|
|
299
|
+
interface $UnknownMember {
|
|
300
|
+
copyFrom?: never;
|
|
301
|
+
$unknown: [string, any];
|
|
302
|
+
}
|
|
303
|
+
interface Visitor<T> {
|
|
304
|
+
copyFrom: (value: string) => T;
|
|
305
|
+
_: (name: string, value: any) => T;
|
|
306
|
+
}
|
|
307
|
+
const visit: <T>(
|
|
308
|
+
value: InferenceProfileModelSource,
|
|
309
|
+
visitor: Visitor<T>
|
|
310
|
+
) => T;
|
|
311
|
+
}
|
|
312
|
+
export interface CreateInferenceProfileRequest {
|
|
313
|
+
inferenceProfileName: string | undefined;
|
|
314
|
+
description?: string | undefined;
|
|
315
|
+
clientRequestToken?: string | undefined;
|
|
316
|
+
modelSource: InferenceProfileModelSource | undefined;
|
|
317
|
+
tags?: Tag[] | undefined;
|
|
318
|
+
}
|
|
319
|
+
export declare const InferenceProfileStatus: {
|
|
320
|
+
readonly ACTIVE: "ACTIVE";
|
|
321
|
+
};
|
|
322
|
+
export type InferenceProfileStatus =
|
|
323
|
+
(typeof InferenceProfileStatus)[keyof typeof InferenceProfileStatus];
|
|
324
|
+
export interface CreateInferenceProfileResponse {
|
|
325
|
+
inferenceProfileArn: string | undefined;
|
|
326
|
+
status?: InferenceProfileStatus | undefined;
|
|
327
|
+
}
|
|
328
|
+
export interface DeleteInferenceProfileRequest {
|
|
329
|
+
inferenceProfileIdentifier: string | undefined;
|
|
330
|
+
}
|
|
331
|
+
export interface DeleteInferenceProfileResponse {}
|
|
332
|
+
export interface GetInferenceProfileRequest {
|
|
333
|
+
inferenceProfileIdentifier: string | undefined;
|
|
334
|
+
}
|
|
335
|
+
export interface InferenceProfileModel {
|
|
336
|
+
modelArn?: string | undefined;
|
|
337
|
+
}
|
|
338
|
+
export declare const InferenceProfileType: {
|
|
339
|
+
readonly APPLICATION: "APPLICATION";
|
|
340
|
+
readonly SYSTEM_DEFINED: "SYSTEM_DEFINED";
|
|
341
|
+
};
|
|
342
|
+
export type InferenceProfileType =
|
|
343
|
+
(typeof InferenceProfileType)[keyof typeof InferenceProfileType];
|
|
344
|
+
export interface GetInferenceProfileResponse {
|
|
345
|
+
inferenceProfileName: string | undefined;
|
|
346
|
+
description?: string | undefined;
|
|
347
|
+
createdAt?: Date | undefined;
|
|
348
|
+
updatedAt?: Date | undefined;
|
|
349
|
+
inferenceProfileArn: string | undefined;
|
|
350
|
+
models: InferenceProfileModel[] | undefined;
|
|
351
|
+
inferenceProfileId: string | undefined;
|
|
352
|
+
status: InferenceProfileStatus | undefined;
|
|
353
|
+
type: InferenceProfileType | undefined;
|
|
354
|
+
}
|
|
355
|
+
export interface ListInferenceProfilesRequest {
|
|
356
|
+
maxResults?: number | undefined;
|
|
357
|
+
nextToken?: string | undefined;
|
|
358
|
+
typeEquals?: InferenceProfileType | undefined;
|
|
359
|
+
}
|
|
360
|
+
export interface InferenceProfileSummary {
|
|
361
|
+
inferenceProfileName: string | undefined;
|
|
362
|
+
description?: string | undefined;
|
|
363
|
+
createdAt?: Date | undefined;
|
|
364
|
+
updatedAt?: Date | undefined;
|
|
365
|
+
inferenceProfileArn: string | undefined;
|
|
366
|
+
models: InferenceProfileModel[] | undefined;
|
|
367
|
+
inferenceProfileId: string | undefined;
|
|
368
|
+
status: InferenceProfileStatus | undefined;
|
|
369
|
+
type: InferenceProfileType | undefined;
|
|
370
|
+
}
|
|
371
|
+
export interface ListInferenceProfilesResponse {
|
|
372
|
+
inferenceProfileSummaries?: InferenceProfileSummary[] | undefined;
|
|
373
|
+
nextToken?: string | undefined;
|
|
374
|
+
}
|
|
375
|
+
export interface DeleteModelInvocationLoggingConfigurationRequest {}
|
|
376
|
+
export interface DeleteModelInvocationLoggingConfigurationResponse {}
|
|
377
|
+
export interface GetModelInvocationLoggingConfigurationRequest {}
|
|
378
|
+
export interface S3Config {
|
|
379
|
+
bucketName: string | undefined;
|
|
380
|
+
keyPrefix?: string | undefined;
|
|
381
|
+
}
|
|
382
|
+
export interface CloudWatchConfig {
|
|
383
|
+
logGroupName: string | undefined;
|
|
384
|
+
roleArn: string | undefined;
|
|
385
|
+
largeDataDeliveryS3Config?: S3Config | undefined;
|
|
386
|
+
}
|
|
387
|
+
export interface LoggingConfig {
|
|
388
|
+
cloudWatchConfig?: CloudWatchConfig | undefined;
|
|
389
|
+
s3Config?: S3Config | undefined;
|
|
390
|
+
textDataDeliveryEnabled?: boolean | undefined;
|
|
391
|
+
imageDataDeliveryEnabled?: boolean | undefined;
|
|
392
|
+
embeddingDataDeliveryEnabled?: boolean | undefined;
|
|
393
|
+
videoDataDeliveryEnabled?: boolean | undefined;
|
|
394
|
+
}
|
|
395
|
+
export interface GetModelInvocationLoggingConfigurationResponse {
|
|
396
|
+
loggingConfig?: LoggingConfig | undefined;
|
|
397
|
+
}
|
|
398
|
+
export interface PutModelInvocationLoggingConfigurationRequest {
|
|
399
|
+
loggingConfig: LoggingConfig | undefined;
|
|
400
|
+
}
|
|
401
|
+
export interface PutModelInvocationLoggingConfigurationResponse {}
|
|
402
|
+
export interface CreateModelCopyJobRequest {
|
|
403
|
+
sourceModelArn: string | undefined;
|
|
404
|
+
targetModelName: string | undefined;
|
|
405
|
+
modelKmsKeyId?: string | undefined;
|
|
406
|
+
targetModelTags?: Tag[] | undefined;
|
|
407
|
+
clientRequestToken?: string | undefined;
|
|
408
|
+
}
|
|
409
|
+
export interface CreateModelCopyJobResponse {
|
|
410
|
+
jobArn: string | undefined;
|
|
411
|
+
}
|
|
412
|
+
export interface GetModelCopyJobRequest {
|
|
413
|
+
jobArn: string | undefined;
|
|
414
|
+
}
|
|
415
|
+
export declare const ModelCopyJobStatus: {
|
|
416
|
+
readonly COMPLETED: "Completed";
|
|
417
|
+
readonly FAILED: "Failed";
|
|
418
|
+
readonly IN_PROGRESS: "InProgress";
|
|
419
|
+
};
|
|
420
|
+
export type ModelCopyJobStatus =
|
|
421
|
+
(typeof ModelCopyJobStatus)[keyof typeof ModelCopyJobStatus];
|
|
422
|
+
export interface GetModelCopyJobResponse {
|
|
423
|
+
jobArn: string | undefined;
|
|
424
|
+
status: ModelCopyJobStatus | undefined;
|
|
425
|
+
creationTime: Date | undefined;
|
|
426
|
+
targetModelArn: string | undefined;
|
|
427
|
+
targetModelName?: string | undefined;
|
|
428
|
+
sourceAccountId: string | undefined;
|
|
429
|
+
sourceModelArn: string | undefined;
|
|
430
|
+
targetModelKmsKeyArn?: string | undefined;
|
|
431
|
+
targetModelTags?: Tag[] | undefined;
|
|
432
|
+
failureMessage?: string | undefined;
|
|
433
|
+
sourceModelName?: string | undefined;
|
|
434
|
+
}
|
|
435
|
+
export interface ListModelCopyJobsRequest {
|
|
436
|
+
creationTimeAfter?: Date | undefined;
|
|
437
|
+
creationTimeBefore?: Date | undefined;
|
|
438
|
+
statusEquals?: ModelCopyJobStatus | undefined;
|
|
439
|
+
sourceAccountEquals?: string | undefined;
|
|
440
|
+
sourceModelArnEquals?: string | undefined;
|
|
441
|
+
targetModelNameContains?: string | undefined;
|
|
442
|
+
maxResults?: number | undefined;
|
|
443
|
+
nextToken?: string | undefined;
|
|
444
|
+
sortBy?: SortJobsBy | undefined;
|
|
445
|
+
sortOrder?: SortOrder | undefined;
|
|
446
|
+
}
|
|
447
|
+
export interface ModelCopyJobSummary {
|
|
448
|
+
jobArn: string | undefined;
|
|
449
|
+
status: ModelCopyJobStatus | undefined;
|
|
450
|
+
creationTime: Date | undefined;
|
|
451
|
+
targetModelArn: string | undefined;
|
|
452
|
+
targetModelName?: string | undefined;
|
|
453
|
+
sourceAccountId: string | undefined;
|
|
454
|
+
sourceModelArn: string | undefined;
|
|
455
|
+
targetModelKmsKeyArn?: string | undefined;
|
|
456
|
+
targetModelTags?: Tag[] | undefined;
|
|
457
|
+
failureMessage?: string | undefined;
|
|
458
|
+
sourceModelName?: string | undefined;
|
|
459
|
+
}
|
|
460
|
+
export interface ListModelCopyJobsResponse {
|
|
461
|
+
nextToken?: string | undefined;
|
|
462
|
+
modelCopyJobSummaries?: ModelCopyJobSummary[] | undefined;
|
|
463
|
+
}
|
|
464
|
+
export interface CreateModelImportJobRequest {
|
|
465
|
+
jobName: string | undefined;
|
|
466
|
+
importedModelName: string | undefined;
|
|
467
|
+
roleArn: string | undefined;
|
|
468
|
+
modelDataSource: ModelDataSource | undefined;
|
|
469
|
+
jobTags?: Tag[] | undefined;
|
|
470
|
+
importedModelTags?: Tag[] | undefined;
|
|
471
|
+
clientRequestToken?: string | undefined;
|
|
472
|
+
vpcConfig?: VpcConfig | undefined;
|
|
473
|
+
importedModelKmsKeyId?: string | undefined;
|
|
474
|
+
}
|
|
475
|
+
export interface CreateModelImportJobResponse {
|
|
476
|
+
jobArn: string | undefined;
|
|
477
|
+
}
|
|
478
|
+
export interface DeleteImportedModelRequest {
|
|
479
|
+
modelIdentifier: string | undefined;
|
|
480
|
+
}
|
|
481
|
+
export interface DeleteImportedModelResponse {}
|
|
482
|
+
export interface GetImportedModelRequest {
|
|
483
|
+
modelIdentifier: string | undefined;
|
|
484
|
+
}
|
|
485
|
+
export interface CustomModelUnits {
|
|
486
|
+
customModelUnitsPerModelCopy?: number | undefined;
|
|
487
|
+
customModelUnitsVersion?: string | undefined;
|
|
488
|
+
}
|
|
489
|
+
export interface GetImportedModelResponse {
|
|
490
|
+
modelArn?: string | undefined;
|
|
491
|
+
modelName?: string | undefined;
|
|
492
|
+
jobName?: string | undefined;
|
|
493
|
+
jobArn?: string | undefined;
|
|
494
|
+
modelDataSource?: ModelDataSource | undefined;
|
|
495
|
+
creationTime?: Date | undefined;
|
|
496
|
+
modelArchitecture?: string | undefined;
|
|
497
|
+
modelKmsKeyArn?: string | undefined;
|
|
498
|
+
instructSupported?: boolean | undefined;
|
|
499
|
+
customModelUnits?: CustomModelUnits | undefined;
|
|
500
|
+
}
|
|
501
|
+
export interface GetModelImportJobRequest {
|
|
502
|
+
jobIdentifier: string | undefined;
|
|
503
|
+
}
|
|
504
|
+
export declare const ModelImportJobStatus: {
|
|
505
|
+
readonly COMPLETED: "Completed";
|
|
506
|
+
readonly FAILED: "Failed";
|
|
507
|
+
readonly IN_PROGRESS: "InProgress";
|
|
508
|
+
};
|
|
509
|
+
export type ModelImportJobStatus =
|
|
510
|
+
(typeof ModelImportJobStatus)[keyof typeof ModelImportJobStatus];
|
|
511
|
+
export interface GetModelImportJobResponse {
|
|
512
|
+
jobArn?: string | undefined;
|
|
513
|
+
jobName?: string | undefined;
|
|
514
|
+
importedModelName?: string | undefined;
|
|
515
|
+
importedModelArn?: string | undefined;
|
|
516
|
+
roleArn?: string | undefined;
|
|
517
|
+
modelDataSource?: ModelDataSource | undefined;
|
|
518
|
+
status?: ModelImportJobStatus | undefined;
|
|
519
|
+
failureMessage?: string | undefined;
|
|
520
|
+
creationTime?: Date | undefined;
|
|
521
|
+
lastModifiedTime?: Date | undefined;
|
|
522
|
+
endTime?: Date | undefined;
|
|
523
|
+
vpcConfig?: VpcConfig | undefined;
|
|
524
|
+
importedModelKmsKeyArn?: string | undefined;
|
|
525
|
+
}
|
|
526
|
+
export interface ListImportedModelsRequest {
|
|
527
|
+
creationTimeBefore?: Date | undefined;
|
|
528
|
+
creationTimeAfter?: Date | undefined;
|
|
529
|
+
nameContains?: string | undefined;
|
|
530
|
+
maxResults?: number | undefined;
|
|
531
|
+
nextToken?: string | undefined;
|
|
532
|
+
sortBy?: SortModelsBy | undefined;
|
|
533
|
+
sortOrder?: SortOrder | undefined;
|
|
534
|
+
}
|
|
535
|
+
export interface ImportedModelSummary {
|
|
536
|
+
modelArn: string | undefined;
|
|
537
|
+
modelName: string | undefined;
|
|
538
|
+
creationTime: Date | undefined;
|
|
539
|
+
instructSupported?: boolean | undefined;
|
|
540
|
+
modelArchitecture?: string | undefined;
|
|
541
|
+
}
|
|
542
|
+
export interface ListImportedModelsResponse {
|
|
543
|
+
nextToken?: string | undefined;
|
|
544
|
+
modelSummaries?: ImportedModelSummary[] | undefined;
|
|
545
|
+
}
|
|
546
|
+
export interface ListModelImportJobsRequest {
|
|
547
|
+
creationTimeAfter?: Date | undefined;
|
|
548
|
+
creationTimeBefore?: Date | undefined;
|
|
549
|
+
statusEquals?: ModelImportJobStatus | undefined;
|
|
550
|
+
nameContains?: string | undefined;
|
|
551
|
+
maxResults?: number | undefined;
|
|
552
|
+
nextToken?: string | undefined;
|
|
553
|
+
sortBy?: SortJobsBy | undefined;
|
|
554
|
+
sortOrder?: SortOrder | undefined;
|
|
555
|
+
}
|
|
556
|
+
export interface ModelImportJobSummary {
|
|
557
|
+
jobArn: string | undefined;
|
|
558
|
+
jobName: string | undefined;
|
|
559
|
+
status: ModelImportJobStatus | undefined;
|
|
560
|
+
lastModifiedTime?: Date | undefined;
|
|
561
|
+
creationTime: Date | undefined;
|
|
562
|
+
endTime?: Date | undefined;
|
|
563
|
+
importedModelArn?: string | undefined;
|
|
564
|
+
importedModelName?: string | undefined;
|
|
565
|
+
}
|
|
566
|
+
export interface ListModelImportJobsResponse {
|
|
567
|
+
nextToken?: string | undefined;
|
|
568
|
+
modelImportJobSummaries?: ModelImportJobSummary[] | undefined;
|
|
569
|
+
}
|
|
570
|
+
export declare const S3InputFormat: {
|
|
571
|
+
readonly JSONL: "JSONL";
|
|
572
|
+
};
|
|
573
|
+
export type S3InputFormat = (typeof S3InputFormat)[keyof typeof S3InputFormat];
|
|
574
|
+
export interface ModelInvocationJobS3InputDataConfig {
|
|
575
|
+
s3InputFormat?: S3InputFormat | undefined;
|
|
576
|
+
s3Uri: string | undefined;
|
|
577
|
+
s3BucketOwner?: string | undefined;
|
|
578
|
+
}
|
|
579
|
+
export type ModelInvocationJobInputDataConfig =
|
|
580
|
+
| ModelInvocationJobInputDataConfig.S3InputDataConfigMember
|
|
581
|
+
| ModelInvocationJobInputDataConfig.$UnknownMember;
|
|
582
|
+
export declare namespace ModelInvocationJobInputDataConfig {
|
|
583
|
+
interface S3InputDataConfigMember {
|
|
584
|
+
s3InputDataConfig: ModelInvocationJobS3InputDataConfig;
|
|
585
|
+
$unknown?: never;
|
|
586
|
+
}
|
|
587
|
+
interface $UnknownMember {
|
|
588
|
+
s3InputDataConfig?: never;
|
|
589
|
+
$unknown: [string, any];
|
|
590
|
+
}
|
|
591
|
+
interface Visitor<T> {
|
|
592
|
+
s3InputDataConfig: (value: ModelInvocationJobS3InputDataConfig) => T;
|
|
593
|
+
_: (name: string, value: any) => T;
|
|
594
|
+
}
|
|
595
|
+
const visit: <T>(
|
|
596
|
+
value: ModelInvocationJobInputDataConfig,
|
|
597
|
+
visitor: Visitor<T>
|
|
598
|
+
) => T;
|
|
599
|
+
}
|
|
600
|
+
export interface ModelInvocationJobS3OutputDataConfig {
|
|
601
|
+
s3Uri: string | undefined;
|
|
602
|
+
s3EncryptionKeyId?: string | undefined;
|
|
603
|
+
s3BucketOwner?: string | undefined;
|
|
604
|
+
}
|
|
605
|
+
export type ModelInvocationJobOutputDataConfig =
|
|
606
|
+
| ModelInvocationJobOutputDataConfig.S3OutputDataConfigMember
|
|
607
|
+
| ModelInvocationJobOutputDataConfig.$UnknownMember;
|
|
608
|
+
export declare namespace ModelInvocationJobOutputDataConfig {
|
|
609
|
+
interface S3OutputDataConfigMember {
|
|
610
|
+
s3OutputDataConfig: ModelInvocationJobS3OutputDataConfig;
|
|
611
|
+
$unknown?: never;
|
|
612
|
+
}
|
|
613
|
+
interface $UnknownMember {
|
|
614
|
+
s3OutputDataConfig?: never;
|
|
615
|
+
$unknown: [string, any];
|
|
616
|
+
}
|
|
617
|
+
interface Visitor<T> {
|
|
618
|
+
s3OutputDataConfig: (value: ModelInvocationJobS3OutputDataConfig) => T;
|
|
619
|
+
_: (name: string, value: any) => T;
|
|
620
|
+
}
|
|
621
|
+
const visit: <T>(
|
|
622
|
+
value: ModelInvocationJobOutputDataConfig,
|
|
623
|
+
visitor: Visitor<T>
|
|
624
|
+
) => T;
|
|
625
|
+
}
|
|
626
|
+
export interface CreateModelInvocationJobRequest {
|
|
627
|
+
jobName: string | undefined;
|
|
628
|
+
roleArn: string | undefined;
|
|
629
|
+
clientRequestToken?: string | undefined;
|
|
630
|
+
modelId: string | undefined;
|
|
631
|
+
inputDataConfig: ModelInvocationJobInputDataConfig | undefined;
|
|
632
|
+
outputDataConfig: ModelInvocationJobOutputDataConfig | undefined;
|
|
633
|
+
vpcConfig?: VpcConfig | undefined;
|
|
634
|
+
timeoutDurationInHours?: number | undefined;
|
|
635
|
+
tags?: Tag[] | undefined;
|
|
636
|
+
}
|
|
637
|
+
export interface CreateModelInvocationJobResponse {
|
|
638
|
+
jobArn: string | undefined;
|
|
639
|
+
}
|
|
640
|
+
export interface GetModelInvocationJobRequest {
|
|
641
|
+
jobIdentifier: string | undefined;
|
|
642
|
+
}
|
|
643
|
+
export declare const ModelInvocationJobStatus: {
|
|
644
|
+
readonly COMPLETED: "Completed";
|
|
645
|
+
readonly EXPIRED: "Expired";
|
|
646
|
+
readonly FAILED: "Failed";
|
|
647
|
+
readonly IN_PROGRESS: "InProgress";
|
|
648
|
+
readonly PARTIALLY_COMPLETED: "PartiallyCompleted";
|
|
649
|
+
readonly SCHEDULED: "Scheduled";
|
|
650
|
+
readonly STOPPED: "Stopped";
|
|
651
|
+
readonly STOPPING: "Stopping";
|
|
652
|
+
readonly SUBMITTED: "Submitted";
|
|
653
|
+
readonly VALIDATING: "Validating";
|
|
654
|
+
};
|
|
655
|
+
export type ModelInvocationJobStatus =
|
|
656
|
+
(typeof ModelInvocationJobStatus)[keyof typeof ModelInvocationJobStatus];
|
|
657
|
+
export interface GetModelInvocationJobResponse {
|
|
658
|
+
jobArn: string | undefined;
|
|
659
|
+
jobName?: string | undefined;
|
|
660
|
+
modelId: string | undefined;
|
|
661
|
+
clientRequestToken?: string | undefined;
|
|
662
|
+
roleArn: string | undefined;
|
|
663
|
+
status?: ModelInvocationJobStatus | undefined;
|
|
664
|
+
message?: string | undefined;
|
|
665
|
+
submitTime: Date | undefined;
|
|
666
|
+
lastModifiedTime?: Date | undefined;
|
|
667
|
+
endTime?: Date | undefined;
|
|
668
|
+
inputDataConfig: ModelInvocationJobInputDataConfig | undefined;
|
|
669
|
+
outputDataConfig: ModelInvocationJobOutputDataConfig | undefined;
|
|
670
|
+
vpcConfig?: VpcConfig | undefined;
|
|
671
|
+
timeoutDurationInHours?: number | undefined;
|
|
672
|
+
jobExpirationTime?: Date | undefined;
|
|
673
|
+
}
|
|
674
|
+
export interface ListModelInvocationJobsRequest {
|
|
675
|
+
submitTimeAfter?: Date | undefined;
|
|
676
|
+
submitTimeBefore?: Date | undefined;
|
|
677
|
+
statusEquals?: ModelInvocationJobStatus | undefined;
|
|
678
|
+
nameContains?: string | undefined;
|
|
679
|
+
maxResults?: number | undefined;
|
|
680
|
+
nextToken?: string | undefined;
|
|
681
|
+
sortBy?: SortJobsBy | undefined;
|
|
682
|
+
sortOrder?: SortOrder | undefined;
|
|
683
|
+
}
|
|
684
|
+
export interface ModelInvocationJobSummary {
|
|
685
|
+
jobArn: string | undefined;
|
|
686
|
+
jobName: string | undefined;
|
|
687
|
+
modelId: string | undefined;
|
|
688
|
+
clientRequestToken?: string | undefined;
|
|
689
|
+
roleArn: string | undefined;
|
|
690
|
+
status?: ModelInvocationJobStatus | undefined;
|
|
691
|
+
message?: string | undefined;
|
|
692
|
+
submitTime: Date | undefined;
|
|
693
|
+
lastModifiedTime?: Date | undefined;
|
|
694
|
+
endTime?: Date | undefined;
|
|
695
|
+
inputDataConfig: ModelInvocationJobInputDataConfig | undefined;
|
|
696
|
+
outputDataConfig: ModelInvocationJobOutputDataConfig | undefined;
|
|
697
|
+
vpcConfig?: VpcConfig | undefined;
|
|
698
|
+
timeoutDurationInHours?: number | undefined;
|
|
699
|
+
jobExpirationTime?: Date | undefined;
|
|
700
|
+
}
|
|
701
|
+
export interface ListModelInvocationJobsResponse {
|
|
702
|
+
nextToken?: string | undefined;
|
|
703
|
+
invocationJobSummaries?: ModelInvocationJobSummary[] | undefined;
|
|
704
|
+
}
|
|
705
|
+
export interface StopModelInvocationJobRequest {
|
|
706
|
+
jobIdentifier: string | undefined;
|
|
707
|
+
}
|
|
708
|
+
export interface StopModelInvocationJobResponse {}
|
|
709
|
+
export interface GetFoundationModelRequest {
|
|
710
|
+
modelIdentifier: string | undefined;
|
|
711
|
+
}
|
|
712
|
+
export declare const ModelCustomization: {
|
|
713
|
+
readonly CONTINUED_PRE_TRAINING: "CONTINUED_PRE_TRAINING";
|
|
714
|
+
readonly DISTILLATION: "DISTILLATION";
|
|
715
|
+
readonly FINE_TUNING: "FINE_TUNING";
|
|
716
|
+
};
|
|
717
|
+
export type ModelCustomization =
|
|
718
|
+
(typeof ModelCustomization)[keyof typeof ModelCustomization];
|
|
719
|
+
export declare const InferenceType: {
|
|
720
|
+
readonly ON_DEMAND: "ON_DEMAND";
|
|
721
|
+
readonly PROVISIONED: "PROVISIONED";
|
|
722
|
+
};
|
|
723
|
+
export type InferenceType = (typeof InferenceType)[keyof typeof InferenceType];
|
|
724
|
+
export declare const ModelModality: {
|
|
725
|
+
readonly EMBEDDING: "EMBEDDING";
|
|
726
|
+
readonly IMAGE: "IMAGE";
|
|
727
|
+
readonly TEXT: "TEXT";
|
|
728
|
+
};
|
|
729
|
+
export type ModelModality = (typeof ModelModality)[keyof typeof ModelModality];
|
|
730
|
+
export declare const FoundationModelLifecycleStatus: {
|
|
731
|
+
readonly ACTIVE: "ACTIVE";
|
|
732
|
+
readonly LEGACY: "LEGACY";
|
|
733
|
+
};
|
|
734
|
+
export type FoundationModelLifecycleStatus =
|
|
735
|
+
(typeof FoundationModelLifecycleStatus)[keyof typeof FoundationModelLifecycleStatus];
|
|
736
|
+
export interface FoundationModelLifecycle {
|
|
737
|
+
status: FoundationModelLifecycleStatus | undefined;
|
|
738
|
+
}
|
|
739
|
+
export interface FoundationModelDetails {
|
|
740
|
+
modelArn: string | undefined;
|
|
741
|
+
modelId: string | undefined;
|
|
742
|
+
modelName?: string | undefined;
|
|
743
|
+
providerName?: string | undefined;
|
|
744
|
+
inputModalities?: ModelModality[] | undefined;
|
|
745
|
+
outputModalities?: ModelModality[] | undefined;
|
|
746
|
+
responseStreamingSupported?: boolean | undefined;
|
|
747
|
+
customizationsSupported?: ModelCustomization[] | undefined;
|
|
748
|
+
inferenceTypesSupported?: InferenceType[] | undefined;
|
|
749
|
+
modelLifecycle?: FoundationModelLifecycle | undefined;
|
|
750
|
+
}
|
|
751
|
+
export interface GetFoundationModelResponse {
|
|
752
|
+
modelDetails?: FoundationModelDetails | undefined;
|
|
753
|
+
}
|
|
754
|
+
export interface ListFoundationModelsRequest {
|
|
755
|
+
byProvider?: string | undefined;
|
|
756
|
+
byCustomizationType?: ModelCustomization | undefined;
|
|
757
|
+
byOutputModality?: ModelModality | undefined;
|
|
758
|
+
byInferenceType?: InferenceType | undefined;
|
|
759
|
+
}
|
|
760
|
+
export interface FoundationModelSummary {
|
|
761
|
+
modelArn: string | undefined;
|
|
762
|
+
modelId: string | undefined;
|
|
763
|
+
modelName?: string | undefined;
|
|
764
|
+
providerName?: string | undefined;
|
|
765
|
+
inputModalities?: ModelModality[] | undefined;
|
|
766
|
+
outputModalities?: ModelModality[] | undefined;
|
|
767
|
+
responseStreamingSupported?: boolean | undefined;
|
|
768
|
+
customizationsSupported?: ModelCustomization[] | undefined;
|
|
769
|
+
inferenceTypesSupported?: InferenceType[] | undefined;
|
|
770
|
+
modelLifecycle?: FoundationModelLifecycle | undefined;
|
|
771
|
+
}
|
|
772
|
+
export interface ListFoundationModelsResponse {
|
|
773
|
+
modelSummaries?: FoundationModelSummary[] | undefined;
|
|
774
|
+
}
|
|
775
|
+
export interface PromptRouterTargetModel {
|
|
776
|
+
modelArn: string | undefined;
|
|
777
|
+
}
|
|
778
|
+
export interface RoutingCriteria {
|
|
779
|
+
responseQualityDifference: number | undefined;
|
|
780
|
+
}
|
|
781
|
+
export interface CreatePromptRouterRequest {
|
|
782
|
+
clientRequestToken?: string | undefined;
|
|
783
|
+
promptRouterName: string | undefined;
|
|
784
|
+
models: PromptRouterTargetModel[] | undefined;
|
|
785
|
+
description?: string | undefined;
|
|
786
|
+
routingCriteria: RoutingCriteria | undefined;
|
|
787
|
+
fallbackModel: PromptRouterTargetModel | undefined;
|
|
788
|
+
tags?: Tag[] | undefined;
|
|
789
|
+
}
|
|
790
|
+
export interface CreatePromptRouterResponse {
|
|
791
|
+
promptRouterArn?: string | undefined;
|
|
792
|
+
}
|
|
793
|
+
export interface DeletePromptRouterRequest {
|
|
794
|
+
promptRouterArn: string | undefined;
|
|
795
|
+
}
|
|
796
|
+
export interface DeletePromptRouterResponse {}
|
|
797
|
+
export interface GetPromptRouterRequest {
|
|
798
|
+
promptRouterArn: string | undefined;
|
|
799
|
+
}
|
|
800
|
+
export declare const PromptRouterStatus: {
|
|
801
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
802
|
+
};
|
|
803
|
+
export type PromptRouterStatus =
|
|
804
|
+
(typeof PromptRouterStatus)[keyof typeof PromptRouterStatus];
|
|
805
|
+
export declare const PromptRouterType: {
|
|
806
|
+
readonly CUSTOM: "custom";
|
|
807
|
+
readonly DEFAULT: "default";
|
|
808
|
+
};
|
|
809
|
+
export type PromptRouterType =
|
|
810
|
+
(typeof PromptRouterType)[keyof typeof PromptRouterType];
|
|
811
|
+
export interface GetPromptRouterResponse {
|
|
812
|
+
promptRouterName: string | undefined;
|
|
813
|
+
routingCriteria: RoutingCriteria | undefined;
|
|
814
|
+
description?: string | undefined;
|
|
815
|
+
createdAt?: Date | undefined;
|
|
816
|
+
updatedAt?: Date | undefined;
|
|
817
|
+
promptRouterArn: string | undefined;
|
|
818
|
+
models: PromptRouterTargetModel[] | undefined;
|
|
819
|
+
fallbackModel: PromptRouterTargetModel | undefined;
|
|
820
|
+
status: PromptRouterStatus | undefined;
|
|
821
|
+
type: PromptRouterType | undefined;
|
|
822
|
+
}
|
|
823
|
+
export interface ListPromptRoutersRequest {
|
|
824
|
+
maxResults?: number | undefined;
|
|
825
|
+
nextToken?: string | undefined;
|
|
826
|
+
type?: PromptRouterType | undefined;
|
|
827
|
+
}
|
|
828
|
+
export interface PromptRouterSummary {
|
|
829
|
+
promptRouterName: string | undefined;
|
|
830
|
+
routingCriteria: RoutingCriteria | undefined;
|
|
831
|
+
description?: string | undefined;
|
|
832
|
+
createdAt?: Date | undefined;
|
|
833
|
+
updatedAt?: Date | undefined;
|
|
834
|
+
promptRouterArn: string | undefined;
|
|
835
|
+
models: PromptRouterTargetModel[] | undefined;
|
|
836
|
+
fallbackModel: PromptRouterTargetModel | undefined;
|
|
837
|
+
status: PromptRouterStatus | undefined;
|
|
838
|
+
type: PromptRouterType | undefined;
|
|
839
|
+
}
|
|
840
|
+
export interface ListPromptRoutersResponse {
|
|
841
|
+
promptRouterSummaries?: PromptRouterSummary[] | undefined;
|
|
842
|
+
nextToken?: string | undefined;
|
|
843
|
+
}
|
|
844
|
+
export declare const CommitmentDuration: {
|
|
845
|
+
readonly ONE_MONTH: "OneMonth";
|
|
846
|
+
readonly SIX_MONTHS: "SixMonths";
|
|
847
|
+
};
|
|
848
|
+
export type CommitmentDuration =
|
|
849
|
+
(typeof CommitmentDuration)[keyof typeof CommitmentDuration];
|
|
850
|
+
export interface CreateProvisionedModelThroughputRequest {
|
|
851
|
+
clientRequestToken?: string | undefined;
|
|
852
|
+
modelUnits: number | undefined;
|
|
853
|
+
provisionedModelName: string | undefined;
|
|
854
|
+
modelId: string | undefined;
|
|
855
|
+
commitmentDuration?: CommitmentDuration | undefined;
|
|
856
|
+
tags?: Tag[] | undefined;
|
|
857
|
+
}
|
|
858
|
+
export interface CreateProvisionedModelThroughputResponse {
|
|
859
|
+
provisionedModelArn: string | undefined;
|
|
860
|
+
}
|
|
861
|
+
export interface DeleteProvisionedModelThroughputRequest {
|
|
862
|
+
provisionedModelId: string | undefined;
|
|
863
|
+
}
|
|
864
|
+
export interface DeleteProvisionedModelThroughputResponse {}
|
|
865
|
+
export interface GetProvisionedModelThroughputRequest {
|
|
866
|
+
provisionedModelId: string | undefined;
|
|
867
|
+
}
|
|
868
|
+
export declare const ProvisionedModelStatus: {
|
|
869
|
+
readonly CREATING: "Creating";
|
|
870
|
+
readonly FAILED: "Failed";
|
|
871
|
+
readonly IN_SERVICE: "InService";
|
|
872
|
+
readonly UPDATING: "Updating";
|
|
873
|
+
};
|
|
874
|
+
export type ProvisionedModelStatus =
|
|
875
|
+
(typeof ProvisionedModelStatus)[keyof typeof ProvisionedModelStatus];
|
|
876
|
+
export interface GetProvisionedModelThroughputResponse {
|
|
877
|
+
modelUnits: number | undefined;
|
|
878
|
+
desiredModelUnits: number | undefined;
|
|
879
|
+
provisionedModelName: string | undefined;
|
|
880
|
+
provisionedModelArn: string | undefined;
|
|
881
|
+
modelArn: string | undefined;
|
|
882
|
+
desiredModelArn: string | undefined;
|
|
883
|
+
foundationModelArn: string | undefined;
|
|
884
|
+
status: ProvisionedModelStatus | undefined;
|
|
885
|
+
creationTime: Date | undefined;
|
|
886
|
+
lastModifiedTime: Date | undefined;
|
|
887
|
+
failureMessage?: string | undefined;
|
|
888
|
+
commitmentDuration?: CommitmentDuration | undefined;
|
|
889
|
+
commitmentExpirationTime?: Date | undefined;
|
|
890
|
+
}
|
|
891
|
+
export declare const SortByProvisionedModels: {
|
|
892
|
+
readonly CREATION_TIME: "CreationTime";
|
|
893
|
+
};
|
|
894
|
+
export type SortByProvisionedModels =
|
|
895
|
+
(typeof SortByProvisionedModels)[keyof typeof SortByProvisionedModels];
|
|
896
|
+
export interface ListProvisionedModelThroughputsRequest {
|
|
897
|
+
creationTimeAfter?: Date | undefined;
|
|
898
|
+
creationTimeBefore?: Date | undefined;
|
|
899
|
+
statusEquals?: ProvisionedModelStatus | undefined;
|
|
900
|
+
modelArnEquals?: string | undefined;
|
|
901
|
+
nameContains?: string | undefined;
|
|
902
|
+
maxResults?: number | undefined;
|
|
903
|
+
nextToken?: string | undefined;
|
|
904
|
+
sortBy?: SortByProvisionedModels | undefined;
|
|
905
|
+
sortOrder?: SortOrder | undefined;
|
|
906
|
+
}
|
|
32
907
|
export interface ProvisionedModelSummary {
|
|
33
908
|
provisionedModelName: string | undefined;
|
|
34
909
|
provisionedModelArn: string | undefined;
|
|
@@ -678,6 +1553,99 @@ export interface GetEvaluationJobResponse {
|
|
|
678
1553
|
lastModifiedTime?: Date | undefined;
|
|
679
1554
|
failureMessages?: string[] | undefined;
|
|
680
1555
|
}
|
|
1556
|
+
export declare const GuardrailManagedWordsConfigFilterSensitiveLog: (
|
|
1557
|
+
obj: GuardrailManagedWordsConfig
|
|
1558
|
+
) => any;
|
|
1559
|
+
export declare const GuardrailWordConfigFilterSensitiveLog: (
|
|
1560
|
+
obj: GuardrailWordConfig
|
|
1561
|
+
) => any;
|
|
1562
|
+
export declare const GuardrailWordPolicyConfigFilterSensitiveLog: (
|
|
1563
|
+
obj: GuardrailWordPolicyConfig
|
|
1564
|
+
) => any;
|
|
1565
|
+
export declare const CreateGuardrailRequestFilterSensitiveLog: (
|
|
1566
|
+
obj: CreateGuardrailRequest
|
|
1567
|
+
) => any;
|
|
1568
|
+
export declare const CreateGuardrailVersionRequestFilterSensitiveLog: (
|
|
1569
|
+
obj: CreateGuardrailVersionRequest
|
|
1570
|
+
) => any;
|
|
1571
|
+
export declare const GuardrailContentFilterFilterSensitiveLog: (
|
|
1572
|
+
obj: GuardrailContentFilter
|
|
1573
|
+
) => any;
|
|
1574
|
+
export declare const GuardrailContentFiltersTierFilterSensitiveLog: (
|
|
1575
|
+
obj: GuardrailContentFiltersTier
|
|
1576
|
+
) => any;
|
|
1577
|
+
export declare const GuardrailContentPolicyFilterSensitiveLog: (
|
|
1578
|
+
obj: GuardrailContentPolicy
|
|
1579
|
+
) => any;
|
|
1580
|
+
export declare const GuardrailContextualGroundingFilterFilterSensitiveLog: (
|
|
1581
|
+
obj: GuardrailContextualGroundingFilter
|
|
1582
|
+
) => any;
|
|
1583
|
+
export declare const GuardrailContextualGroundingPolicyFilterSensitiveLog: (
|
|
1584
|
+
obj: GuardrailContextualGroundingPolicy
|
|
1585
|
+
) => any;
|
|
1586
|
+
export declare const GuardrailTopicsTierFilterSensitiveLog: (
|
|
1587
|
+
obj: GuardrailTopicsTier
|
|
1588
|
+
) => any;
|
|
1589
|
+
export declare const GuardrailTopicFilterSensitiveLog: (
|
|
1590
|
+
obj: GuardrailTopic
|
|
1591
|
+
) => any;
|
|
1592
|
+
export declare const GuardrailTopicPolicyFilterSensitiveLog: (
|
|
1593
|
+
obj: GuardrailTopicPolicy
|
|
1594
|
+
) => any;
|
|
1595
|
+
export declare const GuardrailManagedWordsFilterSensitiveLog: (
|
|
1596
|
+
obj: GuardrailManagedWords
|
|
1597
|
+
) => any;
|
|
1598
|
+
export declare const GuardrailWordFilterSensitiveLog: (
|
|
1599
|
+
obj: GuardrailWord
|
|
1600
|
+
) => any;
|
|
1601
|
+
export declare const GuardrailWordPolicyFilterSensitiveLog: (
|
|
1602
|
+
obj: GuardrailWordPolicy
|
|
1603
|
+
) => any;
|
|
1604
|
+
export declare const GetGuardrailResponseFilterSensitiveLog: (
|
|
1605
|
+
obj: GetGuardrailResponse
|
|
1606
|
+
) => any;
|
|
1607
|
+
export declare const GuardrailSummaryFilterSensitiveLog: (
|
|
1608
|
+
obj: GuardrailSummary
|
|
1609
|
+
) => any;
|
|
1610
|
+
export declare const ListGuardrailsResponseFilterSensitiveLog: (
|
|
1611
|
+
obj: ListGuardrailsResponse
|
|
1612
|
+
) => any;
|
|
1613
|
+
export declare const UpdateGuardrailRequestFilterSensitiveLog: (
|
|
1614
|
+
obj: UpdateGuardrailRequest
|
|
1615
|
+
) => any;
|
|
1616
|
+
export declare const CreateInferenceProfileRequestFilterSensitiveLog: (
|
|
1617
|
+
obj: CreateInferenceProfileRequest
|
|
1618
|
+
) => any;
|
|
1619
|
+
export declare const GetInferenceProfileResponseFilterSensitiveLog: (
|
|
1620
|
+
obj: GetInferenceProfileResponse
|
|
1621
|
+
) => any;
|
|
1622
|
+
export declare const InferenceProfileSummaryFilterSensitiveLog: (
|
|
1623
|
+
obj: InferenceProfileSummary
|
|
1624
|
+
) => any;
|
|
1625
|
+
export declare const ListInferenceProfilesResponseFilterSensitiveLog: (
|
|
1626
|
+
obj: ListInferenceProfilesResponse
|
|
1627
|
+
) => any;
|
|
1628
|
+
export declare const GetModelInvocationJobResponseFilterSensitiveLog: (
|
|
1629
|
+
obj: GetModelInvocationJobResponse
|
|
1630
|
+
) => any;
|
|
1631
|
+
export declare const ModelInvocationJobSummaryFilterSensitiveLog: (
|
|
1632
|
+
obj: ModelInvocationJobSummary
|
|
1633
|
+
) => any;
|
|
1634
|
+
export declare const ListModelInvocationJobsResponseFilterSensitiveLog: (
|
|
1635
|
+
obj: ListModelInvocationJobsResponse
|
|
1636
|
+
) => any;
|
|
1637
|
+
export declare const CreatePromptRouterRequestFilterSensitiveLog: (
|
|
1638
|
+
obj: CreatePromptRouterRequest
|
|
1639
|
+
) => any;
|
|
1640
|
+
export declare const GetPromptRouterResponseFilterSensitiveLog: (
|
|
1641
|
+
obj: GetPromptRouterResponse
|
|
1642
|
+
) => any;
|
|
1643
|
+
export declare const PromptRouterSummaryFilterSensitiveLog: (
|
|
1644
|
+
obj: PromptRouterSummary
|
|
1645
|
+
) => any;
|
|
1646
|
+
export declare const ListPromptRoutersResponseFilterSensitiveLog: (
|
|
1647
|
+
obj: ListPromptRoutersResponse
|
|
1648
|
+
) => any;
|
|
681
1649
|
export declare const CreateModelCustomizationJobRequestFilterSensitiveLog: (
|
|
682
1650
|
obj: CreateModelCustomizationJobRequest
|
|
683
1651
|
) => any;
|