@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.
Files changed (45) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +183 -20
  3. package/dist-es/Bedrock.js +6 -0
  4. package/dist-es/commands/DeleteEnforcedGuardrailConfigurationCommand.js +16 -0
  5. package/dist-es/commands/ListEnforcedGuardrailsConfigurationCommand.js +16 -0
  6. package/dist-es/commands/PutEnforcedGuardrailConfigurationCommand.js +16 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/enums.js +4 -0
  9. package/dist-es/models/models_0.js +3 -1
  10. package/dist-es/pagination/ListEnforcedGuardrailsConfigurationPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/schemas/schemas_0.js +133 -20
  13. package/dist-types/Bedrock.d.ts +22 -0
  14. package/dist-types/BedrockClient.d.ts +5 -2
  15. package/dist-types/commands/DeleteEnforcedGuardrailConfigurationCommand.d.ts +87 -0
  16. package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  17. package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  18. package/dist-types/commands/ListEnforcedGuardrailsConfigurationCommand.d.ts +103 -0
  19. package/dist-types/commands/ListInferenceProfilesCommand.d.ts +2 -1
  20. package/dist-types/commands/PutEnforcedGuardrailConfigurationCommand.d.ts +99 -0
  21. package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -2
  22. package/dist-types/commands/index.d.ts +3 -0
  23. package/dist-types/models/enums.d.ts +12 -0
  24. package/dist-types/models/models_0.d.ts +167 -124
  25. package/dist-types/models/models_1.d.ts +124 -1
  26. package/dist-types/pagination/ListEnforcedGuardrailsConfigurationPaginator.d.ts +7 -0
  27. package/dist-types/pagination/index.d.ts +1 -0
  28. package/dist-types/schemas/schemas_0.d.ts +12 -0
  29. package/dist-types/ts3.4/Bedrock.d.ts +70 -0
  30. package/dist-types/ts3.4/BedrockClient.d.ts +18 -0
  31. package/dist-types/ts3.4/commands/DeleteEnforcedGuardrailConfigurationCommand.d.ts +51 -0
  32. package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/ListEnforcedGuardrailsConfigurationCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +2 -4
  36. package/dist-types/ts3.4/commands/PutEnforcedGuardrailConfigurationCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +4 -2
  38. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  39. package/dist-types/ts3.4/models/enums.d.ts +5 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +45 -30
  41. package/dist-types/ts3.4/models/models_1.d.ts +31 -0
  42. package/dist-types/ts3.4/pagination/ListEnforcedGuardrailsConfigurationPaginator.d.ts +11 -0
  43. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  44. package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
  45. package/package.json +13 -13
@@ -0,0 +1,103 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
+ import { ListEnforcedGuardrailsConfigurationRequest, ListEnforcedGuardrailsConfigurationResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListEnforcedGuardrailsConfigurationCommand}.
14
+ */
15
+ export interface ListEnforcedGuardrailsConfigurationCommandInput extends ListEnforcedGuardrailsConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListEnforcedGuardrailsConfigurationCommand}.
21
+ */
22
+ export interface ListEnforcedGuardrailsConfigurationCommandOutput extends ListEnforcedGuardrailsConfigurationResponse, __MetadataBearer {
23
+ }
24
+ declare const ListEnforcedGuardrailsConfigurationCommand_base: {
25
+ new (input: ListEnforcedGuardrailsConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<ListEnforcedGuardrailsConfigurationCommandInput, ListEnforcedGuardrailsConfigurationCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListEnforcedGuardrailsConfigurationCommandInput]): import("@smithy/smithy-client").CommandImpl<ListEnforcedGuardrailsConfigurationCommandInput, ListEnforcedGuardrailsConfigurationCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the account-level enforced guardrail configurations.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockClient, ListEnforcedGuardrailsConfigurationCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
35
+ * // const { BedrockClient, ListEnforcedGuardrailsConfigurationCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
36
+ * // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
37
+ * const config = {}; // type is BedrockClientConfig
38
+ * const client = new BedrockClient(config);
39
+ * const input = { // ListEnforcedGuardrailsConfigurationRequest
40
+ * nextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListEnforcedGuardrailsConfigurationCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListEnforcedGuardrailsConfigurationResponse
45
+ * // guardrailsConfig: [ // AccountEnforcedGuardrailsOutputConfiguration // required
46
+ * // { // AccountEnforcedGuardrailOutputConfiguration
47
+ * // configId: "STRING_VALUE",
48
+ * // guardrailArn: "STRING_VALUE",
49
+ * // guardrailId: "STRING_VALUE",
50
+ * // inputTags: "HONOR" || "IGNORE",
51
+ * // guardrailVersion: "STRING_VALUE",
52
+ * // createdAt: new Date("TIMESTAMP"),
53
+ * // createdBy: "STRING_VALUE",
54
+ * // updatedAt: new Date("TIMESTAMP"),
55
+ * // updatedBy: "STRING_VALUE",
56
+ * // owner: "STRING_VALUE",
57
+ * // },
58
+ * // ],
59
+ * // nextToken: "STRING_VALUE",
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param ListEnforcedGuardrailsConfigurationCommandInput - {@link ListEnforcedGuardrailsConfigurationCommandInput}
65
+ * @returns {@link ListEnforcedGuardrailsConfigurationCommandOutput}
66
+ * @see {@link ListEnforcedGuardrailsConfigurationCommandInput} for command's `input` shape.
67
+ * @see {@link ListEnforcedGuardrailsConfigurationCommandOutput} for command's `response` shape.
68
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>The request is denied because of missing access permissions.</p>
72
+ *
73
+ * @throws {@link InternalServerException} (server fault)
74
+ * <p>An internal server error occurred. Retry your request.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
81
+ *
82
+ * @throws {@link ValidationException} (client fault)
83
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
84
+ *
85
+ * @throws {@link BedrockServiceException}
86
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
87
+ *
88
+ *
89
+ * @public
90
+ */
91
+ export declare class ListEnforcedGuardrailsConfigurationCommand extends ListEnforcedGuardrailsConfigurationCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: ListEnforcedGuardrailsConfigurationRequest;
96
+ output: ListEnforcedGuardrailsConfigurationResponse;
97
+ };
98
+ sdk: {
99
+ input: ListEnforcedGuardrailsConfigurationCommandInput;
100
+ output: ListEnforcedGuardrailsConfigurationCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
- import { ListInferenceProfilesRequest, ListInferenceProfilesResponse } from "../models/models_0";
4
+ import { ListInferenceProfilesRequest } from "../models/models_0";
5
+ import { ListInferenceProfilesResponse } from "../models/models_1";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
+ import { PutEnforcedGuardrailConfigurationRequest, PutEnforcedGuardrailConfigurationResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutEnforcedGuardrailConfigurationCommand}.
14
+ */
15
+ export interface PutEnforcedGuardrailConfigurationCommandInput extends PutEnforcedGuardrailConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutEnforcedGuardrailConfigurationCommand}.
21
+ */
22
+ export interface PutEnforcedGuardrailConfigurationCommandOutput extends PutEnforcedGuardrailConfigurationResponse, __MetadataBearer {
23
+ }
24
+ declare const PutEnforcedGuardrailConfigurationCommand_base: {
25
+ new (input: PutEnforcedGuardrailConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutEnforcedGuardrailConfigurationCommandInput, PutEnforcedGuardrailConfigurationCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PutEnforcedGuardrailConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutEnforcedGuardrailConfigurationCommandInput, PutEnforcedGuardrailConfigurationCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Sets the account-level enforced guardrail configuration.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockClient, PutEnforcedGuardrailConfigurationCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
35
+ * // const { BedrockClient, PutEnforcedGuardrailConfigurationCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
36
+ * // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
37
+ * const config = {}; // type is BedrockClientConfig
38
+ * const client = new BedrockClient(config);
39
+ * const input = { // PutEnforcedGuardrailConfigurationRequest
40
+ * configId: "STRING_VALUE",
41
+ * guardrailInferenceConfig: { // AccountEnforcedGuardrailInferenceInputConfiguration
42
+ * guardrailIdentifier: "STRING_VALUE", // required
43
+ * guardrailVersion: "STRING_VALUE", // required
44
+ * inputTags: "HONOR" || "IGNORE", // required
45
+ * },
46
+ * };
47
+ * const command = new PutEnforcedGuardrailConfigurationCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // PutEnforcedGuardrailConfigurationResponse
50
+ * // configId: "STRING_VALUE",
51
+ * // updatedAt: new Date("TIMESTAMP"),
52
+ * // updatedBy: "STRING_VALUE",
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param PutEnforcedGuardrailConfigurationCommandInput - {@link PutEnforcedGuardrailConfigurationCommandInput}
58
+ * @returns {@link PutEnforcedGuardrailConfigurationCommandOutput}
59
+ * @see {@link PutEnforcedGuardrailConfigurationCommandInput} for command's `input` shape.
60
+ * @see {@link PutEnforcedGuardrailConfigurationCommandOutput} for command's `response` shape.
61
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>The request is denied because of missing access permissions.</p>
65
+ *
66
+ * @throws {@link ConflictException} (client fault)
67
+ * <p>Error occurred because of a conflict while performing an operation.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>An internal server error occurred. Retry your request.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
80
+ *
81
+ * @throws {@link BedrockServiceException}
82
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
83
+ *
84
+ *
85
+ * @public
86
+ */
87
+ export declare class PutEnforcedGuardrailConfigurationCommand extends PutEnforcedGuardrailConfigurationCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: PutEnforcedGuardrailConfigurationRequest;
92
+ output: PutEnforcedGuardrailConfigurationResponse;
93
+ };
94
+ sdk: {
95
+ input: PutEnforcedGuardrailConfigurationCommandInput;
96
+ output: PutEnforcedGuardrailConfigurationCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
- import { PutModelInvocationLoggingConfigurationRequest } from "../models/models_0";
5
- import { PutModelInvocationLoggingConfigurationResponse } from "../models/models_1";
4
+ import { PutModelInvocationLoggingConfigurationRequest, PutModelInvocationLoggingConfigurationResponse } from "../models/models_1";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -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,15 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const InputTags: {
6
+ readonly HONOR: "HONOR";
7
+ readonly IGNORE: "IGNORE";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type InputTags = (typeof InputTags)[keyof typeof InputTags];
1
13
  /**
2
14
  * @public
3
15
  * @enum
@@ -1,5 +1,96 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
- import { AgreementStatus, ApplicationType, AttributeType, AutomatedReasoningCheckLogicWarningType, AutomatedReasoningCheckResult, AutomatedReasoningPolicyAnnotationStatus, AutomatedReasoningPolicyBuildDocumentContentType, AutomatedReasoningPolicyBuildMessageType, AutomatedReasoningPolicyBuildResultAssetType, AutomatedReasoningPolicyBuildWorkflowStatus, AutomatedReasoningPolicyBuildWorkflowType, AutomatedReasoningPolicyTestRunResult, AutomatedReasoningPolicyTestRunStatus, CustomizationType, CustomModelDeploymentStatus, EvaluationJobStatus, EvaluationJobType, EvaluationTaskType, ExternalSourceType, GuardrailContentFilterAction, GuardrailContentFiltersTierName, GuardrailContentFilterType, GuardrailContextualGroundingAction, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailModality, GuardrailPiiEntityType, GuardrailSensitiveInformationAction, GuardrailStatus, GuardrailTopicAction, GuardrailTopicsTierName, GuardrailTopicType, GuardrailWordAction, InferenceProfileStatus, InferenceProfileType, ModelStatus, PerformanceConfigLatency, QueryTransformationType, RerankingMetadataSelectionMode, SortJobsBy, SortModelsBy, SortOrder, Status, VectorSearchRerankingConfigurationType } from "./enums";
2
+ import { AgreementStatus, ApplicationType, AttributeType, AutomatedReasoningCheckLogicWarningType, AutomatedReasoningCheckResult, AutomatedReasoningPolicyAnnotationStatus, AutomatedReasoningPolicyBuildDocumentContentType, AutomatedReasoningPolicyBuildMessageType, AutomatedReasoningPolicyBuildResultAssetType, AutomatedReasoningPolicyBuildWorkflowStatus, AutomatedReasoningPolicyBuildWorkflowType, AutomatedReasoningPolicyTestRunResult, AutomatedReasoningPolicyTestRunStatus, CustomizationType, CustomModelDeploymentStatus, EvaluationJobStatus, EvaluationJobType, EvaluationTaskType, ExternalSourceType, GuardrailContentFilterAction, GuardrailContentFiltersTierName, GuardrailContentFilterType, GuardrailContextualGroundingAction, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailModality, GuardrailPiiEntityType, GuardrailSensitiveInformationAction, GuardrailStatus, GuardrailTopicAction, GuardrailTopicsTierName, GuardrailTopicType, GuardrailWordAction, InferenceProfileStatus, InferenceProfileType, InputTags, ModelStatus, PerformanceConfigLatency, QueryTransformationType, RerankingMetadataSelectionMode, SortJobsBy, SortModelsBy, SortOrder, Status, VectorSearchRerankingConfigurationType } from "./enums";
3
+ /**
4
+ * <p>Account-level enforced guardrail input configuration.</p>
5
+ * @public
6
+ */
7
+ export interface AccountEnforcedGuardrailInferenceInputConfiguration {
8
+ /**
9
+ * <p>Identifier for the guardrail, could be the ID or the ARN.</p>
10
+ * @public
11
+ */
12
+ guardrailIdentifier: string | undefined;
13
+ /**
14
+ * <p>Numerical guardrail version.</p>
15
+ * @public
16
+ */
17
+ guardrailVersion: string | undefined;
18
+ /**
19
+ * <p>Whether to honor or ignore input tags at runtime.</p>
20
+ * @public
21
+ */
22
+ inputTags: InputTags | undefined;
23
+ }
24
+ /**
25
+ * @public
26
+ * @enum
27
+ */
28
+ export declare const ConfigurationOwner: {
29
+ /**
30
+ * Configuration owned by the account
31
+ */
32
+ readonly ACCOUNT: "ACCOUNT";
33
+ };
34
+ /**
35
+ * @public
36
+ */
37
+ export type ConfigurationOwner = (typeof ConfigurationOwner)[keyof typeof ConfigurationOwner];
38
+ /**
39
+ * <p>Account enforced guardrail output configuration.</p>
40
+ * @public
41
+ */
42
+ export interface AccountEnforcedGuardrailOutputConfiguration {
43
+ /**
44
+ * <p>Unique ID for the account enforced configuration.</p>
45
+ * @public
46
+ */
47
+ configId?: string | undefined;
48
+ /**
49
+ * <p>ARN representation for the guardrail.</p>
50
+ * @public
51
+ */
52
+ guardrailArn?: string | undefined;
53
+ /**
54
+ * <p>Unique ID for the guardrail.</p>
55
+ * @public
56
+ */
57
+ guardrailId?: string | undefined;
58
+ /**
59
+ * <p>Whether to honor or ignore input tags at runtime.</p>
60
+ * @public
61
+ */
62
+ inputTags?: InputTags | undefined;
63
+ /**
64
+ * <p>Numerical guardrail version.</p>
65
+ * @public
66
+ */
67
+ guardrailVersion?: string | undefined;
68
+ /**
69
+ * <p>Timestamp.</p>
70
+ * @public
71
+ */
72
+ createdAt?: Date | undefined;
73
+ /**
74
+ * <p>The ARN of the role used to update the configuration.</p>
75
+ * @public
76
+ */
77
+ createdBy?: string | undefined;
78
+ /**
79
+ * <p>Timestamp.</p>
80
+ * @public
81
+ */
82
+ updatedAt?: Date | undefined;
83
+ /**
84
+ * <p>The ARN of the role used to update the configuration.</p>
85
+ * @public
86
+ */
87
+ updatedBy?: string | undefined;
88
+ /**
89
+ * <p>Configuration owner type.</p>
90
+ * @public
91
+ */
92
+ owner?: ConfigurationOwner | undefined;
93
+ }
3
94
  /**
4
95
  * <p>Information about the agreement availability</p>
5
96
  * @public
@@ -4245,6 +4336,81 @@ export interface ListCustomModelsResponse {
4245
4336
  */
4246
4337
  modelSummaries?: CustomModelSummary[] | undefined;
4247
4338
  }
4339
+ /**
4340
+ * @public
4341
+ */
4342
+ export interface DeleteEnforcedGuardrailConfigurationRequest {
4343
+ /**
4344
+ * <p>Unique ID for the account enforced configuration.</p>
4345
+ * @public
4346
+ */
4347
+ configId: string | undefined;
4348
+ }
4349
+ /**
4350
+ * @public
4351
+ */
4352
+ export interface DeleteEnforcedGuardrailConfigurationResponse {
4353
+ }
4354
+ /**
4355
+ * @public
4356
+ */
4357
+ export interface ListEnforcedGuardrailsConfigurationRequest {
4358
+ /**
4359
+ * <p>Opaque continuation token of previous paginated response.</p>
4360
+ * @public
4361
+ */
4362
+ nextToken?: string | undefined;
4363
+ }
4364
+ /**
4365
+ * @public
4366
+ */
4367
+ export interface ListEnforcedGuardrailsConfigurationResponse {
4368
+ /**
4369
+ * <p>Array of AccountEnforcedGuardrailOutputConfiguration objects.</p>
4370
+ * @public
4371
+ */
4372
+ guardrailsConfig: AccountEnforcedGuardrailOutputConfiguration[] | undefined;
4373
+ /**
4374
+ * <p>Opaque continuation token of previous paginated response.</p>
4375
+ * @public
4376
+ */
4377
+ nextToken?: string | undefined;
4378
+ }
4379
+ /**
4380
+ * @public
4381
+ */
4382
+ export interface PutEnforcedGuardrailConfigurationRequest {
4383
+ /**
4384
+ * <p>Unique ID for the account enforced configuration.</p>
4385
+ * @public
4386
+ */
4387
+ configId?: string | undefined;
4388
+ /**
4389
+ * <p>Account-level enforced guardrail input configuration.</p>
4390
+ * @public
4391
+ */
4392
+ guardrailInferenceConfig: AccountEnforcedGuardrailInferenceInputConfiguration | undefined;
4393
+ }
4394
+ /**
4395
+ * @public
4396
+ */
4397
+ export interface PutEnforcedGuardrailConfigurationResponse {
4398
+ /**
4399
+ * <p>Unique ID for the account enforced configuration.</p>
4400
+ * @public
4401
+ */
4402
+ configId?: string | undefined;
4403
+ /**
4404
+ * <p>Timestamp.</p>
4405
+ * @public
4406
+ */
4407
+ updatedAt?: Date | undefined;
4408
+ /**
4409
+ * <p>The ARN of the role used to update the configuration.</p>
4410
+ * @public
4411
+ */
4412
+ updatedBy?: string | undefined;
4413
+ }
4248
4414
  /**
4249
4415
  * @public
4250
4416
  */
@@ -6950,126 +7116,3 @@ export interface InferenceProfileSummary {
6950
7116
  */
6951
7117
  type: InferenceProfileType | undefined;
6952
7118
  }
6953
- /**
6954
- * @public
6955
- */
6956
- export interface ListInferenceProfilesResponse {
6957
- /**
6958
- * <p>A list of information about each inference profile that you can use.</p>
6959
- * @public
6960
- */
6961
- inferenceProfileSummaries?: InferenceProfileSummary[] | undefined;
6962
- /**
6963
- * <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>
6964
- * @public
6965
- */
6966
- nextToken?: string | undefined;
6967
- }
6968
- /**
6969
- * @public
6970
- */
6971
- export interface DeleteModelInvocationLoggingConfigurationRequest {
6972
- }
6973
- /**
6974
- * @public
6975
- */
6976
- export interface DeleteModelInvocationLoggingConfigurationResponse {
6977
- }
6978
- /**
6979
- * @public
6980
- */
6981
- export interface GetModelInvocationLoggingConfigurationRequest {
6982
- }
6983
- /**
6984
- * <p>S3 configuration for storing log data.</p>
6985
- * @public
6986
- */
6987
- export interface S3Config {
6988
- /**
6989
- * <p>S3 bucket name.</p>
6990
- * @public
6991
- */
6992
- bucketName: string | undefined;
6993
- /**
6994
- * <p>S3 prefix. </p>
6995
- * @public
6996
- */
6997
- keyPrefix?: string | undefined;
6998
- }
6999
- /**
7000
- * <p>CloudWatch logging configuration.</p>
7001
- * @public
7002
- */
7003
- export interface CloudWatchConfig {
7004
- /**
7005
- * <p>The log group name.</p>
7006
- * @public
7007
- */
7008
- logGroupName: string | undefined;
7009
- /**
7010
- * <p>The role Amazon Resource Name (ARN).</p>
7011
- * @public
7012
- */
7013
- roleArn: string | undefined;
7014
- /**
7015
- * <p>S3 configuration for delivering a large amount of data.</p>
7016
- * @public
7017
- */
7018
- largeDataDeliveryS3Config?: S3Config | undefined;
7019
- }
7020
- /**
7021
- * <p>Configuration fields for invocation logging.</p>
7022
- * @public
7023
- */
7024
- export interface LoggingConfig {
7025
- /**
7026
- * <p>CloudWatch logging configuration.</p>
7027
- * @public
7028
- */
7029
- cloudWatchConfig?: CloudWatchConfig | undefined;
7030
- /**
7031
- * <p>S3 configuration for storing log data.</p>
7032
- * @public
7033
- */
7034
- s3Config?: S3Config | undefined;
7035
- /**
7036
- * <p>Set to include text data in the log delivery.</p>
7037
- * @public
7038
- */
7039
- textDataDeliveryEnabled?: boolean | undefined;
7040
- /**
7041
- * <p>Set to include image data in the log delivery.</p>
7042
- * @public
7043
- */
7044
- imageDataDeliveryEnabled?: boolean | undefined;
7045
- /**
7046
- * <p>Set to include embeddings data in the log delivery.</p>
7047
- * @public
7048
- */
7049
- embeddingDataDeliveryEnabled?: boolean | undefined;
7050
- /**
7051
- * <p>Set to include video data in the log delivery.</p>
7052
- * @public
7053
- */
7054
- videoDataDeliveryEnabled?: boolean | undefined;
7055
- }
7056
- /**
7057
- * @public
7058
- */
7059
- export interface GetModelInvocationLoggingConfigurationResponse {
7060
- /**
7061
- * <p>The current configuration values.</p>
7062
- * @public
7063
- */
7064
- loggingConfig?: LoggingConfig | undefined;
7065
- }
7066
- /**
7067
- * @public
7068
- */
7069
- export interface PutModelInvocationLoggingConfigurationRequest {
7070
- /**
7071
- * <p>The logging configuration values to set.</p>
7072
- * @public
7073
- */
7074
- loggingConfig: LoggingConfig | undefined;
7075
- }