Skip to content

Commit 2f48b33

Browse files
IVS Real-Time now offers customers the participant replication that allow customers to copy a participant from one stage to another.
1 parent 22f5416 commit 2f48b33

File tree

40 files changed

+4008
-20
lines changed

40 files changed

+4008
-20
lines changed

generator/ServiceModels/ivs-realtime/ivs-realtime-2020-07-14.api.json

Lines changed: 255 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,20 @@
412412
{"shape":"AccessDeniedException"}
413413
]
414414
},
415+
"ListParticipantReplicas":{
416+
"name":"ListParticipantReplicas",
417+
"http":{
418+
"method":"POST",
419+
"requestUri":"/ListParticipantReplicas",
420+
"responseCode":200
421+
},
422+
"input":{"shape":"ListParticipantReplicasRequest"},
423+
"output":{"shape":"ListParticipantReplicasResponse"},
424+
"errors":[
425+
{"shape":"ValidationException"},
426+
{"shape":"AccessDeniedException"}
427+
]
428+
},
415429
"ListParticipants":{
416430
"name":"ListParticipants",
417431
"http":{
@@ -520,6 +534,25 @@
520534
{"shape":"PendingVerification"}
521535
]
522536
},
537+
"StartParticipantReplication":{
538+
"name":"StartParticipantReplication",
539+
"http":{
540+
"method":"POST",
541+
"requestUri":"/StartParticipantReplication",
542+
"responseCode":200
543+
},
544+
"input":{"shape":"StartParticipantReplicationRequest"},
545+
"output":{"shape":"StartParticipantReplicationResponse"},
546+
"errors":[
547+
{"shape":"ResourceNotFoundException"},
548+
{"shape":"ValidationException"},
549+
{"shape":"AccessDeniedException"},
550+
{"shape":"InternalServerException"},
551+
{"shape":"ServiceQuotaExceededException"},
552+
{"shape":"ConflictException"},
553+
{"shape":"PendingVerification"}
554+
]
555+
},
523556
"StopComposition":{
524557
"name":"StopComposition",
525558
"http":{
@@ -538,6 +571,22 @@
538571
{"shape":"ConflictException"}
539572
]
540573
},
574+
"StopParticipantReplication":{
575+
"name":"StopParticipantReplication",
576+
"http":{
577+
"method":"POST",
578+
"requestUri":"/StopParticipantReplication",
579+
"responseCode":200
580+
},
581+
"input":{"shape":"StopParticipantReplicationRequest"},
582+
"output":{"shape":"StopParticipantReplicationResponse"},
583+
"errors":[
584+
{"shape":"ResourceNotFoundException"},
585+
{"shape":"ValidationException"},
586+
{"shape":"AccessDeniedException"},
587+
{"shape":"InternalServerException"}
588+
]
589+
},
541590
"TagResource":{
542591
"name":"TagResource",
543592
"http":{
@@ -671,7 +720,8 @@
671720
"mediaTypes":{"shape":"ParticipantRecordingMediaTypeList"},
672721
"thumbnailConfiguration":{"shape":"ParticipantThumbnailConfiguration"},
673722
"recordingReconnectWindowSeconds":{"shape":"ParticipantRecordingReconnectWindowSeconds"},
674-
"hlsConfiguration":{"shape":"ParticipantRecordingHlsConfiguration"}
723+
"hlsConfiguration":{"shape":"ParticipantRecordingHlsConfiguration"},
724+
"recordParticipantReplicas":{"shape":"RecordParticipantReplicas"}
675725
}
676726
},
677727
"AutoParticipantRecordingStorageConfigurationArn":{
@@ -1131,7 +1181,10 @@
11311181
"participantId":{"shape":"ParticipantId"},
11321182
"eventTime":{"shape":"Time"},
11331183
"remoteParticipantId":{"shape":"ParticipantId"},
1134-
"errorCode":{"shape":"EventErrorCode"}
1184+
"errorCode":{"shape":"EventErrorCode"},
1185+
"destinationStageArn":{"shape":"StageArn"},
1186+
"destinationSessionId":{"shape":"StageSessionId"},
1187+
"replica":{"shape":"Replica"}
11351188
}
11361189
},
11371190
"EventErrorCode":{
@@ -1168,7 +1221,9 @@
11681221
"SUBSCRIBE_STOPPED",
11691222
"PUBLISH_ERROR",
11701223
"SUBSCRIBE_ERROR",
1171-
"JOIN_ERROR"
1224+
"JOIN_ERROR",
1225+
"REPLICATION_STARTED",
1226+
"REPLICATION_STOPPED"
11721227
]
11731228
},
11741229
"Framerate":{
@@ -1533,6 +1588,27 @@
15331588
"nextToken":{"shape":"PaginationToken"}
15341589
}
15351590
},
1591+
"ListParticipantReplicasRequest":{
1592+
"type":"structure",
1593+
"required":[
1594+
"sourceStageArn",
1595+
"participantId"
1596+
],
1597+
"members":{
1598+
"sourceStageArn":{"shape":"StageArn"},
1599+
"participantId":{"shape":"ParticipantId"},
1600+
"nextToken":{"shape":"PaginationToken"},
1601+
"maxResults":{"shape":"MaxParticipantReplicaResults"}
1602+
}
1603+
},
1604+
"ListParticipantReplicasResponse":{
1605+
"type":"structure",
1606+
"required":["replicas"],
1607+
"members":{
1608+
"replicas":{"shape":"ParticipantReplicaList"},
1609+
"nextToken":{"shape":"PaginationToken"}
1610+
}
1611+
},
15361612
"ListParticipantsRequest":{
15371613
"type":"structure",
15381614
"required":[
@@ -1662,6 +1738,12 @@
16621738
"max":100,
16631739
"min":1
16641740
},
1741+
"MaxParticipantReplicaResults":{
1742+
"type":"integer",
1743+
"box":true,
1744+
"max":50,
1745+
"min":1
1746+
},
16651747
"MaxParticipantResults":{
16661748
"type":"integer",
16671749
"box":true,
@@ -1717,7 +1799,11 @@
17171799
"recordingS3BucketName":{"shape":"ParticipantRecordingS3BucketName"},
17181800
"recordingS3Prefix":{"shape":"ParticipantRecordingS3Prefix"},
17191801
"recordingState":{"shape":"ParticipantRecordingState"},
1720-
"protocol":{"shape":"ParticipantProtocol"}
1802+
"protocol":{"shape":"ParticipantProtocol"},
1803+
"replicationType":{"shape":"ReplicationType"},
1804+
"replicationState":{"shape":"ReplicationState"},
1805+
"sourceStageArn":{"shape":"StageArn"},
1806+
"sourceSessionId":{"shape":"StageSessionId"}
17211807
}
17221808
},
17231809
"ParticipantAttributes":{
@@ -1814,6 +1900,29 @@
18141900
"max":10,
18151901
"min":2
18161902
},
1903+
"ParticipantReplica":{
1904+
"type":"structure",
1905+
"required":[
1906+
"sourceStageArn",
1907+
"participantId",
1908+
"sourceSessionId",
1909+
"destinationStageArn",
1910+
"destinationSessionId",
1911+
"replicationState"
1912+
],
1913+
"members":{
1914+
"sourceStageArn":{"shape":"StageArn"},
1915+
"participantId":{"shape":"ParticipantId"},
1916+
"sourceSessionId":{"shape":"StageSessionId"},
1917+
"destinationStageArn":{"shape":"StageArn"},
1918+
"destinationSessionId":{"shape":"StageSessionId"},
1919+
"replicationState":{"shape":"ReplicationState"}
1920+
}
1921+
},
1922+
"ParticipantReplicaList":{
1923+
"type":"list",
1924+
"member":{"shape":"ParticipantReplica"}
1925+
},
18171926
"ParticipantState":{
18181927
"type":"string",
18191928
"enum":[
@@ -1829,7 +1938,11 @@
18291938
"state":{"shape":"ParticipantState"},
18301939
"firstJoinTime":{"shape":"Time"},
18311940
"published":{"shape":"Published"},
1832-
"recordingState":{"shape":"ParticipantRecordingState"}
1941+
"recordingState":{"shape":"ParticipantRecordingState"},
1942+
"replicationType":{"shape":"ReplicationType"},
1943+
"replicationState":{"shape":"ReplicationState"},
1944+
"sourceStageArn":{"shape":"StageArn"},
1945+
"sourceSessionId":{"shape":"StageSessionId"}
18331946
}
18341947
},
18351948
"ParticipantThumbnailConfiguration":{
@@ -1895,7 +2008,12 @@
18952008
"type":"timestamp",
18962009
"timestampFormat":"iso8601"
18972010
},
1898-
"ParticipantTokenId":{"type":"string"},
2011+
"ParticipantTokenId":{
2012+
"type":"string",
2013+
"max":64,
2014+
"min":0,
2015+
"pattern":"[a-zA-Z0-9-_]*"
2016+
},
18992017
"ParticipantTokenList":{
19002018
"type":"list",
19012019
"member":{"shape":"ParticipantToken"}
@@ -2045,6 +2163,13 @@
20452163
}
20462164
},
20472165
"Published":{"type":"boolean"},
2166+
"ReconnectWindowSeconds":{
2167+
"type":"integer",
2168+
"box":true,
2169+
"max":60,
2170+
"min":0
2171+
},
2172+
"RecordParticipantReplicas":{"type":"boolean"},
20482173
"RecordingConfiguration":{
20492174
"type":"structure",
20502175
"members":{
@@ -2056,6 +2181,22 @@
20562181
"type":"string",
20572182
"enum":["HLS"]
20582183
},
2184+
"Replica":{"type":"boolean"},
2185+
"ReplicationState":{
2186+
"type":"string",
2187+
"enum":[
2188+
"ACTIVE",
2189+
"STOPPED"
2190+
]
2191+
},
2192+
"ReplicationType":{
2193+
"type":"string",
2194+
"enum":[
2195+
"SOURCE",
2196+
"REPLICA",
2197+
"NONE"
2198+
]
2199+
},
20592200
"ResourceArn":{
20602201
"type":"string",
20612202
"max":128,
@@ -2298,6 +2439,61 @@
22982439
"composition":{"shape":"Composition"}
22992440
}
23002441
},
2442+
"StartParticipantReplicationRequest":{
2443+
"type":"structure",
2444+
"required":[
2445+
"sourceStageArn",
2446+
"destinationStageArn",
2447+
"participantId"
2448+
],
2449+
"members":{
2450+
"sourceStageArn":{"shape":"StageArn"},
2451+
"destinationStageArn":{"shape":"StageArn"},
2452+
"participantId":{"shape":"ParticipantId"},
2453+
"reconnectWindowSeconds":{"shape":"ReconnectWindowSeconds"},
2454+
"attributes":{"shape":"ParticipantAttributes"}
2455+
}
2456+
},
2457+
"StartParticipantReplicationResponse":{
2458+
"type":"structure",
2459+
"members":{
2460+
"accessControlAllowOrigin":{
2461+
"shape":"String",
2462+
"location":"header",
2463+
"locationName":"Access-Control-Allow-Origin"
2464+
},
2465+
"accessControlExposeHeaders":{
2466+
"shape":"String",
2467+
"location":"header",
2468+
"locationName":"Access-Control-Expose-Headers"
2469+
},
2470+
"cacheControl":{
2471+
"shape":"String",
2472+
"location":"header",
2473+
"locationName":"Cache-Control"
2474+
},
2475+
"contentSecurityPolicy":{
2476+
"shape":"String",
2477+
"location":"header",
2478+
"locationName":"Content-Security-Policy"
2479+
},
2480+
"strictTransportSecurity":{
2481+
"shape":"String",
2482+
"location":"header",
2483+
"locationName":"Strict-Transport-Security"
2484+
},
2485+
"xContentTypeOptions":{
2486+
"shape":"String",
2487+
"location":"header",
2488+
"locationName":"X-Content-Type-Options"
2489+
},
2490+
"xFrameOptions":{
2491+
"shape":"String",
2492+
"location":"header",
2493+
"locationName":"X-Frame-Options"
2494+
}
2495+
}
2496+
},
23012497
"StopCompositionRequest":{
23022498
"type":"structure",
23032499
"required":["arn"],
@@ -2310,6 +2506,59 @@
23102506
"members":{
23112507
}
23122508
},
2509+
"StopParticipantReplicationRequest":{
2510+
"type":"structure",
2511+
"required":[
2512+
"sourceStageArn",
2513+
"destinationStageArn",
2514+
"participantId"
2515+
],
2516+
"members":{
2517+
"sourceStageArn":{"shape":"StageArn"},
2518+
"destinationStageArn":{"shape":"StageArn"},
2519+
"participantId":{"shape":"ParticipantId"}
2520+
}
2521+
},
2522+
"StopParticipantReplicationResponse":{
2523+
"type":"structure",
2524+
"members":{
2525+
"accessControlAllowOrigin":{
2526+
"shape":"String",
2527+
"location":"header",
2528+
"locationName":"Access-Control-Allow-Origin"
2529+
},
2530+
"accessControlExposeHeaders":{
2531+
"shape":"String",
2532+
"location":"header",
2533+
"locationName":"Access-Control-Expose-Headers"
2534+
},
2535+
"cacheControl":{
2536+
"shape":"String",
2537+
"location":"header",
2538+
"locationName":"Cache-Control"
2539+
},
2540+
"contentSecurityPolicy":{
2541+
"shape":"String",
2542+
"location":"header",
2543+
"locationName":"Content-Security-Policy"
2544+
},
2545+
"strictTransportSecurity":{
2546+
"shape":"String",
2547+
"location":"header",
2548+
"locationName":"Strict-Transport-Security"
2549+
},
2550+
"xContentTypeOptions":{
2551+
"shape":"String",
2552+
"location":"header",
2553+
"locationName":"X-Content-Type-Options"
2554+
},
2555+
"xFrameOptions":{
2556+
"shape":"String",
2557+
"location":"header",
2558+
"locationName":"X-Frame-Options"
2559+
}
2560+
}
2561+
},
23132562
"StorageConfiguration":{
23142563
"type":"structure",
23152564
"required":["arn"],

0 commit comments

Comments
 (0)