Skip to content

Commit 95f68c5

Browse files
feat: update AWS API models
1 parent 0506f3d commit 95f68c5

File tree

4 files changed

+184
-13
lines changed

4 files changed

+184
-13
lines changed

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

Lines changed: 86 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2301,9 +2301,25 @@
23012301
"traits": {
23022302
"smithy.api#enumValue": "SUCCESS"
23032303
}
2304+
},
2305+
"INPUT_REQUIRED": {
2306+
"target": "smithy.api#Unit",
2307+
"traits": {
2308+
"smithy.api#enumValue": "INPUT_REQUIRED"
2309+
}
23042310
}
23052311
}
23062312
},
2313+
"com.amazonaws.bedrockagentruntime#FlowExecutionId": {
2314+
"type": "string",
2315+
"traits": {
2316+
"smithy.api#length": {
2317+
"min": 2,
2318+
"max": 100
2319+
},
2320+
"smithy.api#pattern": "^[0-9a-zA-Z._:-]+$"
2321+
}
2322+
},
23072323
"com.amazonaws.bedrockagentruntime#FlowIdentifier": {
23082324
"type": "string",
23092325
"traits": {
@@ -2326,8 +2342,7 @@
23262342
"nodeOutputName": {
23272343
"target": "com.amazonaws.bedrockagentruntime#NodeOutputName",
23282344
"traits": {
2329-
"smithy.api#documentation": "<p>The name of the output from the flow input node that begins the prompt flow.</p>",
2330-
"smithy.api#required": {}
2345+
"smithy.api#documentation": "<p>The name of the output from the flow input node that begins the prompt flow.</p>"
23312346
}
23322347
},
23332348
"content": {
@@ -2336,6 +2351,12 @@
23362351
"smithy.api#documentation": "<p>Contains information about an input into the prompt flow.</p>",
23372352
"smithy.api#required": {}
23382353
}
2354+
},
2355+
"nodeInputName": {
2356+
"target": "com.amazonaws.bedrockagentruntime#NodeInputName",
2357+
"traits": {
2358+
"smithy.api#documentation": "<p>The name of the input from the flow input node.</p>"
2359+
}
23392360
}
23402361
},
23412362
"traits": {
@@ -2369,6 +2390,50 @@
23692390
}
23702391
}
23712392
},
2393+
"com.amazonaws.bedrockagentruntime#FlowMultiTurnInputContent": {
2394+
"type": "union",
2395+
"members": {
2396+
"document": {
2397+
"target": "smithy.api#Document",
2398+
"traits": {
2399+
"smithy.api#documentation": "<p>The requested additional input to send back to the multi-turn flow node.</p>"
2400+
}
2401+
}
2402+
},
2403+
"traits": {
2404+
"smithy.api#documentation": "<p>The content structure containing input information for multi-turn flow interactions.</p>"
2405+
}
2406+
},
2407+
"com.amazonaws.bedrockagentruntime#FlowMultiTurnInputRequestEvent": {
2408+
"type": "structure",
2409+
"members": {
2410+
"nodeName": {
2411+
"target": "com.amazonaws.bedrockagentruntime#NodeName",
2412+
"traits": {
2413+
"smithy.api#documentation": "<p>The name of the node in the flow that is requesting the input.</p>",
2414+
"smithy.api#required": {}
2415+
}
2416+
},
2417+
"nodeType": {
2418+
"target": "com.amazonaws.bedrockagentruntime#NodeType",
2419+
"traits": {
2420+
"smithy.api#documentation": "<p>The type of the node in the flow that is requesting the input.</p>",
2421+
"smithy.api#required": {}
2422+
}
2423+
},
2424+
"content": {
2425+
"target": "com.amazonaws.bedrockagentruntime#FlowMultiTurnInputContent",
2426+
"traits": {
2427+
"smithy.api#documentation": "<p>The content payload containing the input request details for the multi-turn interaction.</p>",
2428+
"smithy.api#required": {}
2429+
}
2430+
}
2431+
},
2432+
"traits": {
2433+
"smithy.api#documentation": "<p>Response object from the flow multi-turn node requesting additional information.</p>",
2434+
"smithy.api#sensitive": {}
2435+
}
2436+
},
23722437
"com.amazonaws.bedrockagentruntime#FlowOutputContent": {
23732438
"type": "union",
23742439
"members": {
@@ -2495,6 +2560,12 @@
24952560
"traits": {
24962561
"smithy.api#documentation": "<p>There was an issue with a dependency due to a server issue. Retry your request.</p>"
24972562
}
2563+
},
2564+
"flowMultiTurnInputRequestEvent": {
2565+
"target": "com.amazonaws.bedrockagentruntime#FlowMultiTurnInputRequestEvent",
2566+
"traits": {
2567+
"smithy.api#documentation": "<p>The event stream containing the multi-turn input request information from the flow.</p>"
2568+
}
24982569
}
24992570
},
25002571
"traits": {
@@ -4868,6 +4939,12 @@
48684939
"traits": {
48694940
"smithy.api#documentation": "<p>Model performance settings for the request.</p>"
48704941
}
4942+
},
4943+
"executionId": {
4944+
"target": "com.amazonaws.bedrockagentruntime#FlowExecutionId",
4945+
"traits": {
4946+
"smithy.api#documentation": "<p>The unique identifier for the current flow execution. If you don't provide a value, Amazon Bedrock creates the identifier for you. </p>"
4947+
}
48714948
}
48724949
},
48734950
"traits": {
@@ -4884,6 +4961,13 @@
48844961
"smithy.api#httpPayload": {},
48854962
"smithy.api#required": {}
48864963
}
4964+
},
4965+
"executionId": {
4966+
"target": "com.amazonaws.bedrockagentruntime#FlowExecutionId",
4967+
"traits": {
4968+
"smithy.api#documentation": "<p>The unique identifier for the current flow execution.</p>",
4969+
"smithy.api#httpHeader": "x-amz-bedrock-flow-execution-id"
4970+
}
48874971
}
48884972
},
48894973
"traits": {

codegen/sdk/aws-models/glue.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,7 +1838,7 @@
18381838
"Timeout": {
18391839
"target": "com.amazonaws.glue#Timeout",
18401840
"traits": {
1841-
"smithy.api#documentation": "<p>The <code>JobRun</code> timeout in minutes. This is the maximum time that a job run can\n consume resources before it is terminated and enters <code>TIMEOUT</code> status. The default\n is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job.</p>"
1841+
"smithy.api#documentation": "<p>The <code>JobRun</code> timeout in minutes. This is the maximum time that a job run can\n consume resources before it is terminated and enters <code>TIMEOUT</code> status. This overrides the timeout value set in the parent job.</p>\n <p>Jobs must have timeout values less than 7 days or 10080 minutes. Otherwise, the jobs will throw an exception.</p>\n <p>When the value is left blank, the timeout is defaulted to 2880 minutes.</p>\n <p>Any existing Glue jobs that had a timeout value greater than 7 days will be defaulted to 7 days. For instance if you have specified a timeout of 20 days for a batch job, it will be stopped on the 7th day.</p>\n <p>For streaming jobs, if you have set up a maintenance window, it will be restarted during the maintenance window after 7 days.</p>"
18421842
}
18431843
},
18441844
"SecurityConfiguration": {
@@ -10707,7 +10707,7 @@
1070710707
"Timeout": {
1070810708
"target": "com.amazonaws.glue#Timeout",
1070910709
"traits": {
10710-
"smithy.api#documentation": "<p>The job timeout in minutes. This is the maximum time that a job run\n can consume resources before it is terminated and enters <code>TIMEOUT</code>\n status. The default is 2,880 minutes (48 hours) for batch jobs.</p>\n <p>Streaming jobs must have timeout values less than 7 days or 10080 minutes. When the value is left blank, the job will be restarted after 7 days based if you have not setup a maintenance window. If you have setup maintenance window, it will be restarted during the maintenance window after 7 days.</p>"
10710+
"smithy.api#documentation": "<p>The job timeout in minutes. This is the maximum time that a job run\n can consume resources before it is terminated and enters <code>TIMEOUT</code>\n status.</p>\n <p>Jobs must have timeout values less than 7 days or 10080 minutes. Otherwise, the jobs will throw an exception.</p>\n <p>When the value is left blank, the timeout is defaulted to 2880 minutes.</p>\n <p>Any existing Glue jobs that had a timeout value greater than 7 days will be defaulted to 7 days. For instance if you have specified a timeout of 20 days for a batch job, it will be stopped on the 7th day.</p>\n <p>For streaming jobs, if you have set up a maintenance window, it will be restarted during the maintenance window after 7 days.</p>"
1071110711
}
1071210712
},
1071310713
"MaxCapacity": {
@@ -11591,7 +11591,7 @@
1159111591
"Timeout": {
1159211592
"target": "com.amazonaws.glue#Timeout",
1159311593
"traits": {
11594-
"smithy.api#documentation": "<p>\n The number of minutes before session times out. Default for Spark ETL\n jobs is 48 hours (2880 minutes), the maximum session lifetime for this job type.\n Consult the documentation for other job types.\n </p>"
11594+
"smithy.api#documentation": "<p>\n The number of minutes before session times out. Default for Spark ETL\n jobs is 48 hours (2880 minutes).\n Consult the documentation for other job types.\n </p>"
1159511595
}
1159611596
},
1159711597
"IdleTimeout": {
@@ -27064,7 +27064,7 @@
2706427064
"Timeout": {
2706527065
"target": "com.amazonaws.glue#Timeout",
2706627066
"traits": {
27067-
"smithy.api#documentation": "<p>The job timeout in minutes. This is the maximum time that a job run\n can consume resources before it is terminated and enters <code>TIMEOUT</code>\n status. The default is 2,880 minutes (48 hours) for batch jobs.</p>\n <p>Streaming jobs must have timeout values less than 7 days or 10080 minutes. When the value is left blank, the job will be restarted after 7 days based if you have not setup a maintenance window. If you have setup maintenance window, it will be restarted during the maintenance window after 7 days.</p>"
27067+
"smithy.api#documentation": "<p>The job timeout in minutes. This is the maximum time that a job run\n can consume resources before it is terminated and enters <code>TIMEOUT</code>\n status.</p>\n <p>Jobs must have timeout values less than 7 days or 10080 minutes. Otherwise, the jobs will throw an exception.</p>\n <p>When the value is left blank, the timeout is defaulted to 2880 minutes.</p>\n <p>Any existing Glue jobs that had a timeout value greater than 7 days will be defaulted to 7 days. For instance if you have specified a timeout of 20 days for a batch job, it will be stopped on the 7th day.</p>\n <p>For streaming jobs, if you have set up a maintenance window, it will be restarted during the maintenance window after 7 days.</p>"
2706827068
}
2706927069
},
2707027070
"MaxCapacity": {
@@ -27420,7 +27420,7 @@
2742027420
"Timeout": {
2742127421
"target": "com.amazonaws.glue#Timeout",
2742227422
"traits": {
27423-
"smithy.api#documentation": "<p>The <code>JobRun</code> timeout in minutes. This is the maximum time that a job run can\n consume resources before it is terminated and enters <code>TIMEOUT</code> status. This value overrides the timeout value set in the parent job.</p>\n <p>Jobs must have timeout values less than 7 days or 10080 minutes. Otherwise, the jobs will throw an exception.</p>\n <p>When the value is left blank, the timeout is defaulted to 2880 minutes.</p>\n <p>Any existing Glue jobs that had a timeout value greater than 7 days will be defaulted to 7 days. For instance if you have specified a timeout of 20 days for a batch job, it will be stopped on the 7th day.</p>"
27423+
"smithy.api#documentation": "<p>The <code>JobRun</code> timeout in minutes. This is the maximum time that a job run can\n consume resources before it is terminated and enters <code>TIMEOUT</code> status. This value overrides the timeout value set in the parent job.</p>\n <p>Jobs must have timeout values less than 7 days or 10080 minutes. Otherwise, the jobs will throw an exception.</p>\n <p>When the value is left blank, the timeout is defaulted to 2880 minutes.</p>\n <p>Any existing Glue jobs that had a timeout value greater than 7 days will be defaulted to 7 days. For instance if you have specified a timeout of 20 days for a batch job, it will be stopped on the 7th day.</p>\n <p>For streaming jobs, if you have set up a maintenance window, it will be restarted during the maintenance window after 7 days.</p>"
2742427424
}
2742527425
},
2742627426
"MaxCapacity": {
@@ -27654,7 +27654,7 @@
2765427654
"Timeout": {
2765527655
"target": "com.amazonaws.glue#Timeout",
2765627656
"traits": {
27657-
"smithy.api#documentation": "<p>The job timeout in minutes. This is the maximum time that a job run\n can consume resources before it is terminated and enters <code>TIMEOUT</code>\n status. The default is 2,880 minutes (48 hours) for batch jobs.</p>\n <p>Streaming jobs must have timeout values less than 7 days or 10080 minutes. When the value is left blank, the job will be restarted after 7 days based if you have not setup a maintenance window. If you have setup maintenance window, it will be restarted during the maintenance window after 7 days.</p>"
27657+
"smithy.api#documentation": "<p>The job timeout in minutes. This is the maximum time that a job run\n can consume resources before it is terminated and enters <code>TIMEOUT</code>\n status.</p>\n <p>Jobs must have timeout values less than 7 days or 10080 minutes. Otherwise, the jobs will throw an exception.</p>\n <p>When the value is left blank, the timeout is defaulted to 2880 minutes.</p>\n <p>Any existing Glue jobs that had a timeout value greater than 7 days will be defaulted to 7 days. For instance if you have specified a timeout of 20 days for a batch job, it will be stopped on the 7th day.</p>\n <p>For streaming jobs, if you have set up a maintenance window, it will be restarted during the maintenance window after 7 days.</p>"
2765827658
}
2765927659
},
2766027660
"MaxCapacity": {
@@ -38519,7 +38519,7 @@
3851938519
"Timeout": {
3852038520
"target": "com.amazonaws.glue#Timeout",
3852138521
"traits": {
38522-
"smithy.api#documentation": "<p>The <code>JobRun</code> timeout in minutes. This is the maximum time that a job run can\n consume resources before it is terminated and enters <code>TIMEOUT</code> status. This value overrides the timeout value set in the parent job. </p>\n <p>Jobs must have timeout values less than 7 days or 10080 minutes. Otherwise, the jobs will throw an exception.</p>\n <p>When the value is left blank, the timeout is defaulted to 2880 minutes.</p>\n <p>Any existing Glue jobs that had a timeout value greater than 7 days will be defaulted to 7 days. For instance if you have specified a timeout of 20 days for a batch job, it will be stopped on the 7th day.</p>"
38522+
"smithy.api#documentation": "<p>The <code>JobRun</code> timeout in minutes. This is the maximum time that a job run can\n consume resources before it is terminated and enters <code>TIMEOUT</code> status. This value overrides the timeout value set in the parent job. </p>\n <p>Jobs must have timeout values less than 7 days or 10080 minutes. Otherwise, the jobs will throw an exception.</p>\n <p>When the value is left blank, the timeout is defaulted to 2880 minutes.</p>\n <p>Any existing Glue jobs that had a timeout value greater than 7 days will be defaulted to 7 days. For instance if you have specified a timeout of 20 days for a batch job, it will be stopped on the 7th day.</p>\n <p>For streaming jobs, if you have set up a maintenance window, it will be restarted during the maintenance window after 7 days.</p>"
3852338523
}
3852438524
},
3852538525
"MaxCapacity": {

0 commit comments

Comments
 (0)