Skip to content

Commit bc3f7d8

Browse files
feat: update AWS API models
1 parent f5d4066 commit bc3f7d8

File tree

8 files changed

+3656
-11
lines changed

8 files changed

+3656
-11
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5335,7 +5335,7 @@
53355335
"min": 1,
53365336
"max": 2048
53375337
},
5338-
"smithy.api#pattern": "(^[a-zA-Z0-9-_.]+$)|(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}))$)|(^([0-9a-zA-Z][_-]?)+$)|^([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63})$"
5338+
"smithy.api#pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}(([:][a-z0-9-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+)$"
53395339
}
53405340
},
53415341
"com.amazonaws.bedrockagent#Name": {

codegen/sdk/aws-models/glue.json

Lines changed: 192 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,6 +1729,15 @@
17291729
"target": "com.amazonaws.glue#Action"
17301730
}
17311731
},
1732+
"com.amazonaws.glue#AdditionalContextMap": {
1733+
"type": "map",
1734+
"key": {
1735+
"target": "com.amazonaws.glue#ContextKey"
1736+
},
1737+
"value": {
1738+
"target": "com.amazonaws.glue#ContextValue"
1739+
}
1740+
},
17321741
"com.amazonaws.glue#AdditionalOptionKeys": {
17331742
"type": "enum",
17341743
"members": {
@@ -6973,6 +6982,24 @@
69736982
"target": "com.amazonaws.glue#GenericString"
69746983
}
69756984
},
6985+
"com.amazonaws.glue#ContextKey": {
6986+
"type": "string",
6987+
"traits": {
6988+
"smithy.api#length": {
6989+
"min": 1,
6990+
"max": 128
6991+
}
6992+
}
6993+
},
6994+
"com.amazonaws.glue#ContextValue": {
6995+
"type": "string",
6996+
"traits": {
6997+
"smithy.api#length": {
6998+
"min": 0,
6999+
"max": 256
7000+
}
7001+
}
7002+
},
69767003
"com.amazonaws.glue#ContextWords": {
69777004
"type": "list",
69787005
"member": {
@@ -7764,7 +7791,7 @@
77647791
}
77657792
],
77667793
"traits": {
7767-
"smithy.api#documentation": "<p>Creates a connection definition in the Data Catalog.</p>"
7794+
"smithy.api#documentation": "<p>Creates a connection definition in the Data Catalog.</p>\n <p>Connections used for creating federated resources require the IAM <code>glue:PassConnection</code> permission.</p>"
77687795
}
77697796
},
77707797
"com.amazonaws.glue#CreateConnectionRequest": {
@@ -14401,10 +14428,14 @@
1440114428
"type": "structure",
1440214429
"members": {
1440314430
"Message": {
14404-
"target": "com.amazonaws.glue#MessageString"
14431+
"target": "com.amazonaws.glue#MessageString",
14432+
"traits": {
14433+
"smithy.api#documentation": "<p>A message describing the problem.</p>"
14434+
}
1440514435
}
1440614436
},
1440714437
"traits": {
14438+
"smithy.api#documentation": "<p>A federation source failed, but the operation may be retried.</p>",
1440814439
"smithy.api#error": "client"
1440914440
}
1441014441
},
@@ -19686,6 +19717,12 @@
1968619717
"com.amazonaws.glue#GetUnfilteredPartitionMetadataRequest": {
1968719718
"type": "structure",
1968819719
"members": {
19720+
"Region": {
19721+
"target": "com.amazonaws.glue#ValueString",
19722+
"traits": {
19723+
"smithy.api#documentation": "<p>Specified only if the base tables belong to a different Amazon Web Services Region.</p>"
19724+
}
19725+
},
1968919726
"CatalogId": {
1969019727
"target": "com.amazonaws.glue#CatalogIdString",
1969119728
"traits": {
@@ -19726,6 +19763,12 @@
1972619763
"smithy.api#documentation": "<p>(Required) A list of supported permission types. </p>",
1972719764
"smithy.api#required": {}
1972819765
}
19766+
},
19767+
"QuerySessionContext": {
19768+
"target": "com.amazonaws.glue#QuerySessionContext",
19769+
"traits": {
19770+
"smithy.api#documentation": "<p>A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.</p>"
19771+
}
1972919772
}
1973019773
},
1973119774
"traits": {
@@ -19805,6 +19848,12 @@
1980519848
"com.amazonaws.glue#GetUnfilteredPartitionsMetadataRequest": {
1980619849
"type": "structure",
1980719850
"members": {
19851+
"Region": {
19852+
"target": "com.amazonaws.glue#ValueString",
19853+
"traits": {
19854+
"smithy.api#documentation": "<p>Specified only if the base tables belong to a different Amazon Web Services Region.</p>"
19855+
}
19856+
},
1980819857
"CatalogId": {
1980919858
"target": "com.amazonaws.glue#CatalogIdString",
1981019859
"traits": {
@@ -19862,6 +19911,12 @@
1986219911
"traits": {
1986319912
"smithy.api#documentation": "<p>The maximum number of partitions to return in a single response.</p>"
1986419913
}
19914+
},
19915+
"QuerySessionContext": {
19916+
"target": "com.amazonaws.glue#QuerySessionContext",
19917+
"traits": {
19918+
"smithy.api#documentation": "<p>A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.</p>"
19919+
}
1986519920
}
1986619921
},
1986719922
"traits": {
@@ -19929,6 +19984,12 @@
1992919984
"com.amazonaws.glue#GetUnfilteredTableMetadataRequest": {
1993019985
"type": "structure",
1993119986
"members": {
19987+
"Region": {
19988+
"target": "com.amazonaws.glue#ValueString",
19989+
"traits": {
19990+
"smithy.api#documentation": "<p>Specified only if the base tables belong to a different Amazon Web Services Region.</p>"
19991+
}
19992+
},
1993219993
"CatalogId": {
1993319994
"target": "com.amazonaws.glue#CatalogIdString",
1993419995
"traits": {
@@ -19962,6 +20023,24 @@
1996220023
"smithy.api#documentation": "<p>(Required) A list of supported permission types. </p>",
1996320024
"smithy.api#required": {}
1996420025
}
20026+
},
20027+
"SupportedDialect": {
20028+
"target": "com.amazonaws.glue#SupportedDialect",
20029+
"traits": {
20030+
"smithy.api#documentation": "<p>A structure specifying the dialect and dialect version used by the query engine.</p>"
20031+
}
20032+
},
20033+
"Permissions": {
20034+
"target": "com.amazonaws.glue#PermissionList",
20035+
"traits": {
20036+
"smithy.api#documentation": "<p>The Lake Formation data permissions of the caller on the table. Used to authorize the call when no view context is found.</p>"
20037+
}
20038+
},
20039+
"QuerySessionContext": {
20040+
"target": "com.amazonaws.glue#QuerySessionContext",
20041+
"traits": {
20042+
"smithy.api#documentation": "<p>A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.</p>"
20043+
}
1996520044
}
1996620045
},
1996720046
"traits": {
@@ -19995,6 +20074,24 @@
1999520074
"traits": {
1999620075
"smithy.api#documentation": "<p>A list of column row filters.</p>"
1999720076
}
20077+
},
20078+
"QueryAuthorizationId": {
20079+
"target": "com.amazonaws.glue#HashString",
20080+
"traits": {
20081+
"smithy.api#documentation": "<p>A cryptographically generated query identifier generated by Glue or Lake Formation.</p>"
20082+
}
20083+
},
20084+
"ResourceArn": {
20085+
"target": "com.amazonaws.glue#ArnString",
20086+
"traits": {
20087+
"smithy.api#documentation": "<p>The resource ARN of the parent resource extracted from the request.</p>"
20088+
}
20089+
},
20090+
"Permissions": {
20091+
"target": "com.amazonaws.glue#PermissionList",
20092+
"traits": {
20093+
"smithy.api#documentation": "<p>The Lake Formation data permissions of the caller on the table. Used to authorize the call when no view context is found.</p>"
20094+
}
1999820095
}
1999920096
},
2000020097
"traits": {
@@ -25713,6 +25810,9 @@
2571325810
"com.amazonaws.glue#NullableInteger": {
2571425811
"type": "integer"
2571525812
},
25813+
"com.amazonaws.glue#NullableString": {
25814+
"type": "string"
25815+
},
2571625816
"com.amazonaws.glue#OneInput": {
2571725817
"type": "list",
2571825818
"member": {
@@ -27299,6 +27399,44 @@
2729927399
"smithy.api#output": {}
2730027400
}
2730127401
},
27402+
"com.amazonaws.glue#QuerySessionContext": {
27403+
"type": "structure",
27404+
"members": {
27405+
"QueryId": {
27406+
"target": "com.amazonaws.glue#HashString",
27407+
"traits": {
27408+
"smithy.api#documentation": "<p>A unique identifier generated by the query engine for the query.</p>"
27409+
}
27410+
},
27411+
"QueryStartTime": {
27412+
"target": "com.amazonaws.glue#Timestamp",
27413+
"traits": {
27414+
"smithy.api#documentation": "<p>A timestamp provided by the query engine for when the query started.</p>"
27415+
}
27416+
},
27417+
"ClusterId": {
27418+
"target": "com.amazonaws.glue#NullableString",
27419+
"traits": {
27420+
"smithy.api#documentation": "<p>An identifier string for the consumer cluster.</p>"
27421+
}
27422+
},
27423+
"QueryAuthorizationId": {
27424+
"target": "com.amazonaws.glue#HashString",
27425+
"traits": {
27426+
"smithy.api#documentation": "<p>A cryptographically generated query identifier generated by Glue or Lake Formation.</p>"
27427+
}
27428+
},
27429+
"AdditionalContext": {
27430+
"target": "com.amazonaws.glue#AdditionalContextMap",
27431+
"traits": {
27432+
"smithy.api#documentation": "<p>An opaque string-string map passed by the query engine.</p>"
27433+
}
27434+
}
27435+
},
27436+
"traits": {
27437+
"smithy.api#documentation": "<p>A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.</p>"
27438+
}
27439+
},
2730227440
"com.amazonaws.glue#QuoteChar": {
2730327441
"type": "enum",
2730427442
"members": {
@@ -32578,6 +32716,26 @@
3257832716
"target": "com.amazonaws.glue#GenericString"
3257932717
}
3258032718
},
32719+
"com.amazonaws.glue#SupportedDialect": {
32720+
"type": "structure",
32721+
"members": {
32722+
"Dialect": {
32723+
"target": "com.amazonaws.glue#ViewDialect",
32724+
"traits": {
32725+
"smithy.api#documentation": "<p>The dialect of the query engine.</p>"
32726+
}
32727+
},
32728+
"DialectVersion": {
32729+
"target": "com.amazonaws.glue#ViewDialectVersionString",
32730+
"traits": {
32731+
"smithy.api#documentation": "<p>The version of the dialect of the query engine. For example, 3.0.0.</p>"
32732+
}
32733+
}
32734+
},
32735+
"traits": {
32736+
"smithy.api#documentation": "<p>A structure specifying the dialect and dialect version used by the query engine.</p>"
32737+
}
32738+
},
3258132739
"com.amazonaws.glue#Table": {
3258232740
"type": "structure",
3258332741
"members": {
@@ -36426,6 +36584,38 @@
3642636584
"smithy.api#pattern": "^[1-9][0-9]*|[1-9][0-9]*-[1-9][0-9]*$"
3642736585
}
3642836586
},
36587+
"com.amazonaws.glue#ViewDialect": {
36588+
"type": "enum",
36589+
"members": {
36590+
"REDSHIFT": {
36591+
"target": "smithy.api#Unit",
36592+
"traits": {
36593+
"smithy.api#enumValue": "REDSHIFT"
36594+
}
36595+
},
36596+
"ATHENA": {
36597+
"target": "smithy.api#Unit",
36598+
"traits": {
36599+
"smithy.api#enumValue": "ATHENA"
36600+
}
36601+
},
36602+
"SPARK": {
36603+
"target": "smithy.api#Unit",
36604+
"traits": {
36605+
"smithy.api#enumValue": "SPARK"
36606+
}
36607+
}
36608+
}
36609+
},
36610+
"com.amazonaws.glue#ViewDialectVersionString": {
36611+
"type": "string",
36612+
"traits": {
36613+
"smithy.api#length": {
36614+
"min": 1,
36615+
"max": 255
36616+
}
36617+
}
36618+
},
3642936619
"com.amazonaws.glue#ViewTextString": {
3643036620
"type": "string",
3643136621
"traits": {

0 commit comments

Comments
 (0)