Skip to content

Commit d95213a

Browse files
feat: update AWS API models
1 parent f86cf57 commit d95213a

File tree

3 files changed

+604
-207
lines changed

3 files changed

+604
-207
lines changed

codegen/sdk/aws-models/ivs-realtime.json

Lines changed: 241 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2384,12 +2384,47 @@
23842384
"traits": {
23852385
"smithy.api#documentation": "<p>This attribute name identifies the featured slot. A participant with this attribute set\n to <code>\"true\"</code> (as a string value) in <a>ParticipantTokenConfiguration</a> is placed in the featured\n slot.</p>"
23862386
}
2387+
},
2388+
"omitStoppedVideo": {
2389+
"target": "com.amazonaws.ivsrealtime#OmitStoppedVideo",
2390+
"traits": {
2391+
"smithy.api#default": false,
2392+
"smithy.api#documentation": "<p>Determines whether to omit participants with stopped video in the composition. Default: <code>false</code>.</p>"
2393+
}
2394+
},
2395+
"videoAspectRatio": {
2396+
"target": "com.amazonaws.ivsrealtime#VideoAspectRatio",
2397+
"traits": {
2398+
"smithy.api#documentation": "<p>Sets the non-featured participant display mode. Default: <code>VIDEO</code>.</p>"
2399+
}
2400+
},
2401+
"videoFillMode": {
2402+
"target": "com.amazonaws.ivsrealtime#VideoFillMode",
2403+
"traits": {
2404+
"smithy.api#documentation": "<p>Defines how video fits within the participant tile. When not set, \n\t <code>videoFillMode</code> defaults to <code>COVER</code> fill mode for participants in the grid \n\t and to <code>CONTAIN</code> fill mode for featured participants.</p>"
2405+
}
2406+
},
2407+
"gridGap": {
2408+
"target": "com.amazonaws.ivsrealtime#GridGap",
2409+
"traits": {
2410+
"smithy.api#default": 0,
2411+
"smithy.api#documentation": "<p>Specifies the spacing between participant tiles in pixels. Default: <code>2</code>.</p>"
2412+
}
23872413
}
23882414
},
23892415
"traits": {
23902416
"smithy.api#documentation": "<p>Configuration information specific to Grid layout, for server-side composition. See\n \"Layouts\" in <a href=\"https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/server-side-composition.html\">Server-Side\n Composition</a>.</p>"
23912417
}
23922418
},
2419+
"com.amazonaws.ivsrealtime#GridGap": {
2420+
"type": "integer",
2421+
"traits": {
2422+
"smithy.api#default": 0,
2423+
"smithy.api#range": {
2424+
"min": 0
2425+
}
2426+
}
2427+
},
23932428
"com.amazonaws.ivsrealtime#Height": {
23942429
"type": "integer",
23952430
"traits": {
@@ -2423,6 +2458,12 @@
24232458
"traits": {
24242459
"smithy.api#documentation": "<p>Configuration related to grid layout. Default: Grid layout.</p>"
24252460
}
2461+
},
2462+
"pip": {
2463+
"target": "com.amazonaws.ivsrealtime#PipConfiguration",
2464+
"traits": {
2465+
"smithy.api#documentation": "<p>Configuration related to PiP layout.</p>"
2466+
}
24262467
}
24272468
},
24282469
"traits": {
@@ -3139,6 +3180,12 @@
31393180
}
31403181
}
31413182
},
3183+
"com.amazonaws.ivsrealtime#OmitStoppedVideo": {
3184+
"type": "boolean",
3185+
"traits": {
3186+
"smithy.api#default": false
3187+
}
3188+
},
31423189
"com.amazonaws.ivsrealtime#PaginationToken": {
31433190
"type": "string",
31443191
"traits": {
@@ -3504,6 +3551,148 @@
35043551
"smithy.api#httpError": 403
35053552
}
35063553
},
3554+
"com.amazonaws.ivsrealtime#PipBehavior": {
3555+
"type": "enum",
3556+
"members": {
3557+
"STATIC": {
3558+
"target": "smithy.api#Unit",
3559+
"traits": {
3560+
"smithy.api#enumValue": "STATIC"
3561+
}
3562+
},
3563+
"DYNAMIC": {
3564+
"target": "smithy.api#Unit",
3565+
"traits": {
3566+
"smithy.api#enumValue": "DYNAMIC"
3567+
}
3568+
}
3569+
}
3570+
},
3571+
"com.amazonaws.ivsrealtime#PipConfiguration": {
3572+
"type": "structure",
3573+
"members": {
3574+
"featuredParticipantAttribute": {
3575+
"target": "com.amazonaws.ivsrealtime#AttributeKey",
3576+
"traits": {
3577+
"smithy.api#documentation": "<p>This attribute name identifies the featured slot. A participant with this attribute set\n to <code>\"true\"</code> (as a string value) in <a>ParticipantTokenConfiguration</a> is placed in the featured\n slot.</p>"
3578+
}
3579+
},
3580+
"omitStoppedVideo": {
3581+
"target": "com.amazonaws.ivsrealtime#OmitStoppedVideo",
3582+
"traits": {
3583+
"smithy.api#default": false,
3584+
"smithy.api#documentation": "<p>Determines whether to omit participants with stopped video in the composition. Default: <code>false</code>.</p>"
3585+
}
3586+
},
3587+
"videoFillMode": {
3588+
"target": "com.amazonaws.ivsrealtime#VideoFillMode",
3589+
"traits": {
3590+
"smithy.api#documentation": "<p>Defines how video fits within the participant tile. Default: <code>COVER</code>.\n</p>"
3591+
}
3592+
},
3593+
"gridGap": {
3594+
"target": "com.amazonaws.ivsrealtime#GridGap",
3595+
"traits": {
3596+
"smithy.api#default": 0,
3597+
"smithy.api#documentation": "<p>Specifies the spacing between participant tiles in pixels. Default: <code>0</code>.</p>"
3598+
}
3599+
},
3600+
"pipParticipantAttribute": {
3601+
"target": "com.amazonaws.ivsrealtime#AttributeKey",
3602+
"traits": {
3603+
"smithy.api#documentation": "<p>Identifies the PiP slot. A participant with this attribute set\n to <code>\"true\"</code> (as a string value) in <a>ParticipantTokenConfiguration</a> \n\t\t is placed in the PiP slot.</p>"
3604+
}
3605+
},
3606+
"pipBehavior": {
3607+
"target": "com.amazonaws.ivsrealtime#PipBehavior",
3608+
"traits": {
3609+
"smithy.api#documentation": "<p>Defines PiP behavior when all participants have left. Default: <code>STATIC</code>.</p>"
3610+
}
3611+
},
3612+
"pipOffset": {
3613+
"target": "com.amazonaws.ivsrealtime#PipOffset",
3614+
"traits": {
3615+
"smithy.api#default": 0,
3616+
"smithy.api#documentation": "<p>Sets the PiP window’s offset position in pixels from the closest edges determined by <code>PipPosition</code>. \n\t Default: <code>0</code>.</p>"
3617+
}
3618+
},
3619+
"pipPosition": {
3620+
"target": "com.amazonaws.ivsrealtime#PipPosition",
3621+
"traits": {
3622+
"smithy.api#documentation": "<p>Determines the corner position of the PiP window. Default: <code>BOTTOM_RIGHT</code>.</p>"
3623+
}
3624+
},
3625+
"pipWidth": {
3626+
"target": "com.amazonaws.ivsrealtime#PipWidth",
3627+
"traits": {
3628+
"smithy.api#documentation": "<p>Specifies the width of the PiP window in pixels. When this is not set explicitly, \n\t <code>pipWidth</code>’s value will be based on the size of the composition and the \n\t\t\taspect ratio of the participant’s video.</p>"
3629+
}
3630+
},
3631+
"pipHeight": {
3632+
"target": "com.amazonaws.ivsrealtime#PipHeight",
3633+
"traits": {
3634+
"smithy.api#documentation": "<p>Specifies the height of the PiP window in pixels. When this is not set explicitly, \n\t <code>pipHeight</code>’s value will be based on the size of the composition and the\n\t\t\taspect ratio of the participant’s video.</p>"
3635+
}
3636+
}
3637+
},
3638+
"traits": {
3639+
"smithy.api#documentation": "<p>Configuration information specific to Picture-in-Picture (PiP) layout, \n\t for <a href=\"https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/server-side-composition.html\">server-side composition</a>.\n\t </p>"
3640+
}
3641+
},
3642+
"com.amazonaws.ivsrealtime#PipHeight": {
3643+
"type": "integer",
3644+
"traits": {
3645+
"smithy.api#range": {
3646+
"min": 1
3647+
}
3648+
}
3649+
},
3650+
"com.amazonaws.ivsrealtime#PipOffset": {
3651+
"type": "integer",
3652+
"traits": {
3653+
"smithy.api#default": 0,
3654+
"smithy.api#range": {
3655+
"min": 0
3656+
}
3657+
}
3658+
},
3659+
"com.amazonaws.ivsrealtime#PipPosition": {
3660+
"type": "enum",
3661+
"members": {
3662+
"TOP_LEFT": {
3663+
"target": "smithy.api#Unit",
3664+
"traits": {
3665+
"smithy.api#enumValue": "TOP_LEFT"
3666+
}
3667+
},
3668+
"TOP_RIGHT": {
3669+
"target": "smithy.api#Unit",
3670+
"traits": {
3671+
"smithy.api#enumValue": "TOP_RIGHT"
3672+
}
3673+
},
3674+
"BOTTOM_LEFT": {
3675+
"target": "smithy.api#Unit",
3676+
"traits": {
3677+
"smithy.api#enumValue": "BOTTOM_LEFT"
3678+
}
3679+
},
3680+
"BOTTOM_RIGHT": {
3681+
"target": "smithy.api#Unit",
3682+
"traits": {
3683+
"smithy.api#enumValue": "BOTTOM_RIGHT"
3684+
}
3685+
}
3686+
}
3687+
},
3688+
"com.amazonaws.ivsrealtime#PipWidth": {
3689+
"type": "integer",
3690+
"traits": {
3691+
"smithy.api#range": {
3692+
"min": 1
3693+
}
3694+
}
3695+
},
35073696
"com.amazonaws.ivsrealtime#Published": {
35083697
"type": "boolean",
35093698
"traits": {
@@ -4325,6 +4514,58 @@
43254514
"smithy.api#documentation": "<p>Settings for video.</p>"
43264515
}
43274516
},
4517+
"com.amazonaws.ivsrealtime#VideoAspectRatio": {
4518+
"type": "enum",
4519+
"members": {
4520+
"AUTO": {
4521+
"target": "smithy.api#Unit",
4522+
"traits": {
4523+
"smithy.api#enumValue": "AUTO"
4524+
}
4525+
},
4526+
"VIDEO": {
4527+
"target": "smithy.api#Unit",
4528+
"traits": {
4529+
"smithy.api#enumValue": "VIDEO"
4530+
}
4531+
},
4532+
"SQUARE": {
4533+
"target": "smithy.api#Unit",
4534+
"traits": {
4535+
"smithy.api#enumValue": "SQUARE"
4536+
}
4537+
},
4538+
"PORTRAIT": {
4539+
"target": "smithy.api#Unit",
4540+
"traits": {
4541+
"smithy.api#enumValue": "PORTRAIT"
4542+
}
4543+
}
4544+
}
4545+
},
4546+
"com.amazonaws.ivsrealtime#VideoFillMode": {
4547+
"type": "enum",
4548+
"members": {
4549+
"FILL": {
4550+
"target": "smithy.api#Unit",
4551+
"traits": {
4552+
"smithy.api#enumValue": "FILL"
4553+
}
4554+
},
4555+
"COVER": {
4556+
"target": "smithy.api#Unit",
4557+
"traits": {
4558+
"smithy.api#enumValue": "COVER"
4559+
}
4560+
},
4561+
"CONTAIN": {
4562+
"target": "smithy.api#Unit",
4563+
"traits": {
4564+
"smithy.api#enumValue": "CONTAIN"
4565+
}
4566+
}
4567+
}
4568+
},
43284569
"com.amazonaws.ivsrealtime#Width": {
43294570
"type": "integer",
43304571
"traits": {

0 commit comments

Comments
 (0)