Skip to content

Commit d870170

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent c4012c3 commit d870170

2 files changed

Lines changed: 42 additions & 14 deletions

File tree

codegen/sdk-codegen/aws-models/cleanrooms.json

Lines changed: 40 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1719,9 +1719,10 @@
17191719
"type": "string",
17201720
"traits": {
17211721
"smithy.api#length": {
1722+
"min": 0,
17221723
"max": 200
17231724
},
1724-
"smithy.api#pattern": "^arn:aws:cleanrooms:[\\w]{2}-[\\w]{4,9}-[\\d]:[\\d]{12}:membership/[\\d\\w-]+/analysistemplate/[\\d\\w-]+$"
1725+
"smithy.api#pattern": "^arn:aws[-a-z]*:cleanrooms:[\\w]{2}-[\\w]{4,9}-[\\d]:[\\d]{12}:membership/[\\d\\w-]+/analysistemplate/[\\d\\w-]+$"
17251726
}
17261727
},
17271728
"com.amazonaws.cleanrooms#AnalysisTemplateArnList": {
@@ -2142,6 +2143,16 @@
21422143
}
21432144
}
21442145
},
2146+
"com.amazonaws.cleanrooms#AthenaCatalogName": {
2147+
"type": "string",
2148+
"traits": {
2149+
"smithy.api#length": {
2150+
"min": 1,
2151+
"max": 64
2152+
},
2153+
"smithy.api#pattern": "^[a-zA-Z0-9_-]+$"
2154+
}
2155+
},
21452156
"com.amazonaws.cleanrooms#AthenaDatabaseName": {
21462157
"type": "string",
21472158
"traits": {
@@ -2205,6 +2216,12 @@
22052216
"smithy.api#documentation": "<p> The table reference.</p>",
22062217
"smithy.api#required": {}
22072218
}
2219+
},
2220+
"catalogName": {
2221+
"target": "com.amazonaws.cleanrooms#AthenaCatalogName",
2222+
"traits": {
2223+
"smithy.api#documentation": "<p> The catalog name.</p>"
2224+
}
22082225
}
22092226
},
22102227
"traits": {
@@ -15696,18 +15713,23 @@
1569615713
}
1569715714
},
1569815715
"com.amazonaws.cleanrooms#ResultFormat": {
15699-
"type": "string",
15700-
"traits": {
15701-
"smithy.api#enum": [
15702-
{
15703-
"name": "CSV",
15704-
"value": "CSV"
15705-
},
15706-
{
15707-
"name": "PARQUET",
15708-
"value": "PARQUET"
15716+
"type": "enum",
15717+
"members": {
15718+
"CSV": {
15719+
"target": "smithy.api#Unit",
15720+
"traits": {
15721+
"smithy.api#enumValue": "CSV"
1570915722
}
15710-
]
15723+
},
15724+
"PARQUET": {
15725+
"target": "smithy.api#Unit",
15726+
"traits": {
15727+
"smithy.api#enumValue": "PARQUET"
15728+
}
15729+
}
15730+
},
15731+
"traits": {
15732+
"smithy.api#documentation": "File format of the returned data.\n"
1571115733
}
1571215734
},
1571315735
"com.amazonaws.cleanrooms#RoleArn": {
@@ -18617,12 +18639,18 @@
1861718639
"type": {
1861818640
"target": "com.amazonaws.cleanrooms#WorkerComputeType",
1861918641
"traits": {
18642+
"smithy.api#addedDefault": {},
18643+
"smithy.api#clientOptional": {},
18644+
"smithy.api#default": "CR.1X",
1862018645
"smithy.api#documentation": "<p> The worker compute configuration type.</p>"
1862118646
}
1862218647
},
1862318648
"number": {
1862418649
"target": "smithy.api#Integer",
1862518650
"traits": {
18651+
"smithy.api#addedDefault": {},
18652+
"smithy.api#clientOptional": {},
18653+
"smithy.api#default": 16,
1862618654
"smithy.api#documentation": "<p> The number of workers.</p> <p>SQL queries support a minimum value of 2 and a maximum value of 400. </p> <p>PySpark jobs support a minimum value of 4 and a maximum value of 128.</p>",
1862718655
"smithy.api#range": {
1862818656
"min": 2,

codegen/sdk-codegen/aws-models/connect.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11538,7 +11538,7 @@
1153811538
}
1153911539
],
1154011540
"traits": {
11541-
"smithy.api#documentation": "<p>Creates a new notification to be delivered to specified recipients. Notifications can include localized content with embedded links, and an optional expiration time. Recipients can be specified as individual user ARNs or instance ARNs to target all users in an instance.</p>",
11541+
"smithy.api#documentation": "<p>Creates a new notification to be delivered to specified recipients. Notifications can include localized content with links, and an optional expiration time. Recipients can be specified as individual user ARNs or instance ARNs to target all users in an instance.</p>",
1154211542
"smithy.api#http": {
1154311543
"method": "PUT",
1154411544
"uri": "/notifications/{InstanceId}",
@@ -11579,7 +11579,7 @@
1157911579
"Content": {
1158011580
"target": "com.amazonaws.connect#NotificationContent",
1158111581
"traits": {
11582-
"smithy.api#documentation": "<p>The localized content of the notification. A map where keys are locale codes and values are the notification text in that locale. Content supports markdown formatting and embedded links. Maximum 250 characters per locale.</p>",
11582+
"smithy.api#documentation": "<p>The localized content of the notification. A map where keys are locale codes and values are the notification text in that locale. Content supports links. Maximum 250 characters per locale.</p>",
1158311583
"smithy.api#required": {}
1158411584
}
1158511585
},

0 commit comments

Comments
 (0)