@aws-sdk/client-mediapackagev2 3.596.0 → 3.598.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.
Files changed (30) hide show
  1. package/dist-cjs/index.js +27 -0
  2. package/dist-es/models/models_0.js +12 -0
  3. package/dist-es/protocols/Aws_restJson1.js +11 -0
  4. package/dist-types/commands/CreateChannelCommand.d.ts +46 -0
  5. package/dist-types/commands/CreateChannelGroupCommand.d.ts +31 -0
  6. package/dist-types/commands/CreateOriginEndpointCommand.d.ts +482 -0
  7. package/dist-types/commands/DeleteChannelCommand.d.ts +12 -0
  8. package/dist-types/commands/DeleteChannelGroupCommand.d.ts +11 -0
  9. package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +12 -0
  10. package/dist-types/commands/DeleteOriginEndpointCommand.d.ts +13 -0
  11. package/dist-types/commands/DeleteOriginEndpointPolicyCommand.d.ts +13 -0
  12. package/dist-types/commands/GetChannelCommand.d.ts +39 -0
  13. package/dist-types/commands/GetChannelGroupCommand.d.ts +26 -0
  14. package/dist-types/commands/GetChannelPolicyCommand.d.ts +19 -0
  15. package/dist-types/commands/GetOriginEndpointCommand.d.ts +124 -4
  16. package/dist-types/commands/GetOriginEndpointPolicyCommand.d.ts +21 -0
  17. package/dist-types/commands/ListChannelGroupsCommand.d.ts +28 -0
  18. package/dist-types/commands/ListChannelsCommand.d.ts +33 -0
  19. package/dist-types/commands/ListOriginEndpointsCommand.d.ts +116 -0
  20. package/dist-types/commands/ListTagsForResourceCommand.d.ts +19 -0
  21. package/dist-types/commands/PutChannelPolicyCommand.d.ts +13 -0
  22. package/dist-types/commands/PutOriginEndpointPolicyCommand.d.ts +14 -0
  23. package/dist-types/commands/TagResourceCommand.d.ts +15 -0
  24. package/dist-types/commands/UntagResourceCommand.d.ts +15 -0
  25. package/dist-types/commands/UpdateChannelCommand.d.ts +40 -0
  26. package/dist-types/commands/UpdateChannelGroupCommand.d.ts +27 -0
  27. package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +206 -0
  28. package/dist-types/models/models_0.d.ts +172 -5
  29. package/dist-types/ts3.4/models/models_0.d.ts +30 -1
  30. package/package.json +37 -37
package/dist-cjs/index.js CHANGED
@@ -41,11 +41,13 @@ __export(src_exports, {
41
41
  DeleteOriginEndpointCommand: () => DeleteOriginEndpointCommand,
42
42
  DeleteOriginEndpointPolicyCommand: () => DeleteOriginEndpointPolicyCommand,
43
43
  DrmSystem: () => DrmSystem,
44
+ EndpointErrorCondition: () => EndpointErrorCondition,
44
45
  GetChannelCommand: () => GetChannelCommand,
45
46
  GetChannelGroupCommand: () => GetChannelGroupCommand,
46
47
  GetChannelPolicyCommand: () => GetChannelPolicyCommand,
47
48
  GetOriginEndpointCommand: () => GetOriginEndpointCommand,
48
49
  GetOriginEndpointPolicyCommand: () => GetOriginEndpointPolicyCommand,
50
+ InputType: () => InputType,
49
51
  InternalServerException: () => InternalServerException,
50
52
  ListChannelGroupsCommand: () => ListChannelGroupsCommand,
51
53
  ListChannelsCommand: () => ListChannelsCommand,
@@ -365,10 +367,12 @@ var ValidationExceptionType = {
365
367
  NONE_MODE_WITH_TIMING_SOURCE: "NONE_MODE_WITH_TIMING_SOURCE",
366
368
  NUM_MANIFESTS_HIGH: "NUM_MANIFESTS_HIGH",
367
369
  NUM_MANIFESTS_LOW: "NUM_MANIFESTS_LOW",
370
+ ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION",
368
371
  PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES: "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES",
369
372
  ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT",
370
373
  ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE",
371
374
  ROLE_ARN_NOT_ASSUMABLE: "ROLE_ARN_NOT_ASSUMABLE",
375
+ SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY: "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY",
372
376
  TIMING_SOURCE_MISSING: "TIMING_SOURCE_MISSING",
373
377
  TS_CONTAINER_TYPE_WITH_DASH_MANIFEST: "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST",
374
378
  UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION: "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION",
@@ -425,6 +429,10 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends MediaP
425
429
  };
426
430
  __name(_ResourceNotFoundException, "ResourceNotFoundException");
427
431
  var ResourceNotFoundException = _ResourceNotFoundException;
432
+ var InputType = {
433
+ CMAF: "CMAF",
434
+ HLS: "HLS"
435
+ };
428
436
  var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends MediaPackageV2ServiceException {
429
437
  /**
430
438
  * @internal
@@ -467,6 +475,12 @@ var DashUtcTimingMode = {
467
475
  HTTP_XSDATE: "HTTP_XSDATE",
468
476
  UTC_DIRECT: "UTC_DIRECT"
469
477
  };
478
+ var EndpointErrorCondition = {
479
+ INCOMPLETE_MANIFEST: "INCOMPLETE_MANIFEST",
480
+ MISSING_DRM_KEY: "MISSING_DRM_KEY",
481
+ SLATE_INPUT: "SLATE_INPUT",
482
+ STALE_MANIFEST: "STALE_MANIFEST"
483
+ };
470
484
  var CmafEncryptionMethod = {
471
485
  CBCS: "CBCS",
472
486
  CENC: "CENC"
@@ -526,6 +540,7 @@ var se_CreateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
526
540
  (0, import_smithy_client.take)(input, {
527
541
  ChannelName: [],
528
542
  Description: [],
543
+ InputType: [],
529
544
  tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
530
545
  })
531
546
  );
@@ -565,6 +580,7 @@ var se_CreateOriginEndpointCommand = /* @__PURE__ */ __name(async (input, contex
565
580
  ContainerType: [],
566
581
  DashManifests: (_) => se_CreateDashManifests(_, context),
567
582
  Description: [],
583
+ ForceEndpointErrorConfiguration: (_) => (0, import_smithy_client._json)(_),
568
584
  HlsManifests: (_) => se_CreateHlsManifests(_, context),
569
585
  LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
570
586
  OriginEndpointName: [],
@@ -843,6 +859,7 @@ var se_UpdateOriginEndpointCommand = /* @__PURE__ */ __name(async (input, contex
843
859
  ContainerType: [],
844
860
  DashManifests: (_) => se_CreateDashManifests(_, context),
845
861
  Description: [],
862
+ ForceEndpointErrorConfiguration: (_) => (0, import_smithy_client._json)(_),
846
863
  HlsManifests: (_) => se_CreateHlsManifests(_, context),
847
864
  LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
848
865
  Segment: (_) => (0, import_smithy_client._json)(_),
@@ -868,6 +885,7 @@ var de_CreateChannelCommand = /* @__PURE__ */ __name(async (output, context) =>
868
885
  Description: import_smithy_client.expectString,
869
886
  ETag: import_smithy_client.expectString,
870
887
  IngestEndpoints: import_smithy_client._json,
888
+ InputType: import_smithy_client.expectString,
871
889
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
872
890
  Tags: import_smithy_client._json
873
891
  });
@@ -912,6 +930,7 @@ var de_CreateOriginEndpointCommand = /* @__PURE__ */ __name(async (output, conte
912
930
  DashManifests: (_) => de_GetDashManifests(_, context),
913
931
  Description: import_smithy_client.expectString,
914
932
  ETag: import_smithy_client.expectString,
933
+ ForceEndpointErrorConfiguration: import_smithy_client._json,
915
934
  HlsManifests: (_) => de_GetHlsManifests(_, context),
916
935
  LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
917
936
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
@@ -989,6 +1008,7 @@ var de_GetChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
989
1008
  Description: import_smithy_client.expectString,
990
1009
  ETag: import_smithy_client.expectString,
991
1010
  IngestEndpoints: import_smithy_client._json,
1011
+ InputType: import_smithy_client.expectString,
992
1012
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
993
1013
  Tags: import_smithy_client._json
994
1014
  });
@@ -1049,6 +1069,7 @@ var de_GetOriginEndpointCommand = /* @__PURE__ */ __name(async (output, context)
1049
1069
  DashManifests: (_) => de_GetDashManifests(_, context),
1050
1070
  Description: import_smithy_client.expectString,
1051
1071
  ETag: import_smithy_client.expectString,
1072
+ ForceEndpointErrorConfiguration: import_smithy_client._json,
1052
1073
  HlsManifests: (_) => de_GetHlsManifests(_, context),
1053
1074
  LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
1054
1075
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
@@ -1192,6 +1213,7 @@ var de_UpdateChannelCommand = /* @__PURE__ */ __name(async (output, context) =>
1192
1213
  Description: import_smithy_client.expectString,
1193
1214
  ETag: import_smithy_client.expectString,
1194
1215
  IngestEndpoints: import_smithy_client._json,
1216
+ InputType: import_smithy_client.expectString,
1195
1217
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1196
1218
  Tags: [, import_smithy_client._json, `tags`]
1197
1219
  });
@@ -1236,6 +1258,7 @@ var de_UpdateOriginEndpointCommand = /* @__PURE__ */ __name(async (output, conte
1236
1258
  DashManifests: (_) => de_GetDashManifests(_, context),
1237
1259
  Description: import_smithy_client.expectString,
1238
1260
  ETag: import_smithy_client.expectString,
1261
+ ForceEndpointErrorConfiguration: import_smithy_client._json,
1239
1262
  HlsManifests: (_) => de_GetHlsManifests(_, context),
1240
1263
  LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
1241
1264
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
@@ -1465,6 +1488,7 @@ var de_ChannelListConfiguration = /* @__PURE__ */ __name((output, context) => {
1465
1488
  ChannelName: import_smithy_client.expectString,
1466
1489
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1467
1490
  Description: import_smithy_client.expectString,
1491
+ InputType: import_smithy_client.expectString,
1468
1492
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1469
1493
  });
1470
1494
  }, "de_ChannelListConfiguration");
@@ -1541,6 +1565,7 @@ var de_OriginEndpointListConfiguration = /* @__PURE__ */ __name((output, context
1541
1565
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1542
1566
  DashManifests: import_smithy_client._json,
1543
1567
  Description: import_smithy_client.expectString,
1568
+ ForceEndpointErrorConfiguration: import_smithy_client._json,
1544
1569
  HlsManifests: import_smithy_client._json,
1545
1570
  LowLatencyHlsManifests: import_smithy_client._json,
1546
1571
  ModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
@@ -2042,12 +2067,14 @@ var paginateListOriginEndpoints = (0, import_core.createPaginator)(MediaPackageV
2042
2067
  ValidationException,
2043
2068
  ResourceTypeNotFound,
2044
2069
  ResourceNotFoundException,
2070
+ InputType,
2045
2071
  ServiceQuotaExceededException,
2046
2072
  ContainerType,
2047
2073
  DashDrmSignaling,
2048
2074
  DashPeriodTrigger,
2049
2075
  DashSegmentTemplateFormat,
2050
2076
  DashUtcTimingMode,
2077
+ EndpointErrorCondition,
2051
2078
  CmafEncryptionMethod,
2052
2079
  TsEncryptionMethod,
2053
2080
  DrmSystem,
@@ -95,10 +95,12 @@ export const ValidationExceptionType = {
95
95
  NONE_MODE_WITH_TIMING_SOURCE: "NONE_MODE_WITH_TIMING_SOURCE",
96
96
  NUM_MANIFESTS_HIGH: "NUM_MANIFESTS_HIGH",
97
97
  NUM_MANIFESTS_LOW: "NUM_MANIFESTS_LOW",
98
+ ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION: "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION",
98
99
  PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES: "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES",
99
100
  ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT",
100
101
  ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE",
101
102
  ROLE_ARN_NOT_ASSUMABLE: "ROLE_ARN_NOT_ASSUMABLE",
103
+ SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY: "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY",
102
104
  TIMING_SOURCE_MISSING: "TIMING_SOURCE_MISSING",
103
105
  TS_CONTAINER_TYPE_WITH_DASH_MANIFEST: "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST",
104
106
  UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION: "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION",
@@ -145,6 +147,10 @@ export class ResourceNotFoundException extends __BaseException {
145
147
  this.ResourceTypeNotFound = opts.ResourceTypeNotFound;
146
148
  }
147
149
  }
150
+ export const InputType = {
151
+ CMAF: "CMAF",
152
+ HLS: "HLS",
153
+ };
148
154
  export class ServiceQuotaExceededException extends __BaseException {
149
155
  constructor(opts) {
150
156
  super({
@@ -182,6 +188,12 @@ export const DashUtcTimingMode = {
182
188
  HTTP_XSDATE: "HTTP_XSDATE",
183
189
  UTC_DIRECT: "UTC_DIRECT",
184
190
  };
191
+ export const EndpointErrorCondition = {
192
+ INCOMPLETE_MANIFEST: "INCOMPLETE_MANIFEST",
193
+ MISSING_DRM_KEY: "MISSING_DRM_KEY",
194
+ SLATE_INPUT: "SLATE_INPUT",
195
+ STALE_MANIFEST: "STALE_MANIFEST",
196
+ };
185
197
  export const CmafEncryptionMethod = {
186
198
  CBCS: "CBCS",
187
199
  CENC: "CENC",
@@ -15,6 +15,7 @@ export const se_CreateChannelCommand = async (input, context) => {
15
15
  body = JSON.stringify(take(input, {
16
16
  ChannelName: [],
17
17
  Description: [],
18
+ InputType: [],
18
19
  tags: [, (_) => _json(_), `Tags`],
19
20
  }));
20
21
  b.m("POST").h(headers).b(body);
@@ -50,6 +51,7 @@ export const se_CreateOriginEndpointCommand = async (input, context) => {
50
51
  ContainerType: [],
51
52
  DashManifests: (_) => se_CreateDashManifests(_, context),
52
53
  Description: [],
54
+ ForceEndpointErrorConfiguration: (_) => _json(_),
53
55
  HlsManifests: (_) => se_CreateHlsManifests(_, context),
54
56
  LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
55
57
  OriginEndpointName: [],
@@ -316,6 +318,7 @@ export const se_UpdateOriginEndpointCommand = async (input, context) => {
316
318
  ContainerType: [],
317
319
  DashManifests: (_) => se_CreateDashManifests(_, context),
318
320
  Description: [],
321
+ ForceEndpointErrorConfiguration: (_) => _json(_),
319
322
  HlsManifests: (_) => se_CreateHlsManifests(_, context),
320
323
  LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
321
324
  Segment: (_) => _json(_),
@@ -340,6 +343,7 @@ export const de_CreateChannelCommand = async (output, context) => {
340
343
  Description: __expectString,
341
344
  ETag: __expectString,
342
345
  IngestEndpoints: _json,
346
+ InputType: __expectString,
343
347
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
344
348
  Tags: _json,
345
349
  });
@@ -384,6 +388,7 @@ export const de_CreateOriginEndpointCommand = async (output, context) => {
384
388
  DashManifests: (_) => de_GetDashManifests(_, context),
385
389
  Description: __expectString,
386
390
  ETag: __expectString,
391
+ ForceEndpointErrorConfiguration: _json,
387
392
  HlsManifests: (_) => de_GetHlsManifests(_, context),
388
393
  LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
389
394
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -461,6 +466,7 @@ export const de_GetChannelCommand = async (output, context) => {
461
466
  Description: __expectString,
462
467
  ETag: __expectString,
463
468
  IngestEndpoints: _json,
469
+ InputType: __expectString,
464
470
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
465
471
  Tags: _json,
466
472
  });
@@ -521,6 +527,7 @@ export const de_GetOriginEndpointCommand = async (output, context) => {
521
527
  DashManifests: (_) => de_GetDashManifests(_, context),
522
528
  Description: __expectString,
523
529
  ETag: __expectString,
530
+ ForceEndpointErrorConfiguration: _json,
524
531
  HlsManifests: (_) => de_GetHlsManifests(_, context),
525
532
  LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
526
533
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -664,6 +671,7 @@ export const de_UpdateChannelCommand = async (output, context) => {
664
671
  Description: __expectString,
665
672
  ETag: __expectString,
666
673
  IngestEndpoints: _json,
674
+ InputType: __expectString,
667
675
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
668
676
  Tags: [, _json, `tags`],
669
677
  });
@@ -708,6 +716,7 @@ export const de_UpdateOriginEndpointCommand = async (output, context) => {
708
716
  DashManifests: (_) => de_GetDashManifests(_, context),
709
717
  Description: __expectString,
710
718
  ETag: __expectString,
719
+ ForceEndpointErrorConfiguration: _json,
711
720
  HlsManifests: (_) => de_GetHlsManifests(_, context),
712
721
  LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_, context),
713
722
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -947,6 +956,7 @@ const de_ChannelListConfiguration = (output, context) => {
947
956
  ChannelName: __expectString,
948
957
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
949
958
  Description: __expectString,
959
+ InputType: __expectString,
950
960
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
951
961
  });
952
962
  };
@@ -1029,6 +1039,7 @@ const de_OriginEndpointListConfiguration = (output, context) => {
1029
1039
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1030
1040
  DashManifests: _json,
1031
1041
  Description: __expectString,
1042
+ ForceEndpointErrorConfiguration: _json,
1032
1043
  HlsManifests: _json,
1033
1044
  LowLatencyHlsManifests: _json,
1034
1045
  ModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -38,6 +38,7 @@ declare const CreateChannelCommand_base: {
38
38
  * ChannelGroupName: "STRING_VALUE", // required
39
39
  * ChannelName: "STRING_VALUE", // required
40
40
  * ClientToken: "STRING_VALUE",
41
+ * InputType: "HLS" || "CMAF",
41
42
  * Description: "STRING_VALUE",
42
43
  * Tags: { // TagMap
43
44
  * "<keys>": "STRING_VALUE",
@@ -58,6 +59,7 @@ declare const CreateChannelCommand_base: {
58
59
  * // Url: "STRING_VALUE",
59
60
  * // },
60
61
  * // ],
62
+ * // InputType: "HLS" || "CMAF",
61
63
  * // ETag: "STRING_VALUE",
62
64
  * // Tags: { // TagMap
63
65
  * // "<keys>": "STRING_VALUE",
@@ -97,6 +99,50 @@ declare const CreateChannelCommand_base: {
97
99
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
98
100
  *
99
101
  * @public
102
+ * @example Creating a Channel
103
+ * ```javascript
104
+ * //
105
+ * const input = {
106
+ * "ChannelGroupName": "exampleChannelGroup",
107
+ * "ChannelName": "exampleChannel",
108
+ * "Description": "Description for exampleChannel",
109
+ * "InputType": "HLS",
110
+ * "Tags": {
111
+ * "key1": "value1",
112
+ * "key2": "value2"
113
+ * }
114
+ * };
115
+ * const command = new CreateChannelCommand(input);
116
+ * const response = await client.send(command);
117
+ * /* response ==
118
+ * {
119
+ * "Arn": "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
120
+ * "ChannelGroupName": "exampleChannelGroup",
121
+ * "ChannelName": "exampleChannel",
122
+ * "CreatedAt": "2022-10-18T09:36:00.00Z",
123
+ * "Description": "Description for exampleChannel",
124
+ * "ETag": "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
125
+ * "IngestEndpoints": [
126
+ * {
127
+ * "Id": "1",
128
+ * "Url": "https://abcde-1.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index"
129
+ * },
130
+ * {
131
+ * "Id": "2",
132
+ * "Url": "https://abcde-2.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index"
133
+ * }
134
+ * ],
135
+ * "InputType": "HLS",
136
+ * "ModifiedAt": "2022-10-18T09:36:00.00Z",
137
+ * "Tags": {
138
+ * "key1": "value1",
139
+ * "key2": "value2"
140
+ * }
141
+ * }
142
+ * *\/
143
+ * // example id: example-1
144
+ * ```
145
+ *
100
146
  */
101
147
  export declare class CreateChannelCommand extends CreateChannelCommand_base {
102
148
  }
@@ -90,6 +90,37 @@ declare const CreateChannelGroupCommand_base: {
90
90
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
91
91
  *
92
92
  * @public
93
+ * @example Creating a Channel Group
94
+ * ```javascript
95
+ * //
96
+ * const input = {
97
+ * "ChannelGroupName": "exampleChannelGroup",
98
+ * "Description": "Description for exampleChannelGroup",
99
+ * "Tags": {
100
+ * "key1": "value1",
101
+ * "key2": "value2"
102
+ * }
103
+ * };
104
+ * const command = new CreateChannelGroupCommand(input);
105
+ * const response = await client.send(command);
106
+ * /* response ==
107
+ * {
108
+ * "Arn": "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup",
109
+ * "ChannelGroupName": "exampleChannelGroup",
110
+ * "CreatedAt": "2022-10-18T09:36:00.00Z",
111
+ * "Description": "Description for exampleChannelGroup",
112
+ * "ETag": "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
113
+ * "EgressDomain": "abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com",
114
+ * "ModifiedAt": "2022-10-18T09:36:00.00Z",
115
+ * "Tags": {
116
+ * "key1": "value1",
117
+ * "key2": "value2"
118
+ * }
119
+ * }
120
+ * *\/
121
+ * // example id: example-1
122
+ * ```
123
+ *
93
124
  */
94
125
  export declare class CreateChannelGroupCommand extends CreateChannelGroupCommand_base {
95
126
  }