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 18, 2024
1 parent e5b7766 commit 9927740
Show file tree
Hide file tree
Showing 6 changed files with 577 additions and 128 deletions.
144 changes: 122 additions & 22 deletions codegen/sdk-codegen/aws-models/cloudformation.json

Large diffs are not rendered by default.

16 changes: 10 additions & 6 deletions codegen/sdk-codegen/aws-models/kms.json

Large diffs are not rendered by default.

181 changes: 179 additions & 2 deletions codegen/sdk-codegen/aws-models/mediatailor.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,79 @@
}
}
},
"com.amazonaws.mediatailor#AlternateMedia": {
"type": "structure",
"members": {
"SourceLocationName": {
"target": "com.amazonaws.mediatailor#__string",
"traits": {
"smithy.api#documentation": "<p>The name of the source location for alternateMedia.</p>"
}
},
"LiveSourceName": {
"target": "com.amazonaws.mediatailor#__string",
"traits": {
"smithy.api#documentation": "<p>The name of the live source for alternateMedia.</p>"
}
},
"VodSourceName": {
"target": "com.amazonaws.mediatailor#__string",
"traits": {
"smithy.api#documentation": "<p>The name of the VOD source for alternateMedia.</p>"
}
},
"ClipRange": {
"target": "com.amazonaws.mediatailor#ClipRange"
},
"ScheduledStartTimeMillis": {
"target": "com.amazonaws.mediatailor#__long",
"traits": {
"smithy.api#documentation": "<p>The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.</p>"
}
},
"AdBreaks": {
"target": "com.amazonaws.mediatailor#__listOfAdBreak",
"traits": {
"smithy.api#documentation": "<p>Ad break configuration parameters defined in AlternateMedia.</p>"
}
},
"DurationMillis": {
"target": "com.amazonaws.mediatailor#__long",
"traits": {
"smithy.api#documentation": "<p>The duration of the alternateMedia in milliseconds.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A playlist of media (VOD and/or live) to be played instead of the default media on a particular program.</p>"
}
},
"com.amazonaws.mediatailor#AudienceMedia": {
"type": "structure",
"members": {
"Audience": {
"target": "com.amazonaws.mediatailor#__string",
"traits": {
"smithy.api#documentation": "<p>The Audience defined in AudienceMedia.</p>"
}
},
"AlternateMedia": {
"target": "com.amazonaws.mediatailor#__listOfAlternateMedia",
"traits": {
"smithy.api#documentation": "<p>The list of AlternateMedia defined in AudienceMedia.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>An AudienceMedia object contains an Audience and a list of AlternateMedia.</p>"
}
},
"com.amazonaws.mediatailor#Audiences": {
"type": "list",
"member": {
"target": "smithy.api#String"
}
},
"com.amazonaws.mediatailor#AvailMatchingCriteria": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -402,6 +475,12 @@
"smithy.api#documentation": "<p>The log configuration.</p>",
"smithy.api#required": {}
}
},
"Audiences": {
"target": "com.amazonaws.mediatailor#Audiences",
"traits": {
"smithy.api#documentation": "<p>The list of audiences defined in channel.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -520,8 +599,15 @@
"EndOffsetMillis": {
"target": "com.amazonaws.mediatailor#__long",
"traits": {
"smithy.api#documentation": "<p>The end offset of the clip range, in milliseconds, starting from the beginning of the VOD source associated with the program.</p>",
"smithy.api#required": {}
"smithy.api#addedDefault": {},
"smithy.api#default": 0,
"smithy.api#documentation": "<p>The end offset of the clip range, in milliseconds, starting from the beginning of the VOD source associated with the program.</p>"
}
},
"StartOffsetMillis": {
"target": "com.amazonaws.mediatailor#__long",
"traits": {
"smithy.api#documentation": "<p>The start offset of the clip range, in milliseconds. This offset truncates the start at the number of milliseconds into the duration of the VOD source.</p>"
}
}
},
Expand Down Expand Up @@ -745,6 +831,12 @@
"traits": {
"smithy.api#documentation": "<p>\n The time-shifted viewing configuration you want to associate to the channel.\n </p>"
}
},
"Audiences": {
"target": "com.amazonaws.mediatailor#Audiences",
"traits": {
"smithy.api#documentation": "<p>The list of audiences defined in channel.</p>"
}
}
}
},
Expand Down Expand Up @@ -823,6 +915,12 @@
"traits": {
"smithy.api#documentation": "<p>\n The time-shifted viewing configuration assigned to the channel.\n </p>"
}
},
"Audiences": {
"target": "com.amazonaws.mediatailor#Audiences",
"traits": {
"smithy.api#documentation": "<p>The list of audiences defined in channel.</p>"
}
}
}
},
Expand Down Expand Up @@ -1095,6 +1193,12 @@
"traits": {
"smithy.api#documentation": "<p>The name that's used to refer to a VOD source.</p>"
}
},
"AudienceMedia": {
"target": "com.amazonaws.mediatailor#__listOfAudienceMedia",
"traits": {
"smithy.api#documentation": "<p>The list of AudienceMedia defined in program.</p>"
}
}
}
},
Expand Down Expand Up @@ -1166,6 +1270,12 @@
"traits": {
"smithy.api#documentation": "<p>The duration of the live program in milliseconds.</p>"
}
},
"AudienceMedia": {
"target": "com.amazonaws.mediatailor#__listOfAudienceMedia",
"traits": {
"smithy.api#documentation": "<p>The list of AudienceMedia defined in program.</p>"
}
}
}
},
Expand Down Expand Up @@ -1910,6 +2020,12 @@
"traits": {
"smithy.api#documentation": "<p>\n The time-shifted viewing configuration for the channel.\n </p>"
}
},
"Audiences": {
"target": "com.amazonaws.mediatailor#Audiences",
"traits": {
"smithy.api#documentation": "<p>The list of audiences defined in channel.</p>"
}
}
}
},
Expand Down Expand Up @@ -2107,6 +2223,12 @@
"traits": {
"smithy.api#documentation": "<p>The duration of the live program in milliseconds.</p>"
}
},
"AudienceMedia": {
"target": "com.amazonaws.mediatailor#__listOfAudienceMedia",
"traits": {
"smithy.api#documentation": "<p>The list of AudienceMedia defined in program.</p>"
}
}
}
},
Expand Down Expand Up @@ -2408,6 +2530,13 @@
"smithy.api#documentation": "<p>(Optional) If the playback configuration has more than <code>MaxResults</code> channel schedules, use <code>NextToken</code> to get the second and subsequent pages of results.</p>\n <p>For the first <code>GetChannelScheduleRequest</code> request, omit this value.</p>\n <p>For the second and subsequent requests, get the value of <code>NextToken</code> from the previous response and specify that value for <code>NextToken</code> in the request.</p>\n <p>If the previous response didn't include a <code>NextToken</code> element, there are no more channel schedules to get.</p>",
"smithy.api#httpQuery": "nextToken"
}
},
"Audience": {
"target": "com.amazonaws.mediatailor#__string",
"traits": {
"smithy.api#documentation": "<p>The single audience for GetChannelScheduleRequest.</p>",
"smithy.api#httpQuery": "audience"
}
}
}
},
Expand Down Expand Up @@ -5147,6 +5276,12 @@
"traits": {
"smithy.api#documentation": "<p>The name of the VOD source.</p>"
}
},
"Audiences": {
"target": "com.amazonaws.mediatailor#Audiences",
"traits": {
"smithy.api#documentation": "<p>The list of audiences defined in ScheduleEntry.</p>"
}
}
},
"traits": {
Expand All @@ -5167,6 +5302,12 @@
"traits": {
"smithy.api#enumValue": "FILLER_SLATE"
}
},
"ALTERNATE_MEDIA": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ALTERNATE_MEDIA"
}
}
}
},
Expand Down Expand Up @@ -5741,6 +5882,12 @@
"traits": {
"smithy.api#documentation": "<p>\n The time-shifted viewing configuration you want to associate to the channel.\n </p>"
}
},
"Audiences": {
"target": "com.amazonaws.mediatailor#Audiences",
"traits": {
"smithy.api#documentation": "<p>The list of audiences defined in channel.</p>"
}
}
}
},
Expand Down Expand Up @@ -5819,6 +5966,12 @@
"traits": {
"smithy.api#documentation": "<p>\n The time-shifted viewing configuration for the channel.\n </p>"
}
},
"Audiences": {
"target": "com.amazonaws.mediatailor#Audiences",
"traits": {
"smithy.api#documentation": "<p>The list of audiences defined in channel.</p>"
}
}
}
},
Expand Down Expand Up @@ -5965,6 +6118,12 @@
"smithy.api#documentation": "<p>The schedule configuration settings.</p>",
"smithy.api#required": {}
}
},
"AudienceMedia": {
"target": "com.amazonaws.mediatailor#__listOfAudienceMedia",
"traits": {
"smithy.api#documentation": "<p>The list of AudienceMedia defined in program.</p>"
}
}
}
},
Expand Down Expand Up @@ -6036,6 +6195,12 @@
"traits": {
"smithy.api#documentation": "<p>The scheduled start time for this Program.</p>"
}
},
"AudienceMedia": {
"target": "com.amazonaws.mediatailor#__listOfAudienceMedia",
"traits": {
"smithy.api#documentation": "<p>The list of AudienceMedia defined in program.</p>"
}
}
}
},
Expand Down Expand Up @@ -6420,6 +6585,18 @@
"target": "com.amazonaws.mediatailor#Alert"
}
},
"com.amazonaws.mediatailor#__listOfAlternateMedia": {
"type": "list",
"member": {
"target": "com.amazonaws.mediatailor#AlternateMedia"
}
},
"com.amazonaws.mediatailor#__listOfAudienceMedia": {
"type": "list",
"member": {
"target": "com.amazonaws.mediatailor#AudienceMedia"
}
},
"com.amazonaws.mediatailor#__listOfAvailMatchingCriteria": {
"type": "list",
"member": {
Expand Down
Loading

0 comments on commit 9927740

Please sign in to comment.