Skip to content

Commit 9abeb93

Browse files
author
AWS
committed
AWS Data Exchange Update: This release updates resource Id with alphanumeric constraint, including Asset id, Revision id, Data Set id, Job id, and Event Action id.
1 parent 365192b commit 9abeb93

File tree

2 files changed

+38
-29
lines changed

2 files changed

+38
-29
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Data Exchange",
4+
"contributor": "",
5+
"description": "This release updates resource Id with alphanumeric constraint, including Asset id, Revision id, Data Set id, Job id, and Event Action id."
6+
}

services/dataexchange/src/main/resources/codegen-resources/service-2.json

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@
990990
"required":["JobId"],
991991
"members":{
992992
"JobId":{
993-
"shape":"__string",
993+
"shape":"Id",
994994
"documentation":"<p>The unique identifier for a job.</p>",
995995
"location":"uri",
996996
"locationName":"JobId"
@@ -1348,7 +1348,7 @@
13481348
"documentation":"<p>An optional comment about the revision.</p>"
13491349
},
13501350
"DataSetId":{
1351-
"shape":"__string",
1351+
"shape":"Id",
13521352
"documentation":"<p>The unique identifier for a data set.</p>",
13531353
"location":"uri",
13541354
"locationName":"DataSetId"
@@ -1657,19 +1657,19 @@
16571657
],
16581658
"members":{
16591659
"AssetId":{
1660-
"shape":"__string",
1660+
"shape":"Id",
16611661
"documentation":"<p>The unique identifier for an asset.</p>",
16621662
"location":"uri",
16631663
"locationName":"AssetId"
16641664
},
16651665
"DataSetId":{
1666-
"shape":"__string",
1666+
"shape":"Id",
16671667
"documentation":"<p>The unique identifier for a data set.</p>",
16681668
"location":"uri",
16691669
"locationName":"DataSetId"
16701670
},
16711671
"RevisionId":{
1672-
"shape":"__string",
1672+
"shape":"Id",
16731673
"documentation":"<p>The unique identifier for a revision.</p>",
16741674
"location":"uri",
16751675
"locationName":"RevisionId"
@@ -1693,7 +1693,7 @@
16931693
"required":["DataSetId"],
16941694
"members":{
16951695
"DataSetId":{
1696-
"shape":"__string",
1696+
"shape":"Id",
16971697
"documentation":"<p>The unique identifier for a data set.</p>",
16981698
"location":"uri",
16991699
"locationName":"DataSetId"
@@ -1720,13 +1720,13 @@
17201720
],
17211721
"members":{
17221722
"DataSetId":{
1723-
"shape":"__string",
1723+
"shape":"Id",
17241724
"documentation":"<p>The unique identifier for a data set.</p>",
17251725
"location":"uri",
17261726
"locationName":"DataSetId"
17271727
},
17281728
"RevisionId":{
1729-
"shape":"__string",
1729+
"shape":"Id",
17301730
"documentation":"<p>The unique identifier for a revision.</p>",
17311731
"location":"uri",
17321732
"locationName":"RevisionId"
@@ -1994,19 +1994,19 @@
19941994
],
19951995
"members":{
19961996
"AssetId":{
1997-
"shape":"__string",
1997+
"shape":"Id",
19981998
"documentation":"<p>The unique identifier for an asset.</p>",
19991999
"location":"uri",
20002000
"locationName":"AssetId"
20012001
},
20022002
"DataSetId":{
2003-
"shape":"__string",
2003+
"shape":"Id",
20042004
"documentation":"<p>The unique identifier for a data set.</p>",
20052005
"location":"uri",
20062006
"locationName":"DataSetId"
20072007
},
20082008
"RevisionId":{
2009-
"shape":"__string",
2009+
"shape":"Id",
20102010
"documentation":"<p>The unique identifier for a revision.</p>",
20112011
"location":"uri",
20122012
"locationName":"RevisionId"
@@ -2153,7 +2153,7 @@
21532153
"required":["DataSetId"],
21542154
"members":{
21552155
"DataSetId":{
2156-
"shape":"__string",
2156+
"shape":"Id",
21572157
"documentation":"<p>The unique identifier for a data set.</p>",
21582158
"location":"uri",
21592159
"locationName":"DataSetId"
@@ -2259,7 +2259,7 @@
22592259
"required":["JobId"],
22602260
"members":{
22612261
"JobId":{
2262-
"shape":"__string",
2262+
"shape":"Id",
22632263
"documentation":"<p>The unique identifier for a job.</p>",
22642264
"location":"uri",
22652265
"locationName":"JobId"
@@ -2391,13 +2391,13 @@
23912391
],
23922392
"members":{
23932393
"DataSetId":{
2394-
"shape":"__string",
2394+
"shape":"Id",
23952395
"documentation":"<p>The unique identifier for a data set.</p>",
23962396
"location":"uri",
23972397
"locationName":"DataSetId"
23982398
},
23992399
"RevisionId":{
2400-
"shape":"__string",
2400+
"shape":"Id",
24012401
"documentation":"<p>The unique identifier for a revision.</p>",
24022402
"location":"uri",
24032403
"locationName":"RevisionId"
@@ -2464,7 +2464,10 @@
24642464
"NONE"
24652465
]
24662466
},
2467-
"Id":{"type":"string"},
2467+
"Id":{
2468+
"type":"string",
2469+
"pattern":"[a-zA-Z0-9]{30,40}"
2470+
},
24682471
"ImportAssetFromApiGatewayApiRequestDetails":{
24692472
"type":"structure",
24702473
"required":[
@@ -3143,7 +3146,7 @@
31433146
"required":["DataSetId"],
31443147
"members":{
31453148
"DataSetId":{
3146-
"shape":"__string",
3149+
"shape":"Id",
31473150
"documentation":"<p>The unique identifier for a data set.</p>",
31483151
"location":"uri",
31493152
"locationName":"DataSetId"
@@ -3428,7 +3431,7 @@
34283431
],
34293432
"members":{
34303433
"DataSetId":{
3431-
"shape":"__string",
3434+
"shape":"Id",
34323435
"documentation":"<p>The unique identifier for a data set.</p>",
34333436
"location":"uri",
34343437
"locationName":"DataSetId"
@@ -3446,7 +3449,7 @@
34463449
"locationName":"nextToken"
34473450
},
34483451
"RevisionId":{
3449-
"shape":"__string",
3452+
"shape":"Id",
34503453
"documentation":"<p>The unique identifier for a revision.</p>",
34513454
"location":"uri",
34523455
"locationName":"RevisionId"
@@ -3891,13 +3894,13 @@
38913894
],
38923895
"members":{
38933896
"DataSetId":{
3894-
"shape":"__string",
3897+
"shape":"Id",
38953898
"documentation":"<p>The unique identifier for a data set.</p>",
38963899
"location":"uri",
38973900
"locationName":"DataSetId"
38983901
},
38993902
"RevisionId":{
3900-
"shape":"__string",
3903+
"shape":"Id",
39013904
"documentation":"<p>The unique identifier for a revision.</p>",
39023905
"location":"uri",
39033906
"locationName":"RevisionId"
@@ -4196,7 +4199,7 @@
41964199
"documentation":"<p>Free-form text field for providers to add information about their notifications.</p>"
41974200
},
41984201
"DataSetId":{
4199-
"shape":"__string",
4202+
"shape":"Id",
42004203
"documentation":"<p>Affected data set of the notification.</p>",
42014204
"location":"uri",
42024205
"locationName":"DataSetId"
@@ -4256,7 +4259,7 @@
42564259
"required":["JobId"],
42574260
"members":{
42584261
"JobId":{
4259-
"shape":"__string",
4262+
"shape":"Id",
42604263
"documentation":"<p>The unique identifier for a job.</p>",
42614264
"location":"uri",
42624265
"locationName":"JobId"
@@ -4401,13 +4404,13 @@
44014404
],
44024405
"members":{
44034406
"AssetId":{
4404-
"shape":"__string",
4407+
"shape":"Id",
44054408
"documentation":"<p>The unique identifier for an asset.</p>",
44064409
"location":"uri",
44074410
"locationName":"AssetId"
44084411
},
44094412
"DataSetId":{
4410-
"shape":"__string",
4413+
"shape":"Id",
44114414
"documentation":"<p>The unique identifier for a data set.</p>",
44124415
"location":"uri",
44134416
"locationName":"DataSetId"
@@ -4417,7 +4420,7 @@
44174420
"documentation":"<p>The name of the asset. When importing from Amazon S3, the Amazon S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target Amazon S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name. When importing from AWS Lake Formation, the static values of \"Database(s) included in the LF-tag policy\" or \"Table(s) included in LF-tag policy\" are used as the name.</p>"
44184421
},
44194422
"RevisionId":{
4420-
"shape":"__string",
4423+
"shape":"Id",
44214424
"documentation":"<p>The unique identifier for a revision.</p>",
44224425
"location":"uri",
44234426
"locationName":"RevisionId"
@@ -4474,7 +4477,7 @@
44744477
"required":["DataSetId"],
44754478
"members":{
44764479
"DataSetId":{
4477-
"shape":"__string",
4480+
"shape":"Id",
44784481
"documentation":"<p>The unique identifier for a data set.</p>",
44794482
"location":"uri",
44804483
"locationName":"DataSetId"
@@ -4591,7 +4594,7 @@
45914594
"documentation":"<p>An optional comment about the revision.</p>"
45924595
},
45934596
"DataSetId":{
4594-
"shape":"__string",
4597+
"shape":"Id",
45954598
"documentation":"<p>The unique identifier for a data set.</p>",
45964599
"location":"uri",
45974600
"locationName":"DataSetId"
@@ -4601,7 +4604,7 @@
46014604
"documentation":"<p>Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products.</p>"
46024605
},
46034606
"RevisionId":{
4604-
"shape":"__string",
4607+
"shape":"Id",
46054608
"documentation":"<p>The unique identifier for a revision.</p>",
46064609
"location":"uri",
46074610
"locationName":"RevisionId"

0 commit comments

Comments
 (0)