@aws-sdk/client-medialive 3.515.0 → 3.521.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 (37) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/commands/RestartChannelPipelinesCommand.js +1 -0
  3. package/dist-cjs/index.js +74 -0
  4. package/dist-cjs/runtimeConfig.browser.js +1 -1
  5. package/dist-cjs/runtimeConfig.js +1 -1
  6. package/dist-es/MediaLive.js +2 -0
  7. package/dist-es/commands/RestartChannelPipelinesCommand.js +24 -0
  8. package/dist-es/commands/index.js +1 -0
  9. package/dist-es/models/models_0.js +4 -0
  10. package/dist-es/protocols/Aws_restJson1.js +46 -0
  11. package/dist-es/runtimeConfig.browser.js +1 -1
  12. package/dist-es/runtimeConfig.js +1 -1
  13. package/dist-types/MediaLive.d.ts +7 -0
  14. package/dist-types/MediaLiveClient.d.ts +7 -6
  15. package/dist-types/commands/ListChannelsCommand.d.ts +1 -2
  16. package/dist-types/commands/RestartChannelPipelinesCommand.d.ts +1113 -0
  17. package/dist-types/commands/index.d.ts +1 -0
  18. package/dist-types/models/models_0.d.ts +13 -32
  19. package/dist-types/models/models_1.d.ts +32 -17
  20. package/dist-types/models/models_2.d.ts +136 -1
  21. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  22. package/dist-types/runtimeConfig.browser.d.ts +1 -4
  23. package/dist-types/runtimeConfig.d.ts +1 -4
  24. package/dist-types/runtimeConfig.native.d.ts +1 -4
  25. package/dist-types/ts3.4/MediaLive.d.ts +17 -0
  26. package/dist-types/ts3.4/MediaLiveClient.d.ts +9 -3
  27. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +1 -2
  28. package/dist-types/ts3.4/commands/RestartChannelPipelinesCommand.d.ts +30 -0
  29. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  30. package/dist-types/ts3.4/models/models_0.d.ts +6 -7
  31. package/dist-types/ts3.4/models/models_1.d.ts +8 -5
  32. package/dist-types/ts3.4/models/models_2.d.ts +30 -0
  33. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -13
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -14
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -13
  37. package/package.json +36 -36
package/README.md CHANGED
@@ -578,6 +578,14 @@ RejectInputDeviceTransfer
578
578
 
579
579
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/medialive/command/RejectInputDeviceTransferCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-medialive/Interface/RejectInputDeviceTransferCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-medialive/Interface/RejectInputDeviceTransferCommandOutput/)
580
580
 
581
+ </details>
582
+ <details>
583
+ <summary>
584
+ RestartChannelPipelines
585
+ </summary>
586
+
587
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/medialive/command/RestartChannelPipelinesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-medialive/Interface/RestartChannelPipelinesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-medialive/Interface/RestartChannelPipelinesCommandOutput/)
588
+
581
589
  </details>
582
590
  <details>
583
591
  <summary>
@@ -0,0 +1 @@
1
+ module.exports = require("../index.js");
package/dist-cjs/index.js CHANGED
@@ -65,6 +65,7 @@ __export(src_exports, {
65
65
  CancelInputDeviceTransferCommand: () => CancelInputDeviceTransferCommand,
66
66
  CdiInputResolution: () => CdiInputResolution,
67
67
  ChannelClass: () => ChannelClass,
68
+ ChannelPipelineIdToRestart: () => ChannelPipelineIdToRestart,
68
69
  ChannelState: () => ChannelState,
69
70
  ClaimDeviceCommand: () => ClaimDeviceCommand,
70
71
  ColorSpace: () => ColorSpace,
@@ -314,6 +315,7 @@ __export(src_exports, {
314
315
  ReservationSpecialFeature: () => ReservationSpecialFeature,
315
316
  ReservationState: () => ReservationState,
316
317
  ReservationVideoQuality: () => ReservationVideoQuality,
318
+ RestartChannelPipelinesCommand: () => RestartChannelPipelinesCommand,
317
319
  RtmpAdMarkers: () => RtmpAdMarkers,
318
320
  RtmpCacheFullBehavior: () => RtmpCacheFullBehavior,
319
321
  RtmpCaptionData: () => RtmpCaptionData,
@@ -1949,6 +1951,22 @@ var se_RejectInputDeviceTransferCommand = /* @__PURE__ */ __name(async (input, c
1949
1951
  b.m("POST").h(headers).b(body);
1950
1952
  return b.build();
1951
1953
  }, "se_RejectInputDeviceTransferCommand");
1954
+ var se_RestartChannelPipelinesCommand = /* @__PURE__ */ __name(async (input, context) => {
1955
+ const b = (0, import_core.requestBuilder)(input, context);
1956
+ const headers = {
1957
+ "content-type": "application/json"
1958
+ };
1959
+ b.bp("/prod/channels/{ChannelId}/restartChannelPipelines");
1960
+ b.p("ChannelId", () => input.ChannelId, "{ChannelId}", false);
1961
+ let body;
1962
+ body = JSON.stringify(
1963
+ (0, import_smithy_client.take)(input, {
1964
+ pipelineIds: [, (_) => (0, import_smithy_client._json)(_), `PipelineIds`]
1965
+ })
1966
+ );
1967
+ b.m("POST").h(headers).b(body);
1968
+ return b.build();
1969
+ }, "se_RestartChannelPipelinesCommand");
1952
1970
  var se_StartChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
1953
1971
  const b = (0, import_core.requestBuilder)(input, context);
1954
1972
  const headers = {};
@@ -2970,6 +2988,38 @@ var de_RejectInputDeviceTransferCommand = /* @__PURE__ */ __name(async (output,
2970
2988
  await (0, import_smithy_client.collectBody)(output.body, context);
2971
2989
  return contents;
2972
2990
  }, "de_RejectInputDeviceTransferCommand");
2991
+ var de_RestartChannelPipelinesCommand = /* @__PURE__ */ __name(async (output, context) => {
2992
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2993
+ return de_CommandError(output, context);
2994
+ }
2995
+ const contents = (0, import_smithy_client.map)({
2996
+ $metadata: deserializeMetadata(output)
2997
+ });
2998
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
2999
+ const doc = (0, import_smithy_client.take)(data, {
3000
+ Arn: [, import_smithy_client.expectString, `arn`],
3001
+ CdiInputSpecification: [, (_) => de_CdiInputSpecification(_, context), `cdiInputSpecification`],
3002
+ ChannelClass: [, import_smithy_client.expectString, `channelClass`],
3003
+ Destinations: [, (_) => de___listOfOutputDestination(_, context), `destinations`],
3004
+ EgressEndpoints: [, (_) => de___listOfChannelEgressEndpoint(_, context), `egressEndpoints`],
3005
+ EncoderSettings: [, (_) => de_EncoderSettings(_, context), `encoderSettings`],
3006
+ Id: [, import_smithy_client.expectString, `id`],
3007
+ InputAttachments: [, (_) => de___listOfInputAttachment(_, context), `inputAttachments`],
3008
+ InputSpecification: [, (_) => de_InputSpecification(_, context), `inputSpecification`],
3009
+ LogLevel: [, import_smithy_client.expectString, `logLevel`],
3010
+ Maintenance: [, (_) => de_MaintenanceStatus(_, context), `maintenance`],
3011
+ MaintenanceStatus: [, import_smithy_client.expectString, `maintenanceStatus`],
3012
+ Name: [, import_smithy_client.expectString, `name`],
3013
+ PipelineDetails: [, (_) => de___listOfPipelineDetail(_, context), `pipelineDetails`],
3014
+ PipelinesRunningCount: [, import_smithy_client.expectInt32, `pipelinesRunningCount`],
3015
+ RoleArn: [, import_smithy_client.expectString, `roleArn`],
3016
+ State: [, import_smithy_client.expectString, `state`],
3017
+ Tags: [, import_smithy_client._json, `tags`],
3018
+ Vpc: [, (_) => de_VpcOutputSettingsDescription(_, context), `vpc`]
3019
+ });
3020
+ Object.assign(contents, doc);
3021
+ return contents;
3022
+ }, "de_RestartChannelPipelinesCommand");
2973
3023
  var de_StartChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
2974
3024
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2975
3025
  return de_CommandError(output, context);
@@ -8329,6 +8379,23 @@ var _RejectInputDeviceTransferCommand = class _RejectInputDeviceTransferCommand
8329
8379
  __name(_RejectInputDeviceTransferCommand, "RejectInputDeviceTransferCommand");
8330
8380
  var RejectInputDeviceTransferCommand = _RejectInputDeviceTransferCommand;
8331
8381
 
8382
+ // src/commands/RestartChannelPipelinesCommand.ts
8383
+
8384
+
8385
+
8386
+
8387
+ var _RestartChannelPipelinesCommand = class _RestartChannelPipelinesCommand extends import_smithy_client.Command.classBuilder().ep({
8388
+ ...commonParams
8389
+ }).m(function(Command, cs, config, o) {
8390
+ return [
8391
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
8392
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
8393
+ ];
8394
+ }).s("MediaLive", "RestartChannelPipelines", {}).n("MediaLiveClient", "RestartChannelPipelinesCommand").f(void 0, void 0).ser(se_RestartChannelPipelinesCommand).de(de_RestartChannelPipelinesCommand).build() {
8395
+ };
8396
+ __name(_RestartChannelPipelinesCommand, "RestartChannelPipelinesCommand");
8397
+ var RestartChannelPipelinesCommand = _RestartChannelPipelinesCommand;
8398
+
8332
8399
  // src/commands/StartChannelCommand.ts
8333
8400
 
8334
8401
 
@@ -8667,6 +8734,7 @@ var commands = {
8667
8734
  PurchaseOfferingCommand,
8668
8735
  RebootInputDeviceCommand,
8669
8736
  RejectInputDeviceTransferCommand,
8737
+ RestartChannelPipelinesCommand,
8670
8738
  StartChannelCommand,
8671
8739
  StartInputDeviceCommand,
8672
8740
  StartInputDeviceMaintenanceWindowCommand,
@@ -9575,6 +9643,10 @@ var Scte27OcrLanguage = {
9575
9643
  POR: "POR",
9576
9644
  SPA: "SPA"
9577
9645
  };
9646
+ var ChannelPipelineIdToRestart = {
9647
+ PIPELINE_0: "PIPELINE_0",
9648
+ PIPELINE_1: "PIPELINE_1"
9649
+ };
9578
9650
  var CdiInputResolution = {
9579
9651
  FHD: "FHD",
9580
9652
  HD: "HD",
@@ -10086,6 +10158,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
10086
10158
  PurchaseOfferingCommand,
10087
10159
  RebootInputDeviceCommand,
10088
10160
  RejectInputDeviceTransferCommand,
10161
+ RestartChannelPipelinesCommand,
10089
10162
  StartChannelCommand,
10090
10163
  StartInputDeviceCommand,
10091
10164
  StartInputDeviceMaintenanceWindowCommand,
@@ -10199,6 +10272,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
10199
10272
  EmbeddedScte20Detection,
10200
10273
  Scte20Convert608To708,
10201
10274
  Scte27OcrLanguage,
10275
+ ChannelPipelineIdToRestart,
10202
10276
  CdiInputResolution,
10203
10277
  ChannelClass,
10204
10278
  InputPreference,
@@ -28,7 +28,7 @@ const getRuntimeConfig = (config) => {
28
28
  (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
29
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
30
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
- requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
31
+ requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
32
32
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
33
33
  sha256: config?.sha256 ?? sha256_browser_1.Sha256,
34
34
  streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
@@ -34,7 +34,7 @@ const getRuntimeConfig = (config) => {
34
34
  (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
35
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
36
  region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
- requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
37
+ requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
38
38
  retryMode: config?.retryMode ??
39
39
  (0, node_config_provider_1.loadConfig)({
40
40
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
@@ -46,6 +46,7 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
46
46
  import { PurchaseOfferingCommand, } from "./commands/PurchaseOfferingCommand";
47
47
  import { RebootInputDeviceCommand, } from "./commands/RebootInputDeviceCommand";
48
48
  import { RejectInputDeviceTransferCommand, } from "./commands/RejectInputDeviceTransferCommand";
49
+ import { RestartChannelPipelinesCommand, } from "./commands/RestartChannelPipelinesCommand";
49
50
  import { StartChannelCommand, } from "./commands/StartChannelCommand";
50
51
  import { StartInputDeviceCommand, } from "./commands/StartInputDeviceCommand";
51
52
  import { StartInputDeviceMaintenanceWindowCommand, } from "./commands/StartInputDeviceMaintenanceWindowCommand";
@@ -112,6 +113,7 @@ const commands = {
112
113
  PurchaseOfferingCommand,
113
114
  RebootInputDeviceCommand,
114
115
  RejectInputDeviceTransferCommand,
116
+ RestartChannelPipelinesCommand,
115
117
  StartChannelCommand,
116
118
  StartInputDeviceCommand,
117
119
  StartInputDeviceMaintenanceWindowCommand,
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_RestartChannelPipelinesCommand, se_RestartChannelPipelinesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class RestartChannelPipelinesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaLive", "RestartChannelPipelines", {})
19
+ .n("MediaLiveClient", "RestartChannelPipelinesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RestartChannelPipelinesCommand)
22
+ .de(de_RestartChannelPipelinesCommand)
23
+ .build() {
24
+ }
@@ -45,6 +45,7 @@ export * from "./ListTagsForResourceCommand";
45
45
  export * from "./PurchaseOfferingCommand";
46
46
  export * from "./RebootInputDeviceCommand";
47
47
  export * from "./RejectInputDeviceTransferCommand";
48
+ export * from "./RestartChannelPipelinesCommand";
48
49
  export * from "./StartChannelCommand";
49
50
  export * from "./StartInputDeviceCommand";
50
51
  export * from "./StartInputDeviceMaintenanceWindowCommand";
@@ -341,6 +341,10 @@ export const Scte27OcrLanguage = {
341
341
  POR: "POR",
342
342
  SPA: "SPA",
343
343
  };
344
+ export const ChannelPipelineIdToRestart = {
345
+ PIPELINE_0: "PIPELINE_0",
346
+ PIPELINE_1: "PIPELINE_1",
347
+ };
344
348
  export const CdiInputResolution = {
345
349
  FHD: "FHD",
346
350
  HD: "HD",
@@ -597,6 +597,20 @@ export const se_RejectInputDeviceTransferCommand = async (input, context) => {
597
597
  b.m("POST").h(headers).b(body);
598
598
  return b.build();
599
599
  };
600
+ export const se_RestartChannelPipelinesCommand = async (input, context) => {
601
+ const b = rb(input, context);
602
+ const headers = {
603
+ "content-type": "application/json",
604
+ };
605
+ b.bp("/prod/channels/{ChannelId}/restartChannelPipelines");
606
+ b.p("ChannelId", () => input.ChannelId, "{ChannelId}", false);
607
+ let body;
608
+ body = JSON.stringify(take(input, {
609
+ pipelineIds: [, (_) => _json(_), `PipelineIds`],
610
+ }));
611
+ b.m("POST").h(headers).b(body);
612
+ return b.build();
613
+ };
600
614
  export const se_StartChannelCommand = async (input, context) => {
601
615
  const b = rb(input, context);
602
616
  const headers = {};
@@ -1598,6 +1612,38 @@ export const de_RejectInputDeviceTransferCommand = async (output, context) => {
1598
1612
  await collectBody(output.body, context);
1599
1613
  return contents;
1600
1614
  };
1615
+ export const de_RestartChannelPipelinesCommand = async (output, context) => {
1616
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1617
+ return de_CommandError(output, context);
1618
+ }
1619
+ const contents = map({
1620
+ $metadata: deserializeMetadata(output),
1621
+ });
1622
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1623
+ const doc = take(data, {
1624
+ Arn: [, __expectString, `arn`],
1625
+ CdiInputSpecification: [, (_) => de_CdiInputSpecification(_, context), `cdiInputSpecification`],
1626
+ ChannelClass: [, __expectString, `channelClass`],
1627
+ Destinations: [, (_) => de___listOfOutputDestination(_, context), `destinations`],
1628
+ EgressEndpoints: [, (_) => de___listOfChannelEgressEndpoint(_, context), `egressEndpoints`],
1629
+ EncoderSettings: [, (_) => de_EncoderSettings(_, context), `encoderSettings`],
1630
+ Id: [, __expectString, `id`],
1631
+ InputAttachments: [, (_) => de___listOfInputAttachment(_, context), `inputAttachments`],
1632
+ InputSpecification: [, (_) => de_InputSpecification(_, context), `inputSpecification`],
1633
+ LogLevel: [, __expectString, `logLevel`],
1634
+ Maintenance: [, (_) => de_MaintenanceStatus(_, context), `maintenance`],
1635
+ MaintenanceStatus: [, __expectString, `maintenanceStatus`],
1636
+ Name: [, __expectString, `name`],
1637
+ PipelineDetails: [, (_) => de___listOfPipelineDetail(_, context), `pipelineDetails`],
1638
+ PipelinesRunningCount: [, __expectInt32, `pipelinesRunningCount`],
1639
+ RoleArn: [, __expectString, `roleArn`],
1640
+ State: [, __expectString, `state`],
1641
+ Tags: [, _json, `tags`],
1642
+ Vpc: [, (_) => de_VpcOutputSettingsDescription(_, context), `vpc`],
1643
+ });
1644
+ Object.assign(contents, doc);
1645
+ return contents;
1646
+ };
1601
1647
  export const de_StartChannelCommand = async (output, context) => {
1602
1648
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1603
1649
  return de_CommandError(output, context);
@@ -24,7 +24,7 @@ export const getRuntimeConfig = (config) => {
24
24
  defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
25
  maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
26
  region: config?.region ?? invalidProvider("Region is missing"),
27
- requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
27
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
28
28
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
29
29
  sha256: config?.sha256 ?? Sha256,
30
30
  streamCollector: config?.streamCollector ?? streamCollector,
@@ -30,7 +30,7 @@ export const getRuntimeConfig = (config) => {
30
30
  defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
31
31
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
32
32
  region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
33
- requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
33
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
34
34
  retryMode: config?.retryMode ??
35
35
  loadNodeConfig({
36
36
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
@@ -46,6 +46,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
46
46
  import { PurchaseOfferingCommandInput, PurchaseOfferingCommandOutput } from "./commands/PurchaseOfferingCommand";
47
47
  import { RebootInputDeviceCommandInput, RebootInputDeviceCommandOutput } from "./commands/RebootInputDeviceCommand";
48
48
  import { RejectInputDeviceTransferCommandInput, RejectInputDeviceTransferCommandOutput } from "./commands/RejectInputDeviceTransferCommand";
49
+ import { RestartChannelPipelinesCommandInput, RestartChannelPipelinesCommandOutput } from "./commands/RestartChannelPipelinesCommand";
49
50
  import { StartChannelCommandInput, StartChannelCommandOutput } from "./commands/StartChannelCommand";
50
51
  import { StartInputDeviceCommandInput, StartInputDeviceCommandOutput } from "./commands/StartInputDeviceCommand";
51
52
  import { StartInputDeviceMaintenanceWindowCommandInput, StartInputDeviceMaintenanceWindowCommandOutput } from "./commands/StartInputDeviceMaintenanceWindowCommand";
@@ -347,6 +348,12 @@ export interface MediaLive {
347
348
  rejectInputDeviceTransfer(args: RejectInputDeviceTransferCommandInput, options?: __HttpHandlerOptions): Promise<RejectInputDeviceTransferCommandOutput>;
348
349
  rejectInputDeviceTransfer(args: RejectInputDeviceTransferCommandInput, cb: (err: any, data?: RejectInputDeviceTransferCommandOutput) => void): void;
349
350
  rejectInputDeviceTransfer(args: RejectInputDeviceTransferCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectInputDeviceTransferCommandOutput) => void): void;
351
+ /**
352
+ * @see {@link RestartChannelPipelinesCommand}
353
+ */
354
+ restartChannelPipelines(args: RestartChannelPipelinesCommandInput, options?: __HttpHandlerOptions): Promise<RestartChannelPipelinesCommandOutput>;
355
+ restartChannelPipelines(args: RestartChannelPipelinesCommandInput, cb: (err: any, data?: RestartChannelPipelinesCommandOutput) => void): void;
356
+ restartChannelPipelines(args: RestartChannelPipelinesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestartChannelPipelinesCommandOutput) => void): void;
350
357
  /**
351
358
  * @see {@link StartChannelCommand}
352
359
  */
@@ -3,7 +3,7 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
3
3
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
4
  import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
6
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
8
  import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
@@ -54,6 +54,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
54
54
  import { PurchaseOfferingCommandInput, PurchaseOfferingCommandOutput } from "./commands/PurchaseOfferingCommand";
55
55
  import { RebootInputDeviceCommandInput, RebootInputDeviceCommandOutput } from "./commands/RebootInputDeviceCommand";
56
56
  import { RejectInputDeviceTransferCommandInput, RejectInputDeviceTransferCommandOutput } from "./commands/RejectInputDeviceTransferCommand";
57
+ import { RestartChannelPipelinesCommandInput, RestartChannelPipelinesCommandOutput } from "./commands/RestartChannelPipelinesCommand";
57
58
  import { StartChannelCommandInput, StartChannelCommandOutput } from "./commands/StartChannelCommand";
58
59
  import { StartInputDeviceCommandInput, StartInputDeviceCommandOutput } from "./commands/StartInputDeviceCommand";
59
60
  import { StartInputDeviceMaintenanceWindowCommandInput, StartInputDeviceMaintenanceWindowCommandOutput } from "./commands/StartInputDeviceMaintenanceWindowCommand";
@@ -77,19 +78,19 @@ export { __Client };
77
78
  /**
78
79
  * @public
79
80
  */
80
- export type ServiceInputTypes = AcceptInputDeviceTransferCommandInput | BatchDeleteCommandInput | BatchStartCommandInput | BatchStopCommandInput | BatchUpdateScheduleCommandInput | CancelInputDeviceTransferCommandInput | ClaimDeviceCommandInput | CreateChannelCommandInput | CreateInputCommandInput | CreateInputSecurityGroupCommandInput | CreateMultiplexCommandInput | CreateMultiplexProgramCommandInput | CreatePartnerInputCommandInput | CreateTagsCommandInput | DeleteChannelCommandInput | DeleteInputCommandInput | DeleteInputSecurityGroupCommandInput | DeleteMultiplexCommandInput | DeleteMultiplexProgramCommandInput | DeleteReservationCommandInput | DeleteScheduleCommandInput | DeleteTagsCommandInput | DescribeAccountConfigurationCommandInput | DescribeChannelCommandInput | DescribeInputCommandInput | DescribeInputDeviceCommandInput | DescribeInputDeviceThumbnailCommandInput | DescribeInputSecurityGroupCommandInput | DescribeMultiplexCommandInput | DescribeMultiplexProgramCommandInput | DescribeOfferingCommandInput | DescribeReservationCommandInput | DescribeScheduleCommandInput | DescribeThumbnailsCommandInput | ListChannelsCommandInput | ListInputDeviceTransfersCommandInput | ListInputDevicesCommandInput | ListInputSecurityGroupsCommandInput | ListInputsCommandInput | ListMultiplexProgramsCommandInput | ListMultiplexesCommandInput | ListOfferingsCommandInput | ListReservationsCommandInput | ListTagsForResourceCommandInput | PurchaseOfferingCommandInput | RebootInputDeviceCommandInput | RejectInputDeviceTransferCommandInput | StartChannelCommandInput | StartInputDeviceCommandInput | StartInputDeviceMaintenanceWindowCommandInput | StartMultiplexCommandInput | StopChannelCommandInput | StopInputDeviceCommandInput | StopMultiplexCommandInput | TransferInputDeviceCommandInput | UpdateAccountConfigurationCommandInput | UpdateChannelClassCommandInput | UpdateChannelCommandInput | UpdateInputCommandInput | UpdateInputDeviceCommandInput | UpdateInputSecurityGroupCommandInput | UpdateMultiplexCommandInput | UpdateMultiplexProgramCommandInput | UpdateReservationCommandInput;
81
+ export type ServiceInputTypes = AcceptInputDeviceTransferCommandInput | BatchDeleteCommandInput | BatchStartCommandInput | BatchStopCommandInput | BatchUpdateScheduleCommandInput | CancelInputDeviceTransferCommandInput | ClaimDeviceCommandInput | CreateChannelCommandInput | CreateInputCommandInput | CreateInputSecurityGroupCommandInput | CreateMultiplexCommandInput | CreateMultiplexProgramCommandInput | CreatePartnerInputCommandInput | CreateTagsCommandInput | DeleteChannelCommandInput | DeleteInputCommandInput | DeleteInputSecurityGroupCommandInput | DeleteMultiplexCommandInput | DeleteMultiplexProgramCommandInput | DeleteReservationCommandInput | DeleteScheduleCommandInput | DeleteTagsCommandInput | DescribeAccountConfigurationCommandInput | DescribeChannelCommandInput | DescribeInputCommandInput | DescribeInputDeviceCommandInput | DescribeInputDeviceThumbnailCommandInput | DescribeInputSecurityGroupCommandInput | DescribeMultiplexCommandInput | DescribeMultiplexProgramCommandInput | DescribeOfferingCommandInput | DescribeReservationCommandInput | DescribeScheduleCommandInput | DescribeThumbnailsCommandInput | ListChannelsCommandInput | ListInputDeviceTransfersCommandInput | ListInputDevicesCommandInput | ListInputSecurityGroupsCommandInput | ListInputsCommandInput | ListMultiplexProgramsCommandInput | ListMultiplexesCommandInput | ListOfferingsCommandInput | ListReservationsCommandInput | ListTagsForResourceCommandInput | PurchaseOfferingCommandInput | RebootInputDeviceCommandInput | RejectInputDeviceTransferCommandInput | RestartChannelPipelinesCommandInput | StartChannelCommandInput | StartInputDeviceCommandInput | StartInputDeviceMaintenanceWindowCommandInput | StartMultiplexCommandInput | StopChannelCommandInput | StopInputDeviceCommandInput | StopMultiplexCommandInput | TransferInputDeviceCommandInput | UpdateAccountConfigurationCommandInput | UpdateChannelClassCommandInput | UpdateChannelCommandInput | UpdateInputCommandInput | UpdateInputDeviceCommandInput | UpdateInputSecurityGroupCommandInput | UpdateMultiplexCommandInput | UpdateMultiplexProgramCommandInput | UpdateReservationCommandInput;
81
82
  /**
82
83
  * @public
83
84
  */
84
- export type ServiceOutputTypes = AcceptInputDeviceTransferCommandOutput | BatchDeleteCommandOutput | BatchStartCommandOutput | BatchStopCommandOutput | BatchUpdateScheduleCommandOutput | CancelInputDeviceTransferCommandOutput | ClaimDeviceCommandOutput | CreateChannelCommandOutput | CreateInputCommandOutput | CreateInputSecurityGroupCommandOutput | CreateMultiplexCommandOutput | CreateMultiplexProgramCommandOutput | CreatePartnerInputCommandOutput | CreateTagsCommandOutput | DeleteChannelCommandOutput | DeleteInputCommandOutput | DeleteInputSecurityGroupCommandOutput | DeleteMultiplexCommandOutput | DeleteMultiplexProgramCommandOutput | DeleteReservationCommandOutput | DeleteScheduleCommandOutput | DeleteTagsCommandOutput | DescribeAccountConfigurationCommandOutput | DescribeChannelCommandOutput | DescribeInputCommandOutput | DescribeInputDeviceCommandOutput | DescribeInputDeviceThumbnailCommandOutput | DescribeInputSecurityGroupCommandOutput | DescribeMultiplexCommandOutput | DescribeMultiplexProgramCommandOutput | DescribeOfferingCommandOutput | DescribeReservationCommandOutput | DescribeScheduleCommandOutput | DescribeThumbnailsCommandOutput | ListChannelsCommandOutput | ListInputDeviceTransfersCommandOutput | ListInputDevicesCommandOutput | ListInputSecurityGroupsCommandOutput | ListInputsCommandOutput | ListMultiplexProgramsCommandOutput | ListMultiplexesCommandOutput | ListOfferingsCommandOutput | ListReservationsCommandOutput | ListTagsForResourceCommandOutput | PurchaseOfferingCommandOutput | RebootInputDeviceCommandOutput | RejectInputDeviceTransferCommandOutput | StartChannelCommandOutput | StartInputDeviceCommandOutput | StartInputDeviceMaintenanceWindowCommandOutput | StartMultiplexCommandOutput | StopChannelCommandOutput | StopInputDeviceCommandOutput | StopMultiplexCommandOutput | TransferInputDeviceCommandOutput | UpdateAccountConfigurationCommandOutput | UpdateChannelClassCommandOutput | UpdateChannelCommandOutput | UpdateInputCommandOutput | UpdateInputDeviceCommandOutput | UpdateInputSecurityGroupCommandOutput | UpdateMultiplexCommandOutput | UpdateMultiplexProgramCommandOutput | UpdateReservationCommandOutput;
85
+ export type ServiceOutputTypes = AcceptInputDeviceTransferCommandOutput | BatchDeleteCommandOutput | BatchStartCommandOutput | BatchStopCommandOutput | BatchUpdateScheduleCommandOutput | CancelInputDeviceTransferCommandOutput | ClaimDeviceCommandOutput | CreateChannelCommandOutput | CreateInputCommandOutput | CreateInputSecurityGroupCommandOutput | CreateMultiplexCommandOutput | CreateMultiplexProgramCommandOutput | CreatePartnerInputCommandOutput | CreateTagsCommandOutput | DeleteChannelCommandOutput | DeleteInputCommandOutput | DeleteInputSecurityGroupCommandOutput | DeleteMultiplexCommandOutput | DeleteMultiplexProgramCommandOutput | DeleteReservationCommandOutput | DeleteScheduleCommandOutput | DeleteTagsCommandOutput | DescribeAccountConfigurationCommandOutput | DescribeChannelCommandOutput | DescribeInputCommandOutput | DescribeInputDeviceCommandOutput | DescribeInputDeviceThumbnailCommandOutput | DescribeInputSecurityGroupCommandOutput | DescribeMultiplexCommandOutput | DescribeMultiplexProgramCommandOutput | DescribeOfferingCommandOutput | DescribeReservationCommandOutput | DescribeScheduleCommandOutput | DescribeThumbnailsCommandOutput | ListChannelsCommandOutput | ListInputDeviceTransfersCommandOutput | ListInputDevicesCommandOutput | ListInputSecurityGroupsCommandOutput | ListInputsCommandOutput | ListMultiplexProgramsCommandOutput | ListMultiplexesCommandOutput | ListOfferingsCommandOutput | ListReservationsCommandOutput | ListTagsForResourceCommandOutput | PurchaseOfferingCommandOutput | RebootInputDeviceCommandOutput | RejectInputDeviceTransferCommandOutput | RestartChannelPipelinesCommandOutput | StartChannelCommandOutput | StartInputDeviceCommandOutput | StartInputDeviceMaintenanceWindowCommandOutput | StartMultiplexCommandOutput | StopChannelCommandOutput | StopInputDeviceCommandOutput | StopMultiplexCommandOutput | TransferInputDeviceCommandOutput | UpdateAccountConfigurationCommandOutput | UpdateChannelClassCommandOutput | UpdateChannelCommandOutput | UpdateInputCommandOutput | UpdateInputDeviceCommandOutput | UpdateInputSecurityGroupCommandOutput | UpdateMultiplexCommandOutput | UpdateMultiplexProgramCommandOutput | UpdateReservationCommandOutput;
85
86
  /**
86
87
  * @public
87
88
  */
88
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
89
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
89
90
  /**
90
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
91
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
91
92
  */
92
- requestHandler?: __HttpHandler;
93
+ requestHandler?: __HttpHandlerUserInput;
93
94
  /**
94
95
  * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
95
96
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
4
- import { ListChannelsRequest } from "../models/models_1";
5
- import { ListChannelsResponse } from "../models/models_2";
4
+ import { ListChannelsRequest, ListChannelsResponse } from "../models/models_2";
6
5
  /**
7
6
  * @public
8
7
  */