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 Dec 20, 2024
1 parent 5a96470 commit c835b1a
Show file tree
Hide file tree
Showing 12 changed files with 2,230 additions and 346 deletions.
159 changes: 149 additions & 10 deletions codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json

Large diffs are not rendered by default.

68 changes: 67 additions & 1 deletion codegen/sdk-codegen/aws-models/bedrock-agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -11871,6 +11871,14 @@
"smithy.api#documentation": "<p>Details about a malformed input expression in a node.</p>"
}
},
"com.amazonaws.bedrockagent#MaxRecentSessions": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1
}
}
},
"com.amazonaws.bedrockagent#MaxResults": {
"type": "integer",
"traits": {
Expand Down Expand Up @@ -11905,6 +11913,12 @@
"smithy.api#default": 30,
"smithy.api#documentation": "<p>The number of days the agent is configured to retain the conversational context.</p>"
}
},
"sessionSummaryConfiguration": {
"target": "com.amazonaws.bedrockagent#SessionSummaryConfiguration",
"traits": {
"smithy.api#documentation": "<p>Contains the configuration for SESSION_SUMMARY memory type enabled for the agent. </p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -13571,6 +13585,12 @@
"traits": {
"smithy.api#enumValue": "KNOWLEDGE_BASE_RESPONSE_GENERATION"
}
},
"MEMORY_SUMMARIZATION": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "MEMORY_SUMMARIZATION"
}
}
}
},
Expand Down Expand Up @@ -14744,6 +14764,21 @@
"smithy.api#httpError": 402
}
},
"com.amazonaws.bedrockagent#SessionSummaryConfiguration": {
"type": "structure",
"members": {
"maxRecentSessions": {
"target": "com.amazonaws.bedrockagent#MaxRecentSessions",
"traits": {
"smithy.api#default": null,
"smithy.api#documentation": "<p>Maximum number of recent session summaries to include in the agent's prompt context.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Configuration for SESSION_SUMMARY memory type enabled for the agent.</p>"
}
},
"com.amazonaws.bedrockagent#SessionTTL": {
"type": "integer",
"traits": {
Expand All @@ -14761,6 +14796,12 @@
"traits": {
"smithy.api#enumValue": "OAUTH2_CLIENT_CREDENTIALS"
}
},
"OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS"
}
}
}
},
Expand Down Expand Up @@ -15200,7 +15241,7 @@
"smithy.api#default": 30,
"smithy.api#range": {
"min": 0,
"max": 30
"max": 365
}
}
},
Expand Down Expand Up @@ -17332,6 +17373,16 @@
"smithy.api#documentation": "<p>The configuration of web URLs that you want to crawl. \n You should be authorized to crawl the URLs.</p>"
}
},
"com.amazonaws.bedrockagent#UserAgent": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 15,
"max": 40
},
"smithy.api#sensitive": {}
}
},
"com.amazonaws.bedrockagent#ValidateFlowDefinition": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -17547,6 +17598,12 @@
"traits": {
"smithy.api#documentation": "<p>The scope of what is crawled for your URLs.</p>\n <p>You can choose to crawl only web pages that belong to the same host or primary \n domain. For example, only web pages that contain the seed URL \n \"https://docs.aws.amazon.com/bedrock/latest/userguide/\" and no other domains. \n You can choose to include sub domains in addition to the host or primary domain. \n For example, web pages that contain \"aws.amazon.com\" can also include sub domain \n \"docs.aws.amazon.com\".</p>"
}
},
"userAgent": {
"target": "com.amazonaws.bedrockagent#UserAgent",
"traits": {
"smithy.api#documentation": "<p>A string used for identifying the crawler or a bot when it accesses a web server. By default, \n this is set to <code>bedrockbot_UUID</code> for your crawler. You can optionally append a custom \n string to <code>bedrockbot_UUID</code> to allowlist a specific user agent permitted to access your source URLs. \n </p>"
}
}
},
"traits": {
Expand All @@ -17565,6 +17622,15 @@
"max": 300
}
}
},
"maxPages": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#documentation": "<p>\n The max number of web pages crawled from your source URLs, up to 25,000 pages. If \n the web pages exceed this limit, the data source sync will fail and no web pages will be ingested.\n </p>",
"smithy.api#range": {
"min": 1
}
}
}
},
"traits": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"name": "bedrock"
},
"aws.protocols#awsJson1_1": {},
"smithy.api#documentation": "Amazon Bedrock Keystone Runtime",
"smithy.api#documentation": "Amazon Bedrock Data Automation Runtime",
"smithy.api#title": "Runtime for Amazon Bedrock Data Automation",
"smithy.rules#endpointRuleSet": {
"version": "1.0",
Expand Down
24 changes: 12 additions & 12 deletions codegen/sdk-codegen/aws-models/bedrock-data-automation.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"name": "bedrock"
},
"aws.protocols#restJson1": {},
"smithy.api#documentation": "Amazon Bedrock Keystone Build",
"smithy.api#documentation": "Amazon Bedrock Data Automation BuildTime",
"smithy.api#title": "Data Automation for Amazon Bedrock",
"smithy.rules#endpointRuleSet": {
"version": "1.0",
Expand Down Expand Up @@ -1148,7 +1148,7 @@
}
],
"traits": {
"smithy.api#documentation": "Creates an Amazon Bedrock Keystone Blueprint",
"smithy.api#documentation": "Creates an Amazon Bedrock Data Automation Blueprint",
"smithy.api#http": {
"code": 201,
"method": "PUT",
Expand Down Expand Up @@ -1241,7 +1241,7 @@
}
],
"traits": {
"smithy.api#documentation": "Creates a new version of an existing Amazon Bedrock Keystone Blueprint",
"smithy.api#documentation": "Creates a new version of an existing Amazon Bedrock Data Automation Blueprint",
"smithy.api#http": {
"code": 201,
"method": "POST",
Expand Down Expand Up @@ -1318,7 +1318,7 @@
}
],
"traits": {
"smithy.api#documentation": "Creates an Amazon Bedrock Keystone DataAutomationProject",
"smithy.api#documentation": "Creates an Amazon Bedrock Data Automation Project",
"smithy.api#http": {
"code": 201,
"method": "PUT",
Expand Down Expand Up @@ -1669,7 +1669,7 @@
}
],
"traits": {
"smithy.api#documentation": "Deletes an existing Amazon Bedrock Keystone Blueprint",
"smithy.api#documentation": "Deletes an existing Amazon Bedrock Data Automation Blueprint",
"smithy.api#http": {
"code": 204,
"method": "DELETE",
Expand Down Expand Up @@ -1736,7 +1736,7 @@
}
],
"traits": {
"smithy.api#documentation": "Deletes an existing Amazon Bedrock Keystone DataAutomationProject",
"smithy.api#documentation": "Deletes an existing Amazon Bedrock Data Automation Project",
"smithy.api#http": {
"code": 204,
"method": "DELETE",
Expand Down Expand Up @@ -2037,7 +2037,7 @@
}
],
"traits": {
"smithy.api#documentation": "Gets an existing Amazon Bedrock Keystone Blueprint",
"smithy.api#documentation": "Gets an existing Amazon Bedrock Data Automation Blueprint",
"smithy.api#http": {
"code": 200,
"method": "POST",
Expand Down Expand Up @@ -2117,7 +2117,7 @@
}
],
"traits": {
"smithy.api#documentation": "Gets an existing Amazon Bedrock Keystone DataAutomationProject",
"smithy.api#documentation": "Gets an existing Amazon Bedrock Data Automation Project",
"smithy.api#http": {
"code": 200,
"method": "POST",
Expand Down Expand Up @@ -2363,7 +2363,7 @@
}
],
"traits": {
"smithy.api#documentation": "Lists all existing Amazon Bedrock Keystone Blueprints",
"smithy.api#documentation": "Lists all existing Amazon Bedrock Data Automation Blueprints",
"smithy.api#http": {
"code": 200,
"method": "POST",
Expand Down Expand Up @@ -2449,7 +2449,7 @@
}
],
"traits": {
"smithy.api#documentation": "Lists all existing Amazon Bedrock Keystone DataAutomationProjects",
"smithy.api#documentation": "Lists all existing Amazon Bedrock Data Automation Projects",
"smithy.api#http": {
"code": 200,
"method": "POST",
Expand Down Expand Up @@ -2704,7 +2704,7 @@
}
],
"traits": {
"smithy.api#documentation": "Updates an existing Amazon Bedrock Blueprint",
"smithy.api#documentation": "Updates an existing Amazon Bedrock Data Automation Blueprint",
"smithy.api#http": {
"code": 200,
"method": "PUT",
Expand Down Expand Up @@ -2783,7 +2783,7 @@
}
],
"traits": {
"smithy.api#documentation": "Updates an existing Amazon Bedrock DataAutomationProject",
"smithy.api#documentation": "Updates an existing Amazon Bedrock Data Automation Project",
"smithy.api#http": {
"code": 200,
"method": "PUT",
Expand Down
Loading

0 comments on commit c835b1a

Please sign in to comment.