Skip to content

Commit e0266cb

Browse files
author
AWS
committed
Amazon Chime SDK Meetings Update: Updated format validation for ids and regions.
1 parent 86c5347 commit e0266cb

File tree

2 files changed

+29
-18
lines changed

2 files changed

+29
-18
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": "Amazon Chime SDK Meetings",
4+
"contributor": "",
5+
"description": "Updated format validation for ids and regions."
6+
}

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

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
"documentation":"<p>The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.</p>"
209209
},
210210
"AttendeeId":{
211-
"shape":"String",
211+
"shape":"GuidString",
212212
"documentation":"<p>The Amazon Chime SDK attendee ID.</p>"
213213
},
214214
"JoinToken":{
@@ -248,7 +248,7 @@
248248
],
249249
"members":{
250250
"MeetingId":{
251-
"shape":"String",
251+
"shape":"GuidString",
252252
"documentation":"<p>The Amazon Chime SDK ID of the meeting to which you're adding attendees.</p>",
253253
"location":"uri",
254254
"locationName":"MeetingId"
@@ -305,7 +305,7 @@
305305
],
306306
"members":{
307307
"MeetingId":{
308-
"shape":"String",
308+
"shape":"GuidString",
309309
"documentation":"<p>The unique ID of the meeting.</p>",
310310
"location":"uri",
311311
"locationName":"MeetingId"
@@ -356,8 +356,8 @@
356356
"idempotencyToken":true
357357
},
358358
"MediaRegion":{
359-
"shape":"String",
360-
"documentation":"<p>The Region in which to create the meeting. Default: <code>us-east-1</code>.</p> <p> Available values: <code>af-south-1</code> , <code>ap-northeast-1</code> , <code>ap-northeast-2</code> , <code>ap-south-1</code> , <code>ap-southeast-1</code> , <code>ap-southeast-2</code> , <code>ca-central-1</code> , <code>eu-central-1</code> , <code>eu-north-1</code> , <code>eu-south-1</code> , <code>eu-west-1</code> , <code>eu-west-2</code> , <code>eu-west-3</code> , <code>sa-east-1</code> , <code>us-east-1</code> , <code>us-east-2</code> , <code>us-west-1</code> , <code>us-west-2</code> . </p>"
359+
"shape":"MediaRegion",
360+
"documentation":"<p>The Region in which to create the meeting.</p> <p> Available values: <code>af-south-1</code> , <code>ap-northeast-1</code> , <code>ap-northeast-2</code> , <code>ap-south-1</code> , <code>ap-southeast-1</code> , <code>ap-southeast-2</code> , <code>ca-central-1</code> , <code>eu-central-1</code> , <code>eu-north-1</code> , <code>eu-south-1</code> , <code>eu-west-1</code> , <code>eu-west-2</code> , <code>eu-west-3</code> , <code>sa-east-1</code> , <code>us-east-1</code> , <code>us-east-2</code> , <code>us-west-1</code> , <code>us-west-2</code> . </p>"
361361
},
362362
"MeetingHostId":{
363363
"shape":"ExternalUserId",
@@ -397,8 +397,8 @@
397397
"idempotencyToken":true
398398
},
399399
"MediaRegion":{
400-
"shape":"String",
401-
"documentation":"<p>The Region in which to create the meeting. Default: <code>us-east-1</code>.</p>"
400+
"shape":"MediaRegion",
401+
"documentation":"<p>The Region in which to create the meeting.</p>"
402402
},
403403
"MeetingHostId":{
404404
"shape":"ExternalUserId",
@@ -449,13 +449,13 @@
449449
],
450450
"members":{
451451
"MeetingId":{
452-
"shape":"String",
452+
"shape":"GuidString",
453453
"documentation":"<p>The Amazon Chime SDK meeting ID.</p>",
454454
"location":"uri",
455455
"locationName":"MeetingId"
456456
},
457457
"AttendeeId":{
458-
"shape":"String",
458+
"shape":"GuidString",
459459
"documentation":"<p>The Amazon Chime SDK attendee ID.</p>",
460460
"location":"uri",
461461
"locationName":"AttendeeId"
@@ -467,7 +467,7 @@
467467
"required":["MeetingId"],
468468
"members":{
469469
"MeetingId":{
470-
"shape":"String",
470+
"shape":"GuidString",
471471
"documentation":"<p>The Amazon Chime SDK meeting ID.</p>",
472472
"location":"uri",
473473
"locationName":"MeetingId"
@@ -566,13 +566,13 @@
566566
],
567567
"members":{
568568
"MeetingId":{
569-
"shape":"String",
569+
"shape":"GuidString",
570570
"documentation":"<p>The Amazon Chime SDK meeting ID.</p>",
571571
"location":"uri",
572572
"locationName":"MeetingId"
573573
},
574574
"AttendeeId":{
575-
"shape":"String",
575+
"shape":"GuidString",
576576
"documentation":"<p>The Amazon Chime SDK attendee ID.</p>",
577577
"location":"uri",
578578
"locationName":"AttendeeId"
@@ -593,7 +593,7 @@
593593
"required":["MeetingId"],
594594
"members":{
595595
"MeetingId":{
596-
"shape":"String",
596+
"shape":"GuidString",
597597
"documentation":"<p>The Amazon Chime SDK meeting ID.</p>",
598598
"location":"uri",
599599
"locationName":"MeetingId"
@@ -615,7 +615,7 @@
615615
},
616616
"JoinTokenString":{
617617
"type":"string",
618-
"max":4096,
618+
"max":2048,
619619
"min":2,
620620
"sensitive":true
621621
},
@@ -638,7 +638,7 @@
638638
"required":["MeetingId"],
639639
"members":{
640640
"MeetingId":{
641-
"shape":"String",
641+
"shape":"GuidString",
642642
"documentation":"<p>The Amazon Chime SDK meeting ID.</p>",
643643
"location":"uri",
644644
"locationName":"MeetingId"
@@ -708,6 +708,11 @@
708708
},
709709
"documentation":"<p>A set of endpoints used by clients to connect to the media service group for an Amazon Chime SDK meeting.</p>"
710710
},
711+
"MediaRegion":{
712+
"type":"string",
713+
"max":64,
714+
"min":2
715+
},
711716
"Meeting":{
712717
"type":"structure",
713718
"members":{
@@ -724,7 +729,7 @@
724729
"documentation":"<p>The external meeting ID.</p>"
725730
},
726731
"MediaRegion":{
727-
"shape":"String",
732+
"shape":"MediaRegion",
728733
"documentation":"<p>The Region in which you create the meeting. Available values: <code>af-south-1</code>, <code>ap-northeast-1</code>, <code>ap-northeast-2</code>, <code>ap-south-1</code>, <code>ap-southeast-1</code>, <code>ap-southeast-2</code>, <code>ca-central-1</code>, <code>eu-central-1</code>, <code>eu-north-1</code>, <code>eu-south-1</code>, <code>eu-west-1</code>, <code>eu-west-2</code>, <code>eu-west-3</code>, <code>sa-east-1</code>, <code>us-east-1</code>, <code>us-east-2</code>, <code>us-west-1</code>, <code>us-west-2</code>.</p>"
729734
},
730735
"MediaPlacement":{
@@ -801,7 +806,7 @@
801806
],
802807
"members":{
803808
"MeetingId":{
804-
"shape":"String",
809+
"shape":"GuidString",
805810
"documentation":"<p>The unique ID of the meeting being transcribed.</p>",
806811
"location":"uri",
807812
"locationName":"MeetingId"
@@ -817,7 +822,7 @@
817822
"required":["MeetingId"],
818823
"members":{
819824
"MeetingId":{
820-
"shape":"String",
825+
"shape":"GuidString",
821826
"documentation":"<p>The unique ID of the meeting for which you stop transcription.</p>",
822827
"location":"uri",
823828
"locationName":"MeetingId"

0 commit comments

Comments
 (0)