Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Mar 13, 2024
1 parent e715922 commit 1ed868a
Show file tree
Hide file tree
Showing 3 changed files with 624 additions and 227 deletions.
241 changes: 241 additions & 0 deletions codegen/sdk-codegen/aws-models/ivs-realtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -2384,12 +2384,47 @@
"traits": {
"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>"
}
},
"omitStoppedVideo": {
"target": "com.amazonaws.ivsrealtime#OmitStoppedVideo",
"traits": {
"smithy.api#default": false,
"smithy.api#documentation": "<p>Determines whether to omit participants with stopped video in the composition. Default: <code>false</code>.</p>"
}
},
"videoAspectRatio": {
"target": "com.amazonaws.ivsrealtime#VideoAspectRatio",
"traits": {
"smithy.api#documentation": "<p>Sets the non-featured participant display mode. Default: <code>VIDEO</code>.</p>"
}
},
"videoFillMode": {
"target": "com.amazonaws.ivsrealtime#VideoFillMode",
"traits": {
"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>"
}
},
"gridGap": {
"target": "com.amazonaws.ivsrealtime#GridGap",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>Specifies the spacing between participant tiles in pixels. Default: <code>2</code>.</p>"
}
}
},
"traits": {
"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>"
}
},
"com.amazonaws.ivsrealtime#GridGap": {
"type": "integer",
"traits": {
"smithy.api#default": 0,
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.ivsrealtime#Height": {
"type": "integer",
"traits": {
Expand Down Expand Up @@ -2423,6 +2458,12 @@
"traits": {
"smithy.api#documentation": "<p>Configuration related to grid layout. Default: Grid layout.</p>"
}
},
"pip": {
"target": "com.amazonaws.ivsrealtime#PipConfiguration",
"traits": {
"smithy.api#documentation": "<p>Configuration related to PiP layout.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -3139,6 +3180,12 @@
}
}
},
"com.amazonaws.ivsrealtime#OmitStoppedVideo": {
"type": "boolean",
"traits": {
"smithy.api#default": false
}
},
"com.amazonaws.ivsrealtime#PaginationToken": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -3504,6 +3551,148 @@
"smithy.api#httpError": 403
}
},
"com.amazonaws.ivsrealtime#PipBehavior": {
"type": "enum",
"members": {
"STATIC": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "STATIC"
}
},
"DYNAMIC": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DYNAMIC"
}
}
}
},
"com.amazonaws.ivsrealtime#PipConfiguration": {
"type": "structure",
"members": {
"featuredParticipantAttribute": {
"target": "com.amazonaws.ivsrealtime#AttributeKey",
"traits": {
"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>"
}
},
"omitStoppedVideo": {
"target": "com.amazonaws.ivsrealtime#OmitStoppedVideo",
"traits": {
"smithy.api#default": false,
"smithy.api#documentation": "<p>Determines whether to omit participants with stopped video in the composition. Default: <code>false</code>.</p>"
}
},
"videoFillMode": {
"target": "com.amazonaws.ivsrealtime#VideoFillMode",
"traits": {
"smithy.api#documentation": "<p>Defines how video fits within the participant tile. Default: <code>COVER</code>.\n</p>"
}
},
"gridGap": {
"target": "com.amazonaws.ivsrealtime#GridGap",
"traits": {
"smithy.api#default": 0,
"smithy.api#documentation": "<p>Specifies the spacing between participant tiles in pixels. Default: <code>0</code>.</p>"
}
},
"pipParticipantAttribute": {
"target": "com.amazonaws.ivsrealtime#AttributeKey",
"traits": {
"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>"
}
},
"pipBehavior": {
"target": "com.amazonaws.ivsrealtime#PipBehavior",
"traits": {
"smithy.api#documentation": "<p>Defines PiP behavior when all participants have left. Default: <code>STATIC</code>.</p>"
}
},
"pipOffset": {
"target": "com.amazonaws.ivsrealtime#PipOffset",
"traits": {
"smithy.api#default": 0,
"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>"
}
},
"pipPosition": {
"target": "com.amazonaws.ivsrealtime#PipPosition",
"traits": {
"smithy.api#documentation": "<p>Determines the corner position of the PiP window. Default: <code>BOTTOM_RIGHT</code>.</p>"
}
},
"pipWidth": {
"target": "com.amazonaws.ivsrealtime#PipWidth",
"traits": {
"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>"
}
},
"pipHeight": {
"target": "com.amazonaws.ivsrealtime#PipHeight",
"traits": {
"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>"
}
}
},
"traits": {
"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>"
}
},
"com.amazonaws.ivsrealtime#PipHeight": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1
}
}
},
"com.amazonaws.ivsrealtime#PipOffset": {
"type": "integer",
"traits": {
"smithy.api#default": 0,
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.ivsrealtime#PipPosition": {
"type": "enum",
"members": {
"TOP_LEFT": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "TOP_LEFT"
}
},
"TOP_RIGHT": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "TOP_RIGHT"
}
},
"BOTTOM_LEFT": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "BOTTOM_LEFT"
}
},
"BOTTOM_RIGHT": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "BOTTOM_RIGHT"
}
}
}
},
"com.amazonaws.ivsrealtime#PipWidth": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1
}
}
},
"com.amazonaws.ivsrealtime#Published": {
"type": "boolean",
"traits": {
Expand Down Expand Up @@ -4325,6 +4514,58 @@
"smithy.api#documentation": "<p>Settings for video.</p>"
}
},
"com.amazonaws.ivsrealtime#VideoAspectRatio": {
"type": "enum",
"members": {
"AUTO": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "AUTO"
}
},
"VIDEO": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "VIDEO"
}
},
"SQUARE": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "SQUARE"
}
},
"PORTRAIT": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "PORTRAIT"
}
}
}
},
"com.amazonaws.ivsrealtime#VideoFillMode": {
"type": "enum",
"members": {
"FILL": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "FILL"
}
},
"COVER": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "COVER"
}
},
"CONTAIN": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "CONTAIN"
}
}
}
},
"com.amazonaws.ivsrealtime#Width": {
"type": "integer",
"traits": {
Expand Down
Loading

0 comments on commit 1ed868a

Please sign in to comment.