Skip to content

Commit 74774ae

Browse files
Update SDK models
1 parent 5d40577 commit 74774ae

File tree

486 files changed

+44203
-7237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

486 files changed

+44203
-7237
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[workspace]
22
resolver = "2"
33
exclude = [
4-
"examples/examples",
54
"examples/cross_service",
6-
"examples/test-utils",
75
"examples/lambda",
6+
"examples/test-utils",
7+
"examples/examples",
88
"examples/webassembly",
9-
"tests/telemetry",
109
"tests/no-default-features",
10+
"tests/telemetry",
1111
"tests/webassembly"
1212
]
1313
members = [

aws-models/bedrock-runtime.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,6 +1058,32 @@
10581058
"smithy.api#sensitive": {}
10591059
}
10601060
},
1061+
"com.amazonaws.bedrockruntime#CachePointBlock": {
1062+
"type": "structure",
1063+
"members": {
1064+
"type": {
1065+
"target": "com.amazonaws.bedrockruntime#CachePointType",
1066+
"traits": {
1067+
"smithy.api#documentation": "<p>Specifies the type of cache point within the CachePointBlock.</p>",
1068+
"smithy.api#required": {}
1069+
}
1070+
}
1071+
},
1072+
"traits": {
1073+
"smithy.api#documentation": "<p>Defines a section of content to be cached for reuse in subsequent API calls.</p>"
1074+
}
1075+
},
1076+
"com.amazonaws.bedrockruntime#CachePointType": {
1077+
"type": "enum",
1078+
"members": {
1079+
"DEFAULT": {
1080+
"target": "smithy.api#Unit",
1081+
"traits": {
1082+
"smithy.api#enumValue": "default"
1083+
}
1084+
}
1085+
}
1086+
},
10611087
"com.amazonaws.bedrockruntime#ConflictException": {
10621088
"type": "structure",
10631089
"members": {
@@ -1116,6 +1142,12 @@
11161142
"smithy.api#documentation": "<p>Contains the content to assess with the guardrail. If you don't specify\n <code>guardContent</code> in a call to the Converse API, the guardrail (if passed in the\n Converse API) assesses the entire message.</p>\n <p>For more information, see <i>Use a guardrail with the Converse API</i> in the <i>Amazon Bedrock User Guide</i>.\n\n </p>"
11171143
}
11181144
},
1145+
"cachePoint": {
1146+
"target": "com.amazonaws.bedrockruntime#CachePointBlock",
1147+
"traits": {
1148+
"smithy.api#documentation": "<p>CachePoint to include in the message.</p>"
1149+
}
1150+
},
11191151
"reasoningContent": {
11201152
"target": "com.amazonaws.bedrockruntime#ReasoningContentBlock",
11211153
"traits": {
@@ -4769,6 +4801,12 @@
47694801
"traits": {
47704802
"smithy.api#documentation": "<p>A content block to assess with the guardrail. Use with the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html\">Converse</a> or <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html\">ConverseStream</a> API operations. </p>\n <p>For more information, see <i>Use a guardrail with the Converse\n API</i> in the <i>Amazon Bedrock User Guide</i>.</p>"
47714803
}
4804+
},
4805+
"cachePoint": {
4806+
"target": "com.amazonaws.bedrockruntime#CachePointBlock",
4807+
"traits": {
4808+
"smithy.api#documentation": "<p>CachePoint to include in the system prompt.</p>"
4809+
}
47724810
}
47734811
},
47744812
"traits": {
@@ -4892,6 +4930,24 @@
48924930
},
48934931
"smithy.api#required": {}
48944932
}
4933+
},
4934+
"cacheReadInputTokens": {
4935+
"target": "smithy.api#Integer",
4936+
"traits": {
4937+
"smithy.api#documentation": "<p>The number of input tokens read from the cache for the request.</p>",
4938+
"smithy.api#range": {
4939+
"min": 0
4940+
}
4941+
}
4942+
},
4943+
"cacheWriteInputTokens": {
4944+
"target": "smithy.api#Integer",
4945+
"traits": {
4946+
"smithy.api#documentation": "<p>The number of input tokens written to the cache for the request.</p>",
4947+
"smithy.api#range": {
4948+
"min": 0
4949+
}
4950+
}
48954951
}
48964952
},
48974953
"traits": {
@@ -4906,6 +4962,12 @@
49064962
"traits": {
49074963
"smithy.api#documentation": "<p>The specfication for the tool.</p>"
49084964
}
4965+
},
4966+
"cachePoint": {
4967+
"target": "com.amazonaws.bedrockruntime#CachePointBlock",
4968+
"traits": {
4969+
"smithy.api#documentation": "<p>CachePoint to include in the tool configuration.</p>"
4970+
}
49094971
}
49104972
},
49114973
"traits": {

0 commit comments

Comments
 (0)