Skip to content

Commit 5a269c4

Browse files
author
awstools
committed
feat(client-mediapackagev2): This release adds support for Irdeto DRM encryption in DASH manifests.
1 parent f51647a commit 5a269c4

File tree

6 files changed

+13
-6
lines changed

6 files changed

+13
-6
lines changed

clients/client-mediapackagev2/src/auth/httpAuthSchemeProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function createAwsAuthSigv4HttpAuthOption(authParameters: MediaPackageV2HttpAuth
6060
name: "mediapackagev2",
6161
region: authParameters.region,
6262
},
63-
propertiesExtractor: (config: MediaPackageV2ClientConfig, context) => ({
63+
propertiesExtractor: (config: Partial<MediaPackageV2ClientConfig>, context) => ({
6464
/**
6565
* @internal
6666
*/

clients/client-mediapackagev2/src/commands/CreateOriginEndpointCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
6565
* },
6666
* ResourceId: "STRING_VALUE", // required
6767
* DrmSystems: [ // DrmSystems // required
68-
* "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE",
68+
* "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE" || "IRDETO",
6969
* ],
7070
* RoleArn: "STRING_VALUE", // required
7171
* Url: "STRING_VALUE", // required
@@ -178,7 +178,7 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
178178
* // },
179179
* // ResourceId: "STRING_VALUE", // required
180180
* // DrmSystems: [ // DrmSystems // required
181-
* // "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE",
181+
* // "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE" || "IRDETO",
182182
* // ],
183183
* // RoleArn: "STRING_VALUE", // required
184184
* // Url: "STRING_VALUE", // required

clients/client-mediapackagev2/src/commands/GetOriginEndpointCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export interface GetOriginEndpointCommandOutput extends GetOriginEndpointRespons
7373
* // },
7474
* // ResourceId: "STRING_VALUE", // required
7575
* // DrmSystems: [ // DrmSystems // required
76-
* // "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE",
76+
* // "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE" || "IRDETO",
7777
* // ],
7878
* // RoleArn: "STRING_VALUE", // required
7979
* // Url: "STRING_VALUE", // required

clients/client-mediapackagev2/src/commands/UpdateOriginEndpointCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export interface UpdateOriginEndpointCommandOutput extends UpdateOriginEndpointR
6666
* },
6767
* ResourceId: "STRING_VALUE", // required
6868
* DrmSystems: [ // DrmSystems // required
69-
* "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE",
69+
* "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE" || "IRDETO",
7070
* ],
7171
* RoleArn: "STRING_VALUE", // required
7272
* Url: "STRING_VALUE", // required
@@ -176,7 +176,7 @@ export interface UpdateOriginEndpointCommandOutput extends UpdateOriginEndpointR
176176
* // },
177177
* // ResourceId: "STRING_VALUE", // required
178178
* // DrmSystems: [ // DrmSystems // required
179-
* // "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE",
179+
* // "CLEAR_KEY_AES_128" || "FAIRPLAY" || "PLAYREADY" || "WIDEVINE" || "IRDETO",
180180
* // ],
181181
* // RoleArn: "STRING_VALUE", // required
182182
* // Url: "STRING_VALUE", // required

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,7 @@ export interface EncryptionMethod {
12331233
export const DrmSystem = {
12341234
CLEAR_KEY_AES_128: "CLEAR_KEY_AES_128",
12351235
FAIRPLAY: "FAIRPLAY",
1236+
IRDETO: "IRDETO",
12361237
PLAYREADY: "PLAYREADY",
12371238
WIDEVINE: "WIDEVINE",
12381239
} as const;

codegen/sdk-codegen/aws-models/mediapackagev2.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2122,6 +2122,12 @@
21222122
"traits": {
21232123
"smithy.api#enumValue": "WIDEVINE"
21242124
}
2125+
},
2126+
"IRDETO": {
2127+
"target": "smithy.api#Unit",
2128+
"traits": {
2129+
"smithy.api#enumValue": "IRDETO"
2130+
}
21252131
}
21262132
}
21272133
},

0 commit comments

Comments
 (0)