@aws-sdk/client-bedrock 3.1022.0 → 3.1024.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 +21 -0
- package/dist-cjs/index.js +47 -0
- package/dist-cjs/schemas/schemas_0.js +73 -15
- package/dist-es/Bedrock.js +6 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +16 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +16 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +64 -6
- package/dist-types/Bedrock.d.ts +21 -0
- package/dist-types/BedrockClient.d.ts +5 -2
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +87 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +89 -0
- package/dist-types/commands/ListEnforcedGuardrailsConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/PutEnforcedGuardrailConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +26 -19
- package/dist-types/models/models_1.d.ts +77 -1
- package/dist-types/schemas/schemas_0.d.ts +10 -0
- package/dist-types/ts3.4/Bedrock.d.ts +51 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -5
- package/dist-types/ts3.4/models/models_1.d.ts +23 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -0
- package/package.json +2 -2
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const SelectiveGuardingMode: {
|
|
6
|
+
readonly COMPREHENSIVE: "COMPREHENSIVE";
|
|
7
|
+
readonly SELECTIVE: "SELECTIVE";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type SelectiveGuardingMode = (typeof SelectiveGuardingMode)[keyof typeof SelectiveGuardingMode];
|
|
1
13
|
/**
|
|
2
14
|
* @public
|
|
3
15
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AgreementStatus, ApplicationType, AttributeType, AutomatedReasoningCheckLogicWarningType, AutomatedReasoningCheckResult, AutomatedReasoningPolicyAnnotationStatus, AutomatedReasoningPolicyBuildDocumentContentType, AutomatedReasoningPolicyBuildMessageType, AutomatedReasoningPolicyBuildResultAssetType, AutomatedReasoningPolicyBuildWorkflowStatus, AutomatedReasoningPolicyBuildWorkflowType, AutomatedReasoningPolicyTestRunResult, AutomatedReasoningPolicyTestRunStatus, ConfigurationOwner, CustomizationType, CustomModelDeploymentStatus, CustomModelDeploymentUpdateStatus, EvaluationJobStatus, EvaluationJobType, EvaluationTaskType, ExternalSourceType, GuardrailContentFilterAction, GuardrailContentFiltersTierName, GuardrailContentFilterType, GuardrailContextualGroundingAction, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailModality, GuardrailPiiEntityType, GuardrailSensitiveInformationAction, GuardrailTopicAction, GuardrailTopicsTierName, GuardrailTopicType, GuardrailWordAction, InputTags, ModelStatus, PerformanceConfigLatency, QueryTransformationType, ReasoningEffort, RerankingMetadataSelectionMode, SortJobsBy, SortModelsBy, SortOrder, Status, VectorSearchRerankingConfigurationType } from "./enums";
|
|
2
|
+
import type { AgreementStatus, ApplicationType, AttributeType, AutomatedReasoningCheckLogicWarningType, AutomatedReasoningCheckResult, AutomatedReasoningPolicyAnnotationStatus, AutomatedReasoningPolicyBuildDocumentContentType, AutomatedReasoningPolicyBuildMessageType, AutomatedReasoningPolicyBuildResultAssetType, AutomatedReasoningPolicyBuildWorkflowStatus, AutomatedReasoningPolicyBuildWorkflowType, AutomatedReasoningPolicyTestRunResult, AutomatedReasoningPolicyTestRunStatus, ConfigurationOwner, CustomizationType, CustomModelDeploymentStatus, CustomModelDeploymentUpdateStatus, EvaluationJobStatus, EvaluationJobType, EvaluationTaskType, ExternalSourceType, GuardrailContentFilterAction, GuardrailContentFiltersTierName, GuardrailContentFilterType, GuardrailContextualGroundingAction, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailModality, GuardrailPiiEntityType, GuardrailSensitiveInformationAction, GuardrailTopicAction, GuardrailTopicsTierName, GuardrailTopicType, GuardrailWordAction, InputTags, ModelStatus, PerformanceConfigLatency, QueryTransformationType, ReasoningEffort, RerankingMetadataSelectionMode, SelectiveGuardingMode, SortJobsBy, SortModelsBy, SortOrder, Status, VectorSearchRerankingConfigurationType } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Model-specific information for the enforced guardrail configuration.</p>
|
|
5
5
|
* @public
|
|
@@ -16,6 +16,22 @@ export interface ModelEnforcement {
|
|
|
16
16
|
*/
|
|
17
17
|
excludedModels: string[] | undefined;
|
|
18
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* <p>Selective content guarding controls for enforced guardrails.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export interface SelectiveContentGuarding {
|
|
24
|
+
/**
|
|
25
|
+
* <p>Selective guarding mode for system prompts."</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
system?: SelectiveGuardingMode | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>Selective guarding mode for user messages.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
messages?: SelectiveGuardingMode | undefined;
|
|
34
|
+
}
|
|
19
35
|
/**
|
|
20
36
|
* <p>Account-level enforced guardrail input configuration.</p>
|
|
21
37
|
* @public
|
|
@@ -32,10 +48,10 @@ export interface AccountEnforcedGuardrailInferenceInputConfiguration {
|
|
|
32
48
|
*/
|
|
33
49
|
guardrailVersion: string | undefined;
|
|
34
50
|
/**
|
|
35
|
-
* <p>
|
|
51
|
+
* <p>Selective content guarding controls for enforced guardrails.</p>
|
|
36
52
|
* @public
|
|
37
53
|
*/
|
|
38
|
-
|
|
54
|
+
selectiveContentGuarding?: SelectiveContentGuarding | undefined;
|
|
39
55
|
/**
|
|
40
56
|
* <p>Model-specific information for the enforced guardrail configuration. If not present, the configuration is enforced on all models</p>
|
|
41
57
|
* @public
|
|
@@ -64,9 +80,16 @@ export interface AccountEnforcedGuardrailOutputConfiguration {
|
|
|
64
80
|
guardrailId?: string | undefined;
|
|
65
81
|
/**
|
|
66
82
|
* <p>Whether to honor or ignore input tags at runtime.</p>
|
|
83
|
+
*
|
|
84
|
+
* @deprecated (since 2026-04-03) This field is being deprecated and will be removed once customers transition their existing policies to the new schema.
|
|
67
85
|
* @public
|
|
68
86
|
*/
|
|
69
87
|
inputTags?: InputTags | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* <p>Selective content guarding controls for enforced guardrails.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
selectiveContentGuarding?: SelectiveContentGuarding | undefined;
|
|
70
93
|
/**
|
|
71
94
|
* <p>Numerical guardrail version.</p>
|
|
72
95
|
* @public
|
|
@@ -7051,19 +7074,3 @@ export interface GuardrailRegex {
|
|
|
7051
7074
|
*/
|
|
7052
7075
|
outputEnabled?: boolean | undefined;
|
|
7053
7076
|
}
|
|
7054
|
-
/**
|
|
7055
|
-
* <p>Contains details about PII entities and regular expressions configured for the guardrail.</p>
|
|
7056
|
-
* @public
|
|
7057
|
-
*/
|
|
7058
|
-
export interface GuardrailSensitiveInformationPolicy {
|
|
7059
|
-
/**
|
|
7060
|
-
* <p>The list of PII entities configured for the guardrail.</p>
|
|
7061
|
-
* @public
|
|
7062
|
-
*/
|
|
7063
|
-
piiEntities?: GuardrailPiiEntity[] | undefined;
|
|
7064
|
-
/**
|
|
7065
|
-
* <p>The list of regular expressions configured for the guardrail.</p>
|
|
7066
|
-
* @public
|
|
7067
|
-
*/
|
|
7068
|
-
regexes?: GuardrailRegex[] | undefined;
|
|
7069
|
-
}
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
import type { ApplicationType, AuthorizationStatus, CommitmentDuration, CustomizationType, EntitlementAvailability, EvaluationJobStatus, EvaluationJobType, FineTuningJobStatus, FoundationModelLifecycleStatus, GuardrailManagedWordsType, GuardrailStatus, GuardrailTopicAction, GuardrailTopicsTierName, GuardrailTopicType, GuardrailWordAction, InferenceProfileStatus, InferenceProfileType, InferenceType, JobStatusDetails, ModelCopyJobStatus, ModelCustomization, ModelCustomizationJobStatus, ModelImportJobStatus, ModelInvocationJobStatus, ModelInvocationType, ModelModality, OfferType, PromptRouterStatus, PromptRouterType, ProvisionedModelStatus, RegionAvailability, RetrieveAndGenerateType, S3InputFormat, SearchType, SortByProvisionedModels, SortJobsBy, SortModelsBy, SortOrder } from "./enums";
|
|
2
|
-
import type { AgreementAvailability, CustomizationConfig, EvaluationConfig, EvaluationModelConfig, EvaluationOutputDataConfig, EvaluationPrecomputedRagSourceConfig, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GenerationConfiguration, GuardrailAutomatedReasoningPolicy, GuardrailAutomatedReasoningPolicyConfig, GuardrailContentPolicy, GuardrailContentPolicyConfig, GuardrailContextualGroundingPolicy, GuardrailContextualGroundingPolicyConfig, GuardrailCrossRegionConfig, GuardrailCrossRegionDetails,
|
|
2
|
+
import type { AgreementAvailability, CustomizationConfig, EvaluationConfig, EvaluationModelConfig, EvaluationOutputDataConfig, EvaluationPrecomputedRagSourceConfig, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GenerationConfiguration, GuardrailAutomatedReasoningPolicy, GuardrailAutomatedReasoningPolicyConfig, GuardrailContentPolicy, GuardrailContentPolicyConfig, GuardrailContextualGroundingPolicy, GuardrailContextualGroundingPolicyConfig, GuardrailCrossRegionConfig, GuardrailCrossRegionDetails, GuardrailPiiEntity, GuardrailRegex, GuardrailSensitiveInformationPolicyConfig, GuardrailTopicPolicyConfig, GuardrailWordPolicyConfig, ImplicitFilterConfiguration, ModelDataSource, OrchestrationConfiguration, OutputDataConfig, Tag, TrainingDataConfig, TrainingMetrics, ValidationDataConfig, ValidatorMetric, VectorSearchRerankingConfiguration, VpcConfig } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Contains details about PII entities and regular expressions configured for the guardrail.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface GuardrailSensitiveInformationPolicy {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The list of PII entities configured for the guardrail.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
piiEntities?: GuardrailPiiEntity[] | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The list of regular expressions configured for the guardrail.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
regexes?: GuardrailRegex[] | undefined;
|
|
18
|
+
}
|
|
3
19
|
/**
|
|
4
20
|
* <p>The tier that your guardrail uses for denied topic filters.</p>
|
|
5
21
|
* @public
|
|
@@ -2680,6 +2696,66 @@ export interface UpdateProvisionedModelThroughputRequest {
|
|
|
2680
2696
|
*/
|
|
2681
2697
|
export interface UpdateProvisionedModelThroughputResponse {
|
|
2682
2698
|
}
|
|
2699
|
+
/**
|
|
2700
|
+
* @public
|
|
2701
|
+
*/
|
|
2702
|
+
export interface DeleteResourcePolicyRequest {
|
|
2703
|
+
/**
|
|
2704
|
+
* <p>The ARN of the Bedrock resource to which this resource policy applies.</p>
|
|
2705
|
+
* @public
|
|
2706
|
+
*/
|
|
2707
|
+
resourceArn: string | undefined;
|
|
2708
|
+
}
|
|
2709
|
+
/**
|
|
2710
|
+
* @public
|
|
2711
|
+
*/
|
|
2712
|
+
export interface DeleteResourcePolicyResponse {
|
|
2713
|
+
}
|
|
2714
|
+
/**
|
|
2715
|
+
* @public
|
|
2716
|
+
*/
|
|
2717
|
+
export interface GetResourcePolicyRequest {
|
|
2718
|
+
/**
|
|
2719
|
+
* <p>The ARN of the Bedrock resource to which this resource policy applies.</p>
|
|
2720
|
+
* @public
|
|
2721
|
+
*/
|
|
2722
|
+
resourceArn: string | undefined;
|
|
2723
|
+
}
|
|
2724
|
+
/**
|
|
2725
|
+
* @public
|
|
2726
|
+
*/
|
|
2727
|
+
export interface GetResourcePolicyResponse {
|
|
2728
|
+
/**
|
|
2729
|
+
* <p>The JSON string representing the Bedrock resource policy.</p>
|
|
2730
|
+
* @public
|
|
2731
|
+
*/
|
|
2732
|
+
resourcePolicy?: string | undefined;
|
|
2733
|
+
}
|
|
2734
|
+
/**
|
|
2735
|
+
* @public
|
|
2736
|
+
*/
|
|
2737
|
+
export interface PutResourcePolicyRequest {
|
|
2738
|
+
/**
|
|
2739
|
+
* <p>The ARN of the Bedrock resource to which this resource policy applies.</p>
|
|
2740
|
+
* @public
|
|
2741
|
+
*/
|
|
2742
|
+
resourceArn: string | undefined;
|
|
2743
|
+
/**
|
|
2744
|
+
* <p>The JSON string representing the Bedrock resource policy.</p>
|
|
2745
|
+
* @public
|
|
2746
|
+
*/
|
|
2747
|
+
resourcePolicy: string | undefined;
|
|
2748
|
+
}
|
|
2749
|
+
/**
|
|
2750
|
+
* @public
|
|
2751
|
+
*/
|
|
2752
|
+
export interface PutResourcePolicyResponse {
|
|
2753
|
+
/**
|
|
2754
|
+
* <p>The ARN of the Bedrock resource to which this resource policy applies.</p>
|
|
2755
|
+
* @public
|
|
2756
|
+
*/
|
|
2757
|
+
resourceArn?: string | undefined;
|
|
2758
|
+
}
|
|
2683
2759
|
/**
|
|
2684
2760
|
* @public
|
|
2685
2761
|
*/
|
|
@@ -176,6 +176,8 @@ export declare var DeletePromptRouterRequest$: StaticStructureSchema;
|
|
|
176
176
|
export declare var DeletePromptRouterResponse$: StaticStructureSchema;
|
|
177
177
|
export declare var DeleteProvisionedModelThroughputRequest$: StaticStructureSchema;
|
|
178
178
|
export declare var DeleteProvisionedModelThroughputResponse$: StaticStructureSchema;
|
|
179
|
+
export declare var DeleteResourcePolicyRequest$: StaticStructureSchema;
|
|
180
|
+
export declare var DeleteResourcePolicyResponse$: StaticStructureSchema;
|
|
179
181
|
export declare var DeregisterMarketplaceModelEndpointRequest$: StaticStructureSchema;
|
|
180
182
|
export declare var DeregisterMarketplaceModelEndpointResponse$: StaticStructureSchema;
|
|
181
183
|
export declare var DimensionalPriceRate$: StaticStructureSchema;
|
|
@@ -248,6 +250,8 @@ export declare var GetPromptRouterRequest$: StaticStructureSchema;
|
|
|
248
250
|
export declare var GetPromptRouterResponse$: StaticStructureSchema;
|
|
249
251
|
export declare var GetProvisionedModelThroughputRequest$: StaticStructureSchema;
|
|
250
252
|
export declare var GetProvisionedModelThroughputResponse$: StaticStructureSchema;
|
|
253
|
+
export declare var GetResourcePolicyRequest$: StaticStructureSchema;
|
|
254
|
+
export declare var GetResourcePolicyResponse$: StaticStructureSchema;
|
|
251
255
|
export declare var GetUseCaseForModelAccessRequest$: StaticStructureSchema;
|
|
252
256
|
export declare var GetUseCaseForModelAccessResponse$: StaticStructureSchema;
|
|
253
257
|
export declare var GuardrailAutomatedReasoningPolicy$: StaticStructureSchema;
|
|
@@ -365,6 +369,8 @@ export declare var PutEnforcedGuardrailConfigurationRequest$: StaticStructureSch
|
|
|
365
369
|
export declare var PutEnforcedGuardrailConfigurationResponse$: StaticStructureSchema;
|
|
366
370
|
export declare var PutModelInvocationLoggingConfigurationRequest$: StaticStructureSchema;
|
|
367
371
|
export declare var PutModelInvocationLoggingConfigurationResponse$: StaticStructureSchema;
|
|
372
|
+
export declare var PutResourcePolicyRequest$: StaticStructureSchema;
|
|
373
|
+
export declare var PutResourcePolicyResponse$: StaticStructureSchema;
|
|
368
374
|
export declare var PutUseCaseForModelAccessRequest$: StaticStructureSchema;
|
|
369
375
|
export declare var PutUseCaseForModelAccessResponse$: StaticStructureSchema;
|
|
370
376
|
export declare var QueryTransformationConfiguration$: StaticStructureSchema;
|
|
@@ -381,6 +387,7 @@ export declare var S3Config$: StaticStructureSchema;
|
|
|
381
387
|
export declare var S3DataSource$: StaticStructureSchema;
|
|
382
388
|
export declare var S3ObjectDoc$: StaticStructureSchema;
|
|
383
389
|
export declare var SageMakerEndpoint$: StaticStructureSchema;
|
|
390
|
+
export declare var SelectiveContentGuarding$: StaticStructureSchema;
|
|
384
391
|
export declare var StartAutomatedReasoningPolicyBuildWorkflowRequest$: StaticStructureSchema;
|
|
385
392
|
export declare var StartAutomatedReasoningPolicyBuildWorkflowResponse$: StaticStructureSchema;
|
|
386
393
|
export declare var StartAutomatedReasoningPolicyTestWorkflowRequest$: StaticStructureSchema;
|
|
@@ -491,6 +498,7 @@ export declare var DeleteMarketplaceModelEndpoint$: StaticOperationSchema;
|
|
|
491
498
|
export declare var DeleteModelInvocationLoggingConfiguration$: StaticOperationSchema;
|
|
492
499
|
export declare var DeletePromptRouter$: StaticOperationSchema;
|
|
493
500
|
export declare var DeleteProvisionedModelThroughput$: StaticOperationSchema;
|
|
501
|
+
export declare var DeleteResourcePolicy$: StaticOperationSchema;
|
|
494
502
|
export declare var DeregisterMarketplaceModelEndpoint$: StaticOperationSchema;
|
|
495
503
|
export declare var ExportAutomatedReasoningPolicyVersion$: StaticOperationSchema;
|
|
496
504
|
export declare var GetAutomatedReasoningPolicy$: StaticOperationSchema;
|
|
@@ -516,6 +524,7 @@ export declare var GetModelInvocationJob$: StaticOperationSchema;
|
|
|
516
524
|
export declare var GetModelInvocationLoggingConfiguration$: StaticOperationSchema;
|
|
517
525
|
export declare var GetPromptRouter$: StaticOperationSchema;
|
|
518
526
|
export declare var GetProvisionedModelThroughput$: StaticOperationSchema;
|
|
527
|
+
export declare var GetResourcePolicy$: StaticOperationSchema;
|
|
519
528
|
export declare var GetUseCaseForModelAccess$: StaticOperationSchema;
|
|
520
529
|
export declare var ListAutomatedReasoningPolicies$: StaticOperationSchema;
|
|
521
530
|
export declare var ListAutomatedReasoningPolicyBuildWorkflows$: StaticOperationSchema;
|
|
@@ -540,6 +549,7 @@ export declare var ListProvisionedModelThroughputs$: StaticOperationSchema;
|
|
|
540
549
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
541
550
|
export declare var PutEnforcedGuardrailConfiguration$: StaticOperationSchema;
|
|
542
551
|
export declare var PutModelInvocationLoggingConfiguration$: StaticOperationSchema;
|
|
552
|
+
export declare var PutResourcePolicy$: StaticOperationSchema;
|
|
543
553
|
export declare var PutUseCaseForModelAccess$: StaticOperationSchema;
|
|
544
554
|
export declare var RegisterMarketplaceModelEndpoint$: StaticOperationSchema;
|
|
545
555
|
export declare var StartAutomatedReasoningPolicyBuildWorkflow$: StaticOperationSchema;
|
|
@@ -136,6 +136,10 @@ import {
|
|
|
136
136
|
DeleteProvisionedModelThroughputCommandInput,
|
|
137
137
|
DeleteProvisionedModelThroughputCommandOutput,
|
|
138
138
|
} from "./commands/DeleteProvisionedModelThroughputCommand";
|
|
139
|
+
import {
|
|
140
|
+
DeleteResourcePolicyCommandInput,
|
|
141
|
+
DeleteResourcePolicyCommandOutput,
|
|
142
|
+
} from "./commands/DeleteResourcePolicyCommand";
|
|
139
143
|
import {
|
|
140
144
|
DeregisterMarketplaceModelEndpointCommandInput,
|
|
141
145
|
DeregisterMarketplaceModelEndpointCommandOutput,
|
|
@@ -236,6 +240,10 @@ import {
|
|
|
236
240
|
GetProvisionedModelThroughputCommandInput,
|
|
237
241
|
GetProvisionedModelThroughputCommandOutput,
|
|
238
242
|
} from "./commands/GetProvisionedModelThroughputCommand";
|
|
243
|
+
import {
|
|
244
|
+
GetResourcePolicyCommandInput,
|
|
245
|
+
GetResourcePolicyCommandOutput,
|
|
246
|
+
} from "./commands/GetResourcePolicyCommand";
|
|
239
247
|
import {
|
|
240
248
|
GetUseCaseForModelAccessCommandInput,
|
|
241
249
|
GetUseCaseForModelAccessCommandOutput,
|
|
@@ -332,6 +340,10 @@ import {
|
|
|
332
340
|
PutModelInvocationLoggingConfigurationCommandInput,
|
|
333
341
|
PutModelInvocationLoggingConfigurationCommandOutput,
|
|
334
342
|
} from "./commands/PutModelInvocationLoggingConfigurationCommand";
|
|
343
|
+
import {
|
|
344
|
+
PutResourcePolicyCommandInput,
|
|
345
|
+
PutResourcePolicyCommandOutput,
|
|
346
|
+
} from "./commands/PutResourcePolicyCommand";
|
|
335
347
|
import {
|
|
336
348
|
PutUseCaseForModelAccessCommandInput,
|
|
337
349
|
PutUseCaseForModelAccessCommandOutput,
|
|
@@ -869,6 +881,19 @@ export interface Bedrock {
|
|
|
869
881
|
options: __HttpHandlerOptions,
|
|
870
882
|
cb: (err: any, data?: DeleteProvisionedModelThroughputCommandOutput) => void
|
|
871
883
|
): void;
|
|
884
|
+
deleteResourcePolicy(
|
|
885
|
+
args: DeleteResourcePolicyCommandInput,
|
|
886
|
+
options?: __HttpHandlerOptions
|
|
887
|
+
): Promise<DeleteResourcePolicyCommandOutput>;
|
|
888
|
+
deleteResourcePolicy(
|
|
889
|
+
args: DeleteResourcePolicyCommandInput,
|
|
890
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
891
|
+
): void;
|
|
892
|
+
deleteResourcePolicy(
|
|
893
|
+
args: DeleteResourcePolicyCommandInput,
|
|
894
|
+
options: __HttpHandlerOptions,
|
|
895
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
896
|
+
): void;
|
|
872
897
|
deregisterMarketplaceModelEndpoint(
|
|
873
898
|
args: DeregisterMarketplaceModelEndpointCommandInput,
|
|
874
899
|
options?: __HttpHandlerOptions
|
|
@@ -1249,6 +1274,19 @@ export interface Bedrock {
|
|
|
1249
1274
|
options: __HttpHandlerOptions,
|
|
1250
1275
|
cb: (err: any, data?: GetProvisionedModelThroughputCommandOutput) => void
|
|
1251
1276
|
): void;
|
|
1277
|
+
getResourcePolicy(
|
|
1278
|
+
args: GetResourcePolicyCommandInput,
|
|
1279
|
+
options?: __HttpHandlerOptions
|
|
1280
|
+
): Promise<GetResourcePolicyCommandOutput>;
|
|
1281
|
+
getResourcePolicy(
|
|
1282
|
+
args: GetResourcePolicyCommandInput,
|
|
1283
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
1284
|
+
): void;
|
|
1285
|
+
getResourcePolicy(
|
|
1286
|
+
args: GetResourcePolicyCommandInput,
|
|
1287
|
+
options: __HttpHandlerOptions,
|
|
1288
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
1289
|
+
): void;
|
|
1252
1290
|
getUseCaseForModelAccess(): Promise<GetUseCaseForModelAccessCommandOutput>;
|
|
1253
1291
|
getUseCaseForModelAccess(
|
|
1254
1292
|
args: GetUseCaseForModelAccessCommandInput,
|
|
@@ -1620,6 +1658,19 @@ export interface Bedrock {
|
|
|
1620
1658
|
data?: PutModelInvocationLoggingConfigurationCommandOutput
|
|
1621
1659
|
) => void
|
|
1622
1660
|
): void;
|
|
1661
|
+
putResourcePolicy(
|
|
1662
|
+
args: PutResourcePolicyCommandInput,
|
|
1663
|
+
options?: __HttpHandlerOptions
|
|
1664
|
+
): Promise<PutResourcePolicyCommandOutput>;
|
|
1665
|
+
putResourcePolicy(
|
|
1666
|
+
args: PutResourcePolicyCommandInput,
|
|
1667
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
1668
|
+
): void;
|
|
1669
|
+
putResourcePolicy(
|
|
1670
|
+
args: PutResourcePolicyCommandInput,
|
|
1671
|
+
options: __HttpHandlerOptions,
|
|
1672
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
1673
|
+
): void;
|
|
1623
1674
|
putUseCaseForModelAccess(
|
|
1624
1675
|
args: PutUseCaseForModelAccessCommandInput,
|
|
1625
1676
|
options?: __HttpHandlerOptions
|
|
@@ -176,6 +176,10 @@ import {
|
|
|
176
176
|
DeleteProvisionedModelThroughputCommandInput,
|
|
177
177
|
DeleteProvisionedModelThroughputCommandOutput,
|
|
178
178
|
} from "./commands/DeleteProvisionedModelThroughputCommand";
|
|
179
|
+
import {
|
|
180
|
+
DeleteResourcePolicyCommandInput,
|
|
181
|
+
DeleteResourcePolicyCommandOutput,
|
|
182
|
+
} from "./commands/DeleteResourcePolicyCommand";
|
|
179
183
|
import {
|
|
180
184
|
DeregisterMarketplaceModelEndpointCommandInput,
|
|
181
185
|
DeregisterMarketplaceModelEndpointCommandOutput,
|
|
@@ -276,6 +280,10 @@ import {
|
|
|
276
280
|
GetProvisionedModelThroughputCommandInput,
|
|
277
281
|
GetProvisionedModelThroughputCommandOutput,
|
|
278
282
|
} from "./commands/GetProvisionedModelThroughputCommand";
|
|
283
|
+
import {
|
|
284
|
+
GetResourcePolicyCommandInput,
|
|
285
|
+
GetResourcePolicyCommandOutput,
|
|
286
|
+
} from "./commands/GetResourcePolicyCommand";
|
|
279
287
|
import {
|
|
280
288
|
GetUseCaseForModelAccessCommandInput,
|
|
281
289
|
GetUseCaseForModelAccessCommandOutput,
|
|
@@ -372,6 +380,10 @@ import {
|
|
|
372
380
|
PutModelInvocationLoggingConfigurationCommandInput,
|
|
373
381
|
PutModelInvocationLoggingConfigurationCommandOutput,
|
|
374
382
|
} from "./commands/PutModelInvocationLoggingConfigurationCommand";
|
|
383
|
+
import {
|
|
384
|
+
PutResourcePolicyCommandInput,
|
|
385
|
+
PutResourcePolicyCommandOutput,
|
|
386
|
+
} from "./commands/PutResourcePolicyCommand";
|
|
375
387
|
import {
|
|
376
388
|
PutUseCaseForModelAccessCommandInput,
|
|
377
389
|
PutUseCaseForModelAccessCommandOutput,
|
|
@@ -477,6 +489,7 @@ export type ServiceInputTypes =
|
|
|
477
489
|
| DeleteModelInvocationLoggingConfigurationCommandInput
|
|
478
490
|
| DeletePromptRouterCommandInput
|
|
479
491
|
| DeleteProvisionedModelThroughputCommandInput
|
|
492
|
+
| DeleteResourcePolicyCommandInput
|
|
480
493
|
| DeregisterMarketplaceModelEndpointCommandInput
|
|
481
494
|
| ExportAutomatedReasoningPolicyVersionCommandInput
|
|
482
495
|
| GetAutomatedReasoningPolicyAnnotationsCommandInput
|
|
@@ -502,6 +515,7 @@ export type ServiceInputTypes =
|
|
|
502
515
|
| GetModelInvocationLoggingConfigurationCommandInput
|
|
503
516
|
| GetPromptRouterCommandInput
|
|
504
517
|
| GetProvisionedModelThroughputCommandInput
|
|
518
|
+
| GetResourcePolicyCommandInput
|
|
505
519
|
| GetUseCaseForModelAccessCommandInput
|
|
506
520
|
| ListAutomatedReasoningPoliciesCommandInput
|
|
507
521
|
| ListAutomatedReasoningPolicyBuildWorkflowsCommandInput
|
|
@@ -526,6 +540,7 @@ export type ServiceInputTypes =
|
|
|
526
540
|
| ListTagsForResourceCommandInput
|
|
527
541
|
| PutEnforcedGuardrailConfigurationCommandInput
|
|
528
542
|
| PutModelInvocationLoggingConfigurationCommandInput
|
|
543
|
+
| PutResourcePolicyCommandInput
|
|
529
544
|
| PutUseCaseForModelAccessCommandInput
|
|
530
545
|
| RegisterMarketplaceModelEndpointCommandInput
|
|
531
546
|
| StartAutomatedReasoningPolicyBuildWorkflowCommandInput
|
|
@@ -576,6 +591,7 @@ export type ServiceOutputTypes =
|
|
|
576
591
|
| DeleteModelInvocationLoggingConfigurationCommandOutput
|
|
577
592
|
| DeletePromptRouterCommandOutput
|
|
578
593
|
| DeleteProvisionedModelThroughputCommandOutput
|
|
594
|
+
| DeleteResourcePolicyCommandOutput
|
|
579
595
|
| DeregisterMarketplaceModelEndpointCommandOutput
|
|
580
596
|
| ExportAutomatedReasoningPolicyVersionCommandOutput
|
|
581
597
|
| GetAutomatedReasoningPolicyAnnotationsCommandOutput
|
|
@@ -601,6 +617,7 @@ export type ServiceOutputTypes =
|
|
|
601
617
|
| GetModelInvocationLoggingConfigurationCommandOutput
|
|
602
618
|
| GetPromptRouterCommandOutput
|
|
603
619
|
| GetProvisionedModelThroughputCommandOutput
|
|
620
|
+
| GetResourcePolicyCommandOutput
|
|
604
621
|
| GetUseCaseForModelAccessCommandOutput
|
|
605
622
|
| ListAutomatedReasoningPoliciesCommandOutput
|
|
606
623
|
| ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput
|
|
@@ -625,6 +642,7 @@ export type ServiceOutputTypes =
|
|
|
625
642
|
| ListTagsForResourceCommandOutput
|
|
626
643
|
| PutEnforcedGuardrailConfigurationCommandOutput
|
|
627
644
|
| PutModelInvocationLoggingConfigurationCommandOutput
|
|
645
|
+
| PutResourcePolicyCommandOutput
|
|
628
646
|
| PutUseCaseForModelAccessCommandOutput
|
|
629
647
|
| RegisterMarketplaceModelEndpointCommandOutput
|
|
630
648
|
| StartAutomatedReasoningPolicyBuildWorkflowCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockClient";
|
|
8
|
+
import {
|
|
9
|
+
DeleteResourcePolicyRequest,
|
|
10
|
+
DeleteResourcePolicyResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DeleteResourcePolicyCommandInput
|
|
15
|
+
extends DeleteResourcePolicyRequest {}
|
|
16
|
+
export interface DeleteResourcePolicyCommandOutput
|
|
17
|
+
extends DeleteResourcePolicyResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DeleteResourcePolicyCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteResourcePolicyCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DeleteResourcePolicyCommandInput,
|
|
24
|
+
DeleteResourcePolicyCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: DeleteResourcePolicyCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DeleteResourcePolicyCommandInput,
|
|
33
|
+
DeleteResourcePolicyCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DeleteResourcePolicyRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DeleteResourcePolicyCommandInput;
|
|
48
|
+
output: DeleteResourcePolicyCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockClient";
|
|
8
|
+
import {
|
|
9
|
+
GetResourcePolicyRequest,
|
|
10
|
+
GetResourcePolicyResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetResourcePolicyCommandInput
|
|
15
|
+
extends GetResourcePolicyRequest {}
|
|
16
|
+
export interface GetResourcePolicyCommandOutput
|
|
17
|
+
extends GetResourcePolicyResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetResourcePolicyCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetResourcePolicyCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetResourcePolicyCommandInput,
|
|
24
|
+
GetResourcePolicyCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GetResourcePolicyCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetResourcePolicyCommandInput,
|
|
33
|
+
GetResourcePolicyCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetResourcePolicyRequest;
|
|
44
|
+
output: GetResourcePolicyResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetResourcePolicyCommandInput;
|
|
48
|
+
output: GetResourcePolicyCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockClient";
|
|
8
|
+
import {
|
|
9
|
+
PutResourcePolicyRequest,
|
|
10
|
+
PutResourcePolicyResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface PutResourcePolicyCommandInput
|
|
15
|
+
extends PutResourcePolicyRequest {}
|
|
16
|
+
export interface PutResourcePolicyCommandOutput
|
|
17
|
+
extends PutResourcePolicyResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const PutResourcePolicyCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: PutResourcePolicyCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
PutResourcePolicyCommandInput,
|
|
24
|
+
PutResourcePolicyCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: PutResourcePolicyCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
PutResourcePolicyCommandInput,
|
|
33
|
+
PutResourcePolicyCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: PutResourcePolicyRequest;
|
|
44
|
+
output: PutResourcePolicyResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: PutResourcePolicyCommandInput;
|
|
48
|
+
output: PutResourcePolicyCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -31,6 +31,7 @@ export * from "./DeleteMarketplaceModelEndpointCommand";
|
|
|
31
31
|
export * from "./DeleteModelInvocationLoggingConfigurationCommand";
|
|
32
32
|
export * from "./DeletePromptRouterCommand";
|
|
33
33
|
export * from "./DeleteProvisionedModelThroughputCommand";
|
|
34
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
34
35
|
export * from "./DeregisterMarketplaceModelEndpointCommand";
|
|
35
36
|
export * from "./ExportAutomatedReasoningPolicyVersionCommand";
|
|
36
37
|
export * from "./GetAutomatedReasoningPolicyAnnotationsCommand";
|
|
@@ -56,6 +57,7 @@ export * from "./GetModelInvocationJobCommand";
|
|
|
56
57
|
export * from "./GetModelInvocationLoggingConfigurationCommand";
|
|
57
58
|
export * from "./GetPromptRouterCommand";
|
|
58
59
|
export * from "./GetProvisionedModelThroughputCommand";
|
|
60
|
+
export * from "./GetResourcePolicyCommand";
|
|
59
61
|
export * from "./GetUseCaseForModelAccessCommand";
|
|
60
62
|
export * from "./ListAutomatedReasoningPoliciesCommand";
|
|
61
63
|
export * from "./ListAutomatedReasoningPolicyBuildWorkflowsCommand";
|
|
@@ -80,6 +82,7 @@ export * from "./ListProvisionedModelThroughputsCommand";
|
|
|
80
82
|
export * from "./ListTagsForResourceCommand";
|
|
81
83
|
export * from "./PutEnforcedGuardrailConfigurationCommand";
|
|
82
84
|
export * from "./PutModelInvocationLoggingConfigurationCommand";
|
|
85
|
+
export * from "./PutResourcePolicyCommand";
|
|
83
86
|
export * from "./PutUseCaseForModelAccessCommand";
|
|
84
87
|
export * from "./RegisterMarketplaceModelEndpointCommand";
|
|
85
88
|
export * from "./StartAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
export declare const SelectiveGuardingMode: {
|
|
2
|
+
readonly COMPREHENSIVE: "COMPREHENSIVE";
|
|
3
|
+
readonly SELECTIVE: "SELECTIVE";
|
|
4
|
+
};
|
|
5
|
+
export type SelectiveGuardingMode =
|
|
6
|
+
(typeof SelectiveGuardingMode)[keyof typeof SelectiveGuardingMode];
|
|
1
7
|
export declare const InputTags: {
|
|
2
8
|
readonly HONOR: "HONOR";
|
|
3
9
|
readonly IGNORE: "IGNORE";
|
|
@@ -41,6 +41,7 @@ import {
|
|
|
41
41
|
QueryTransformationType,
|
|
42
42
|
ReasoningEffort,
|
|
43
43
|
RerankingMetadataSelectionMode,
|
|
44
|
+
SelectiveGuardingMode,
|
|
44
45
|
SortJobsBy,
|
|
45
46
|
SortModelsBy,
|
|
46
47
|
SortOrder,
|
|
@@ -51,10 +52,14 @@ export interface ModelEnforcement {
|
|
|
51
52
|
includedModels: string[] | undefined;
|
|
52
53
|
excludedModels: string[] | undefined;
|
|
53
54
|
}
|
|
55
|
+
export interface SelectiveContentGuarding {
|
|
56
|
+
system?: SelectiveGuardingMode | undefined;
|
|
57
|
+
messages?: SelectiveGuardingMode | undefined;
|
|
58
|
+
}
|
|
54
59
|
export interface AccountEnforcedGuardrailInferenceInputConfiguration {
|
|
55
60
|
guardrailIdentifier: string | undefined;
|
|
56
61
|
guardrailVersion: string | undefined;
|
|
57
|
-
|
|
62
|
+
selectiveContentGuarding?: SelectiveContentGuarding | undefined;
|
|
58
63
|
modelEnforcement?: ModelEnforcement | undefined;
|
|
59
64
|
}
|
|
60
65
|
export interface AccountEnforcedGuardrailOutputConfiguration {
|
|
@@ -62,6 +67,7 @@ export interface AccountEnforcedGuardrailOutputConfiguration {
|
|
|
62
67
|
guardrailArn?: string | undefined;
|
|
63
68
|
guardrailId?: string | undefined;
|
|
64
69
|
inputTags?: InputTags | undefined;
|
|
70
|
+
selectiveContentGuarding?: SelectiveContentGuarding | undefined;
|
|
65
71
|
guardrailVersion?: string | undefined;
|
|
66
72
|
createdAt?: Date | undefined;
|
|
67
73
|
createdBy?: string | undefined;
|
|
@@ -2544,7 +2550,3 @@ export interface GuardrailRegex {
|
|
|
2544
2550
|
inputEnabled?: boolean | undefined;
|
|
2545
2551
|
outputEnabled?: boolean | undefined;
|
|
2546
2552
|
}
|
|
2547
|
-
export interface GuardrailSensitiveInformationPolicy {
|
|
2548
|
-
piiEntities?: GuardrailPiiEntity[] | undefined;
|
|
2549
|
-
regexes?: GuardrailRegex[] | undefined;
|
|
2550
|
-
}
|