Skip to content

Commit 7755c06

Browse files
feat: update AWS API models
1 parent 3483a30 commit 7755c06

File tree

6 files changed

+618
-181
lines changed

6 files changed

+618
-181
lines changed

codegen/sdk/aws-models/bedrock-agent-runtime.json

Lines changed: 82 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@
127127
"traits": {
128128
"smithy.api#documentation": "<p>The JSON-formatted string returned by the API invoked by the action group.</p>"
129129
}
130+
},
131+
"metadata": {
132+
"target": "com.amazonaws.bedrockagentruntime#Metadata",
133+
"traits": {
134+
"smithy.api#documentation": "<p>Contains information about the action group output.</p>"
135+
}
130136
}
131137
},
132138
"traits": {
@@ -413,6 +419,12 @@
413419
"traits": {
414420
"smithy.api#documentation": "<p>The output's output.</p>"
415421
}
422+
},
423+
"metadata": {
424+
"target": "com.amazonaws.bedrockagentruntime#Metadata",
425+
"traits": {
426+
"smithy.api#documentation": "<p>Contains information about the output from the agent collaborator.</p>"
427+
}
416428
}
417429
},
418430
"traits": {
@@ -1750,6 +1762,12 @@
17501762
"traits": {
17511763
"smithy.api#documentation": "<p>Indicates if the execution of the code timed out.</p>"
17521764
}
1765+
},
1766+
"metadata": {
1767+
"target": "com.amazonaws.bedrockagentruntime#Metadata",
1768+
"traits": {
1769+
"smithy.api#documentation": "<p>Contains information about the output from the code interpreter.</p>"
1770+
}
17531771
}
17541772
},
17551773
"traits": {
@@ -2702,6 +2720,18 @@
27022720
"traits": {
27032721
"smithy.api#documentation": "<p>The reason the interaction failed.</p>"
27042722
}
2723+
},
2724+
"failureCode": {
2725+
"target": "smithy.api#Integer",
2726+
"traits": {
2727+
"smithy.api#documentation": "<p>The failure code for the trace.</p>"
2728+
}
2729+
},
2730+
"metadata": {
2731+
"target": "com.amazonaws.bedrockagentruntime#Metadata",
2732+
"traits": {
2733+
"smithy.api#documentation": "<p>Information about the failure that occurred.</p>"
2734+
}
27052735
}
27062736
},
27072737
"traits": {
@@ -2873,6 +2903,12 @@
28732903
"traits": {
28742904
"smithy.api#documentation": "<p>The text in the response to the user.</p>"
28752905
}
2906+
},
2907+
"metadata": {
2908+
"target": "com.amazonaws.bedrockagentruntime#Metadata",
2909+
"traits": {
2910+
"smithy.api#documentation": "<p>Contains information about the invoke agent operation.</p>"
2911+
}
28762912
}
28772913
},
28782914
"traits": {
@@ -4953,6 +4989,12 @@
49534989
"traits": {
49544990
"smithy.api#documentation": "<p>The details of the output assessments used in the Guardrail Trace.</p>"
49554991
}
4992+
},
4993+
"metadata": {
4994+
"target": "com.amazonaws.bedrockagentruntime#Metadata",
4995+
"traits": {
4996+
"smithy.api#documentation": "<p>Contains information about the Guardrail output.</p>"
4997+
}
49564998
}
49574999
},
49585000
"traits": {
@@ -6535,6 +6577,12 @@
65356577
"traits": {
65366578
"smithy.api#documentation": "<p>Contains metadata about the sources cited for the generated response.</p>"
65376579
}
6580+
},
6581+
"metadata": {
6582+
"target": "com.amazonaws.bedrockagentruntime#Metadata",
6583+
"traits": {
6584+
"smithy.api#documentation": "<p>Contains information about the knowledge base output.</p>"
6585+
}
65386586
}
65396587
},
65406588
"traits": {
@@ -7207,15 +7255,47 @@
72077255
"com.amazonaws.bedrockagentruntime#Metadata": {
72087256
"type": "structure",
72097257
"members": {
7258+
"startTime": {
7259+
"target": "com.amazonaws.bedrockagentruntime#DateTimestamp",
7260+
"traits": {
7261+
"smithy.api#documentation": "<p>In the final response, <code>startTime</code> is the start time of the agent invocation operation.</p>",
7262+
"smithy.api#timestampFormat": "date-time"
7263+
}
7264+
},
7265+
"endTime": {
7266+
"target": "com.amazonaws.bedrockagentruntime#DateTimestamp",
7267+
"traits": {
7268+
"smithy.api#documentation": "<p>In the final response, <code>endTime</code> is the end time time of the agent invocation operation.</p>",
7269+
"smithy.api#timestampFormat": "date-time"
7270+
}
7271+
},
7272+
"totalTimeMs": {
7273+
"target": "smithy.api#Long",
7274+
"traits": {
7275+
"smithy.api#documentation": "<p> The total execution time for the specific invocation being processed (model, knowledge base, guardrail, agent collaborator, or code interpreter). It represents how long the individual invocation took.</p>"
7276+
}
7277+
},
7278+
"operationTotalTimeMs": {
7279+
"target": "smithy.api#Long",
7280+
"traits": {
7281+
"smithy.api#documentation": "<p>The total time it took for the agent to complete execution. This field is only set for the final response.</p>"
7282+
}
7283+
},
7284+
"clientRequestId": {
7285+
"target": "smithy.api#String",
7286+
"traits": {
7287+
"smithy.api#documentation": "<p>A unique identifier associated with the downstream invocation. This ID can be used for tracing, debugging, and identifying specific invocations in customer logs or systems.</p>"
7288+
}
7289+
},
72107290
"usage": {
72117291
"target": "com.amazonaws.bedrockagentruntime#Usage",
72127292
"traits": {
7213-
"smithy.api#documentation": "<p>Contains details of the foundation model usage.</p>"
7293+
"smithy.api#documentation": "<p>Specific to model invocation and contains details about the usage of a foundation model.</p>"
72147294
}
72157295
}
72167296
},
72177297
"traits": {
7218-
"smithy.api#documentation": "<p>Provides details of the foundation model.</p>",
7298+
"smithy.api#documentation": "<p>Provides information about the execution process for different types of invocations, such as model invocation, knowledge base invocation, agent collaborator invocation, guardrail invocation, and code interpreter Invocation.</p>",
72197299
"smithy.api#sensitive": {}
72207300
}
72217301
},

codegen/sdk/aws-models/bedrock.json

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,12 @@
14631463
"smithy.api#documentation": "<p>The contextual grounding policy configuration used to create a guardrail.</p>"
14641464
}
14651465
},
1466+
"crossRegionConfig": {
1467+
"target": "com.amazonaws.bedrock#GuardrailCrossRegionConfig",
1468+
"traits": {
1469+
"smithy.api#documentation": "<p>The system-defined guardrail profile that you're using with your guardrail. Guardrail profiles define the destination Amazon Web Services Regions where guardrail inference requests can be automatically routed.</p>\n <p>For more information, see the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html\">Amazon Bedrock User Guide</a>.</p>"
1470+
}
1471+
},
14661472
"blockedInputMessaging": {
14671473
"target": "com.amazonaws.bedrock#GuardrailBlockedMessaging",
14681474
"traits": {
@@ -5088,6 +5094,12 @@
50885094
"smithy.api#documentation": "<p>The contextual grounding policy used in the guardrail.</p>"
50895095
}
50905096
},
5097+
"crossRegionDetails": {
5098+
"target": "com.amazonaws.bedrock#GuardrailCrossRegionDetails",
5099+
"traits": {
5100+
"smithy.api#documentation": "<p>Details about the system-defined guardrail profile that you're using with your guardrail, including the guardrail profile ID and Amazon Resource Name (ARN).</p>"
5101+
}
5102+
},
50915103
"createdAt": {
50925104
"target": "com.amazonaws.bedrock#Timestamp",
50935105
"traits": {
@@ -6851,6 +6863,71 @@
68516863
"smithy.api#documentation": "<p>The policy configuration details for the guardrails contextual grounding policy.</p>"
68526864
}
68536865
},
6866+
"com.amazonaws.bedrock#GuardrailCrossRegionConfig": {
6867+
"type": "structure",
6868+
"members": {
6869+
"guardrailProfileIdentifier": {
6870+
"target": "com.amazonaws.bedrock#GuardrailCrossRegionGuardrailProfileIdentifier",
6871+
"traits": {
6872+
"smithy.api#documentation": "<p>The ID or Amazon Resource Name (ARN) of the guardrail profile that your guardrail is using. Guardrail profile availability depends on your current Amazon Web Services Region. For more information, see the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region-support.html\">Amazon Bedrock User Guide</a>.</p>",
6873+
"smithy.api#required": {}
6874+
}
6875+
}
6876+
},
6877+
"traits": {
6878+
"smithy.api#documentation": "<p>The system-defined guardrail profile that you're using with your guardrail. Guardrail profiles define the destination Amazon Web Services Regions where guardrail inference requests can be automatically routed. Using guardrail profiles helps maintain guardrail performance and reliability when demand increases.</p>\n <p>For more information, see the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html\">Amazon Bedrock User Guide</a>.</p>"
6879+
}
6880+
},
6881+
"com.amazonaws.bedrock#GuardrailCrossRegionDetails": {
6882+
"type": "structure",
6883+
"members": {
6884+
"guardrailProfileId": {
6885+
"target": "com.amazonaws.bedrock#GuardrailCrossRegionGuardrailProfileId",
6886+
"traits": {
6887+
"smithy.api#documentation": "<p>The ID of the guardrail profile that your guardrail is using. Profile availability\n depends on your current Amazon Web Services Region. For more information, see the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region-support.html\">Amazon Bedrock User Guide</a>.</p>"
6888+
}
6889+
},
6890+
"guardrailProfileArn": {
6891+
"target": "com.amazonaws.bedrock#GuardrailCrossRegionGuardrailProfileArn",
6892+
"traits": {
6893+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the guardrail profile that you're using with your guardrail.</p>"
6894+
}
6895+
}
6896+
},
6897+
"traits": {
6898+
"smithy.api#documentation": "<p>Contains details about the system-defined guardrail profile that you're using with your guardrail for cross-Region inference.</p>\n <p>For more information, see the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html\">Amazon Bedrock User Guide</a>.</p>"
6899+
}
6900+
},
6901+
"com.amazonaws.bedrock#GuardrailCrossRegionGuardrailProfileArn": {
6902+
"type": "string",
6903+
"traits": {
6904+
"smithy.api#length": {
6905+
"min": 20,
6906+
"max": 2048
6907+
},
6908+
"smithy.api#pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail-profile/[a-z0-9-]+[.]{1}guardrail[.]{1}v[0-9:]+$"
6909+
}
6910+
},
6911+
"com.amazonaws.bedrock#GuardrailCrossRegionGuardrailProfileId": {
6912+
"type": "string",
6913+
"traits": {
6914+
"smithy.api#length": {
6915+
"min": 15,
6916+
"max": 30
6917+
},
6918+
"smithy.api#pattern": "^[a-z0-9-]+[.]{1}guardrail[.]{1}v[0-9:]+$"
6919+
}
6920+
},
6921+
"com.amazonaws.bedrock#GuardrailCrossRegionGuardrailProfileIdentifier": {
6922+
"type": "string",
6923+
"traits": {
6924+
"smithy.api#length": {
6925+
"min": 15,
6926+
"max": 2048
6927+
},
6928+
"smithy.api#pattern": "^[a-z0-9-]+[.]{1}guardrail[.]{1}v[0-9:]+|arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail-profile/[a-z0-9-]+[.]{1}guardrail[.]{1}v[0-9:]+$"
6929+
}
6930+
},
68546931
"com.amazonaws.bedrock#GuardrailDescription": {
68556932
"type": "string",
68566933
"traits": {
@@ -7749,6 +7826,12 @@
77497826
"smithy.api#documentation": "<p>The date and time at which the guardrail was last updated.</p>",
77507827
"smithy.api#required": {}
77517828
}
7829+
},
7830+
"crossRegionDetails": {
7831+
"target": "com.amazonaws.bedrock#GuardrailCrossRegionDetails",
7832+
"traits": {
7833+
"smithy.api#documentation": "<p>Details about the system-defined guardrail profile that you're using with your guardrail, including the guardrail profile ID and Amazon Resource Name (ARN).</p>"
7834+
}
77527835
}
77537836
},
77547837
"traits": {
@@ -13599,6 +13682,12 @@
1359913682
"smithy.api#documentation": "<p>The contextual grounding policy configuration used to update a guardrail.</p>"
1360013683
}
1360113684
},
13685+
"crossRegionConfig": {
13686+
"target": "com.amazonaws.bedrock#GuardrailCrossRegionConfig",
13687+
"traits": {
13688+
"smithy.api#documentation": "<p>The system-defined guardrail profile that you're using with your guardrail. Guardrail profiles define the destination Amazon Web Services Regions where guardrail inference requests can be automatically routed.</p>\n <p>For more information, see the <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html\">Amazon Bedrock User Guide</a>.</p>"
13689+
}
13690+
},
1360213691
"blockedInputMessaging": {
1360313692
"target": "com.amazonaws.bedrock#GuardrailBlockedMessaging",
1360413693
"traits": {

codegen/sdk/aws-models/controltower.json

Lines changed: 158 additions & 51 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)