Skip to content

Commit b57c4ac

Browse files
author
awstools
committed
feat(client-bedrock): Add support for tiers in Content Filters and Denied Topics for Amazon Bedrock Guardrails.
1 parent c382ce6 commit b57c4ac

File tree

7 files changed

+555
-257
lines changed

7 files changed

+555
-257
lines changed

clients/client-bedrock/src/commands/CreateGuardrailCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ export interface CreateGuardrailCommandOutput extends CreateGuardrailResponse, _
5757
* outputEnabled: true || false,
5858
* },
5959
* ],
60+
* tierConfig: { // GuardrailTopicsTierConfig
61+
* tierName: "CLASSIC" || "STANDARD", // required
62+
* },
6063
* },
6164
* contentPolicyConfig: { // GuardrailContentPolicyConfig
6265
* filtersConfig: [ // GuardrailContentFiltersConfig // required
@@ -76,6 +79,9 @@ export interface CreateGuardrailCommandOutput extends CreateGuardrailResponse, _
7679
* outputEnabled: true || false,
7780
* },
7881
* ],
82+
* tierConfig: { // GuardrailContentFiltersTierConfig
83+
* tierName: "CLASSIC" || "STANDARD", // required
84+
* },
7985
* },
8086
* wordPolicyConfig: { // GuardrailWordPolicyConfig
8187
* wordsConfig: [ // GuardrailWordsConfig

clients/client-bedrock/src/commands/GetGuardrailCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ export interface GetGuardrailCommandOutput extends GetGuardrailResponse, __Metad
6363
* // outputEnabled: true || false,
6464
* // },
6565
* // ],
66+
* // tier: { // GuardrailTopicsTier
67+
* // tierName: "CLASSIC" || "STANDARD", // required
68+
* // },
6669
* // },
6770
* // contentPolicy: { // GuardrailContentPolicy
6871
* // filters: [ // GuardrailContentFilters
@@ -82,6 +85,9 @@ export interface GetGuardrailCommandOutput extends GetGuardrailResponse, __Metad
8285
* // outputEnabled: true || false,
8386
* // },
8487
* // ],
88+
* // tier: { // GuardrailContentFiltersTier
89+
* // tierName: "CLASSIC" || "STANDARD", // required
90+
* // },
8591
* // },
8692
* // wordPolicy: { // GuardrailWordPolicy
8793
* // words: [ // GuardrailWords

clients/client-bedrock/src/commands/UpdateGuardrailCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ export interface UpdateGuardrailCommandOutput extends UpdateGuardrailResponse, _
5858
* outputEnabled: true || false,
5959
* },
6060
* ],
61+
* tierConfig: { // GuardrailTopicsTierConfig
62+
* tierName: "CLASSIC" || "STANDARD", // required
63+
* },
6164
* },
6265
* contentPolicyConfig: { // GuardrailContentPolicyConfig
6366
* filtersConfig: [ // GuardrailContentFiltersConfig // required
@@ -77,6 +80,9 @@ export interface UpdateGuardrailCommandOutput extends UpdateGuardrailResponse, _
7780
* outputEnabled: true || false,
7881
* },
7982
* ],
83+
* tierConfig: { // GuardrailContentFiltersTierConfig
84+
* tierName: "CLASSIC" || "STANDARD", // required
85+
* },
8086
* },
8187
* wordPolicyConfig: { // GuardrailWordPolicyConfig
8288
* wordsConfig: [ // GuardrailWordsConfig

0 commit comments

Comments
 (0)