1+ [
2+ {
3+ "scope" : " https://bedrock-runtime.us-east-1.amazonaws.com:443" ,
4+ "method" : " POST" ,
5+ "path" : " /model/amazon.titan-text-express-v1/invoke" ,
6+ "body" : {
7+ "inputText" : " Say this is a test" ,
8+ "textGenerationConfig" : {
9+ "maxTokenCount" : 10 ,
10+ "temperature" : 0.8 ,
11+ "topP" : 1 ,
12+ "stopSequences" : [
13+ " |"
14+ ]
15+ }
16+ },
17+ "status" : 403 ,
18+ "response" : {
19+ "message" : " Signature expired: 20250130T064508Z is now earlier than 20250210T013411Z (20250210T013911Z - 5 min.)"
20+ },
21+ "rawHeaders" : [
22+ " Date" ,
23+ " Mon, 10 Feb 2025 01:39:11 GMT" ,
24+ " Content-Type" ,
25+ " application/json" ,
26+ " Content-Length" ,
27+ " 114" ,
28+ " Connection" ,
29+ " keep-alive" ,
30+ " x-amzn-RequestId" ,
31+ " 2737d2f5-442b-41b5-85bb-b7394008fbb7" ,
32+ " x-amzn-ErrorType" ,
33+ " InvalidSignatureException:http://internal.amazon.com/coral/com.amazon.coral.service/"
34+ ],
35+ "responseIsBinary" : false
36+ },
37+ {
38+ "scope" : " https://bedrock-runtime.us-east-1.amazonaws.com:443" ,
39+ "method" : " POST" ,
40+ "path" : " /model/amazon.titan-text-express-v1/invoke" ,
41+ "body" : {
42+ "inputText" : " Say this is a test" ,
43+ "textGenerationConfig" : {
44+ "maxTokenCount" : 10 ,
45+ "temperature" : 0.8 ,
46+ "topP" : 1 ,
47+ "stopSequences" : [
48+ " |"
49+ ]
50+ }
51+ },
52+ "status" : 200 ,
53+ "response" : {
54+ "inputTextTokenCount" : 5 ,
55+ "results" : [
56+ {
57+ "tokenCount" : 10 ,
58+ "outputText" : " \n Hello! I am a computer program designed to" ,
59+ "completionReason" : " LENGTH"
60+ }
61+ ]
62+ },
63+ "rawHeaders" : [
64+ " Date" ,
65+ " Mon, 10 Feb 2025 01:39:12 GMT" ,
66+ " Content-Type" ,
67+ " application/json" ,
68+ " Content-Length" ,
69+ " 143" ,
70+ " Connection" ,
71+ " keep-alive" ,
72+ " x-amzn-RequestId" ,
73+ " 81039412-bc01-4c17-a89f-12534a3aca0a" ,
74+ " X-Amzn-Bedrock-Invocation-Latency" ,
75+ " 767" ,
76+ " X-Amzn-Bedrock-Output-Token-Count" ,
77+ " 10" ,
78+ " X-Amzn-Bedrock-Input-Token-Count" ,
79+ " 5"
80+ ],
81+ "responseIsBinary" : false
82+ }
83+ ]
0 commit comments