@aws-sdk/client-mediapackagev2 3.529.0 → 3.531.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -757,9 +757,10 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
757
757
  }, "se_UntagResourceCommand");
758
758
  var se_UpdateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
759
759
  const b = (0, import_core.requestBuilder)(input, context);
760
- const headers = {
761
- "content-type": "application/json"
762
- };
760
+ const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
761
+ "content-type": "application/json",
762
+ [_xauim]: input[_ET]
763
+ });
763
764
  b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}");
764
765
  b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
765
766
  b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
@@ -774,9 +775,10 @@ var se_UpdateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
774
775
  }, "se_UpdateChannelCommand");
775
776
  var se_UpdateChannelGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
776
777
  const b = (0, import_core.requestBuilder)(input, context);
777
- const headers = {
778
- "content-type": "application/json"
779
- };
778
+ const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
779
+ "content-type": "application/json",
780
+ [_xauim]: input[_ET]
781
+ });
780
782
  b.bp("/channelGroup/{ChannelGroupName}");
781
783
  b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
782
784
  let body;
@@ -790,9 +792,10 @@ var se_UpdateChannelGroupCommand = /* @__PURE__ */ __name(async (input, context)
790
792
  }, "se_UpdateChannelGroupCommand");
791
793
  var se_UpdateOriginEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
792
794
  const b = (0, import_core.requestBuilder)(input, context);
793
- const headers = {
794
- "content-type": "application/json"
795
- };
795
+ const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
796
+ "content-type": "application/json",
797
+ [_xauim]: input[_ET]
798
+ });
796
799
  b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}");
797
800
  b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
798
801
  b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
@@ -825,6 +828,7 @@ var de_CreateChannelCommand = /* @__PURE__ */ __name(async (output, context) =>
825
828
  ChannelName: import_smithy_client.expectString,
826
829
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
827
830
  Description: import_smithy_client.expectString,
831
+ ETag: import_smithy_client.expectString,
828
832
  IngestEndpoints: import_smithy_client._json,
829
833
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
830
834
  Tags: import_smithy_client._json
@@ -845,6 +849,7 @@ var de_CreateChannelGroupCommand = /* @__PURE__ */ __name(async (output, context
845
849
  ChannelGroupName: import_smithy_client.expectString,
846
850
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
847
851
  Description: import_smithy_client.expectString,
852
+ ETag: import_smithy_client.expectString,
848
853
  EgressDomain: import_smithy_client.expectString,
849
854
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
850
855
  Tags: import_smithy_client._json
@@ -867,6 +872,7 @@ var de_CreateOriginEndpointCommand = /* @__PURE__ */ __name(async (output, conte
867
872
  ContainerType: import_smithy_client.expectString,
868
873
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
869
874
  Description: import_smithy_client.expectString,
875
+ ETag: import_smithy_client.expectString,
870
876
  HlsManifests: (_) => de_GetHlsManifests(_, context),
871
877
  LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
872
878
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
@@ -942,6 +948,7 @@ var de_GetChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
942
948
  ChannelName: import_smithy_client.expectString,
943
949
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
944
950
  Description: import_smithy_client.expectString,
951
+ ETag: import_smithy_client.expectString,
945
952
  IngestEndpoints: import_smithy_client._json,
946
953
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
947
954
  Tags: import_smithy_client._json
@@ -962,6 +969,7 @@ var de_GetChannelGroupCommand = /* @__PURE__ */ __name(async (output, context) =
962
969
  ChannelGroupName: import_smithy_client.expectString,
963
970
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
964
971
  Description: import_smithy_client.expectString,
972
+ ETag: import_smithy_client.expectString,
965
973
  EgressDomain: import_smithy_client.expectString,
966
974
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
967
975
  Tags: [, import_smithy_client._json, `tags`]
@@ -1000,6 +1008,7 @@ var de_GetOriginEndpointCommand = /* @__PURE__ */ __name(async (output, context)
1000
1008
  ContainerType: import_smithy_client.expectString,
1001
1009
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1002
1010
  Description: import_smithy_client.expectString,
1011
+ ETag: import_smithy_client.expectString,
1003
1012
  HlsManifests: (_) => de_GetHlsManifests(_, context),
1004
1013
  LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
1005
1014
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
@@ -1141,6 +1150,7 @@ var de_UpdateChannelCommand = /* @__PURE__ */ __name(async (output, context) =>
1141
1150
  ChannelName: import_smithy_client.expectString,
1142
1151
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1143
1152
  Description: import_smithy_client.expectString,
1153
+ ETag: import_smithy_client.expectString,
1144
1154
  IngestEndpoints: import_smithy_client._json,
1145
1155
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1146
1156
  Tags: [, import_smithy_client._json, `tags`]
@@ -1161,6 +1171,7 @@ var de_UpdateChannelGroupCommand = /* @__PURE__ */ __name(async (output, context
1161
1171
  ChannelGroupName: import_smithy_client.expectString,
1162
1172
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1163
1173
  Description: import_smithy_client.expectString,
1174
+ ETag: import_smithy_client.expectString,
1164
1175
  EgressDomain: import_smithy_client.expectString,
1165
1176
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1166
1177
  Tags: [, import_smithy_client._json, `tags`]
@@ -1183,6 +1194,7 @@ var de_UpdateOriginEndpointCommand = /* @__PURE__ */ __name(async (output, conte
1183
1194
  ContainerType: import_smithy_client.expectString,
1184
1195
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1185
1196
  Description: import_smithy_client.expectString,
1197
+ ETag: import_smithy_client.expectString,
1186
1198
  HlsManifests: (_) => de_GetHlsManifests(_, context),
1187
1199
  LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
1188
1200
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
@@ -1465,6 +1477,7 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1465
1477
  }), "deserializeMetadata");
1466
1478
  var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue");
1467
1479
  var _CT = "ClientToken";
1480
+ var _ET = "ETag";
1468
1481
  var _MR = "MaxResults";
1469
1482
  var _NT = "NextToken";
1470
1483
  var _TK = "TagKeys";
@@ -1472,6 +1485,7 @@ var _mR = "maxResults";
1472
1485
  var _nT = "nextToken";
1473
1486
  var _tK = "tagKeys";
1474
1487
  var _xact = "x-amzn-client-token";
1488
+ var _xauim = "x-amzn-update-if-match";
1475
1489
 
1476
1490
  // src/commands/CreateChannelCommand.ts
1477
1491
  var _CreateChannelCommand = class _CreateChannelCommand extends import_smithy_client.Command.classBuilder().ep({
@@ -271,9 +271,10 @@ export const se_UntagResourceCommand = async (input, context) => {
271
271
  };
272
272
  export const se_UpdateChannelCommand = async (input, context) => {
273
273
  const b = rb(input, context);
274
- const headers = {
274
+ const headers = map({}, isSerializableHeaderValue, {
275
275
  "content-type": "application/json",
276
- };
276
+ [_xauim]: input[_ET],
277
+ });
277
278
  b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}");
278
279
  b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
279
280
  b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
@@ -286,9 +287,10 @@ export const se_UpdateChannelCommand = async (input, context) => {
286
287
  };
287
288
  export const se_UpdateChannelGroupCommand = async (input, context) => {
288
289
  const b = rb(input, context);
289
- const headers = {
290
+ const headers = map({}, isSerializableHeaderValue, {
290
291
  "content-type": "application/json",
291
- };
292
+ [_xauim]: input[_ET],
293
+ });
292
294
  b.bp("/channelGroup/{ChannelGroupName}");
293
295
  b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
294
296
  let body;
@@ -300,9 +302,10 @@ export const se_UpdateChannelGroupCommand = async (input, context) => {
300
302
  };
301
303
  export const se_UpdateOriginEndpointCommand = async (input, context) => {
302
304
  const b = rb(input, context);
303
- const headers = {
305
+ const headers = map({}, isSerializableHeaderValue, {
304
306
  "content-type": "application/json",
305
- };
307
+ [_xauim]: input[_ET],
308
+ });
306
309
  b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}");
307
310
  b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
308
311
  b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
@@ -333,6 +336,7 @@ export const de_CreateChannelCommand = async (output, context) => {
333
336
  ChannelName: __expectString,
334
337
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
335
338
  Description: __expectString,
339
+ ETag: __expectString,
336
340
  IngestEndpoints: _json,
337
341
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
338
342
  Tags: _json,
@@ -353,6 +357,7 @@ export const de_CreateChannelGroupCommand = async (output, context) => {
353
357
  ChannelGroupName: __expectString,
354
358
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
355
359
  Description: __expectString,
360
+ ETag: __expectString,
356
361
  EgressDomain: __expectString,
357
362
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
358
363
  Tags: _json,
@@ -375,6 +380,7 @@ export const de_CreateOriginEndpointCommand = async (output, context) => {
375
380
  ContainerType: __expectString,
376
381
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
377
382
  Description: __expectString,
383
+ ETag: __expectString,
378
384
  HlsManifests: (_) => de_GetHlsManifests(_, context),
379
385
  LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
380
386
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -450,6 +456,7 @@ export const de_GetChannelCommand = async (output, context) => {
450
456
  ChannelName: __expectString,
451
457
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
452
458
  Description: __expectString,
459
+ ETag: __expectString,
453
460
  IngestEndpoints: _json,
454
461
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
455
462
  Tags: _json,
@@ -470,6 +477,7 @@ export const de_GetChannelGroupCommand = async (output, context) => {
470
477
  ChannelGroupName: __expectString,
471
478
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
472
479
  Description: __expectString,
480
+ ETag: __expectString,
473
481
  EgressDomain: __expectString,
474
482
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
475
483
  Tags: [, _json, `tags`],
@@ -508,6 +516,7 @@ export const de_GetOriginEndpointCommand = async (output, context) => {
508
516
  ContainerType: __expectString,
509
517
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
510
518
  Description: __expectString,
519
+ ETag: __expectString,
511
520
  HlsManifests: (_) => de_GetHlsManifests(_, context),
512
521
  LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
513
522
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -649,6 +658,7 @@ export const de_UpdateChannelCommand = async (output, context) => {
649
658
  ChannelName: __expectString,
650
659
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
651
660
  Description: __expectString,
661
+ ETag: __expectString,
652
662
  IngestEndpoints: _json,
653
663
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
654
664
  Tags: [, _json, `tags`],
@@ -669,6 +679,7 @@ export const de_UpdateChannelGroupCommand = async (output, context) => {
669
679
  ChannelGroupName: __expectString,
670
680
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
671
681
  Description: __expectString,
682
+ ETag: __expectString,
672
683
  EgressDomain: __expectString,
673
684
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
674
685
  Tags: [, _json, `tags`],
@@ -691,6 +702,7 @@ export const de_UpdateOriginEndpointCommand = async (output, context) => {
691
702
  ContainerType: __expectString,
692
703
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
693
704
  Description: __expectString,
705
+ ETag: __expectString,
694
706
  HlsManifests: (_) => de_GetHlsManifests(_, context),
695
707
  LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
696
708
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -992,6 +1004,7 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
992
1004
  (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
993
1005
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
994
1006
  const _CT = "ClientToken";
1007
+ const _ET = "ETag";
995
1008
  const _MR = "MaxResults";
996
1009
  const _NT = "NextToken";
997
1010
  const _TK = "TagKeys";
@@ -999,3 +1012,4 @@ const _mR = "maxResults";
999
1012
  const _nT = "nextToken";
1000
1013
  const _tK = "tagKeys";
1001
1014
  const _xact = "x-amzn-client-token";
1015
+ const _xauim = "x-amzn-update-if-match";
@@ -57,6 +57,7 @@ declare const CreateChannelCommand_base: {
57
57
  * // Url: "STRING_VALUE",
58
58
  * // },
59
59
  * // ],
60
+ * // ETag: "STRING_VALUE",
60
61
  * // Tags: { // TagMap
61
62
  * // "<keys>": "STRING_VALUE",
62
63
  * // },
@@ -49,6 +49,7 @@ declare const CreateChannelGroupCommand_base: {
49
49
  * // EgressDomain: "STRING_VALUE", // required
50
50
  * // CreatedAt: new Date("TIMESTAMP"), // required
51
51
  * // ModifiedAt: new Date("TIMESTAMP"), // required
52
+ * // ETag: "STRING_VALUE",
52
53
  * // Description: "STRING_VALUE",
53
54
  * // Tags: { // TagMap
54
55
  * // "<keys>": "STRING_VALUE",
@@ -191,6 +191,7 @@ declare const CreateOriginEndpointCommand_base: {
191
191
  * // },
192
192
  * // },
193
193
  * // ],
194
+ * // ETag: "STRING_VALUE",
194
195
  * // Tags: { // TagMap
195
196
  * // "<keys>": "STRING_VALUE",
196
197
  * // },
@@ -52,6 +52,7 @@ declare const GetChannelCommand_base: {
52
52
  * // Url: "STRING_VALUE",
53
53
  * // },
54
54
  * // ],
55
+ * // ETag: "STRING_VALUE",
55
56
  * // Tags: { // TagMap
56
57
  * // "<keys>": "STRING_VALUE",
57
58
  * // },
@@ -45,6 +45,7 @@ declare const GetChannelGroupCommand_base: {
45
45
  * // CreatedAt: new Date("TIMESTAMP"), // required
46
46
  * // ModifiedAt: new Date("TIMESTAMP"), // required
47
47
  * // Description: "STRING_VALUE",
48
+ * // ETag: "STRING_VALUE",
48
49
  * // Tags: { // TagMap
49
50
  * // "<keys>": "STRING_VALUE",
50
51
  * // },
@@ -118,6 +118,7 @@ declare const GetOriginEndpointCommand_base: {
118
118
  * // },
119
119
  * // },
120
120
  * // ],
121
+ * // ETag: "STRING_VALUE",
121
122
  * // Tags: { // TagMap
122
123
  * // "<keys>": "STRING_VALUE",
123
124
  * // },
@@ -37,6 +37,7 @@ declare const UpdateChannelCommand_base: {
37
37
  * const input = { // UpdateChannelRequest
38
38
  * ChannelGroupName: "STRING_VALUE", // required
39
39
  * ChannelName: "STRING_VALUE", // required
40
+ * ETag: "STRING_VALUE",
40
41
  * Description: "STRING_VALUE",
41
42
  * };
42
43
  * const command = new UpdateChannelCommand(input);
@@ -54,6 +55,7 @@ declare const UpdateChannelCommand_base: {
54
55
  * // Url: "STRING_VALUE",
55
56
  * // },
56
57
  * // ],
58
+ * // ETag: "STRING_VALUE",
57
59
  * // Tags: { // TagMap
58
60
  * // "<keys>": "STRING_VALUE",
59
61
  * // },
@@ -36,6 +36,7 @@ declare const UpdateChannelGroupCommand_base: {
36
36
  * const client = new MediaPackageV2Client(config);
37
37
  * const input = { // UpdateChannelGroupRequest
38
38
  * ChannelGroupName: "STRING_VALUE", // required
39
+ * ETag: "STRING_VALUE",
39
40
  * Description: "STRING_VALUE",
40
41
  * };
41
42
  * const command = new UpdateChannelGroupCommand(input);
@@ -47,6 +48,7 @@ declare const UpdateChannelGroupCommand_base: {
47
48
  * // CreatedAt: new Date("TIMESTAMP"), // required
48
49
  * // ModifiedAt: new Date("TIMESTAMP"), // required
49
50
  * // Description: "STRING_VALUE",
51
+ * // ETag: "STRING_VALUE",
50
52
  * // Tags: { // TagMap
51
53
  * // "<keys>": "STRING_VALUE",
52
54
  * // },
@@ -107,6 +107,7 @@ declare const UpdateOriginEndpointCommand_base: {
107
107
  * },
108
108
  * },
109
109
  * ],
110
+ * ETag: "STRING_VALUE",
110
111
  * };
111
112
  * const command = new UpdateOriginEndpointCommand(input);
112
113
  * const response = await client.send(command);
@@ -188,6 +189,7 @@ declare const UpdateOriginEndpointCommand_base: {
188
189
  * // },
189
190
  * // },
190
191
  * // ],
192
+ * // ETag: "STRING_VALUE",
191
193
  * // Tags: { // TagMap
192
194
  * // "<keys>": "STRING_VALUE",
193
195
  * // },
@@ -380,6 +380,11 @@ export interface CreateChannelResponse {
380
380
  * <p>The list of ingest endpoints.</p>
381
381
  */
382
382
  IngestEndpoints?: IngestEndpoint[];
383
+ /**
384
+ * @public
385
+ * <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
386
+ */
387
+ ETag?: string;
383
388
  /**
384
389
  * @public
385
390
  * <p>The comma-separated list of tag key:value pairs assigned to the channel.</p>
@@ -473,6 +478,11 @@ export interface GetChannelResponse {
473
478
  * <p>The list of ingest endpoints.</p>
474
479
  */
475
480
  IngestEndpoints?: IngestEndpoint[];
481
+ /**
482
+ * @public
483
+ * <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
484
+ */
485
+ ETag?: string;
476
486
  /**
477
487
  * @public
478
488
  * <p>The comma-separated list of tag key:value pairs assigned to the channel.</p>
@@ -1222,6 +1232,11 @@ export interface CreateOriginEndpointResponse {
1222
1232
  * <p>A low-latency HLS manifest configuration.</p>
1223
1233
  */
1224
1234
  LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
1235
+ /**
1236
+ * @public
1237
+ * <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
1238
+ */
1239
+ ETag?: string;
1225
1240
  /**
1226
1241
  * @public
1227
1242
  * <p>The comma-separated list of tag key:value pairs assigned to the origin endpoint.</p>
@@ -1337,6 +1352,11 @@ export interface GetOriginEndpointResponse {
1337
1352
  * <p>A low-latency HLS manifest configuration.</p>
1338
1353
  */
1339
1354
  LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
1355
+ /**
1356
+ * @public
1357
+ * <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
1358
+ */
1359
+ ETag?: string;
1340
1360
  /**
1341
1361
  * @public
1342
1362
  * <p>The comma-separated list of tag key:value pairs assigned to the origin endpoint.</p>
@@ -1630,6 +1650,11 @@ export interface UpdateOriginEndpointRequest {
1630
1650
  * <p>A low-latency HLS manifest configuration.</p>
1631
1651
  */
1632
1652
  LowLatencyHlsManifests?: CreateLowLatencyHlsManifestConfiguration[];
1653
+ /**
1654
+ * @public
1655
+ * <p>The expected current Entity Tag (ETag) for the resource. If the specified ETag does not match the resource's current entity tag, the update request will be rejected.</p>
1656
+ */
1657
+ ETag?: string;
1633
1658
  }
1634
1659
  /**
1635
1660
  * @public
@@ -1695,6 +1720,11 @@ export interface UpdateOriginEndpointResponse {
1695
1720
  * <p>A low-latency HLS manifest configuration.</p>
1696
1721
  */
1697
1722
  LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
1723
+ /**
1724
+ * @public
1725
+ * <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
1726
+ */
1727
+ ETag?: string;
1698
1728
  /**
1699
1729
  * @public
1700
1730
  * <p>The comma-separated list of tag key:value pairs assigned to the origin endpoint.</p>
@@ -1715,6 +1745,11 @@ export interface UpdateChannelRequest {
1715
1745
  * <p>The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. </p>
1716
1746
  */
1717
1747
  ChannelName: string | undefined;
1748
+ /**
1749
+ * @public
1750
+ * <p>The expected current Entity Tag (ETag) for the resource. If the specified ETag does not match the resource's current entity tag, the update request will be rejected.</p>
1751
+ */
1752
+ ETag?: string;
1718
1753
  /**
1719
1754
  * @public
1720
1755
  * <p>Any descriptive information that you want to add to the channel for future identification purposes.</p>
@@ -1760,6 +1795,11 @@ export interface UpdateChannelResponse {
1760
1795
  * <p>The list of ingest endpoints.</p>
1761
1796
  */
1762
1797
  IngestEndpoints?: IngestEndpoint[];
1798
+ /**
1799
+ * @public
1800
+ * <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
1801
+ */
1802
+ ETag?: string;
1763
1803
  /**
1764
1804
  * @public
1765
1805
  * <p>The comma-separated list of tag key:value pairs assigned to the channel.</p>
@@ -1826,6 +1866,11 @@ export interface CreateChannelGroupResponse {
1826
1866
  * <p>The date and time the channel group was modified.</p>
1827
1867
  */
1828
1868
  ModifiedAt: Date | undefined;
1869
+ /**
1870
+ * @public
1871
+ * <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
1872
+ */
1873
+ ETag?: string;
1829
1874
  /**
1830
1875
  * @public
1831
1876
  * <p>The description for your channel group.</p>
@@ -1896,6 +1941,11 @@ export interface GetChannelGroupResponse {
1896
1941
  * <p>The description for your channel group.</p>
1897
1942
  */
1898
1943
  Description?: string;
1944
+ /**
1945
+ * @public
1946
+ * <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
1947
+ */
1948
+ ETag?: string;
1899
1949
  /**
1900
1950
  * @public
1901
1951
  * <p>The comma-separated list of tag key:value pairs assigned to the channel group.</p>
@@ -1941,6 +1991,11 @@ export interface UpdateChannelGroupRequest {
1941
1991
  * <p>The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.</p>
1942
1992
  */
1943
1993
  ChannelGroupName: string | undefined;
1994
+ /**
1995
+ * @public
1996
+ * <p>The expected current Entity Tag (ETag) for the resource. If the specified ETag does not match the resource's current entity tag, the update request will be rejected.</p>
1997
+ */
1998
+ ETag?: string;
1944
1999
  /**
1945
2000
  * @public
1946
2001
  * <p>Any descriptive information that you want to add to the channel group for future identification purposes.</p>
@@ -1981,6 +2036,11 @@ export interface UpdateChannelGroupResponse {
1981
2036
  * <p>The description for your channel group.</p>
1982
2037
  */
1983
2038
  Description?: string;
2039
+ /**
2040
+ * @public
2041
+ * <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
2042
+ */
2043
+ ETag?: string;
1984
2044
  /**
1985
2045
  * @public
1986
2046
  * <p>The comma-separated list of tag key:value pairs assigned to the channel group.</p>
@@ -155,6 +155,7 @@ export interface CreateChannelResponse {
155
155
  ModifiedAt: Date | undefined;
156
156
  Description?: string;
157
157
  IngestEndpoints?: IngestEndpoint[];
158
+ ETag?: string;
158
159
  Tags?: Record<string, string>;
159
160
  }
160
161
  export declare class ServiceQuotaExceededException extends __BaseException {
@@ -182,6 +183,7 @@ export interface GetChannelResponse {
182
183
  ModifiedAt: Date | undefined;
183
184
  Description?: string;
184
185
  IngestEndpoints?: IngestEndpoint[];
186
+ ETag?: string;
185
187
  Tags?: Record<string, string>;
186
188
  }
187
189
  export interface ListChannelsRequest {
@@ -362,6 +364,7 @@ export interface CreateOriginEndpointResponse {
362
364
  StartoverWindowSeconds?: number;
363
365
  HlsManifests?: GetHlsManifestConfiguration[];
364
366
  LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
367
+ ETag?: string;
365
368
  Tags?: Record<string, string>;
366
369
  }
367
370
  export interface DeleteOriginEndpointRequest {
@@ -388,6 +391,7 @@ export interface GetOriginEndpointResponse {
388
391
  StartoverWindowSeconds?: number;
389
392
  HlsManifests?: GetHlsManifestConfiguration[];
390
393
  LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
394
+ ETag?: string;
391
395
  Tags?: Record<string, string>;
392
396
  }
393
397
  export interface ListOriginEndpointsRequest {
@@ -456,6 +460,7 @@ export interface UpdateOriginEndpointRequest {
456
460
  StartoverWindowSeconds?: number;
457
461
  HlsManifests?: CreateHlsManifestConfiguration[];
458
462
  LowLatencyHlsManifests?: CreateLowLatencyHlsManifestConfiguration[];
463
+ ETag?: string;
459
464
  }
460
465
  export interface UpdateOriginEndpointResponse {
461
466
  Arn: string | undefined;
@@ -470,11 +475,13 @@ export interface UpdateOriginEndpointResponse {
470
475
  StartoverWindowSeconds?: number;
471
476
  HlsManifests?: GetHlsManifestConfiguration[];
472
477
  LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
478
+ ETag?: string;
473
479
  Tags?: Record<string, string>;
474
480
  }
475
481
  export interface UpdateChannelRequest {
476
482
  ChannelGroupName: string | undefined;
477
483
  ChannelName: string | undefined;
484
+ ETag?: string;
478
485
  Description?: string;
479
486
  }
480
487
  export interface UpdateChannelResponse {
@@ -485,6 +492,7 @@ export interface UpdateChannelResponse {
485
492
  ModifiedAt: Date | undefined;
486
493
  Description?: string;
487
494
  IngestEndpoints?: IngestEndpoint[];
495
+ ETag?: string;
488
496
  Tags?: Record<string, string>;
489
497
  }
490
498
  export interface CreateChannelGroupRequest {
@@ -499,6 +507,7 @@ export interface CreateChannelGroupResponse {
499
507
  EgressDomain: string | undefined;
500
508
  CreatedAt: Date | undefined;
501
509
  ModifiedAt: Date | undefined;
510
+ ETag?: string;
502
511
  Description?: string;
503
512
  Tags?: Record<string, string>;
504
513
  }
@@ -516,6 +525,7 @@ export interface GetChannelGroupResponse {
516
525
  CreatedAt: Date | undefined;
517
526
  ModifiedAt: Date | undefined;
518
527
  Description?: string;
528
+ ETag?: string;
519
529
  Tags?: Record<string, string>;
520
530
  }
521
531
  export interface ListChannelGroupsRequest {
@@ -528,6 +538,7 @@ export interface ListChannelGroupsResponse {
528
538
  }
529
539
  export interface UpdateChannelGroupRequest {
530
540
  ChannelGroupName: string | undefined;
541
+ ETag?: string;
531
542
  Description?: string;
532
543
  }
533
544
  export interface UpdateChannelGroupResponse {
@@ -537,6 +548,7 @@ export interface UpdateChannelGroupResponse {
537
548
  CreatedAt: Date | undefined;
538
549
  ModifiedAt: Date | undefined;
539
550
  Description?: string;
551
+ ETag?: string;
540
552
  Tags?: Record<string, string>;
541
553
  }
542
554
  export interface ListTagsForResourceRequest {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediapackagev2",
3
3
  "description": "AWS SDK for JavaScript Mediapackagev2 Client for Node.js, Browser and React Native",
4
- "version": "3.529.0",
4
+ "version": "3.531.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-mediapackagev2",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.529.0",
24
- "@aws-sdk/core": "3.529.0",
25
- "@aws-sdk/credential-provider-node": "3.529.0",
23
+ "@aws-sdk/client-sts": "3.529.1",
24
+ "@aws-sdk/core": "3.529.1",
25
+ "@aws-sdk/credential-provider-node": "3.529.1",
26
26
  "@aws-sdk/middleware-host-header": "3.523.0",
27
27
  "@aws-sdk/middleware-logger": "3.523.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.523.0",