Skip to content

Commit 4ddc7f3

Browse files
feat: update AWS API models
1 parent aafa7a2 commit 4ddc7f3

File tree

6 files changed

+969
-161
lines changed

6 files changed

+969
-161
lines changed

codegen/sdk/aws-models/batch.json

Lines changed: 770 additions & 144 deletions
Large diffs are not rendered by default.

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

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,6 +1326,9 @@
13261326
"traits": {
13271327
"smithy.api#required": {}
13281328
}
1329+
},
1330+
"retrievalConfiguration": {
1331+
"target": "com.amazonaws.bedrockagentruntime#KnowledgeBaseRetrievalConfiguration"
13291332
}
13301333
},
13311334
"traits": {
@@ -1338,12 +1341,19 @@
13381341
"numberOfResults": {
13391342
"target": "smithy.api#Integer",
13401343
"traits": {
1344+
"smithy.api#addedDefault": {},
1345+
"smithy.api#default": 5,
13411346
"smithy.api#documentation": "Top-K results to retrieve from knowledge base.",
13421347
"smithy.api#range": {
13431348
"min": 1,
1344-
"max": 10
1345-
},
1346-
"smithy.api#required": {}
1349+
"max": 25
1350+
}
1351+
}
1352+
},
1353+
"overrideSearchType": {
1354+
"target": "com.amazonaws.bedrockagentruntime#SearchType",
1355+
"traits": {
1356+
"smithy.api#documentation": "Override the type of query to be performed on data store"
13471357
}
13481358
}
13491359
},
@@ -1795,7 +1805,8 @@
17951805
}
17961806
},
17971807
"traits": {
1798-
"smithy.api#documentation": "Content of a retrieval result."
1808+
"smithy.api#documentation": "Content of a retrieval result.",
1809+
"smithy.api#sensitive": {}
17991810
}
18001811
},
18011812
"com.amazonaws.bedrockagentruntime#RetrievalResultLocation": {
@@ -1812,7 +1823,8 @@
18121823
}
18131824
},
18141825
"traits": {
1815-
"smithy.api#documentation": "The source location of a retrieval result."
1826+
"smithy.api#documentation": "The source location of a retrieval result.",
1827+
"smithy.api#sensitive": {}
18161828
}
18171829
},
18181830
"com.amazonaws.bedrockagentruntime#RetrievalResultLocationType": {
@@ -2151,6 +2163,26 @@
21512163
"smithy.api#documentation": "list of retrieved references"
21522164
}
21532165
},
2166+
"com.amazonaws.bedrockagentruntime#SearchType": {
2167+
"type": "enum",
2168+
"members": {
2169+
"HYBRID": {
2170+
"target": "smithy.api#Unit",
2171+
"traits": {
2172+
"smithy.api#enumValue": "HYBRID"
2173+
}
2174+
},
2175+
"SEMANTIC": {
2176+
"target": "smithy.api#Unit",
2177+
"traits": {
2178+
"smithy.api#enumValue": "SEMANTIC"
2179+
}
2180+
}
2181+
},
2182+
"traits": {
2183+
"smithy.api#documentation": "Query type to be performed on data store."
2184+
}
2185+
},
21542186
"com.amazonaws.bedrockagentruntime#ServiceQuotaExceededException": {
21552187
"type": "structure",
21562188
"members": {
@@ -2297,7 +2329,8 @@
22972329
}
22982330
},
22992331
"traits": {
2300-
"smithy.api#documentation": "Text response part"
2332+
"smithy.api#documentation": "Text response part",
2333+
"smithy.api#sensitive": {}
23012334
}
23022335
},
23032336
"com.amazonaws.bedrockagentruntime#ThrottlingException": {

codegen/sdk/aws-models/cost-explorer.json

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@
6363
{
6464
"target": "com.amazonaws.costexplorer#GetAnomalySubscriptions"
6565
},
66+
{
67+
"target": "com.amazonaws.costexplorer#GetApproximateUsageRecords"
68+
},
6669
{
6770
"target": "com.amazonaws.costexplorer#GetCostAndUsage"
6871
},
@@ -1280,6 +1283,32 @@
12801283
"target": "com.amazonaws.costexplorer#AnomalySubscription"
12811284
}
12821285
},
1286+
"com.amazonaws.costexplorer#ApproximateUsageRecordsPerService": {
1287+
"type": "map",
1288+
"key": {
1289+
"target": "com.amazonaws.costexplorer#GenericString"
1290+
},
1291+
"value": {
1292+
"target": "com.amazonaws.costexplorer#NonNegativeLong"
1293+
}
1294+
},
1295+
"com.amazonaws.costexplorer#ApproximationDimension": {
1296+
"type": "enum",
1297+
"members": {
1298+
"SERVICE": {
1299+
"target": "smithy.api#Unit",
1300+
"traits": {
1301+
"smithy.api#enumValue": "SERVICE"
1302+
}
1303+
},
1304+
"RESOURCE": {
1305+
"target": "smithy.api#Unit",
1306+
"traits": {
1307+
"smithy.api#enumValue": "RESOURCE"
1308+
}
1309+
}
1310+
}
1311+
},
12831312
"com.amazonaws.costexplorer#Arn": {
12841313
"type": "string",
12851314
"traits": {
@@ -3737,6 +3766,81 @@
37373766
"smithy.api#output": {}
37383767
}
37393768
},
3769+
"com.amazonaws.costexplorer#GetApproximateUsageRecords": {
3770+
"type": "operation",
3771+
"input": {
3772+
"target": "com.amazonaws.costexplorer#GetApproximateUsageRecordsRequest"
3773+
},
3774+
"output": {
3775+
"target": "com.amazonaws.costexplorer#GetApproximateUsageRecordsResponse"
3776+
},
3777+
"errors": [
3778+
{
3779+
"target": "com.amazonaws.costexplorer#DataUnavailableException"
3780+
},
3781+
{
3782+
"target": "com.amazonaws.costexplorer#LimitExceededException"
3783+
}
3784+
],
3785+
"traits": {
3786+
"smithy.api#documentation": "<p>Retrieves estimated usage records for hourly granularity or resource-level data at daily\n granularity.</p>"
3787+
}
3788+
},
3789+
"com.amazonaws.costexplorer#GetApproximateUsageRecordsRequest": {
3790+
"type": "structure",
3791+
"members": {
3792+
"Granularity": {
3793+
"target": "com.amazonaws.costexplorer#Granularity",
3794+
"traits": {
3795+
"smithy.api#documentation": "<p>How granular you want the data to be. You can enable data at hourly or daily\n granularity.</p>",
3796+
"smithy.api#required": {}
3797+
}
3798+
},
3799+
"Services": {
3800+
"target": "com.amazonaws.costexplorer#UsageServices",
3801+
"traits": {
3802+
"smithy.api#documentation": "<p>The service metadata for the service or services you want to query. If not specified, all\n elements are returned.</p>"
3803+
}
3804+
},
3805+
"ApproximationDimension": {
3806+
"target": "com.amazonaws.costexplorer#ApproximationDimension",
3807+
"traits": {
3808+
"smithy.api#documentation": "<p>The service to evaluate for the usage records. You can choose resource-level data at daily\n granularity, or hourly granularity with or without resource-level data.</p>",
3809+
"smithy.api#required": {}
3810+
}
3811+
}
3812+
},
3813+
"traits": {
3814+
"smithy.api#input": {}
3815+
}
3816+
},
3817+
"com.amazonaws.costexplorer#GetApproximateUsageRecordsResponse": {
3818+
"type": "structure",
3819+
"members": {
3820+
"Services": {
3821+
"target": "com.amazonaws.costexplorer#ApproximateUsageRecordsPerService",
3822+
"traits": {
3823+
"smithy.api#documentation": "<p>The service metadata for the service or services in the response.</p>"
3824+
}
3825+
},
3826+
"TotalRecords": {
3827+
"target": "com.amazonaws.costexplorer#NonNegativeLong",
3828+
"traits": {
3829+
"smithy.api#default": 0,
3830+
"smithy.api#documentation": "<p>The total number of usage records for all services in the services list.</p>"
3831+
}
3832+
},
3833+
"LookbackPeriod": {
3834+
"target": "com.amazonaws.costexplorer#DateInterval",
3835+
"traits": {
3836+
"smithy.api#documentation": "<p>The lookback period that's used for the estimation.</p>"
3837+
}
3838+
}
3839+
},
3840+
"traits": {
3841+
"smithy.api#output": {}
3842+
}
3843+
},
37403844
"com.amazonaws.costexplorer#GetCostAndUsage": {
37413845
"type": "operation",
37423846
"input": {
@@ -6168,6 +6272,15 @@
61686272
}
61696273
}
61706274
},
6275+
"com.amazonaws.costexplorer#NonNegativeLong": {
6276+
"type": "long",
6277+
"traits": {
6278+
"smithy.api#default": 0,
6279+
"smithy.api#range": {
6280+
"min": 0
6281+
}
6282+
}
6283+
},
61716284
"com.amazonaws.costexplorer#NullableNonNegativeDouble": {
61726285
"type": "double",
61736286
"traits": {
@@ -9039,6 +9152,12 @@
90399152
"smithy.api#output": {}
90409153
}
90419154
},
9155+
"com.amazonaws.costexplorer#UsageServices": {
9156+
"type": "list",
9157+
"member": {
9158+
"target": "com.amazonaws.costexplorer#GenericString"
9159+
}
9160+
},
90429161
"com.amazonaws.costexplorer#UtilizationByTime": {
90439162
"type": "structure",
90449163
"members": {

codegen/sdk/aws-models/ec2.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52602,6 +52602,15 @@
5260252602
}
5260352603
}
5260452604
},
52605+
"com.amazonaws.ec2#GetNetworkInsightsAccessScopeAnalysisFindingsMaxResults": {
52606+
"type": "integer",
52607+
"traits": {
52608+
"smithy.api#range": {
52609+
"min": 1,
52610+
"max": 1000
52611+
}
52612+
}
52613+
},
5260552614
"com.amazonaws.ec2#GetNetworkInsightsAccessScopeAnalysisFindingsRequest": {
5260652615
"type": "structure",
5260752616
"members": {
@@ -52614,7 +52623,7 @@
5261452623
}
5261552624
},
5261652625
"MaxResults": {
52617-
"target": "com.amazonaws.ec2#NetworkInsightsMaxResults",
52626+
"target": "com.amazonaws.ec2#GetNetworkInsightsAccessScopeAnalysisFindingsMaxResults",
5261852627
"traits": {
5261952628
"smithy.api#documentation": "<p>The maximum number of results to return with a single call.\n To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>"
5262052629
}

0 commit comments

Comments
 (0)