|
936 | 936 | "shape":"ModelIdentifier",
|
937 | 937 | "documentation":"<p>The foundation model used for orchestration by the agent.</p>"
|
938 | 938 | },
|
| 939 | + "guardrailConfiguration":{ |
| 940 | + "shape":"GuardrailConfiguration", |
| 941 | + "documentation":"<p>The guardrails configuration assigned to the agent.</p>" |
| 942 | + }, |
939 | 943 | "idleSessionTTLInSeconds":{
|
940 | 944 | "shape":"SessionTTL",
|
941 | 945 | "documentation":"<p>The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.</p> <p>A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.</p>"
|
|
1293 | 1297 | "type":"string",
|
1294 | 1298 | "max":2048,
|
1295 | 1299 | "min":0,
|
1296 |
| - "pattern":"^arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/(service-role/)?AmazonBedrockExecutionRoleForAgents_.+$" |
| 1300 | + "pattern":"^arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/.+$" |
1297 | 1301 | },
|
1298 | 1302 | "AgentStatus":{
|
1299 | 1303 | "type":"string",
|
|
1339 | 1343 | "shape":"Description",
|
1340 | 1344 | "documentation":"<p>The description of the agent.</p>"
|
1341 | 1345 | },
|
| 1346 | + "guardrailConfiguration":{ |
| 1347 | + "shape":"GuardrailConfiguration", |
| 1348 | + "documentation":"<p>The details of the guardrails configuration in the agent summary.</p>" |
| 1349 | + }, |
1342 | 1350 | "latestAgentVersion":{
|
1343 | 1351 | "shape":"Version",
|
1344 | 1352 | "documentation":"<p>The latest version of the agent.</p>"
|
|
1404 | 1412 | "shape":"ModelIdentifier",
|
1405 | 1413 | "documentation":"<p>The foundation model that the version invokes.</p>"
|
1406 | 1414 | },
|
| 1415 | + "guardrailConfiguration":{ |
| 1416 | + "shape":"GuardrailConfiguration", |
| 1417 | + "documentation":"<p>The guardrails configuration assigned to the agent version.</p>" |
| 1418 | + }, |
1407 | 1419 | "idleSessionTTLInSeconds":{
|
1408 | 1420 | "shape":"SessionTTL",
|
1409 | 1421 | "documentation":"<p>The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.</p> <p>A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.</p>"
|
|
1467 | 1479 | "shape":"Description",
|
1468 | 1480 | "documentation":"<p>The description of the version of the agent.</p>"
|
1469 | 1481 | },
|
| 1482 | + "guardrailConfiguration":{ |
| 1483 | + "shape":"GuardrailConfiguration", |
| 1484 | + "documentation":"<p>The details of the guardrails configuration in the agent version summary.</p>" |
| 1485 | + }, |
1470 | 1486 | "updatedAt":{
|
1471 | 1487 | "shape":"DateTimestamp",
|
1472 | 1488 | "documentation":"<p>The time at which the version was last updated.</p>"
|
|
1526 | 1542 | },
|
1527 | 1543 | "BedrockEmbeddingModelArn":{
|
1528 | 1544 | "type":"string",
|
1529 |
| - "max":1011, |
| 1545 | + "max":2048, |
1530 | 1546 | "min":20,
|
1531 |
| - "pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}))$" |
| 1547 | + "pattern":"^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$" |
1532 | 1548 | },
|
1533 | 1549 | "Boolean":{
|
1534 | 1550 | "type":"boolean",
|
|
1726 | 1742 | "shape":"ModelIdentifier",
|
1727 | 1743 | "documentation":"<p>The foundation model to be used for orchestration by the agent you create.</p>"
|
1728 | 1744 | },
|
| 1745 | + "guardrailConfiguration":{ |
| 1746 | + "shape":"GuardrailConfiguration", |
| 1747 | + "documentation":"<p>The unique Guardrail configuration assigned to the agent when it is created.</p>" |
| 1748 | + }, |
1729 | 1749 | "idleSessionTTLInSeconds":{
|
1730 | 1750 | "shape":"SessionTTL",
|
1731 | 1751 | "documentation":"<p>The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.</p> <p>A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.</p>"
|
|
2630 | 2650 | }
|
2631 | 2651 | }
|
2632 | 2652 | },
|
| 2653 | + "GuardrailConfiguration":{ |
| 2654 | + "type":"structure", |
| 2655 | + "members":{ |
| 2656 | + "guardrailIdentifier":{ |
| 2657 | + "shape":"GuardrailIdentifier", |
| 2658 | + "documentation":"<p>The guardrails identifier assigned to the guardrails configuration.</p>" |
| 2659 | + }, |
| 2660 | + "guardrailVersion":{ |
| 2661 | + "shape":"GuardrailVersion", |
| 2662 | + "documentation":"<p>The guardrails version assigned to the guardrails configuration.</p>" |
| 2663 | + } |
| 2664 | + }, |
| 2665 | + "documentation":"<p>The details of the guardrails configuration.</p>" |
| 2666 | + }, |
| 2667 | + "GuardrailIdentifier":{ |
| 2668 | + "type":"string", |
| 2669 | + "max":2048, |
| 2670 | + "min":0, |
| 2671 | + "pattern":"^(([a-z0-9]+)|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+))$" |
| 2672 | + }, |
| 2673 | + "GuardrailVersion":{ |
| 2674 | + "type":"string", |
| 2675 | + "pattern":"^(([0-9]{1,8})|(DRAFT))$" |
| 2676 | + }, |
2633 | 2677 | "Id":{
|
2634 | 2678 | "type":"string",
|
2635 | 2679 | "pattern":"^[0-9a-zA-Z]{10}$"
|
|
2879 | 2923 | },
|
2880 | 2924 | "Instruction":{
|
2881 | 2925 | "type":"string",
|
2882 |
| - "max":1200, |
| 2926 | + "max":4000, |
2883 | 2927 | "min":40,
|
2884 | 2928 | "sensitive":true
|
2885 | 2929 | },
|
|
3699 | 3743 | "members":{
|
3700 | 3744 | "basePromptTemplate":{
|
3701 | 3745 | "shape":"BasePromptTemplate",
|
3702 |
| - "documentation":"<p>Defines the prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html\">Prompt template placeholder variables</a>.</p>" |
| 3746 | + "documentation":"<p>Defines the prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html\">Prompt template placeholder variables</a>. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts-configure.html\">Configure the prompt templates</a>.</p>" |
3703 | 3747 | },
|
3704 | 3748 | "inferenceConfiguration":{
|
3705 | 3749 | "shape":"InferenceConfiguration",
|
|
3736 | 3780 | "members":{
|
3737 | 3781 | "overrideLambda":{
|
3738 | 3782 | "shape":"LambdaArn",
|
3739 |
| - "documentation":"<p>The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the <code>promptConfigurations</code> must contain a <code>parserMode</code> value that is set to <code>OVERRIDDEN</code>.</p>" |
| 3783 | + "documentation":"<p>The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the <code>promptConfigurations</code> must contain a <code>parserMode</code> value that is set to <code>OVERRIDDEN</code>. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/lambda-parser.html\">Parser Lambda function in Agents for Amazon Bedrock</a>.</p>" |
3740 | 3784 | },
|
3741 | 3785 | "promptConfigurations":{
|
3742 | 3786 | "shape":"PromptConfigurations",
|
|
4421 | 4465 | "shape":"ModelIdentifier",
|
4422 | 4466 | "documentation":"<p>Specifies a new foundation model to be used for orchestration by the agent.</p>"
|
4423 | 4467 | },
|
| 4468 | + "guardrailConfiguration":{ |
| 4469 | + "shape":"GuardrailConfiguration", |
| 4470 | + "documentation":"<p>The unique Guardrail configuration assigned to the agent when it is updated.</p>" |
| 4471 | + }, |
4424 | 4472 | "idleSessionTTLInSeconds":{
|
4425 | 4473 | "shape":"SessionTTL",
|
4426 | 4474 | "documentation":"<p>The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.</p> <p>A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.</p>"
|
|
0 commit comments