Skip to content

Commit 1737bf6

Browse files
author
awstools
committed
feat(client-medialive): This release adds support for automatic renewal of MediaLive reservations at the end of each reservation term. Automatic renewal is optional. This release also adds support for labelling accessibility-focused audio and caption tracks in HLS outputs.
1 parent 4f3d41e commit 1737bf6

File tree

7 files changed

+329
-90
lines changed

7 files changed

+329
-90
lines changed

clients/client-medialive/src/commands/UpdateMultiplexCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
} from "@aws-sdk/types";
1414

1515
import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
16-
import { UpdateMultiplexRequest, UpdateMultiplexResponse } from "../models/models_1";
16+
import { UpdateMultiplexRequest, UpdateMultiplexResponse } from "../models/models_2";
1717
import {
1818
deserializeAws_restJson1UpdateMultiplexCommand,
1919
serializeAws_restJson1UpdateMultiplexCommand,

clients/client-medialive/src/commands/UpdateMultiplexProgramCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ import {
1313
} from "@aws-sdk/types";
1414

1515
import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
16-
import { UpdateMultiplexProgramRequest } from "../models/models_1";
17-
import { UpdateMultiplexProgramResponse } from "../models/models_2";
16+
import { UpdateMultiplexProgramRequest, UpdateMultiplexProgramResponse } from "../models/models_2";
1817
import {
1918
deserializeAws_restJson1UpdateMultiplexProgramCommand,
2019
serializeAws_restJson1UpdateMultiplexProgramCommand,

clients/client-medialive/src/models/models_0.ts

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,6 +1060,11 @@ export namespace BatchSuccessfulResultModel {
10601060
});
10611061
}
10621062

1063+
export enum AccessibilityType {
1064+
DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES = "DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES",
1065+
IMPLEMENTS_ACCESSIBILITY_FEATURES = "IMPLEMENTS_ACCESSIBILITY_FEATURES",
1066+
}
1067+
10631068
/**
10641069
* Arib Destination Settings
10651070
*/
@@ -1667,6 +1672,11 @@ export namespace CaptionDestinationSettings {
16671672
* Caption Description
16681673
*/
16691674
export interface CaptionDescription {
1675+
/**
1676+
* Indicates whether the caption track implements accessibility features such as written descriptions of spoken dialog, music, and sounds.
1677+
*/
1678+
Accessibility?: AccessibilityType | string;
1679+
16701680
/**
16711681
* Specifies which input caption selector to use as a caption source when generating output captions. This field should match a captionSelector name.
16721682
*/
@@ -3291,6 +3301,7 @@ export enum DeviceSettingsSyncState {
32913301

32923302
export enum DeviceUpdateStatus {
32933303
NOT_UP_TO_DATE = "NOT_UP_TO_DATE",
3304+
UPDATING = "UPDATING",
32943305
UP_TO_DATE = "UP_TO_DATE",
32953306
}
32963307

@@ -5712,9 +5723,3 @@ export enum HlsStreamInfResolution {
57125723
EXCLUDE = "EXCLUDE",
57135724
INCLUDE = "INCLUDE",
57145725
}
5715-
5716-
export enum HlsTimedMetadataId3Frame {
5717-
NONE = "NONE",
5718-
PRIV = "PRIV",
5719-
TDRL = "TDRL",
5720-
}

clients/client-medialive/src/models/models_1.ts

Lines changed: 56 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ import {
4040
HlsRedundantManifest,
4141
HlsSegmentationMode,
4242
HlsStreamInfResolution,
43-
HlsTimedMetadataId3Frame,
4443
IFrameOnlyPlaylistType,
4544
Input,
4645
InputAttachment,
@@ -89,6 +88,12 @@ import {
8988
VpcOutputSettingsDescription,
9089
} from "./models_0";
9190

91+
export enum HlsTimedMetadataId3Frame {
92+
NONE = "NONE",
93+
PRIV = "PRIV",
94+
TDRL = "TDRL",
95+
}
96+
9297
export enum HlsTsFileMode {
9398
SEGMENTED_FILES = "SEGMENTED_FILES",
9499
SINGLE_FILE = "SINGLE_FILE",
@@ -823,6 +828,36 @@ export namespace PipelinePauseStateSettings {
823828
});
824829
}
825830

831+
export enum ReservationAutomaticRenewal {
832+
DISABLED = "DISABLED",
833+
ENABLED = "ENABLED",
834+
UNAVAILABLE = "UNAVAILABLE",
835+
}
836+
837+
/**
838+
* The Renewal settings for Reservations
839+
*/
840+
export interface RenewalSettings {
841+
/**
842+
* Automatic renewal status for the reservation
843+
*/
844+
AutomaticRenewal?: ReservationAutomaticRenewal | string;
845+
846+
/**
847+
* Count for the reservation renewal
848+
*/
849+
RenewalCount?: number;
850+
}
851+
852+
export namespace RenewalSettings {
853+
/**
854+
* @internal
855+
*/
856+
export const filterSensitiveLog = (obj: RenewalSettings): any => ({
857+
...obj,
858+
});
859+
}
860+
826861
export enum ReservationState {
827862
ACTIVE = "ACTIVE",
828863
CANCELED = "CANCELED",
@@ -894,6 +929,11 @@ export interface Reservation {
894929
*/
895930
Region?: string;
896931

932+
/**
933+
* Renewal settings for the reservation
934+
*/
935+
RenewalSettings?: RenewalSettings;
936+
897937
/**
898938
* Unique reservation ID, e.g. '1234567'
899939
*/
@@ -5430,6 +5470,11 @@ export interface DeleteReservationResponse {
54305470
*/
54315471
Region?: string;
54325472

5473+
/**
5474+
* Renewal settings for the reservation
5475+
*/
5476+
RenewalSettings?: RenewalSettings;
5477+
54335478
/**
54345479
* Unique reservation ID, e.g. '1234567'
54355480
*/
@@ -6303,6 +6348,11 @@ export interface DescribeReservationResponse {
63036348
*/
63046349
Region?: string;
63056350

6351+
/**
6352+
* Renewal settings for the reservation
6353+
*/
6354+
RenewalSettings?: RenewalSettings;
6355+
63066356
/**
63076357
* Unique reservation ID, e.g. '1234567'
63086358
*/
@@ -7038,6 +7088,11 @@ export interface PurchaseOfferingRequest {
70387088
*/
70397089
OfferingId: string | undefined;
70407090

7091+
/**
7092+
* Renewal settings for the reservation
7093+
*/
7094+
RenewalSettings?: RenewalSettings;
7095+
70417096
/**
70427097
* Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.
70437098
*/
@@ -7942,80 +7997,3 @@ export namespace UpdateInputSecurityGroupResponse {
79427997
...obj,
79437998
});
79447999
}
7945-
7946-
/**
7947-
* A request to update a multiplex.
7948-
*/
7949-
export interface UpdateMultiplexRequest {
7950-
/**
7951-
* ID of the multiplex to update.
7952-
*/
7953-
MultiplexId: string | undefined;
7954-
7955-
/**
7956-
* The new settings for a multiplex.
7957-
*/
7958-
MultiplexSettings?: MultiplexSettings;
7959-
7960-
/**
7961-
* Name of the multiplex.
7962-
*/
7963-
Name?: string;
7964-
}
7965-
7966-
export namespace UpdateMultiplexRequest {
7967-
/**
7968-
* @internal
7969-
*/
7970-
export const filterSensitiveLog = (obj: UpdateMultiplexRequest): any => ({
7971-
...obj,
7972-
});
7973-
}
7974-
7975-
/**
7976-
* Placeholder documentation for UpdateMultiplexResponse
7977-
*/
7978-
export interface UpdateMultiplexResponse {
7979-
/**
7980-
* The updated multiplex.
7981-
*/
7982-
Multiplex?: Multiplex;
7983-
}
7984-
7985-
export namespace UpdateMultiplexResponse {
7986-
/**
7987-
* @internal
7988-
*/
7989-
export const filterSensitiveLog = (obj: UpdateMultiplexResponse): any => ({
7990-
...obj,
7991-
});
7992-
}
7993-
7994-
/**
7995-
* A request to update a program in a multiplex.
7996-
*/
7997-
export interface UpdateMultiplexProgramRequest {
7998-
/**
7999-
* The ID of the multiplex of the program to update.
8000-
*/
8001-
MultiplexId: string | undefined;
8002-
8003-
/**
8004-
* The new settings for a multiplex program.
8005-
*/
8006-
MultiplexProgramSettings?: MultiplexProgramSettings;
8007-
8008-
/**
8009-
* The name of the program to update.
8010-
*/
8011-
ProgramName: string | undefined;
8012-
}
8013-
8014-
export namespace UpdateMultiplexProgramRequest {
8015-
/**
8016-
* @internal
8017-
*/
8018-
export const filterSensitiveLog = (obj: UpdateMultiplexProgramRequest): any => ({
8019-
...obj,
8020-
});
8021-
}

clients/client-medialive/src/models/models_2.ts

Lines changed: 90 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,89 @@
11
// smithy-typescript generated code
2-
import { MultiplexProgram, Reservation } from "./models_1";
2+
import {
3+
Multiplex,
4+
MultiplexProgram,
5+
MultiplexProgramSettings,
6+
MultiplexSettings,
7+
RenewalSettings,
8+
Reservation,
9+
} from "./models_1";
10+
11+
/**
12+
* A request to update a multiplex.
13+
*/
14+
export interface UpdateMultiplexRequest {
15+
/**
16+
* ID of the multiplex to update.
17+
*/
18+
MultiplexId: string | undefined;
19+
20+
/**
21+
* The new settings for a multiplex.
22+
*/
23+
MultiplexSettings?: MultiplexSettings;
24+
25+
/**
26+
* Name of the multiplex.
27+
*/
28+
Name?: string;
29+
}
30+
31+
export namespace UpdateMultiplexRequest {
32+
/**
33+
* @internal
34+
*/
35+
export const filterSensitiveLog = (obj: UpdateMultiplexRequest): any => ({
36+
...obj,
37+
});
38+
}
39+
40+
/**
41+
* Placeholder documentation for UpdateMultiplexResponse
42+
*/
43+
export interface UpdateMultiplexResponse {
44+
/**
45+
* The updated multiplex.
46+
*/
47+
Multiplex?: Multiplex;
48+
}
49+
50+
export namespace UpdateMultiplexResponse {
51+
/**
52+
* @internal
53+
*/
54+
export const filterSensitiveLog = (obj: UpdateMultiplexResponse): any => ({
55+
...obj,
56+
});
57+
}
58+
59+
/**
60+
* A request to update a program in a multiplex.
61+
*/
62+
export interface UpdateMultiplexProgramRequest {
63+
/**
64+
* The ID of the multiplex of the program to update.
65+
*/
66+
MultiplexId: string | undefined;
67+
68+
/**
69+
* The new settings for a multiplex program.
70+
*/
71+
MultiplexProgramSettings?: MultiplexProgramSettings;
72+
73+
/**
74+
* The name of the program to update.
75+
*/
76+
ProgramName: string | undefined;
77+
}
78+
79+
export namespace UpdateMultiplexProgramRequest {
80+
/**
81+
* @internal
82+
*/
83+
export const filterSensitiveLog = (obj: UpdateMultiplexProgramRequest): any => ({
84+
...obj,
85+
});
86+
}
387

488
/**
589
* Placeholder documentation for UpdateMultiplexProgramResponse
@@ -29,6 +113,11 @@ export interface UpdateReservationRequest {
29113
*/
30114
Name?: string;
31115

116+
/**
117+
* Renewal settings for the reservation
118+
*/
119+
RenewalSettings?: RenewalSettings;
120+
32121
/**
33122
* Unique reservation ID, e.g. '1234567'
34123
*/

0 commit comments

Comments
 (0)