@aws-sdk/client-bedrock 3.936.0 → 3.939.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 (42) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +187 -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 +7 -0
  9. package/dist-es/pagination/ListEnforcedGuardrailsConfigurationPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/schemas/schemas_0.js +133 -20
  12. package/dist-types/Bedrock.d.ts +22 -0
  13. package/dist-types/BedrockClient.d.ts +5 -2
  14. package/dist-types/commands/DeleteEnforcedGuardrailConfigurationCommand.d.ts +87 -0
  15. package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  16. package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  17. package/dist-types/commands/ListEnforcedGuardrailsConfigurationCommand.d.ts +103 -0
  18. package/dist-types/commands/PutEnforcedGuardrailConfigurationCommand.d.ts +99 -0
  19. package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -2
  20. package/dist-types/commands/index.d.ts +3 -0
  21. package/dist-types/models/enums.d.ts +26 -0
  22. package/dist-types/models/models_0.d.ts +153 -109
  23. package/dist-types/models/models_1.d.ts +108 -0
  24. package/dist-types/pagination/ListEnforcedGuardrailsConfigurationPaginator.d.ts +7 -0
  25. package/dist-types/pagination/index.d.ts +1 -0
  26. package/dist-types/schemas/schemas_0.d.ts +12 -0
  27. package/dist-types/ts3.4/Bedrock.d.ts +70 -0
  28. package/dist-types/ts3.4/BedrockClient.d.ts +18 -0
  29. package/dist-types/ts3.4/commands/DeleteEnforcedGuardrailConfigurationCommand.d.ts +51 -0
  30. package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/ListEnforcedGuardrailsConfigurationCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/PutEnforcedGuardrailConfigurationCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +4 -2
  35. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  36. package/dist-types/ts3.4/models/enums.d.ts +10 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +41 -26
  38. package/dist-types/ts3.4/models/models_1.d.ts +26 -0
  39. package/dist-types/ts3.4/pagination/ListEnforcedGuardrailsConfigurationPaginator.d.ts +11 -0
  40. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  41. package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
  42. package/package.json +3 -3
@@ -1,7 +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 { GetModelInvocationLoggingConfigurationRequest, GetModelInvocationLoggingConfigurationResponse } from "../models/models_0";
4
+ import { GetModelInvocationLoggingConfigurationRequest, GetModelInvocationLoggingConfigurationResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -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
+ }
@@ -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,29 @@
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];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const ConfigurationOwner: {
18
+ /**
19
+ * Configuration owned by the account
20
+ */
21
+ readonly ACCOUNT: "ACCOUNT";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type ConfigurationOwner = (typeof ConfigurationOwner)[keyof typeof ConfigurationOwner];
1
27
  /**
2
28
  * @public
3
29
  * @enum
@@ -1,5 +1,82 @@
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, ConfigurationOwner, 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
+ * <p>Account enforced guardrail output configuration.</p>
26
+ * @public
27
+ */
28
+ export interface AccountEnforcedGuardrailOutputConfiguration {
29
+ /**
30
+ * <p>Unique ID for the account enforced configuration.</p>
31
+ * @public
32
+ */
33
+ configId?: string | undefined;
34
+ /**
35
+ * <p>ARN representation for the guardrail.</p>
36
+ * @public
37
+ */
38
+ guardrailArn?: string | undefined;
39
+ /**
40
+ * <p>Unique ID for the guardrail.</p>
41
+ * @public
42
+ */
43
+ guardrailId?: string | undefined;
44
+ /**
45
+ * <p>Whether to honor or ignore input tags at runtime.</p>
46
+ * @public
47
+ */
48
+ inputTags?: InputTags | undefined;
49
+ /**
50
+ * <p>Numerical guardrail version.</p>
51
+ * @public
52
+ */
53
+ guardrailVersion?: string | undefined;
54
+ /**
55
+ * <p>Timestamp.</p>
56
+ * @public
57
+ */
58
+ createdAt?: Date | undefined;
59
+ /**
60
+ * <p>The ARN of the role used to update the configuration.</p>
61
+ * @public
62
+ */
63
+ createdBy?: string | undefined;
64
+ /**
65
+ * <p>Timestamp.</p>
66
+ * @public
67
+ */
68
+ updatedAt?: Date | undefined;
69
+ /**
70
+ * <p>The ARN of the role used to update the configuration.</p>
71
+ * @public
72
+ */
73
+ updatedBy?: string | undefined;
74
+ /**
75
+ * <p>Configuration owner type.</p>
76
+ * @public
77
+ */
78
+ owner?: ConfigurationOwner | undefined;
79
+ }
3
80
  /**
4
81
  * <p>Information about the agreement availability</p>
5
82
  * @public
@@ -4245,6 +4322,81 @@ export interface ListCustomModelsResponse {
4245
4322
  */
4246
4323
  modelSummaries?: CustomModelSummary[] | undefined;
4247
4324
  }
4325
+ /**
4326
+ * @public
4327
+ */
4328
+ export interface DeleteEnforcedGuardrailConfigurationRequest {
4329
+ /**
4330
+ * <p>Unique ID for the account enforced configuration.</p>
4331
+ * @public
4332
+ */
4333
+ configId: string | undefined;
4334
+ }
4335
+ /**
4336
+ * @public
4337
+ */
4338
+ export interface DeleteEnforcedGuardrailConfigurationResponse {
4339
+ }
4340
+ /**
4341
+ * @public
4342
+ */
4343
+ export interface ListEnforcedGuardrailsConfigurationRequest {
4344
+ /**
4345
+ * <p>Opaque continuation token of previous paginated response.</p>
4346
+ * @public
4347
+ */
4348
+ nextToken?: string | undefined;
4349
+ }
4350
+ /**
4351
+ * @public
4352
+ */
4353
+ export interface ListEnforcedGuardrailsConfigurationResponse {
4354
+ /**
4355
+ * <p>Array of AccountEnforcedGuardrailOutputConfiguration objects.</p>
4356
+ * @public
4357
+ */
4358
+ guardrailsConfig: AccountEnforcedGuardrailOutputConfiguration[] | undefined;
4359
+ /**
4360
+ * <p>Opaque continuation token of previous paginated response.</p>
4361
+ * @public
4362
+ */
4363
+ nextToken?: string | undefined;
4364
+ }
4365
+ /**
4366
+ * @public
4367
+ */
4368
+ export interface PutEnforcedGuardrailConfigurationRequest {
4369
+ /**
4370
+ * <p>Unique ID for the account enforced configuration.</p>
4371
+ * @public
4372
+ */
4373
+ configId?: string | undefined;
4374
+ /**
4375
+ * <p>Account-level enforced guardrail input configuration.</p>
4376
+ * @public
4377
+ */
4378
+ guardrailInferenceConfig: AccountEnforcedGuardrailInferenceInputConfiguration | undefined;
4379
+ }
4380
+ /**
4381
+ * @public
4382
+ */
4383
+ export interface PutEnforcedGuardrailConfigurationResponse {
4384
+ /**
4385
+ * <p>Unique ID for the account enforced configuration.</p>
4386
+ * @public
4387
+ */
4388
+ configId?: string | undefined;
4389
+ /**
4390
+ * <p>Timestamp.</p>
4391
+ * @public
4392
+ */
4393
+ updatedAt?: Date | undefined;
4394
+ /**
4395
+ * <p>The ARN of the role used to update the configuration.</p>
4396
+ * @public
4397
+ */
4398
+ updatedBy?: string | undefined;
4399
+ }
4248
4400
  /**
4249
4401
  * @public
4250
4402
  */
@@ -6965,111 +7117,3 @@ export interface ListInferenceProfilesResponse {
6965
7117
  */
6966
7118
  nextToken?: string | undefined;
6967
7119
  }
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
- }
@@ -1,5 +1,113 @@
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
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";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface DeleteModelInvocationLoggingConfigurationRequest {
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface DeleteModelInvocationLoggingConfigurationResponse {
12
+ }
13
+ /**
14
+ * @public
15
+ */
16
+ export interface GetModelInvocationLoggingConfigurationRequest {
17
+ }
18
+ /**
19
+ * <p>S3 configuration for storing log data.</p>
20
+ * @public
21
+ */
22
+ export interface S3Config {
23
+ /**
24
+ * <p>S3 bucket name.</p>
25
+ * @public
26
+ */
27
+ bucketName: string | undefined;
28
+ /**
29
+ * <p>S3 prefix. </p>
30
+ * @public
31
+ */
32
+ keyPrefix?: string | undefined;
33
+ }
34
+ /**
35
+ * <p>CloudWatch logging configuration.</p>
36
+ * @public
37
+ */
38
+ export interface CloudWatchConfig {
39
+ /**
40
+ * <p>The log group name.</p>
41
+ * @public
42
+ */
43
+ logGroupName: string | undefined;
44
+ /**
45
+ * <p>The role Amazon Resource Name (ARN).</p>
46
+ * @public
47
+ */
48
+ roleArn: string | undefined;
49
+ /**
50
+ * <p>S3 configuration for delivering a large amount of data.</p>
51
+ * @public
52
+ */
53
+ largeDataDeliveryS3Config?: S3Config | undefined;
54
+ }
55
+ /**
56
+ * <p>Configuration fields for invocation logging.</p>
57
+ * @public
58
+ */
59
+ export interface LoggingConfig {
60
+ /**
61
+ * <p>CloudWatch logging configuration.</p>
62
+ * @public
63
+ */
64
+ cloudWatchConfig?: CloudWatchConfig | undefined;
65
+ /**
66
+ * <p>S3 configuration for storing log data.</p>
67
+ * @public
68
+ */
69
+ s3Config?: S3Config | undefined;
70
+ /**
71
+ * <p>Set to include text data in the log delivery.</p>
72
+ * @public
73
+ */
74
+ textDataDeliveryEnabled?: boolean | undefined;
75
+ /**
76
+ * <p>Set to include image data in the log delivery.</p>
77
+ * @public
78
+ */
79
+ imageDataDeliveryEnabled?: boolean | undefined;
80
+ /**
81
+ * <p>Set to include embeddings data in the log delivery.</p>
82
+ * @public
83
+ */
84
+ embeddingDataDeliveryEnabled?: boolean | undefined;
85
+ /**
86
+ * <p>Set to include video data in the log delivery.</p>
87
+ * @public
88
+ */
89
+ videoDataDeliveryEnabled?: boolean | undefined;
90
+ }
91
+ /**
92
+ * @public
93
+ */
94
+ export interface GetModelInvocationLoggingConfigurationResponse {
95
+ /**
96
+ * <p>The current configuration values.</p>
97
+ * @public
98
+ */
99
+ loggingConfig?: LoggingConfig | undefined;
100
+ }
101
+ /**
102
+ * @public
103
+ */
104
+ export interface PutModelInvocationLoggingConfigurationRequest {
105
+ /**
106
+ * <p>The logging configuration values to set.</p>
107
+ * @public
108
+ */
109
+ loggingConfig: LoggingConfig | undefined;
110
+ }
3
111
  /**
4
112
  * @public
5
113
  */
@@ -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>;