@aws-sdk/client-bedrock 3.556.0 → 3.563.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 (74) hide show
  1. package/README.md +81 -1
  2. package/dist-cjs/index.js +1005 -79
  3. package/dist-es/Bedrock.js +20 -0
  4. package/dist-es/commands/CreateEvaluationJobCommand.js +25 -0
  5. package/dist-es/commands/CreateGuardrailCommand.js +25 -0
  6. package/dist-es/commands/CreateGuardrailVersionCommand.js +25 -0
  7. package/dist-es/commands/DeleteGuardrailCommand.js +24 -0
  8. package/dist-es/commands/GetEvaluationJobCommand.js +25 -0
  9. package/dist-es/commands/GetGuardrailCommand.js +25 -0
  10. package/dist-es/commands/ListEvaluationJobsCommand.js +24 -0
  11. package/dist-es/commands/ListGuardrailsCommand.js +25 -0
  12. package/dist-es/commands/StopEvaluationJobCommand.js +25 -0
  13. package/dist-es/commands/UpdateGuardrailCommand.js +25 -0
  14. package/dist-es/commands/index.js +10 -0
  15. package/dist-es/models/models_0.js +312 -48
  16. package/dist-es/pagination/ListEvaluationJobsPaginator.js +4 -0
  17. package/dist-es/pagination/ListGuardrailsPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +2 -0
  19. package/dist-es/protocols/Aws_restJson1.js +374 -4
  20. package/dist-types/Bedrock.d.ts +73 -1
  21. package/dist-types/BedrockClient.d.ts +13 -3
  22. package/dist-types/commands/CreateEvaluationJobCommand.d.ts +148 -0
  23. package/dist-types/commands/CreateGuardrailCommand.d.ts +186 -0
  24. package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +84 -0
  25. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +6 -8
  26. package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +2 -3
  27. package/dist-types/commands/DeleteCustomModelCommand.d.ts +2 -2
  28. package/dist-types/commands/DeleteGuardrailCommand.d.ts +84 -0
  29. package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +2 -2
  30. package/dist-types/commands/GetCustomModelCommand.d.ts +2 -2
  31. package/dist-types/commands/GetEvaluationJobCommand.d.ts +144 -0
  32. package/dist-types/commands/GetFoundationModelCommand.d.ts +1 -1
  33. package/dist-types/commands/GetGuardrailCommand.d.ts +140 -0
  34. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +2 -2
  35. package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +2 -2
  36. package/dist-types/commands/ListCustomModelsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListEvaluationJobsCommand.d.ts +93 -0
  38. package/dist-types/commands/ListFoundationModelsCommand.d.ts +1 -1
  39. package/dist-types/commands/ListGuardrailsCommand.d.ts +89 -0
  40. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +2 -2
  41. package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  43. package/dist-types/commands/StopEvaluationJobCommand.d.ts +75 -0
  44. package/dist-types/commands/StopModelCustomizationJobCommand.d.ts +2 -2
  45. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  46. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  47. package/dist-types/commands/UpdateGuardrailCommand.d.ts +176 -0
  48. package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +2 -2
  49. package/dist-types/commands/index.d.ts +10 -0
  50. package/dist-types/index.d.ts +1 -1
  51. package/dist-types/models/models_0.d.ts +1926 -215
  52. package/dist-types/pagination/ListEvaluationJobsPaginator.d.ts +7 -0
  53. package/dist-types/pagination/ListGuardrailsPaginator.d.ts +7 -0
  54. package/dist-types/pagination/index.d.ts +2 -0
  55. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  56. package/dist-types/ts3.4/Bedrock.d.ts +172 -0
  57. package/dist-types/ts3.4/BedrockClient.d.ts +60 -0
  58. package/dist-types/ts3.4/commands/CreateEvaluationJobCommand.d.ts +39 -0
  59. package/dist-types/ts3.4/commands/CreateGuardrailCommand.d.ts +38 -0
  60. package/dist-types/ts3.4/commands/CreateGuardrailVersionCommand.d.ts +39 -0
  61. package/dist-types/ts3.4/commands/DeleteGuardrailCommand.d.ts +38 -0
  62. package/dist-types/ts3.4/commands/GetEvaluationJobCommand.d.ts +38 -0
  63. package/dist-types/ts3.4/commands/GetGuardrailCommand.d.ts +35 -0
  64. package/dist-types/ts3.4/commands/ListEvaluationJobsCommand.d.ts +39 -0
  65. package/dist-types/ts3.4/commands/ListGuardrailsCommand.d.ts +38 -0
  66. package/dist-types/ts3.4/commands/StopEvaluationJobCommand.d.ts +39 -0
  67. package/dist-types/ts3.4/commands/UpdateGuardrailCommand.d.ts +38 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  69. package/dist-types/ts3.4/models/models_0.d.ts +572 -49
  70. package/dist-types/ts3.4/pagination/ListEvaluationJobsPaginator.d.ts +11 -0
  71. package/dist-types/ts3.4/pagination/ListGuardrailsPaginator.d.ts +11 -0
  72. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  73. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  74. package/package.json +2 -2
@@ -0,0 +1,75 @@
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 { StopEvaluationJobRequest, StopEvaluationJobResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link StopEvaluationJobCommand}.
13
+ */
14
+ export interface StopEvaluationJobCommandInput extends StopEvaluationJobRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link StopEvaluationJobCommand}.
20
+ */
21
+ export interface StopEvaluationJobCommandOutput extends StopEvaluationJobResponse, __MetadataBearer {
22
+ }
23
+ declare const StopEvaluationJobCommand_base: {
24
+ new (input: StopEvaluationJobCommandInput): import("@smithy/smithy-client").CommandImpl<StopEvaluationJobCommandInput, StopEvaluationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: StopEvaluationJobCommandInput): import("@smithy/smithy-client").CommandImpl<StopEvaluationJobCommandInput, StopEvaluationJobCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Stops an in progress model evaluation job.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { BedrockClient, StopEvaluationJobCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
34
+ * // const { BedrockClient, StopEvaluationJobCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
35
+ * const client = new BedrockClient(config);
36
+ * const input = { // StopEvaluationJobRequest
37
+ * jobIdentifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new StopEvaluationJobCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param StopEvaluationJobCommandInput - {@link StopEvaluationJobCommandInput}
46
+ * @returns {@link StopEvaluationJobCommandOutput}
47
+ * @see {@link StopEvaluationJobCommandInput} for command's `input` shape.
48
+ * @see {@link StopEvaluationJobCommandOutput} for command's `response` shape.
49
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>The request is denied because of missing access permissions.</p>
53
+ *
54
+ * @throws {@link ConflictException} (client fault)
55
+ * <p>Error occurred because of a conflict while performing an operation.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>An internal server error occurred. Retry your request.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
68
+ *
69
+ * @throws {@link BedrockServiceException}
70
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
71
+ *
72
+ * @public
73
+ */
74
+ export declare class StopEvaluationJobCommand extends StopEvaluationJobCommand_base {
75
+ }
@@ -26,7 +26,7 @@ declare const StopModelCustomizationJobCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Stops an active model customization job. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a> in the Bedrock User Guide.</p>
29
+ * <p>Stops an active model customization job. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a> in the Amazon Bedrock User Guide.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
32
32
  * ```javascript
@@ -58,7 +58,7 @@ declare const StopModelCustomizationJobCommand_base: {
58
58
  * <p>An internal server error occurred. Retry your request.</p>
59
59
  *
60
60
  * @throws {@link ResourceNotFoundException} (client fault)
61
- * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
61
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
62
62
  *
63
63
  * @throws {@link ThrottlingException} (client fault)
64
64
  * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
@@ -26,7 +26,7 @@ declare const TagResourceCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Associate tags with a resource. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Tagging resources</a> in the Bedrock User Guide.</p>
29
+ * <p>Associate tags with a resource. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html">Tagging resources</a> in the Amazon Bedrock User Guide.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
32
32
  * ```javascript
@@ -61,7 +61,7 @@ declare const TagResourceCommand_base: {
61
61
  * <p>An internal server error occurred. Retry your request.</p>
62
62
  *
63
63
  * @throws {@link ResourceNotFoundException} (client fault)
64
- * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
64
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
65
65
  *
66
66
  * @throws {@link ThrottlingException} (client fault)
67
67
  * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
@@ -26,7 +26,7 @@ declare const UntagResourceCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Remove one or more tags from a resource. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Tagging resources</a> in the Bedrock User Guide.</p>
29
+ * <p>Remove one or more tags from a resource. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html">Tagging resources</a> in the Amazon Bedrock User Guide.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
32
32
  * ```javascript
@@ -58,7 +58,7 @@ declare const UntagResourceCommand_base: {
58
58
  * <p>An internal server error occurred. Retry your request.</p>
59
59
  *
60
60
  * @throws {@link ResourceNotFoundException} (client fault)
61
- * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
61
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
62
62
  *
63
63
  * @throws {@link ThrottlingException} (client fault)
64
64
  * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
@@ -0,0 +1,176 @@
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 { UpdateGuardrailRequest, UpdateGuardrailResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link UpdateGuardrailCommand}.
13
+ */
14
+ export interface UpdateGuardrailCommandInput extends UpdateGuardrailRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link UpdateGuardrailCommand}.
20
+ */
21
+ export interface UpdateGuardrailCommandOutput extends UpdateGuardrailResponse, __MetadataBearer {
22
+ }
23
+ declare const UpdateGuardrailCommand_base: {
24
+ new (input: UpdateGuardrailCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateGuardrailCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateGuardrailCommandInput, UpdateGuardrailCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Updates a guardrail with the values you specify.</p>
30
+ * <ul>
31
+ * <li>
32
+ * <p>Specify a <code>name</code> and optional <code>description</code>.</p>
33
+ * </li>
34
+ * <li>
35
+ * <p>Specify messages for when the guardrail successfully blocks a prompt or a model response in the <code>blockedInputMessaging</code> and <code>blockedOutputsMessaging</code> fields.</p>
36
+ * </li>
37
+ * <li>
38
+ * <p>Specify topics for the guardrail to deny in the <code>topicPolicyConfig</code> object. Each <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailTopicConfig.html">GuardrailTopicConfig</a> object in the <code>topicsConfig</code> list pertains to one topic.</p>
39
+ * <ul>
40
+ * <li>
41
+ * <p>Give a <code>name</code> and <code>description</code> so that the guardrail can properly identify the topic.</p>
42
+ * </li>
43
+ * <li>
44
+ * <p>Specify <code>DENY</code> in the <code>type</code> field.</p>
45
+ * </li>
46
+ * <li>
47
+ * <p>(Optional) Provide up to five prompts that you would categorize as belonging to the topic in the <code>examples</code> list.</p>
48
+ * </li>
49
+ * </ul>
50
+ * </li>
51
+ * <li>
52
+ * <p>Specify filter strengths for the harmful categories defined in Amazon Bedrock in the <code>contentPolicyConfig</code> object. Each <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailContentFilterConfig.html">GuardrailContentFilterConfig</a> object in the <code>filtersConfig</code> list pertains to a harmful category. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-filters">Content filters</a>. For more information about the fields in a content filter, see <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailContentFilterConfig.html">GuardrailContentFilterConfig</a>.</p>
53
+ * <ul>
54
+ * <li>
55
+ * <p>Specify the category in the <code>type</code> field.</p>
56
+ * </li>
57
+ * <li>
58
+ * <p>Specify the strength of the filter for prompts in the <code>inputStrength</code> field and for model responses in the <code>strength</code> field of the <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GuardrailContentFilterConfig.html">GuardrailContentFilterConfig</a>.</p>
59
+ * </li>
60
+ * </ul>
61
+ * </li>
62
+ * <li>
63
+ * <p>(Optional) For security, include the ARN of a KMS key in the <code>kmsKeyId</code> field.</p>
64
+ * </li>
65
+ * <li>
66
+ * <p>(Optional) Attach any tags to the guardrail in the <code>tags</code> object. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tagging">Tag resources</a>.</p>
67
+ * </li>
68
+ * </ul>
69
+ * @example
70
+ * Use a bare-bones client and the command you need to make an API call.
71
+ * ```javascript
72
+ * import { BedrockClient, UpdateGuardrailCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
73
+ * // const { BedrockClient, UpdateGuardrailCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
74
+ * const client = new BedrockClient(config);
75
+ * const input = { // UpdateGuardrailRequest
76
+ * guardrailIdentifier: "STRING_VALUE", // required
77
+ * name: "STRING_VALUE", // required
78
+ * description: "STRING_VALUE",
79
+ * topicPolicyConfig: { // GuardrailTopicPolicyConfig
80
+ * topicsConfig: [ // GuardrailTopicsConfig // required
81
+ * { // GuardrailTopicConfig
82
+ * name: "STRING_VALUE", // required
83
+ * definition: "STRING_VALUE", // required
84
+ * examples: [ // GuardrailTopicExamples
85
+ * "STRING_VALUE",
86
+ * ],
87
+ * type: "DENY", // required
88
+ * },
89
+ * ],
90
+ * },
91
+ * contentPolicyConfig: { // GuardrailContentPolicyConfig
92
+ * filtersConfig: [ // GuardrailContentFiltersConfig // required
93
+ * { // GuardrailContentFilterConfig
94
+ * type: "SEXUAL" || "VIOLENCE" || "HATE" || "INSULTS" || "MISCONDUCT" || "PROMPT_ATTACK", // required
95
+ * inputStrength: "NONE" || "LOW" || "MEDIUM" || "HIGH", // required
96
+ * outputStrength: "NONE" || "LOW" || "MEDIUM" || "HIGH", // required
97
+ * },
98
+ * ],
99
+ * },
100
+ * wordPolicyConfig: { // GuardrailWordPolicyConfig
101
+ * wordsConfig: [ // GuardrailWordsConfig
102
+ * { // GuardrailWordConfig
103
+ * text: "STRING_VALUE", // required
104
+ * },
105
+ * ],
106
+ * managedWordListsConfig: [ // GuardrailManagedWordListsConfig
107
+ * { // GuardrailManagedWordsConfig
108
+ * type: "PROFANITY", // required
109
+ * },
110
+ * ],
111
+ * },
112
+ * sensitiveInformationPolicyConfig: { // GuardrailSensitiveInformationPolicyConfig
113
+ * piiEntitiesConfig: [ // GuardrailPiiEntitiesConfig
114
+ * { // GuardrailPiiEntityConfig
115
+ * type: "ADDRESS" || "AGE" || "AWS_ACCESS_KEY" || "AWS_SECRET_KEY" || "CA_HEALTH_NUMBER" || "CA_SOCIAL_INSURANCE_NUMBER" || "CREDIT_DEBIT_CARD_CVV" || "CREDIT_DEBIT_CARD_EXPIRY" || "CREDIT_DEBIT_CARD_NUMBER" || "DRIVER_ID" || "EMAIL" || "INTERNATIONAL_BANK_ACCOUNT_NUMBER" || "IP_ADDRESS" || "LICENSE_PLATE" || "MAC_ADDRESS" || "NAME" || "PASSWORD" || "PHONE" || "PIN" || "SWIFT_CODE" || "UK_NATIONAL_HEALTH_SERVICE_NUMBER" || "UK_NATIONAL_INSURANCE_NUMBER" || "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" || "URL" || "USERNAME" || "US_BANK_ACCOUNT_NUMBER" || "US_BANK_ROUTING_NUMBER" || "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" || "US_PASSPORT_NUMBER" || "US_SOCIAL_SECURITY_NUMBER" || "VEHICLE_IDENTIFICATION_NUMBER", // required
116
+ * action: "BLOCK" || "ANONYMIZE", // required
117
+ * },
118
+ * ],
119
+ * regexesConfig: [ // GuardrailRegexesConfig
120
+ * { // GuardrailRegexConfig
121
+ * name: "STRING_VALUE", // required
122
+ * description: "STRING_VALUE",
123
+ * pattern: "STRING_VALUE", // required
124
+ * action: "BLOCK" || "ANONYMIZE", // required
125
+ * },
126
+ * ],
127
+ * },
128
+ * blockedInputMessaging: "STRING_VALUE", // required
129
+ * blockedOutputsMessaging: "STRING_VALUE", // required
130
+ * kmsKeyId: "STRING_VALUE",
131
+ * };
132
+ * const command = new UpdateGuardrailCommand(input);
133
+ * const response = await client.send(command);
134
+ * // { // UpdateGuardrailResponse
135
+ * // guardrailId: "STRING_VALUE", // required
136
+ * // guardrailArn: "STRING_VALUE", // required
137
+ * // version: "STRING_VALUE", // required
138
+ * // updatedAt: new Date("TIMESTAMP"), // required
139
+ * // };
140
+ *
141
+ * ```
142
+ *
143
+ * @param UpdateGuardrailCommandInput - {@link UpdateGuardrailCommandInput}
144
+ * @returns {@link UpdateGuardrailCommandOutput}
145
+ * @see {@link UpdateGuardrailCommandInput} for command's `input` shape.
146
+ * @see {@link UpdateGuardrailCommandOutput} for command's `response` shape.
147
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
148
+ *
149
+ * @throws {@link AccessDeniedException} (client fault)
150
+ * <p>The request is denied because of missing access permissions.</p>
151
+ *
152
+ * @throws {@link ConflictException} (client fault)
153
+ * <p>Error occurred because of a conflict while performing an operation.</p>
154
+ *
155
+ * @throws {@link InternalServerException} (server fault)
156
+ * <p>An internal server error occurred. Retry your request.</p>
157
+ *
158
+ * @throws {@link ResourceNotFoundException} (client fault)
159
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
160
+ *
161
+ * @throws {@link ServiceQuotaExceededException} (client fault)
162
+ * <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
163
+ *
164
+ * @throws {@link ThrottlingException} (client fault)
165
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
166
+ *
167
+ * @throws {@link ValidationException} (client fault)
168
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
169
+ *
170
+ * @throws {@link BedrockServiceException}
171
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
172
+ *
173
+ * @public
174
+ */
175
+ export declare class UpdateGuardrailCommand extends UpdateGuardrailCommand_base {
176
+ }
@@ -26,7 +26,7 @@ declare const UpdateProvisionedModelThroughputCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Update a provisioned throughput. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Provisioned throughput</a> in the Bedrock User Guide.</p>
29
+ * <p>Updates the name or associated model for a Provisioned Throughput. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html">Provisioned Throughput</a> in the Amazon Bedrock User Guide.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
32
32
  * ```javascript
@@ -57,7 +57,7 @@ declare const UpdateProvisionedModelThroughputCommand_base: {
57
57
  * <p>An internal server error occurred. Retry your request.</p>
58
58
  *
59
59
  * @throws {@link ResourceNotFoundException} (client fault)
60
- * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
60
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
61
61
  *
62
62
  * @throws {@link ThrottlingException} (client fault)
63
63
  * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
@@ -1,20 +1,30 @@
1
+ export * from "./CreateEvaluationJobCommand";
2
+ export * from "./CreateGuardrailCommand";
3
+ export * from "./CreateGuardrailVersionCommand";
1
4
  export * from "./CreateModelCustomizationJobCommand";
2
5
  export * from "./CreateProvisionedModelThroughputCommand";
3
6
  export * from "./DeleteCustomModelCommand";
7
+ export * from "./DeleteGuardrailCommand";
4
8
  export * from "./DeleteModelInvocationLoggingConfigurationCommand";
5
9
  export * from "./DeleteProvisionedModelThroughputCommand";
6
10
  export * from "./GetCustomModelCommand";
11
+ export * from "./GetEvaluationJobCommand";
7
12
  export * from "./GetFoundationModelCommand";
13
+ export * from "./GetGuardrailCommand";
8
14
  export * from "./GetModelCustomizationJobCommand";
9
15
  export * from "./GetModelInvocationLoggingConfigurationCommand";
10
16
  export * from "./GetProvisionedModelThroughputCommand";
11
17
  export * from "./ListCustomModelsCommand";
18
+ export * from "./ListEvaluationJobsCommand";
12
19
  export * from "./ListFoundationModelsCommand";
20
+ export * from "./ListGuardrailsCommand";
13
21
  export * from "./ListModelCustomizationJobsCommand";
14
22
  export * from "./ListProvisionedModelThroughputsCommand";
15
23
  export * from "./ListTagsForResourceCommand";
16
24
  export * from "./PutModelInvocationLoggingConfigurationCommand";
25
+ export * from "./StopEvaluationJobCommand";
17
26
  export * from "./StopModelCustomizationJobCommand";
18
27
  export * from "./TagResourceCommand";
19
28
  export * from "./UntagResourceCommand";
29
+ export * from "./UpdateGuardrailCommand";
20
30
  export * from "./UpdateProvisionedModelThroughputCommand";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * <p>Describes the API operations for creating and managing Amazon Bedrock models.</p>
2
+ * <p>Describes the API operations for creating, managing, fine-turning, and evaluating Amazon Bedrock models.</p>
3
3
  *
4
4
  * @packageDocumentation
5
5
  */