Skip to content

Commit 1ab546f

Browse files
Update SDK models
1 parent 0d5f73f commit 1ab546f

File tree

236 files changed

+6661
-1020
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

236 files changed

+6661
-1020
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[workspace]
22
resolver = "2"
33
exclude = [
4-
"examples/test-utils",
5-
"examples/cross_service",
6-
"examples/webassembly",
74
"examples/examples",
85
"examples/lambda",
9-
"tests/webassembly",
10-
"tests/no-default-features"
6+
"examples/webassembly",
7+
"examples/cross_service",
8+
"examples/test-utils",
9+
"tests/no-default-features",
10+
"tests/webassembly"
1111
]
1212
members = [
1313
"sdk/accessanalyzer",

aws-models/bedrock-runtime.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@
10271027
"min": 1,
10281028
"max": 2048
10291029
},
1030-
"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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:inference-profile/[a-zA-Z0-9-:.]+)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)$"
1030+
"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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)$"
10311031
}
10321032
},
10331033
"com.amazonaws.bedrockruntime#Converse": {
@@ -3078,7 +3078,7 @@
30783078
"min": 1,
30793079
"max": 2048
30803080
},
3081-
"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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:inference-profile/[a-zA-Z0-9-:.]+)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)$"
3081+
"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]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)$"
30823082
}
30833083
},
30843084
"com.amazonaws.bedrockruntime#InvokeModelRequest": {

aws-models/bedrock.json

Lines changed: 246 additions & 30 deletions
Large diffs are not rendered by default.

aws-models/cleanrooms.json

Lines changed: 328 additions & 114 deletions
Large diffs are not rendered by default.

aws-models/cloudwatch-logs.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,9 @@
497497
"smithy.api#input": {}
498498
}
499499
},
500+
"com.amazonaws.cloudwatchlogs#Baseline": {
501+
"type": "boolean"
502+
},
500503
"com.amazonaws.cloudwatchlogs#Boolean": {
501504
"type": "boolean"
502505
},
@@ -9872,6 +9875,12 @@
98729875
"traits": {
98739876
"smithy.api#documentation": "<p>If you are temporarily suppressing an anomaly or pattern, use this structure to specify\n how long the suppression is to last.</p>"
98749877
}
9878+
},
9879+
"baseline": {
9880+
"target": "com.amazonaws.cloudwatchlogs#Baseline",
9881+
"traits": {
9882+
"smithy.api#documentation": "<p>Set this to <code>true</code> to prevent CloudWatch Logs from displaying this behavior as an anomaly in the future. The behavior is then treated as \n baseline behavior. However, if similar but \n more severe occurrences of this behavior occur in the future, those will still be reported as anomalies. </p>\n <p>The default is <code>false</code>\n </p>"
9883+
}
98759884
}
98769885
},
98779886
"traits": {

aws-models/iotfleetwise.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,9 @@
324324
{
325325
"target": "com.amazonaws.iotfleetwise#InternalServerException"
326326
},
327+
{
328+
"target": "com.amazonaws.iotfleetwise#LimitExceededException"
329+
},
327330
{
328331
"target": "com.amazonaws.iotfleetwise#ThrottlingException"
329332
},
@@ -8439,6 +8442,9 @@
84398442
{
84408443
"target": "com.amazonaws.iotfleetwise#InternalServerException"
84418444
},
8445+
{
8446+
"target": "com.amazonaws.iotfleetwise#LimitExceededException"
8447+
},
84428448
{
84438449
"target": "com.amazonaws.iotfleetwise#ResourceNotFoundException"
84448450
},
@@ -9014,7 +9020,8 @@
90149020
},
90159021
"traits": {
90169022
"smithy.api#length": {
9017-
"min": 1
9023+
"min": 1,
9024+
"max": 10
90189025
}
90199026
}
90209027
},
@@ -9243,7 +9250,8 @@
92439250
},
92449251
"traits": {
92459252
"smithy.api#length": {
9246-
"min": 1
9253+
"min": 1,
9254+
"max": 10
92479255
}
92489256
}
92499257
},

aws-models/redshift-data.json

Lines changed: 155 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,12 @@
149149
"traits": {
150150
"smithy.api#documentation": "<p>The session identifier of the query.</p>"
151151
}
152+
},
153+
"ResultFormat": {
154+
"target": "com.amazonaws.redshiftdata#ResultFormatString",
155+
"traits": {
156+
"smithy.api#documentation": "<p>The data format of the result of the SQL statement. If no format is specified, the default is JSON.</p>"
157+
}
152158
}
153159
},
154160
"traits": {
@@ -299,8 +305,7 @@
299305
"smithy.api#length": {
300306
"min": 1,
301307
"max": 63
302-
},
303-
"smithy.api#pattern": "^[a-z]([a-z0-9]|-[a-z0-9])*$"
308+
}
304309
}
305310
},
306311
"com.amazonaws.redshiftdata#ColumnList": {
@@ -603,6 +608,12 @@
603608
"traits": {
604609
"smithy.api#documentation": "<p>The session identifier of the query.</p>"
605610
}
611+
},
612+
"ResultFormat": {
613+
"target": "com.amazonaws.redshiftdata#ResultFormatString",
614+
"traits": {
615+
"smithy.api#documentation": "<p>The data format of the result of the SQL statement.</p>"
616+
}
606617
}
607618
},
608619
"traits": {
@@ -867,6 +878,12 @@
867878
"traits": {
868879
"smithy.api#documentation": "<p>The session identifier of the query.</p>"
869880
}
881+
},
882+
"ResultFormat": {
883+
"target": "com.amazonaws.redshiftdata#ResultFormatString",
884+
"traits": {
885+
"smithy.api#documentation": "<p>The data format of the result of the SQL statement. If no format is specified, the default is JSON.</p>"
886+
}
870887
}
871888
},
872889
"traits": {
@@ -985,6 +1002,12 @@
9851002
"target": "com.amazonaws.redshiftdata#Field"
9861003
}
9871004
},
1005+
"com.amazonaws.redshiftdata#FormattedSqlRecords": {
1006+
"type": "list",
1007+
"member": {
1008+
"target": "com.amazonaws.redshiftdata#QueryRecords"
1009+
}
1010+
},
9881011
"com.amazonaws.redshiftdata#GetStatementResult": {
9891012
"type": "operation",
9901013
"input": {
@@ -1005,7 +1028,7 @@
10051028
}
10061029
],
10071030
"traits": {
1008-
"smithy.api#documentation": "<p>Fetches the temporarily cached result of an SQL statement. \n A token is returned to page through the statement results. </p>\n <p>For more information about the Amazon Redshift Data API and CLI usage examples, see \n <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html\">Using the Amazon Redshift Data API</a> in the \n <i>Amazon Redshift Management Guide</i>. </p>",
1031+
"smithy.api#documentation": "<p>Fetches the temporarily cached result of an SQL statement in JSON format. \n The <code>ExecuteStatement</code> or <code>BatchExecuteStatement</code> operation that ran the SQL statement must have specified <code>ResultFormat</code> as <code>JSON</code>\n , or let the format default to JSON.\n A token is returned to page through the statement results.</p>\n <p>For more information about the Amazon Redshift Data API and CLI usage examples, see \n <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html\">Using the Amazon Redshift Data API</a> in the \n <i>Amazon Redshift Management Guide</i>. </p>",
10091032
"smithy.api#paginated": {
10101033
"inputToken": "NextToken",
10111034
"outputToken": "NextToken",
@@ -1041,7 +1064,7 @@
10411064
"Records": {
10421065
"target": "com.amazonaws.redshiftdata#SqlRecords",
10431066
"traits": {
1044-
"smithy.api#documentation": "<p>The results of the SQL statement.</p>",
1067+
"smithy.api#documentation": "<p>The results of the SQL statement in JSON format.</p>",
10451068
"smithy.api#required": {}
10461069
}
10471070
},
@@ -1069,6 +1092,96 @@
10691092
"smithy.api#output": {}
10701093
}
10711094
},
1095+
"com.amazonaws.redshiftdata#GetStatementResultV2": {
1096+
"type": "operation",
1097+
"input": {
1098+
"target": "com.amazonaws.redshiftdata#GetStatementResultV2Request"
1099+
},
1100+
"output": {
1101+
"target": "com.amazonaws.redshiftdata#GetStatementResultV2Response"
1102+
},
1103+
"errors": [
1104+
{
1105+
"target": "com.amazonaws.redshiftdata#InternalServerException"
1106+
},
1107+
{
1108+
"target": "com.amazonaws.redshiftdata#ResourceNotFoundException"
1109+
},
1110+
{
1111+
"target": "com.amazonaws.redshiftdata#ValidationException"
1112+
}
1113+
],
1114+
"traits": {
1115+
"smithy.api#documentation": "<p>Fetches the temporarily cached result of an SQL statement in CSV format. \n The <code>ExecuteStatement</code> or <code>BatchExecuteStatement</code> operation that ran the SQL statement must have specified <code>ResultFormat</code> as <code>CSV</code>.\n A token is returned to page through the statement results.</p>\n <p>For more information about the Amazon Redshift Data API and CLI usage examples, see \n <a href=\"https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html\">Using the Amazon Redshift Data API</a> in the \n <i>Amazon Redshift Management Guide</i>. </p>",
1116+
"smithy.api#paginated": {
1117+
"inputToken": "NextToken",
1118+
"outputToken": "NextToken",
1119+
"items": "Records"
1120+
},
1121+
"smithy.api#readonly": {}
1122+
}
1123+
},
1124+
"com.amazonaws.redshiftdata#GetStatementResultV2Request": {
1125+
"type": "structure",
1126+
"members": {
1127+
"Id": {
1128+
"target": "com.amazonaws.redshiftdata#UUID",
1129+
"traits": {
1130+
"smithy.api#documentation": "<p>The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. \n A suffix indicates then number of the SQL statement.\n For example, <code>d9b6c0c9-0747-4bf4-b142-e8883122f766:2</code> has a suffix of <code>:2</code> that indicates the second SQL statement of a batch query.\n This identifier is returned by <code>BatchExecuteStatment</code>, <code>ExecuteStatment</code>, and <code>ListStatements</code>. </p>",
1131+
"smithy.api#required": {}
1132+
}
1133+
},
1134+
"NextToken": {
1135+
"target": "com.amazonaws.redshiftdata#String",
1136+
"traits": {
1137+
"smithy.api#documentation": "<p>A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.</p>"
1138+
}
1139+
}
1140+
},
1141+
"traits": {
1142+
"smithy.api#input": {}
1143+
}
1144+
},
1145+
"com.amazonaws.redshiftdata#GetStatementResultV2Response": {
1146+
"type": "structure",
1147+
"members": {
1148+
"Records": {
1149+
"target": "com.amazonaws.redshiftdata#FormattedSqlRecords",
1150+
"traits": {
1151+
"smithy.api#documentation": "<p>The results of the SQL statement in CSV format.</p>",
1152+
"smithy.api#required": {}
1153+
}
1154+
},
1155+
"ColumnMetadata": {
1156+
"target": "com.amazonaws.redshiftdata#ColumnMetadataList",
1157+
"traits": {
1158+
"smithy.api#documentation": "<p>The properties (metadata) of a column.</p>"
1159+
}
1160+
},
1161+
"TotalNumRows": {
1162+
"target": "com.amazonaws.redshiftdata#Long",
1163+
"traits": {
1164+
"smithy.api#default": 0,
1165+
"smithy.api#documentation": "<p>The total number of rows in the result set returned from a query. \n You can use this number to estimate the number of calls to the <code>GetStatementResultV2</code> operation needed to page through the results. </p>"
1166+
}
1167+
},
1168+
"ResultFormat": {
1169+
"target": "com.amazonaws.redshiftdata#ResultFormatString",
1170+
"traits": {
1171+
"smithy.api#documentation": "<p>The data format of the result of the SQL statement.</p>"
1172+
}
1173+
},
1174+
"NextToken": {
1175+
"target": "com.amazonaws.redshiftdata#String",
1176+
"traits": {
1177+
"smithy.api#documentation": "<p>A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request. </p>"
1178+
}
1179+
}
1180+
},
1181+
"traits": {
1182+
"smithy.api#output": {}
1183+
}
1184+
},
10721185
"com.amazonaws.redshiftdata#Integer": {
10731186
"type": "integer",
10741187
"traits": {
@@ -1564,6 +1677,20 @@
15641677
}
15651678
}
15661679
},
1680+
"com.amazonaws.redshiftdata#QueryRecords": {
1681+
"type": "union",
1682+
"members": {
1683+
"CSVRecords": {
1684+
"target": "com.amazonaws.redshiftdata#String",
1685+
"traits": {
1686+
"smithy.api#documentation": "<p>The results of the SQL statement in CSV format.</p>"
1687+
}
1688+
}
1689+
},
1690+
"traits": {
1691+
"smithy.api#documentation": "<p>The results of the SQL statement.</p>"
1692+
}
1693+
},
15671694
"com.amazonaws.redshiftdata#QueryTimeoutException": {
15681695
"type": "structure",
15691696
"members": {
@@ -1599,6 +1726,9 @@
15991726
{
16001727
"target": "com.amazonaws.redshiftdata#GetStatementResult"
16011728
},
1729+
{
1730+
"target": "com.amazonaws.redshiftdata#GetStatementResultV2"
1731+
},
16021732
{
16031733
"target": "com.amazonaws.redshiftdata#ListDatabases"
16041734
},
@@ -2278,6 +2408,21 @@
22782408
"smithy.api#httpError": 404
22792409
}
22802410
},
2411+
"com.amazonaws.redshiftdata#ResultFormatString": {
2412+
"type": "string",
2413+
"traits": {
2414+
"smithy.api#enum": [
2415+
{
2416+
"name": "JSON",
2417+
"value": "JSON"
2418+
},
2419+
{
2420+
"name": "CSV",
2421+
"value": "CSV"
2422+
}
2423+
]
2424+
}
2425+
},
22812426
"com.amazonaws.redshiftdata#SchemaList": {
22822427
"type": "list",
22832428
"member": {
@@ -2416,6 +2561,12 @@
24162561
"traits": {
24172562
"smithy.api#documentation": "<p>The session identifier of the query.</p>"
24182563
}
2564+
},
2565+
"ResultFormat": {
2566+
"target": "com.amazonaws.redshiftdata#ResultFormatString",
2567+
"traits": {
2568+
"smithy.api#documentation": "<p>The data format of the result of the SQL statement.</p>"
2569+
}
24192570
}
24202571
},
24212572
"traits": {

aws-models/sagemaker.json

Lines changed: 110 additions & 92 deletions
Large diffs are not rendered by default.

aws-models/sdk-endpoints.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20929,6 +20929,7 @@
2092920929
"tags" : [ "dualstack" ]
2093020930
} ]
2093120931
},
20932+
"eu-south-2" : { },
2093220933
"eu-west-1" : {
2093320934
"variants" : [ {
2093420935
"hostname" : "textract.eu-west-1.api.aws",

examples/cross_service/rest_ses/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ tracing-bunyan-formatter = "0.3.4"
3030
tracing-log = "0.1.3"
3131
xlsxwriter = "0.6.0"
3232
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config" }
33-
aws-sdk-cloudwatchlogs= { version = "1.53.0", path = "../../../sdk/cloudwatchlogs" }
33+
aws-sdk-cloudwatchlogs= { version = "1.54.0", path = "../../../sdk/cloudwatchlogs" }
3434
aws-sdk-rdsdata= { version = "1.47.0", path = "../../../sdk/rdsdata" }
3535
aws-sdk-ses= { version = "1.49.0", path = "../../../sdk/ses" }
3636
aws-smithy-types= { version = "1.2.8", path = "../../../sdk/aws-smithy-types" }

0 commit comments

Comments
 (0)