Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Jan 22, 2025
1 parent d2c7a19 commit 847821e
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 13 deletions.
88 changes: 86 additions & 2 deletions codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -2301,9 +2301,25 @@
"traits": {
"smithy.api#enumValue": "SUCCESS"
}
},
"INPUT_REQUIRED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "INPUT_REQUIRED"
}
}
}
},
"com.amazonaws.bedrockagentruntime#FlowExecutionId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 2,
"max": 100
},
"smithy.api#pattern": "^[0-9a-zA-Z._:-]+$"
}
},
"com.amazonaws.bedrockagentruntime#FlowIdentifier": {
"type": "string",
"traits": {
Expand All @@ -2326,8 +2342,7 @@
"nodeOutputName": {
"target": "com.amazonaws.bedrockagentruntime#NodeOutputName",
"traits": {
"smithy.api#documentation": "<p>The name of the output from the flow input node that begins the prompt flow.</p>",
"smithy.api#required": {}
"smithy.api#documentation": "<p>The name of the output from the flow input node that begins the prompt flow.</p>"
}
},
"content": {
Expand All @@ -2336,6 +2351,12 @@
"smithy.api#documentation": "<p>Contains information about an input into the prompt flow.</p>",
"smithy.api#required": {}
}
},
"nodeInputName": {
"target": "com.amazonaws.bedrockagentruntime#NodeInputName",
"traits": {
"smithy.api#documentation": "<p>The name of the input from the flow input node.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -2369,6 +2390,50 @@
}
}
},
"com.amazonaws.bedrockagentruntime#FlowMultiTurnInputContent": {
"type": "union",
"members": {
"document": {
"target": "smithy.api#Document",
"traits": {
"smithy.api#documentation": "<p>The requested additional input to send back to the multi-turn flow node.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The content structure containing input information for multi-turn flow interactions.</p>"
}
},
"com.amazonaws.bedrockagentruntime#FlowMultiTurnInputRequestEvent": {
"type": "structure",
"members": {
"nodeName": {
"target": "com.amazonaws.bedrockagentruntime#NodeName",
"traits": {
"smithy.api#documentation": "<p>The name of the node in the flow that is requesting the input.</p>",
"smithy.api#required": {}
}
},
"nodeType": {
"target": "com.amazonaws.bedrockagentruntime#NodeType",
"traits": {
"smithy.api#documentation": "<p>The type of the node in the flow that is requesting the input.</p>",
"smithy.api#required": {}
}
},
"content": {
"target": "com.amazonaws.bedrockagentruntime#FlowMultiTurnInputContent",
"traits": {
"smithy.api#documentation": "<p>The content payload containing the input request details for the multi-turn interaction.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Response object from the flow multi-turn node requesting additional information.</p>",
"smithy.api#sensitive": {}
}
},
"com.amazonaws.bedrockagentruntime#FlowOutputContent": {
"type": "union",
"members": {
Expand Down Expand Up @@ -2495,6 +2560,12 @@
"traits": {
"smithy.api#documentation": "<p>There was an issue with a dependency due to a server issue. Retry your request.</p>"
}
},
"flowMultiTurnInputRequestEvent": {
"target": "com.amazonaws.bedrockagentruntime#FlowMultiTurnInputRequestEvent",
"traits": {
"smithy.api#documentation": "<p>The event stream containing the multi-turn input request information from the flow.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -4868,6 +4939,12 @@
"traits": {
"smithy.api#documentation": "<p>Model performance settings for the request.</p>"
}
},
"executionId": {
"target": "com.amazonaws.bedrockagentruntime#FlowExecutionId",
"traits": {
"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>"
}
}
},
"traits": {
Expand All @@ -4884,6 +4961,13 @@
"smithy.api#httpPayload": {},
"smithy.api#required": {}
}
},
"executionId": {
"target": "com.amazonaws.bedrockagentruntime#FlowExecutionId",
"traits": {
"smithy.api#documentation": "<p>The unique identifier for the current flow execution.</p>",
"smithy.api#httpHeader": "x-amz-bedrock-flow-execution-id"
}
}
},
"traits": {
Expand Down
14 changes: 7 additions & 7 deletions codegen/sdk-codegen/aws-models/glue.json
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,7 @@
"Timeout": {
"target": "com.amazonaws.glue#Timeout",
"traits": {
"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>"
"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>"
}
},
"SecurityConfiguration": {
Expand Down Expand Up @@ -10707,7 +10707,7 @@
"Timeout": {
"target": "com.amazonaws.glue#Timeout",
"traits": {
"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>"
"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>"
}
},
"MaxCapacity": {
Expand Down Expand Up @@ -11591,7 +11591,7 @@
"Timeout": {
"target": "com.amazonaws.glue#Timeout",
"traits": {
"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>"
"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>"
}
},
"IdleTimeout": {
Expand Down Expand Up @@ -27064,7 +27064,7 @@
"Timeout": {
"target": "com.amazonaws.glue#Timeout",
"traits": {
"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>"
"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>"
}
},
"MaxCapacity": {
Expand Down Expand Up @@ -27420,7 +27420,7 @@
"Timeout": {
"target": "com.amazonaws.glue#Timeout",
"traits": {
"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>"
"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>"
}
},
"MaxCapacity": {
Expand Down Expand Up @@ -27654,7 +27654,7 @@
"Timeout": {
"target": "com.amazonaws.glue#Timeout",
"traits": {
"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>"
"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>"
}
},
"MaxCapacity": {
Expand Down Expand Up @@ -38519,7 +38519,7 @@
"Timeout": {
"target": "com.amazonaws.glue#Timeout",
"traits": {
"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>"
"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>"
}
},
"MaxCapacity": {
Expand Down
Loading

0 comments on commit 847821e

Please sign in to comment.