From d8a6ff226452cd39998e4fddf0d440dd148772c7 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Fri, 7 Jan 2022 11:09:48 -0800 Subject: [PATCH] Release v1.42.30 (2022-01-07) (#4232) Release v1.42.30 (2022-01-07) === ### Service Client Updates * `service/medialive`: Updates service API and documentation * This release adds support for selecting the Program Date Time (PDT) Clock source algorithm for HLS outputs. --- CHANGELOG.md | 7 ++++ aws/endpoints/defaults.go | 7 +++- aws/version.go | 2 +- models/apis/medialive/2017-10-14/api-2.json | 11 ++++++ models/apis/medialive/2017-10-14/docs-2.json | 8 ++++- models/endpoints/endpoints.json | 7 +++- service/medialive/api.go | 36 ++++++++++++++++++-- 7 files changed, 71 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 998c0d5c957..3d5cd2939cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +Release v1.42.30 (2022-01-07) +=== + +### Service Client Updates +* `service/medialive`: Updates service API and documentation + * This release adds support for selecting the Program Date Time (PDT) Clock source algorithm for HLS outputs. + Release v1.42.29 (2022-01-06) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index e3250f6d2a6..bdc1a51f488 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -26199,7 +26199,12 @@ var awsusgovPartition = partition{ Endpoints: serviceEndpoints{ endpointKey{ Region: "us-gov-east-1", - }: endpoint{}, + }: endpoint{ + Hostname: "portal.sso.us-gov-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-east-1", + }, + }, endpointKey{ Region: "us-gov-west-1", }: endpoint{ diff --git a/aws/version.go b/aws/version.go index 1ee8001b458..426139b7651 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.42.29" +const SDKVersion = "1.42.30" diff --git a/models/apis/medialive/2017-10-14/api-2.json b/models/apis/medialive/2017-10-14/api-2.json index cae417b0261..a5fc2c8d761 100644 --- a/models/apis/medialive/2017-10-14/api-2.json +++ b/models/apis/medialive/2017-10-14/api-2.json @@ -7058,6 +7058,10 @@ "shape": "HlsProgramDateTime", "locationName": "programDateTime" }, + "ProgramDateTimeClock": { + "shape": "HlsProgramDateTimeClock", + "locationName": "programDateTimeClock" + }, "ProgramDateTimePeriod": { "shape": "__integerMin0Max3600", "locationName": "programDateTimePeriod" @@ -7266,6 +7270,13 @@ "INCLUDE" ] }, + "HlsProgramDateTimeClock": { + "type": "string", + "enum": [ + "INITIALIZE_FROM_OUTPUT_TIMECODE", + "SYSTEM_CLOCK" + ] + }, "HlsRedundantManifest": { "type": "string", "enum": [ diff --git a/models/apis/medialive/2017-10-14/docs-2.json b/models/apis/medialive/2017-10-14/docs-2.json index d4ee1ab21ac..ddce0ad49c3 100644 --- a/models/apis/medialive/2017-10-14/docs-2.json +++ b/models/apis/medialive/2017-10-14/docs-2.json @@ -1507,7 +1507,13 @@ "HlsProgramDateTime": { "base": "Hls Program Date Time", "refs": { - "HlsGroupSettings$ProgramDateTime": "Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated as follows: either the program date and time are initialized using the input timecode source, or the time is initialized using the input timecode source and the date is initialized using the timestampOffset." + "HlsGroupSettings$ProgramDateTime": "Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated using the program date time clock." + } + }, + "HlsProgramDateTimeClock": { + "base": "Hls Program Date Time Clock", + "refs": { + "HlsGroupSettings$ProgramDateTimeClock": "Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock. Options include:\n\nINITIALIZE_FROM_OUTPUT_TIMECODE: The PDT clock is initialized as a function of the first output timecode, then incremented by the EXTINF duration of each encoded segment.\n\nSYSTEM_CLOCK: The PDT clock is initialized as a function of the UTC wall clock, then incremented by the EXTINF duration of each encoded segment. If the PDT clock diverges from the wall clock by more than 500ms, it is resynchronized to the wall clock." } }, "HlsRedundantManifest": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 6a09be8a1d9..990f3ae1089 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -15933,7 +15933,12 @@ }, "portal.sso" : { "endpoints" : { - "us-gov-east-1" : { }, + "us-gov-east-1" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "hostname" : "portal.sso.us-gov-east-1.amazonaws.com" + }, "us-gov-west-1" : { "credentialScope" : { "region" : "us-gov-west-1" diff --git a/service/medialive/api.go b/service/medialive/api.go index 8aa99c07cd8..8ac021cd989 100644 --- a/service/medialive/api.go +++ b/service/medialive/api.go @@ -17054,11 +17054,18 @@ type HlsGroupSettings struct { OutputSelection *string `locationName:"outputSelection" type:"string" enum:"HlsOutputSelection"` // Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. - // The value is calculated as follows: either the program date and time are - // initialized using the input timecode source, or the time is initialized using - // the input timecode source and the date is initialized using the timestampOffset. + // The value is calculated using the program date time clock. ProgramDateTime *string `locationName:"programDateTime" type:"string" enum:"HlsProgramDateTime"` + // Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock. + // Options include:INITIALIZE_FROM_OUTPUT_TIMECODE: The PDT clock is initialized + // as a function of the first output timecode, then incremented by the EXTINF + // duration of each encoded segment.SYSTEM_CLOCK: The PDT clock is initialized + // as a function of the UTC wall clock, then incremented by the EXTINF duration + // of each encoded segment. If the PDT clock diverges from the wall clock by + // more than 500ms, it is resynchronized to the wall clock. + ProgramDateTimeClock *string `locationName:"programDateTimeClock" type:"string" enum:"HlsProgramDateTimeClock"` + // Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds. ProgramDateTimePeriod *int64 `locationName:"programDateTimePeriod" type:"integer"` @@ -17364,6 +17371,12 @@ func (s *HlsGroupSettings) SetProgramDateTime(v string) *HlsGroupSettings { return s } +// SetProgramDateTimeClock sets the ProgramDateTimeClock field's value. +func (s *HlsGroupSettings) SetProgramDateTimeClock(v string) *HlsGroupSettings { + s.ProgramDateTimeClock = &v + return s +} + // SetProgramDateTimePeriod sets the ProgramDateTimePeriod field's value. func (s *HlsGroupSettings) SetProgramDateTimePeriod(v int64) *HlsGroupSettings { s.ProgramDateTimePeriod = &v @@ -33453,6 +33466,23 @@ func HlsProgramDateTime_Values() []string { } } +// Hls Program Date Time Clock +const ( + // HlsProgramDateTimeClockInitializeFromOutputTimecode is a HlsProgramDateTimeClock enum value + HlsProgramDateTimeClockInitializeFromOutputTimecode = "INITIALIZE_FROM_OUTPUT_TIMECODE" + + // HlsProgramDateTimeClockSystemClock is a HlsProgramDateTimeClock enum value + HlsProgramDateTimeClockSystemClock = "SYSTEM_CLOCK" +) + +// HlsProgramDateTimeClock_Values returns all elements of the HlsProgramDateTimeClock enum +func HlsProgramDateTimeClock_Values() []string { + return []string{ + HlsProgramDateTimeClockInitializeFromOutputTimecode, + HlsProgramDateTimeClockSystemClock, + } +} + // Hls Redundant Manifest const ( // HlsRedundantManifestDisabled is a HlsRedundantManifest enum value