@aws-sdk/client-bedrock 3.935.0 → 3.938.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 +24 -0
- package/dist-cjs/index.js +183 -20
- package/dist-es/Bedrock.js +6 -0
- package/dist-es/commands/DeleteEnforcedGuardrailConfigurationCommand.js +16 -0
- package/dist-es/commands/ListEnforcedGuardrailsConfigurationCommand.js +16 -0
- package/dist-es/commands/PutEnforcedGuardrailConfigurationCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +4 -0
- package/dist-es/models/models_0.js +3 -1
- package/dist-es/pagination/ListEnforcedGuardrailsConfigurationPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +133 -20
- package/dist-types/Bedrock.d.ts +22 -0
- package/dist-types/BedrockClient.d.ts +5 -2
- package/dist-types/commands/DeleteEnforcedGuardrailConfigurationCommand.d.ts +87 -0
- package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ListEnforcedGuardrailsConfigurationCommand.d.ts +103 -0
- package/dist-types/commands/ListInferenceProfilesCommand.d.ts +2 -1
- package/dist-types/commands/PutEnforcedGuardrailConfigurationCommand.d.ts +99 -0
- package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -2
- 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 +167 -124
- package/dist-types/models/models_1.d.ts +124 -1
- package/dist-types/pagination/ListEnforcedGuardrailsConfigurationPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +12 -0
- package/dist-types/ts3.4/Bedrock.d.ts +70 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteEnforcedGuardrailConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEnforcedGuardrailsConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/PutEnforcedGuardrailConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +45 -30
- package/dist-types/ts3.4/models/models_1.d.ts +31 -0
- package/dist-types/ts3.4/pagination/ListEnforcedGuardrailsConfigurationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
- package/package.json +13 -13
|
@@ -1,5 +1,128 @@
|
|
|
1
1
|
import { ApplicationType, AuthorizationStatus, CommitmentDuration, CustomizationType, EntitlementAvailability, EvaluationJobStatus, EvaluationJobType, FineTuningJobStatus, FoundationModelLifecycleStatus, InferenceType, JobStatusDetails, ModelCopyJobStatus, ModelCustomization, ModelCustomizationJobStatus, ModelImportJobStatus, ModelInvocationJobStatus, ModelModality, OfferType, PromptRouterStatus, PromptRouterType, ProvisionedModelStatus, RegionAvailability, RetrieveAndGenerateType, S3InputFormat, SearchType, SortByProvisionedModels, SortJobsBy, SortModelsBy, SortOrder } from "./enums";
|
|
2
|
-
import { AgreementAvailability, CustomizationConfig, EvaluationConfig, EvaluationModelConfig, EvaluationOutputDataConfig, EvaluationPrecomputedRagSourceConfig, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GenerationConfiguration, ImplicitFilterConfiguration, ModelDataSource, OrchestrationConfiguration, OutputDataConfig, Tag, TrainingDataConfig, TrainingMetrics, ValidationDataConfig, ValidatorMetric, VectorSearchRerankingConfiguration, VpcConfig } from "./models_0";
|
|
2
|
+
import { AgreementAvailability, CustomizationConfig, EvaluationConfig, EvaluationModelConfig, EvaluationOutputDataConfig, EvaluationPrecomputedRagSourceConfig, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GenerationConfiguration, ImplicitFilterConfiguration, InferenceProfileSummary, ModelDataSource, OrchestrationConfiguration, OutputDataConfig, Tag, TrainingDataConfig, TrainingMetrics, ValidationDataConfig, ValidatorMetric, VectorSearchRerankingConfiguration, VpcConfig } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface ListInferenceProfilesResponse {
|
|
7
|
+
/**
|
|
8
|
+
* <p>A list of information about each inference profile that you can use.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
inferenceProfileSummaries?: InferenceProfileSummary[] | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
nextToken?: string | undefined;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export interface DeleteModelInvocationLoggingConfigurationRequest {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export interface DeleteModelInvocationLoggingConfigurationResponse {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export interface GetModelInvocationLoggingConfigurationRequest {
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* <p>S3 configuration for storing log data.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export interface S3Config {
|
|
38
|
+
/**
|
|
39
|
+
* <p>S3 bucket name.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
bucketName: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>S3 prefix. </p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
keyPrefix?: string | undefined;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* <p>CloudWatch logging configuration.</p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export interface CloudWatchConfig {
|
|
54
|
+
/**
|
|
55
|
+
* <p>The log group name.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
logGroupName: string | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* <p>The role Amazon Resource Name (ARN).</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
roleArn: string | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* <p>S3 configuration for delivering a large amount of data.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
largeDataDeliveryS3Config?: S3Config | undefined;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* <p>Configuration fields for invocation logging.</p>
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export interface LoggingConfig {
|
|
75
|
+
/**
|
|
76
|
+
* <p>CloudWatch logging configuration.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
cloudWatchConfig?: CloudWatchConfig | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* <p>S3 configuration for storing log data.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
s3Config?: S3Config | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* <p>Set to include text data in the log delivery.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
textDataDeliveryEnabled?: boolean | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* <p>Set to include image data in the log delivery.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
imageDataDeliveryEnabled?: boolean | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* <p>Set to include embeddings data in the log delivery.</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
embeddingDataDeliveryEnabled?: boolean | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* <p>Set to include video data in the log delivery.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
videoDataDeliveryEnabled?: boolean | undefined;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export interface GetModelInvocationLoggingConfigurationResponse {
|
|
110
|
+
/**
|
|
111
|
+
* <p>The current configuration values.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
loggingConfig?: LoggingConfig | undefined;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export interface PutModelInvocationLoggingConfigurationRequest {
|
|
120
|
+
/**
|
|
121
|
+
* <p>The logging configuration values to set.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
loggingConfig: LoggingConfig | undefined;
|
|
125
|
+
}
|
|
3
126
|
/**
|
|
4
127
|
* @public
|
|
5
128
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListEnforcedGuardrailsConfigurationCommandInput, ListEnforcedGuardrailsConfigurationCommandOutput } from "../commands/ListEnforcedGuardrailsConfigurationCommand";
|
|
3
|
+
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListEnforcedGuardrailsConfiguration: (config: BedrockPaginationConfiguration, input: ListEnforcedGuardrailsConfigurationCommandInput, ...rest: any[]) => Paginator<ListEnforcedGuardrailsConfigurationCommandOutput>;
|
|
@@ -5,6 +5,7 @@ export * from "./ListAutomatedReasoningPolicyTestCasesPaginator";
|
|
|
5
5
|
export * from "./ListAutomatedReasoningPolicyTestResultsPaginator";
|
|
6
6
|
export * from "./ListCustomModelDeploymentsPaginator";
|
|
7
7
|
export * from "./ListCustomModelsPaginator";
|
|
8
|
+
export * from "./ListEnforcedGuardrailsConfigurationPaginator";
|
|
8
9
|
export * from "./ListEvaluationJobsPaginator";
|
|
9
10
|
export * from "./ListGuardrailsPaginator";
|
|
10
11
|
export * from "./ListImportedModelsPaginator";
|
|
@@ -50,6 +50,8 @@ export declare var MetricName: StaticSimpleSchema;
|
|
|
50
50
|
export declare var PromptRouterDescription: StaticSimpleSchema;
|
|
51
51
|
export declare var TextPromptTemplate: StaticSimpleSchema;
|
|
52
52
|
export declare var AccessDeniedException: StaticErrorSchema;
|
|
53
|
+
export declare var AccountEnforcedGuardrailInferenceInputConfiguration: StaticStructureSchema;
|
|
54
|
+
export declare var AccountEnforcedGuardrailOutputConfiguration: StaticStructureSchema;
|
|
53
55
|
export declare var AgreementAvailability: StaticStructureSchema;
|
|
54
56
|
export declare var AutomatedEvaluationConfig: StaticStructureSchema;
|
|
55
57
|
export declare var AutomatedEvaluationCustomMetricConfig: StaticStructureSchema;
|
|
@@ -176,6 +178,8 @@ export declare var DeleteCustomModelDeploymentRequest: StaticStructureSchema;
|
|
|
176
178
|
export declare var DeleteCustomModelDeploymentResponse: StaticStructureSchema;
|
|
177
179
|
export declare var DeleteCustomModelRequest: StaticStructureSchema;
|
|
178
180
|
export declare var DeleteCustomModelResponse: StaticStructureSchema;
|
|
181
|
+
export declare var DeleteEnforcedGuardrailConfigurationRequest: StaticStructureSchema;
|
|
182
|
+
export declare var DeleteEnforcedGuardrailConfigurationResponse: StaticStructureSchema;
|
|
179
183
|
export declare var DeleteFoundationModelAgreementRequest: StaticStructureSchema;
|
|
180
184
|
export declare var DeleteFoundationModelAgreementResponse: StaticStructureSchema;
|
|
181
185
|
export declare var DeleteGuardrailRequest: StaticStructureSchema;
|
|
@@ -326,6 +330,8 @@ export declare var ListCustomModelDeploymentsRequest: StaticStructureSchema;
|
|
|
326
330
|
export declare var ListCustomModelDeploymentsResponse: StaticStructureSchema;
|
|
327
331
|
export declare var ListCustomModelsRequest: StaticStructureSchema;
|
|
328
332
|
export declare var ListCustomModelsResponse: StaticStructureSchema;
|
|
333
|
+
export declare var ListEnforcedGuardrailsConfigurationRequest: StaticStructureSchema;
|
|
334
|
+
export declare var ListEnforcedGuardrailsConfigurationResponse: StaticStructureSchema;
|
|
329
335
|
export declare var ListEvaluationJobsRequest: StaticStructureSchema;
|
|
330
336
|
export declare var ListEvaluationJobsResponse: StaticStructureSchema;
|
|
331
337
|
export declare var ListFoundationModelAgreementOffersRequest: StaticStructureSchema;
|
|
@@ -374,6 +380,8 @@ export declare var PromptRouterSummary: StaticStructureSchema;
|
|
|
374
380
|
export declare var PromptRouterTargetModel: StaticStructureSchema;
|
|
375
381
|
export declare var PromptTemplate: StaticStructureSchema;
|
|
376
382
|
export declare var ProvisionedModelSummary: StaticStructureSchema;
|
|
383
|
+
export declare var PutEnforcedGuardrailConfigurationRequest: StaticStructureSchema;
|
|
384
|
+
export declare var PutEnforcedGuardrailConfigurationResponse: StaticStructureSchema;
|
|
377
385
|
export declare var PutModelInvocationLoggingConfigurationRequest: StaticStructureSchema;
|
|
378
386
|
export declare var PutModelInvocationLoggingConfigurationResponse: StaticStructureSchema;
|
|
379
387
|
export declare var PutUseCaseForModelAccessRequest: StaticStructureSchema;
|
|
@@ -443,6 +451,7 @@ export declare var VectorSearchRerankingConfiguration: StaticStructureSchema;
|
|
|
443
451
|
export declare var VpcConfig: StaticStructureSchema;
|
|
444
452
|
export declare var __Unit: "unit";
|
|
445
453
|
export declare var BedrockServiceException: StaticErrorSchema;
|
|
454
|
+
export declare var AccountEnforcedGuardrailsOutputConfiguration: StaticListSchema;
|
|
446
455
|
export declare var AutomatedEvaluationCustomMetrics: StaticListSchema;
|
|
447
456
|
export declare var AutomatedReasoningCheckDifferenceScenarioList: StaticListSchema;
|
|
448
457
|
export declare var AutomatedReasoningCheckFindingList: StaticListSchema;
|
|
@@ -599,6 +608,7 @@ export declare var DeleteAutomatedReasoningPolicyBuildWorkflow: StaticOperationS
|
|
|
599
608
|
export declare var DeleteAutomatedReasoningPolicyTestCase: StaticOperationSchema;
|
|
600
609
|
export declare var DeleteCustomModel: StaticOperationSchema;
|
|
601
610
|
export declare var DeleteCustomModelDeployment: StaticOperationSchema;
|
|
611
|
+
export declare var DeleteEnforcedGuardrailConfiguration: StaticOperationSchema;
|
|
602
612
|
export declare var DeleteFoundationModelAgreement: StaticOperationSchema;
|
|
603
613
|
export declare var DeleteGuardrail: StaticOperationSchema;
|
|
604
614
|
export declare var DeleteImportedModel: StaticOperationSchema;
|
|
@@ -639,6 +649,7 @@ export declare var ListAutomatedReasoningPolicyTestCases: StaticOperationSchema;
|
|
|
639
649
|
export declare var ListAutomatedReasoningPolicyTestResults: StaticOperationSchema;
|
|
640
650
|
export declare var ListCustomModelDeployments: StaticOperationSchema;
|
|
641
651
|
export declare var ListCustomModels: StaticOperationSchema;
|
|
652
|
+
export declare var ListEnforcedGuardrailsConfiguration: StaticOperationSchema;
|
|
642
653
|
export declare var ListEvaluationJobs: StaticOperationSchema;
|
|
643
654
|
export declare var ListFoundationModelAgreementOffers: StaticOperationSchema;
|
|
644
655
|
export declare var ListFoundationModels: StaticOperationSchema;
|
|
@@ -653,6 +664,7 @@ export declare var ListModelInvocationJobs: StaticOperationSchema;
|
|
|
653
664
|
export declare var ListPromptRouters: StaticOperationSchema;
|
|
654
665
|
export declare var ListProvisionedModelThroughputs: StaticOperationSchema;
|
|
655
666
|
export declare var ListTagsForResource: StaticOperationSchema;
|
|
667
|
+
export declare var PutEnforcedGuardrailConfiguration: StaticOperationSchema;
|
|
656
668
|
export declare var PutModelInvocationLoggingConfiguration: StaticOperationSchema;
|
|
657
669
|
export declare var PutUseCaseForModelAccess: StaticOperationSchema;
|
|
658
670
|
export declare var RegisterMarketplaceModelEndpoint: StaticOperationSchema;
|
|
@@ -96,6 +96,10 @@ import {
|
|
|
96
96
|
DeleteCustomModelDeploymentCommandInput,
|
|
97
97
|
DeleteCustomModelDeploymentCommandOutput,
|
|
98
98
|
} from "./commands/DeleteCustomModelDeploymentCommand";
|
|
99
|
+
import {
|
|
100
|
+
DeleteEnforcedGuardrailConfigurationCommandInput,
|
|
101
|
+
DeleteEnforcedGuardrailConfigurationCommandOutput,
|
|
102
|
+
} from "./commands/DeleteEnforcedGuardrailConfigurationCommand";
|
|
99
103
|
import {
|
|
100
104
|
DeleteFoundationModelAgreementCommandInput,
|
|
101
105
|
DeleteFoundationModelAgreementCommandOutput,
|
|
@@ -256,6 +260,10 @@ import {
|
|
|
256
260
|
ListCustomModelsCommandInput,
|
|
257
261
|
ListCustomModelsCommandOutput,
|
|
258
262
|
} from "./commands/ListCustomModelsCommand";
|
|
263
|
+
import {
|
|
264
|
+
ListEnforcedGuardrailsConfigurationCommandInput,
|
|
265
|
+
ListEnforcedGuardrailsConfigurationCommandOutput,
|
|
266
|
+
} from "./commands/ListEnforcedGuardrailsConfigurationCommand";
|
|
259
267
|
import {
|
|
260
268
|
ListEvaluationJobsCommandInput,
|
|
261
269
|
ListEvaluationJobsCommandOutput,
|
|
@@ -312,6 +320,10 @@ import {
|
|
|
312
320
|
ListTagsForResourceCommandInput,
|
|
313
321
|
ListTagsForResourceCommandOutput,
|
|
314
322
|
} from "./commands/ListTagsForResourceCommand";
|
|
323
|
+
import {
|
|
324
|
+
PutEnforcedGuardrailConfigurationCommandInput,
|
|
325
|
+
PutEnforcedGuardrailConfigurationCommandOutput,
|
|
326
|
+
} from "./commands/PutEnforcedGuardrailConfigurationCommand";
|
|
315
327
|
import {
|
|
316
328
|
PutModelInvocationLoggingConfigurationCommandInput,
|
|
317
329
|
PutModelInvocationLoggingConfigurationCommandOutput,
|
|
@@ -719,6 +731,25 @@ export interface Bedrock {
|
|
|
719
731
|
options: __HttpHandlerOptions,
|
|
720
732
|
cb: (err: any, data?: DeleteCustomModelDeploymentCommandOutput) => void
|
|
721
733
|
): void;
|
|
734
|
+
deleteEnforcedGuardrailConfiguration(
|
|
735
|
+
args: DeleteEnforcedGuardrailConfigurationCommandInput,
|
|
736
|
+
options?: __HttpHandlerOptions
|
|
737
|
+
): Promise<DeleteEnforcedGuardrailConfigurationCommandOutput>;
|
|
738
|
+
deleteEnforcedGuardrailConfiguration(
|
|
739
|
+
args: DeleteEnforcedGuardrailConfigurationCommandInput,
|
|
740
|
+
cb: (
|
|
741
|
+
err: any,
|
|
742
|
+
data?: DeleteEnforcedGuardrailConfigurationCommandOutput
|
|
743
|
+
) => void
|
|
744
|
+
): void;
|
|
745
|
+
deleteEnforcedGuardrailConfiguration(
|
|
746
|
+
args: DeleteEnforcedGuardrailConfigurationCommandInput,
|
|
747
|
+
options: __HttpHandlerOptions,
|
|
748
|
+
cb: (
|
|
749
|
+
err: any,
|
|
750
|
+
data?: DeleteEnforcedGuardrailConfigurationCommandOutput
|
|
751
|
+
) => void
|
|
752
|
+
): void;
|
|
722
753
|
deleteFoundationModelAgreement(
|
|
723
754
|
args: DeleteFoundationModelAgreementCommandInput,
|
|
724
755
|
options?: __HttpHandlerOptions
|
|
@@ -1323,6 +1354,26 @@ export interface Bedrock {
|
|
|
1323
1354
|
options: __HttpHandlerOptions,
|
|
1324
1355
|
cb: (err: any, data?: ListCustomModelsCommandOutput) => void
|
|
1325
1356
|
): void;
|
|
1357
|
+
listEnforcedGuardrailsConfiguration(): Promise<ListEnforcedGuardrailsConfigurationCommandOutput>;
|
|
1358
|
+
listEnforcedGuardrailsConfiguration(
|
|
1359
|
+
args: ListEnforcedGuardrailsConfigurationCommandInput,
|
|
1360
|
+
options?: __HttpHandlerOptions
|
|
1361
|
+
): Promise<ListEnforcedGuardrailsConfigurationCommandOutput>;
|
|
1362
|
+
listEnforcedGuardrailsConfiguration(
|
|
1363
|
+
args: ListEnforcedGuardrailsConfigurationCommandInput,
|
|
1364
|
+
cb: (
|
|
1365
|
+
err: any,
|
|
1366
|
+
data?: ListEnforcedGuardrailsConfigurationCommandOutput
|
|
1367
|
+
) => void
|
|
1368
|
+
): void;
|
|
1369
|
+
listEnforcedGuardrailsConfiguration(
|
|
1370
|
+
args: ListEnforcedGuardrailsConfigurationCommandInput,
|
|
1371
|
+
options: __HttpHandlerOptions,
|
|
1372
|
+
cb: (
|
|
1373
|
+
err: any,
|
|
1374
|
+
data?: ListEnforcedGuardrailsConfigurationCommandOutput
|
|
1375
|
+
) => void
|
|
1376
|
+
): void;
|
|
1326
1377
|
listEvaluationJobs(): Promise<ListEvaluationJobsCommandOutput>;
|
|
1327
1378
|
listEvaluationJobs(
|
|
1328
1379
|
args: ListEvaluationJobsCommandInput,
|
|
@@ -1523,6 +1574,25 @@ export interface Bedrock {
|
|
|
1523
1574
|
options: __HttpHandlerOptions,
|
|
1524
1575
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1525
1576
|
): void;
|
|
1577
|
+
putEnforcedGuardrailConfiguration(
|
|
1578
|
+
args: PutEnforcedGuardrailConfigurationCommandInput,
|
|
1579
|
+
options?: __HttpHandlerOptions
|
|
1580
|
+
): Promise<PutEnforcedGuardrailConfigurationCommandOutput>;
|
|
1581
|
+
putEnforcedGuardrailConfiguration(
|
|
1582
|
+
args: PutEnforcedGuardrailConfigurationCommandInput,
|
|
1583
|
+
cb: (
|
|
1584
|
+
err: any,
|
|
1585
|
+
data?: PutEnforcedGuardrailConfigurationCommandOutput
|
|
1586
|
+
) => void
|
|
1587
|
+
): void;
|
|
1588
|
+
putEnforcedGuardrailConfiguration(
|
|
1589
|
+
args: PutEnforcedGuardrailConfigurationCommandInput,
|
|
1590
|
+
options: __HttpHandlerOptions,
|
|
1591
|
+
cb: (
|
|
1592
|
+
err: any,
|
|
1593
|
+
data?: PutEnforcedGuardrailConfigurationCommandOutput
|
|
1594
|
+
) => void
|
|
1595
|
+
): void;
|
|
1526
1596
|
putModelInvocationLoggingConfiguration(
|
|
1527
1597
|
args: PutModelInvocationLoggingConfigurationCommandInput,
|
|
1528
1598
|
options?: __HttpHandlerOptions
|
|
@@ -144,6 +144,10 @@ import {
|
|
|
144
144
|
DeleteCustomModelDeploymentCommandInput,
|
|
145
145
|
DeleteCustomModelDeploymentCommandOutput,
|
|
146
146
|
} from "./commands/DeleteCustomModelDeploymentCommand";
|
|
147
|
+
import {
|
|
148
|
+
DeleteEnforcedGuardrailConfigurationCommandInput,
|
|
149
|
+
DeleteEnforcedGuardrailConfigurationCommandOutput,
|
|
150
|
+
} from "./commands/DeleteEnforcedGuardrailConfigurationCommand";
|
|
147
151
|
import {
|
|
148
152
|
DeleteFoundationModelAgreementCommandInput,
|
|
149
153
|
DeleteFoundationModelAgreementCommandOutput,
|
|
@@ -304,6 +308,10 @@ import {
|
|
|
304
308
|
ListCustomModelsCommandInput,
|
|
305
309
|
ListCustomModelsCommandOutput,
|
|
306
310
|
} from "./commands/ListCustomModelsCommand";
|
|
311
|
+
import {
|
|
312
|
+
ListEnforcedGuardrailsConfigurationCommandInput,
|
|
313
|
+
ListEnforcedGuardrailsConfigurationCommandOutput,
|
|
314
|
+
} from "./commands/ListEnforcedGuardrailsConfigurationCommand";
|
|
307
315
|
import {
|
|
308
316
|
ListEvaluationJobsCommandInput,
|
|
309
317
|
ListEvaluationJobsCommandOutput,
|
|
@@ -360,6 +368,10 @@ import {
|
|
|
360
368
|
ListTagsForResourceCommandInput,
|
|
361
369
|
ListTagsForResourceCommandOutput,
|
|
362
370
|
} from "./commands/ListTagsForResourceCommand";
|
|
371
|
+
import {
|
|
372
|
+
PutEnforcedGuardrailConfigurationCommandInput,
|
|
373
|
+
PutEnforcedGuardrailConfigurationCommandOutput,
|
|
374
|
+
} from "./commands/PutEnforcedGuardrailConfigurationCommand";
|
|
363
375
|
import {
|
|
364
376
|
PutModelInvocationLoggingConfigurationCommandInput,
|
|
365
377
|
PutModelInvocationLoggingConfigurationCommandOutput,
|
|
@@ -456,6 +468,7 @@ export type ServiceInputTypes =
|
|
|
456
468
|
| DeleteAutomatedReasoningPolicyTestCaseCommandInput
|
|
457
469
|
| DeleteCustomModelCommandInput
|
|
458
470
|
| DeleteCustomModelDeploymentCommandInput
|
|
471
|
+
| DeleteEnforcedGuardrailConfigurationCommandInput
|
|
459
472
|
| DeleteFoundationModelAgreementCommandInput
|
|
460
473
|
| DeleteGuardrailCommandInput
|
|
461
474
|
| DeleteImportedModelCommandInput
|
|
@@ -496,6 +509,7 @@ export type ServiceInputTypes =
|
|
|
496
509
|
| ListAutomatedReasoningPolicyTestResultsCommandInput
|
|
497
510
|
| ListCustomModelDeploymentsCommandInput
|
|
498
511
|
| ListCustomModelsCommandInput
|
|
512
|
+
| ListEnforcedGuardrailsConfigurationCommandInput
|
|
499
513
|
| ListEvaluationJobsCommandInput
|
|
500
514
|
| ListFoundationModelAgreementOffersCommandInput
|
|
501
515
|
| ListFoundationModelsCommandInput
|
|
@@ -510,6 +524,7 @@ export type ServiceInputTypes =
|
|
|
510
524
|
| ListPromptRoutersCommandInput
|
|
511
525
|
| ListProvisionedModelThroughputsCommandInput
|
|
512
526
|
| ListTagsForResourceCommandInput
|
|
527
|
+
| PutEnforcedGuardrailConfigurationCommandInput
|
|
513
528
|
| PutModelInvocationLoggingConfigurationCommandInput
|
|
514
529
|
| PutUseCaseForModelAccessCommandInput
|
|
515
530
|
| RegisterMarketplaceModelEndpointCommandInput
|
|
@@ -551,6 +566,7 @@ export type ServiceOutputTypes =
|
|
|
551
566
|
| DeleteAutomatedReasoningPolicyTestCaseCommandOutput
|
|
552
567
|
| DeleteCustomModelCommandOutput
|
|
553
568
|
| DeleteCustomModelDeploymentCommandOutput
|
|
569
|
+
| DeleteEnforcedGuardrailConfigurationCommandOutput
|
|
554
570
|
| DeleteFoundationModelAgreementCommandOutput
|
|
555
571
|
| DeleteGuardrailCommandOutput
|
|
556
572
|
| DeleteImportedModelCommandOutput
|
|
@@ -591,6 +607,7 @@ export type ServiceOutputTypes =
|
|
|
591
607
|
| ListAutomatedReasoningPolicyTestResultsCommandOutput
|
|
592
608
|
| ListCustomModelDeploymentsCommandOutput
|
|
593
609
|
| ListCustomModelsCommandOutput
|
|
610
|
+
| ListEnforcedGuardrailsConfigurationCommandOutput
|
|
594
611
|
| ListEvaluationJobsCommandOutput
|
|
595
612
|
| ListFoundationModelAgreementOffersCommandOutput
|
|
596
613
|
| ListFoundationModelsCommandOutput
|
|
@@ -605,6 +622,7 @@ export type ServiceOutputTypes =
|
|
|
605
622
|
| ListPromptRoutersCommandOutput
|
|
606
623
|
| ListProvisionedModelThroughputsCommandOutput
|
|
607
624
|
| ListTagsForResourceCommandOutput
|
|
625
|
+
| PutEnforcedGuardrailConfigurationCommandOutput
|
|
608
626
|
| PutModelInvocationLoggingConfigurationCommandOutput
|
|
609
627
|
| PutUseCaseForModelAccessCommandOutput
|
|
610
628
|
| RegisterMarketplaceModelEndpointCommandOutput
|
|
@@ -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
|
+
DeleteEnforcedGuardrailConfigurationRequest,
|
|
10
|
+
DeleteEnforcedGuardrailConfigurationResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DeleteEnforcedGuardrailConfigurationCommandInput
|
|
15
|
+
extends DeleteEnforcedGuardrailConfigurationRequest {}
|
|
16
|
+
export interface DeleteEnforcedGuardrailConfigurationCommandOutput
|
|
17
|
+
extends DeleteEnforcedGuardrailConfigurationResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DeleteEnforcedGuardrailConfigurationCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteEnforcedGuardrailConfigurationCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DeleteEnforcedGuardrailConfigurationCommandInput,
|
|
24
|
+
DeleteEnforcedGuardrailConfigurationCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: DeleteEnforcedGuardrailConfigurationCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DeleteEnforcedGuardrailConfigurationCommandInput,
|
|
33
|
+
DeleteEnforcedGuardrailConfigurationCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DeleteEnforcedGuardrailConfigurationCommand extends DeleteEnforcedGuardrailConfigurationCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DeleteEnforcedGuardrailConfigurationRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DeleteEnforcedGuardrailConfigurationCommandInput;
|
|
48
|
+
output: DeleteEnforcedGuardrailConfigurationCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
DeleteModelInvocationLoggingConfigurationRequest,
|
|
10
10
|
DeleteModelInvocationLoggingConfigurationResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface DeleteModelInvocationLoggingConfigurationCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
GetModelInvocationLoggingConfigurationRequest,
|
|
10
10
|
GetModelInvocationLoggingConfigurationResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface GetModelInvocationLoggingConfigurationCommandInput
|
|
@@ -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
|
+
ListEnforcedGuardrailsConfigurationRequest,
|
|
10
|
+
ListEnforcedGuardrailsConfigurationResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListEnforcedGuardrailsConfigurationCommandInput
|
|
15
|
+
extends ListEnforcedGuardrailsConfigurationRequest {}
|
|
16
|
+
export interface ListEnforcedGuardrailsConfigurationCommandOutput
|
|
17
|
+
extends ListEnforcedGuardrailsConfigurationResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListEnforcedGuardrailsConfigurationCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListEnforcedGuardrailsConfigurationCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListEnforcedGuardrailsConfigurationCommandInput,
|
|
24
|
+
ListEnforcedGuardrailsConfigurationCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [ListEnforcedGuardrailsConfigurationCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListEnforcedGuardrailsConfigurationCommandInput,
|
|
33
|
+
ListEnforcedGuardrailsConfigurationCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListEnforcedGuardrailsConfigurationCommand extends ListEnforcedGuardrailsConfigurationCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListEnforcedGuardrailsConfigurationRequest;
|
|
44
|
+
output: ListEnforcedGuardrailsConfigurationResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListEnforcedGuardrailsConfigurationCommandInput;
|
|
48
|
+
output: ListEnforcedGuardrailsConfigurationCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
ListInferenceProfilesResponse,
|
|
11
|
-
} from "../models/models_0";
|
|
8
|
+
import { ListInferenceProfilesRequest } from "../models/models_0";
|
|
9
|
+
import { ListInferenceProfilesResponse } from "../models/models_1";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface ListInferenceProfilesCommandInput
|
|
@@ -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
|
+
PutEnforcedGuardrailConfigurationRequest,
|
|
10
|
+
PutEnforcedGuardrailConfigurationResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface PutEnforcedGuardrailConfigurationCommandInput
|
|
15
|
+
extends PutEnforcedGuardrailConfigurationRequest {}
|
|
16
|
+
export interface PutEnforcedGuardrailConfigurationCommandOutput
|
|
17
|
+
extends PutEnforcedGuardrailConfigurationResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const PutEnforcedGuardrailConfigurationCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: PutEnforcedGuardrailConfigurationCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
PutEnforcedGuardrailConfigurationCommandInput,
|
|
24
|
+
PutEnforcedGuardrailConfigurationCommandOutput,
|
|
25
|
+
BedrockClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: PutEnforcedGuardrailConfigurationCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
PutEnforcedGuardrailConfigurationCommandInput,
|
|
33
|
+
PutEnforcedGuardrailConfigurationCommandOutput,
|
|
34
|
+
BedrockClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class PutEnforcedGuardrailConfigurationCommand extends PutEnforcedGuardrailConfigurationCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: PutEnforcedGuardrailConfigurationRequest;
|
|
44
|
+
output: PutEnforcedGuardrailConfigurationResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: PutEnforcedGuardrailConfigurationCommandInput;
|
|
48
|
+
output: PutEnforcedGuardrailConfigurationCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
PutModelInvocationLoggingConfigurationRequest,
|
|
10
|
+
PutModelInvocationLoggingConfigurationResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface PutModelInvocationLoggingConfigurationCommandInput
|
|
@@ -22,6 +22,7 @@ export * from "./DeleteAutomatedReasoningPolicyCommand";
|
|
|
22
22
|
export * from "./DeleteAutomatedReasoningPolicyTestCaseCommand";
|
|
23
23
|
export * from "./DeleteCustomModelCommand";
|
|
24
24
|
export * from "./DeleteCustomModelDeploymentCommand";
|
|
25
|
+
export * from "./DeleteEnforcedGuardrailConfigurationCommand";
|
|
25
26
|
export * from "./DeleteFoundationModelAgreementCommand";
|
|
26
27
|
export * from "./DeleteGuardrailCommand";
|
|
27
28
|
export * from "./DeleteImportedModelCommand";
|
|
@@ -62,6 +63,7 @@ export * from "./ListAutomatedReasoningPolicyTestCasesCommand";
|
|
|
62
63
|
export * from "./ListAutomatedReasoningPolicyTestResultsCommand";
|
|
63
64
|
export * from "./ListCustomModelDeploymentsCommand";
|
|
64
65
|
export * from "./ListCustomModelsCommand";
|
|
66
|
+
export * from "./ListEnforcedGuardrailsConfigurationCommand";
|
|
65
67
|
export * from "./ListEvaluationJobsCommand";
|
|
66
68
|
export * from "./ListFoundationModelAgreementOffersCommand";
|
|
67
69
|
export * from "./ListFoundationModelsCommand";
|
|
@@ -76,6 +78,7 @@ export * from "./ListModelInvocationJobsCommand";
|
|
|
76
78
|
export * from "./ListPromptRoutersCommand";
|
|
77
79
|
export * from "./ListProvisionedModelThroughputsCommand";
|
|
78
80
|
export * from "./ListTagsForResourceCommand";
|
|
81
|
+
export * from "./PutEnforcedGuardrailConfigurationCommand";
|
|
79
82
|
export * from "./PutModelInvocationLoggingConfigurationCommand";
|
|
80
83
|
export * from "./PutUseCaseForModelAccessCommand";
|
|
81
84
|
export * from "./RegisterMarketplaceModelEndpointCommand";
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export declare const InputTags: {
|
|
2
|
+
readonly HONOR: "HONOR";
|
|
3
|
+
readonly IGNORE: "IGNORE";
|
|
4
|
+
};
|
|
5
|
+
export type InputTags = (typeof InputTags)[keyof typeof InputTags];
|
|
1
6
|
export declare const AgreementStatus: {
|
|
2
7
|
readonly AVAILABLE: "AVAILABLE";
|
|
3
8
|
readonly ERROR: "ERROR";
|