@aws-sdk/client-ivs 3.39.0 → 3.43.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 (75) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +10 -1
  3. package/dist-cjs/Ivs.js +30 -0
  4. package/dist-cjs/commands/GetStreamSessionCommand.js +36 -0
  5. package/dist-cjs/commands/ListStreamSessionsCommand.js +36 -0
  6. package/dist-cjs/commands/index.js +2 -0
  7. package/dist-cjs/endpoints.js +74 -5
  8. package/dist-cjs/models/models_0.js +68 -2
  9. package/dist-cjs/pagination/ListStreamSessionsPaginator.js +35 -0
  10. package/dist-cjs/pagination/index.js +1 -0
  11. package/dist-cjs/protocols/Aws_restJson1.js +282 -2
  12. package/dist-cjs/runtimeConfig.browser.js +6 -3
  13. package/dist-cjs/runtimeConfig.js +5 -3
  14. package/dist-es/Ivs.js +30 -0
  15. package/dist-es/commands/GetStreamSessionCommand.js +39 -0
  16. package/dist-es/commands/ListStreamSessionsCommand.js +39 -0
  17. package/dist-es/commands/index.js +2 -0
  18. package/dist-es/endpoints.js +74 -5
  19. package/dist-es/models/models_0.js +44 -0
  20. package/dist-es/pagination/ListStreamSessionsPaginator.js +74 -0
  21. package/dist-es/pagination/index.js +1 -0
  22. package/dist-es/protocols/Aws_restJson1.js +309 -1
  23. package/dist-es/runtimeConfig.browser.js +3 -2
  24. package/dist-es/runtimeConfig.js +3 -3
  25. package/dist-types/Ivs.d.ts +44 -19
  26. package/dist-types/IvsClient.d.ts +22 -3
  27. package/dist-types/commands/BatchGetChannelCommand.d.ts +1 -1
  28. package/dist-types/commands/BatchGetStreamKeyCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateChannelCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateRecordingConfigurationCommand.d.ts +10 -10
  31. package/dist-types/commands/CreateStreamKeyCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteChannelCommand.d.ts +3 -2
  33. package/dist-types/commands/DeletePlaybackKeyPairCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteRecordingConfigurationCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteStreamKeyCommand.d.ts +1 -1
  36. package/dist-types/commands/GetChannelCommand.d.ts +1 -1
  37. package/dist-types/commands/GetPlaybackKeyPairCommand.d.ts +1 -1
  38. package/dist-types/commands/GetRecordingConfigurationCommand.d.ts +1 -1
  39. package/dist-types/commands/GetStreamCommand.d.ts +1 -1
  40. package/dist-types/commands/GetStreamKeyCommand.d.ts +1 -1
  41. package/dist-types/commands/GetStreamSessionCommand.d.ts +35 -0
  42. package/dist-types/commands/ImportPlaybackKeyPairCommand.d.ts +1 -1
  43. package/dist-types/commands/ListChannelsCommand.d.ts +4 -4
  44. package/dist-types/commands/ListPlaybackKeyPairsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListRecordingConfigurationsCommand.d.ts +3 -3
  46. package/dist-types/commands/ListStreamKeysCommand.d.ts +1 -1
  47. package/dist-types/commands/ListStreamSessionsCommand.d.ts +36 -0
  48. package/dist-types/commands/ListStreamsCommand.d.ts +3 -3
  49. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  50. package/dist-types/commands/PutMetadataCommand.d.ts +2 -2
  51. package/dist-types/commands/StopStreamCommand.d.ts +1 -1
  52. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  53. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  54. package/dist-types/commands/UpdateChannelCommand.d.ts +1 -1
  55. package/dist-types/commands/index.d.ts +2 -0
  56. package/dist-types/models/models_0.d.ts +289 -6
  57. package/dist-types/pagination/ListStreamSessionsPaginator.d.ts +4 -0
  58. package/dist-types/pagination/index.d.ts +1 -0
  59. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  60. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  61. package/dist-types/runtimeConfig.d.ts +2 -0
  62. package/dist-types/runtimeConfig.native.d.ts +2 -0
  63. package/dist-types/ts3.4/Ivs.d.ts +10 -0
  64. package/dist-types/ts3.4/IvsClient.d.ts +8 -2
  65. package/dist-types/ts3.4/commands/GetStreamSessionCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/ListStreamSessionsCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +153 -0
  69. package/dist-types/ts3.4/pagination/ListStreamSessionsPaginator.d.ts +4 -0
  70. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  71. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  72. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  73. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  74. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  75. package/package.json +23 -23
@@ -1,7 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
4
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
16
  export var getRuntimeConfig = function (config) {
17
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
18
  emitWarningIfUnsupportedVersion(process.version);
19
19
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
21
  };
@@ -13,12 +13,14 @@ import { GetPlaybackKeyPairCommandInput, GetPlaybackKeyPairCommandOutput } from
13
13
  import { GetRecordingConfigurationCommandInput, GetRecordingConfigurationCommandOutput } from "./commands/GetRecordingConfigurationCommand";
14
14
  import { GetStreamCommandInput, GetStreamCommandOutput } from "./commands/GetStreamCommand";
15
15
  import { GetStreamKeyCommandInput, GetStreamKeyCommandOutput } from "./commands/GetStreamKeyCommand";
16
+ import { GetStreamSessionCommandInput, GetStreamSessionCommandOutput } from "./commands/GetStreamSessionCommand";
16
17
  import { ImportPlaybackKeyPairCommandInput, ImportPlaybackKeyPairCommandOutput } from "./commands/ImportPlaybackKeyPairCommand";
17
18
  import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
18
19
  import { ListPlaybackKeyPairsCommandInput, ListPlaybackKeyPairsCommandOutput } from "./commands/ListPlaybackKeyPairsCommand";
19
20
  import { ListRecordingConfigurationsCommandInput, ListRecordingConfigurationsCommandOutput } from "./commands/ListRecordingConfigurationsCommand";
20
21
  import { ListStreamKeysCommandInput, ListStreamKeysCommandOutput } from "./commands/ListStreamKeysCommand";
21
22
  import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
23
+ import { ListStreamSessionsCommandInput, ListStreamSessionsCommandOutput } from "./commands/ListStreamSessionsCommand";
22
24
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
23
25
  import { PutMetadataCommandInput, PutMetadataCommandOutput } from "./commands/PutMetadataCommand";
24
26
  import { StopStreamCommandInput, StopStreamCommandOutput } from "./commands/StopStreamCommand";
@@ -44,7 +46,6 @@ import { IvsClient } from "./IvsClient";
44
46
  * </p>
45
47
  * <p>For a summary of notable documentation changes in each release, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/doc-history.html"> Document
46
48
  * History</a>.</p>
47
- *
48
49
  * <p>
49
50
  * <b>Allowed Header Values</b>
50
51
  * </p>
@@ -234,11 +235,21 @@ import { IvsClient } from "./IvsClient";
234
235
  * </li>
235
236
  * <li>
236
237
  * <p>
238
+ * <a>GetStreamSession</a> — Gets metadata on a specified stream.</p>
239
+ * </li>
240
+ * <li>
241
+ * <p>
237
242
  * <a>ListStreams</a> — Gets summary information about live streams in
238
243
  * your account, in the Amazon Web Services region where the API request is processed.</p>
239
244
  * </li>
240
245
  * <li>
241
246
  * <p>
247
+ * <a>ListStreamSessions</a> — Gets a summary of current and previous
248
+ * streams for a specified channel in your account, in the AWS region where the API request
249
+ * is processed.</p>
250
+ * </li>
251
+ * <li>
252
+ * <p>
242
253
  * <a>StopStream</a> — Disconnects the incoming RTMPS stream for the
243
254
  * specified channel. Can be used in conjunction with <a>DeleteStreamKey</a> to
244
255
  * prevent further streaming to a channel.</p>
@@ -353,16 +364,16 @@ export declare class Ivs extends IvsClient {
353
364
  /**
354
365
  * <p>Creates a new recording configuration, used to enable recording to Amazon S3.</p>
355
366
  * <p>
356
- * <b>Known issue:</b> In the us-east-1 region, if you use the Amazon Web Services
357
- * CLI to create a recording configuration, it returns success even if the S3 bucket is in a
358
- * different region. In this case, the <code>state</code> of the recording configuration is
359
- * <code>CREATE_FAILED</code> (instead of <code>ACTIVE</code>). (In other regions, the CLI
360
- * correctly returns failure if the bucket is in a different region.)</p>
367
+ * <b>Known issue:</b> In the us-east-1 region, if you use the
368
+ * Amazon Web Services CLI to create a recording configuration, it returns success even if the
369
+ * S3 bucket is in a different region. In this case, the <code>state</code> of the recording
370
+ * configuration is <code>CREATE_FAILED</code> (instead of <code>ACTIVE</code>). (In other
371
+ * regions, the CLI correctly returns failure if the bucket is in a different region.)</p>
361
372
  * <p>
362
- * <b>Workaround:</b> Ensure that your S3 bucket is in the same region as the recording
363
- * configuration. If you create a recording configuration in a different region as your S3
364
- * bucket, delete that recording configuration and create a new one with an S3 bucket from the
365
- * correct region.</p>
373
+ * <b>Workaround:</b> Ensure that your S3 bucket is in the same
374
+ * region as the recording configuration. If you create a recording configuration in a different
375
+ * region as your S3 bucket, delete that recording configuration and create a new one with an S3
376
+ * bucket from the correct region.</p>
366
377
  */
367
378
  createRecordingConfiguration(args: CreateRecordingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateRecordingConfigurationCommandOutput>;
368
379
  createRecordingConfiguration(args: CreateRecordingConfigurationCommandInput, cb: (err: any, data?: CreateRecordingConfigurationCommandOutput) => void): void;
@@ -381,7 +392,8 @@ export declare class Ivs extends IvsClient {
381
392
  * <p>If you try to delete a live channel, you will get an error (409 ConflictException). To
382
393
  * delete a channel that is live, call <a>StopStream</a>, wait for the Amazon
383
394
  * EventBridge "Stream End" event (to verify that the stream's state was changed from Live to
384
- * Offline), then call DeleteChannel. (See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/eventbridge.html"> Using EventBridge with Amazon IVS</a>.) </p>
395
+ * Offline), then call DeleteChannel. (See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/eventbridge.html"> Using EventBridge with Amazon IVS</a>.)
396
+ * </p>
385
397
  */
386
398
  deleteChannel(args: DeleteChannelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChannelCommandOutput>;
387
399
  deleteChannel(args: DeleteChannelCommandInput, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
@@ -446,6 +458,12 @@ export declare class Ivs extends IvsClient {
446
458
  getStreamKey(args: GetStreamKeyCommandInput, options?: __HttpHandlerOptions): Promise<GetStreamKeyCommandOutput>;
447
459
  getStreamKey(args: GetStreamKeyCommandInput, cb: (err: any, data?: GetStreamKeyCommandOutput) => void): void;
448
460
  getStreamKey(args: GetStreamKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStreamKeyCommandOutput) => void): void;
461
+ /**
462
+ * <p>Gets metadata on a specified stream.</p>
463
+ */
464
+ getStreamSession(args: GetStreamSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetStreamSessionCommandOutput>;
465
+ getStreamSession(args: GetStreamSessionCommandInput, cb: (err: any, data?: GetStreamSessionCommandOutput) => void): void;
466
+ getStreamSession(args: GetStreamSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStreamSessionCommandOutput) => void): void;
449
467
  /**
450
468
  * <p>Imports the public portion of a new key pair and returns its <code>arn</code> and
451
469
  * <code>fingerprint</code>. The <code>privateKey</code> can then be used to generate viewer
@@ -457,9 +475,9 @@ export declare class Ivs extends IvsClient {
457
475
  importPlaybackKeyPair(args: ImportPlaybackKeyPairCommandInput, cb: (err: any, data?: ImportPlaybackKeyPairCommandOutput) => void): void;
458
476
  importPlaybackKeyPair(args: ImportPlaybackKeyPairCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportPlaybackKeyPairCommandOutput) => void): void;
459
477
  /**
460
- * <p>Gets summary information about all channels in your account, in the Amazon Web Services region where the
461
- * API request is processed. This list can be filtered to match a specified name or
462
- * recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If
478
+ * <p>Gets summary information about all channels in your account, in the Amazon Web Services
479
+ * region where the API request is processed. This list can be filtered to match a specified name
480
+ * or recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If
463
481
  * you try to use both filters, you will get an error (409 ConflictException).</p>
464
482
  */
465
483
  listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelsCommandOutput>;
@@ -473,8 +491,8 @@ export declare class Ivs extends IvsClient {
473
491
  listPlaybackKeyPairs(args: ListPlaybackKeyPairsCommandInput, cb: (err: any, data?: ListPlaybackKeyPairsCommandOutput) => void): void;
474
492
  listPlaybackKeyPairs(args: ListPlaybackKeyPairsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPlaybackKeyPairsCommandOutput) => void): void;
475
493
  /**
476
- * <p>Gets summary information about all recording configurations in your account, in the Amazon Web Services
477
- * region where the API request is processed.</p>
494
+ * <p>Gets summary information about all recording configurations in your account, in the
495
+ * Amazon Web Services region where the API request is processed.</p>
478
496
  */
479
497
  listRecordingConfigurations(args: ListRecordingConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListRecordingConfigurationsCommandOutput>;
480
498
  listRecordingConfigurations(args: ListRecordingConfigurationsCommandInput, cb: (err: any, data?: ListRecordingConfigurationsCommandOutput) => void): void;
@@ -486,12 +504,19 @@ export declare class Ivs extends IvsClient {
486
504
  listStreamKeys(args: ListStreamKeysCommandInput, cb: (err: any, data?: ListStreamKeysCommandOutput) => void): void;
487
505
  listStreamKeys(args: ListStreamKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStreamKeysCommandOutput) => void): void;
488
506
  /**
489
- * <p>Gets summary information about live streams in your account, in the Amazon Web Services region where the
490
- * API request is processed.</p>
507
+ * <p>Gets summary information about live streams in your account, in the Amazon Web Services
508
+ * region where the API request is processed.</p>
491
509
  */
492
510
  listStreams(args: ListStreamsCommandInput, options?: __HttpHandlerOptions): Promise<ListStreamsCommandOutput>;
493
511
  listStreams(args: ListStreamsCommandInput, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
494
512
  listStreams(args: ListStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
513
+ /**
514
+ * <p>Gets a summary of current and previous streams for a specified channel in your account, in
515
+ * the AWS region where the API request is processed.</p>
516
+ */
517
+ listStreamSessions(args: ListStreamSessionsCommandInput, options?: __HttpHandlerOptions): Promise<ListStreamSessionsCommandOutput>;
518
+ listStreamSessions(args: ListStreamSessionsCommandInput, cb: (err: any, data?: ListStreamSessionsCommandOutput) => void): void;
519
+ listStreamSessions(args: ListStreamSessionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStreamSessionsCommandOutput) => void): void;
495
520
  /**
496
521
  * <p>Gets information about Amazon Web Services tags for the specified ARN.</p>
497
522
  */
@@ -499,7 +524,7 @@ export declare class Ivs extends IvsClient {
499
524
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
500
525
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
501
526
  /**
502
- * <p>Inserts metadata into the active stream of the specified channel. At most 5 requests per
527
+ * <p>Inserts metadata into the active stream of the specified channel. At most 5 requests per
503
528
  * second per channel are allowed, each with a maximum 1 KB payload. (If 5 TPS is not sufficient
504
529
  * for your needs, we recommend batching your data into a single PutMetadata call.) At most 155
505
530
  * requests per second per account are allowed. Also see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/metadata.html">Embedding Metadata within a Video Stream</a> in
@@ -20,20 +20,22 @@ import { GetPlaybackKeyPairCommandInput, GetPlaybackKeyPairCommandOutput } from
20
20
  import { GetRecordingConfigurationCommandInput, GetRecordingConfigurationCommandOutput } from "./commands/GetRecordingConfigurationCommand";
21
21
  import { GetStreamCommandInput, GetStreamCommandOutput } from "./commands/GetStreamCommand";
22
22
  import { GetStreamKeyCommandInput, GetStreamKeyCommandOutput } from "./commands/GetStreamKeyCommand";
23
+ import { GetStreamSessionCommandInput, GetStreamSessionCommandOutput } from "./commands/GetStreamSessionCommand";
23
24
  import { ImportPlaybackKeyPairCommandInput, ImportPlaybackKeyPairCommandOutput } from "./commands/ImportPlaybackKeyPairCommand";
24
25
  import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
25
26
  import { ListPlaybackKeyPairsCommandInput, ListPlaybackKeyPairsCommandOutput } from "./commands/ListPlaybackKeyPairsCommand";
26
27
  import { ListRecordingConfigurationsCommandInput, ListRecordingConfigurationsCommandOutput } from "./commands/ListRecordingConfigurationsCommand";
27
28
  import { ListStreamKeysCommandInput, ListStreamKeysCommandOutput } from "./commands/ListStreamKeysCommand";
28
29
  import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
30
+ import { ListStreamSessionsCommandInput, ListStreamSessionsCommandOutput } from "./commands/ListStreamSessionsCommand";
29
31
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
30
32
  import { PutMetadataCommandInput, PutMetadataCommandOutput } from "./commands/PutMetadataCommand";
31
33
  import { StopStreamCommandInput, StopStreamCommandOutput } from "./commands/StopStreamCommand";
32
34
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
33
35
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
34
36
  import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
35
- export declare type ServiceInputTypes = BatchGetChannelCommandInput | BatchGetStreamKeyCommandInput | CreateChannelCommandInput | CreateRecordingConfigurationCommandInput | CreateStreamKeyCommandInput | DeleteChannelCommandInput | DeletePlaybackKeyPairCommandInput | DeleteRecordingConfigurationCommandInput | DeleteStreamKeyCommandInput | GetChannelCommandInput | GetPlaybackKeyPairCommandInput | GetRecordingConfigurationCommandInput | GetStreamCommandInput | GetStreamKeyCommandInput | ImportPlaybackKeyPairCommandInput | ListChannelsCommandInput | ListPlaybackKeyPairsCommandInput | ListRecordingConfigurationsCommandInput | ListStreamKeysCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | PutMetadataCommandInput | StopStreamCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateChannelCommandInput;
36
- export declare type ServiceOutputTypes = BatchGetChannelCommandOutput | BatchGetStreamKeyCommandOutput | CreateChannelCommandOutput | CreateRecordingConfigurationCommandOutput | CreateStreamKeyCommandOutput | DeleteChannelCommandOutput | DeletePlaybackKeyPairCommandOutput | DeleteRecordingConfigurationCommandOutput | DeleteStreamKeyCommandOutput | GetChannelCommandOutput | GetPlaybackKeyPairCommandOutput | GetRecordingConfigurationCommandOutput | GetStreamCommandOutput | GetStreamKeyCommandOutput | ImportPlaybackKeyPairCommandOutput | ListChannelsCommandOutput | ListPlaybackKeyPairsCommandOutput | ListRecordingConfigurationsCommandOutput | ListStreamKeysCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | PutMetadataCommandOutput | StopStreamCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateChannelCommandOutput;
37
+ export declare type ServiceInputTypes = BatchGetChannelCommandInput | BatchGetStreamKeyCommandInput | CreateChannelCommandInput | CreateRecordingConfigurationCommandInput | CreateStreamKeyCommandInput | DeleteChannelCommandInput | DeletePlaybackKeyPairCommandInput | DeleteRecordingConfigurationCommandInput | DeleteStreamKeyCommandInput | GetChannelCommandInput | GetPlaybackKeyPairCommandInput | GetRecordingConfigurationCommandInput | GetStreamCommandInput | GetStreamKeyCommandInput | GetStreamSessionCommandInput | ImportPlaybackKeyPairCommandInput | ListChannelsCommandInput | ListPlaybackKeyPairsCommandInput | ListRecordingConfigurationsCommandInput | ListStreamKeysCommandInput | ListStreamSessionsCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | PutMetadataCommandInput | StopStreamCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateChannelCommandInput;
38
+ export declare type ServiceOutputTypes = BatchGetChannelCommandOutput | BatchGetStreamKeyCommandOutput | CreateChannelCommandOutput | CreateRecordingConfigurationCommandOutput | CreateStreamKeyCommandOutput | DeleteChannelCommandOutput | DeletePlaybackKeyPairCommandOutput | DeleteRecordingConfigurationCommandOutput | DeleteStreamKeyCommandOutput | GetChannelCommandOutput | GetPlaybackKeyPairCommandOutput | GetRecordingConfigurationCommandOutput | GetStreamCommandOutput | GetStreamKeyCommandOutput | GetStreamSessionCommandOutput | ImportPlaybackKeyPairCommandOutput | ListChannelsCommandOutput | ListPlaybackKeyPairsCommandOutput | ListRecordingConfigurationsCommandOutput | ListStreamKeysCommandOutput | ListStreamSessionsCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | PutMetadataCommandOutput | StopStreamCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateChannelCommandOutput;
37
39
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
38
40
  /**
39
41
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -102,6 +104,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
102
104
  * Optional logger for logging debug/info/warn/error.
103
105
  */
104
106
  logger?: __Logger;
107
+ /**
108
+ * Enables IPv6/IPv4 dualstack endpoint.
109
+ */
110
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
111
+ /**
112
+ * Enables FIPS compatible endpoints.
113
+ */
114
+ useFipsEndpoint?: boolean | __Provider<boolean>;
105
115
  /**
106
116
  * Unique service identifier.
107
117
  * @internal
@@ -157,7 +167,6 @@ export interface IvsClientResolvedConfig extends IvsClientResolvedConfigType {
157
167
  * </p>
158
168
  * <p>For a summary of notable documentation changes in each release, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/doc-history.html"> Document
159
169
  * History</a>.</p>
160
- *
161
170
  * <p>
162
171
  * <b>Allowed Header Values</b>
163
172
  * </p>
@@ -347,11 +356,21 @@ export interface IvsClientResolvedConfig extends IvsClientResolvedConfigType {
347
356
  * </li>
348
357
  * <li>
349
358
  * <p>
359
+ * <a>GetStreamSession</a> — Gets metadata on a specified stream.</p>
360
+ * </li>
361
+ * <li>
362
+ * <p>
350
363
  * <a>ListStreams</a> — Gets summary information about live streams in
351
364
  * your account, in the Amazon Web Services region where the API request is processed.</p>
352
365
  * </li>
353
366
  * <li>
354
367
  * <p>
368
+ * <a>ListStreamSessions</a> — Gets a summary of current and previous
369
+ * streams for a specified channel in your account, in the AWS region where the API request
370
+ * is processed.</p>
371
+ * </li>
372
+ * <li>
373
+ * <p>
355
374
  * <a>StopStream</a> — Disconnects the incoming RTMPS stream for the
356
375
  * specified channel. Can be used in conjunction with <a>DeleteStreamKey</a> to
357
376
  * prevent further streaming to a channel.</p>
@@ -20,7 +20,7 @@ export interface BatchGetChannelCommandOutput extends BatchGetChannelResponse, _
20
20
  *
21
21
  * @see {@link BatchGetChannelCommandInput} for command's `input` shape.
22
22
  * @see {@link BatchGetChannelCommandOutput} for command's `response` shape.
23
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class BatchGetChannelCommand extends $Command<BatchGetChannelCommandInput, BatchGetChannelCommandOutput, IvsClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface BatchGetStreamKeyCommandOutput extends BatchGetStreamKeyRespons
20
20
  *
21
21
  * @see {@link BatchGetStreamKeyCommandInput} for command's `input` shape.
22
22
  * @see {@link BatchGetStreamKeyCommandOutput} for command's `response` shape.
23
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class BatchGetStreamKeyCommand extends $Command<BatchGetStreamKeyCommandInput, BatchGetStreamKeyCommandOutput, IvsClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
20
20
  *
21
21
  * @see {@link CreateChannelCommandInput} for command's `input` shape.
22
22
  * @see {@link CreateChannelCommandOutput} for command's `response` shape.
23
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class CreateChannelCommand extends $Command<CreateChannelCommandInput, CreateChannelCommandOutput, IvsClientResolvedConfig> {
@@ -9,16 +9,16 @@ export interface CreateRecordingConfigurationCommandOutput extends CreateRecordi
9
9
  /**
10
10
  * <p>Creates a new recording configuration, used to enable recording to Amazon S3.</p>
11
11
  * <p>
12
- * <b>Known issue:</b> In the us-east-1 region, if you use the Amazon Web Services
13
- * CLI to create a recording configuration, it returns success even if the S3 bucket is in a
14
- * different region. In this case, the <code>state</code> of the recording configuration is
15
- * <code>CREATE_FAILED</code> (instead of <code>ACTIVE</code>). (In other regions, the CLI
16
- * correctly returns failure if the bucket is in a different region.)</p>
12
+ * <b>Known issue:</b> In the us-east-1 region, if you use the
13
+ * Amazon Web Services CLI to create a recording configuration, it returns success even if the
14
+ * S3 bucket is in a different region. In this case, the <code>state</code> of the recording
15
+ * configuration is <code>CREATE_FAILED</code> (instead of <code>ACTIVE</code>). (In other
16
+ * regions, the CLI correctly returns failure if the bucket is in a different region.)</p>
17
17
  * <p>
18
- * <b>Workaround:</b> Ensure that your S3 bucket is in the same region as the recording
19
- * configuration. If you create a recording configuration in a different region as your S3
20
- * bucket, delete that recording configuration and create a new one with an S3 bucket from the
21
- * correct region.</p>
18
+ * <b>Workaround:</b> Ensure that your S3 bucket is in the same
19
+ * region as the recording configuration. If you create a recording configuration in a different
20
+ * region as your S3 bucket, delete that recording configuration and create a new one with an S3
21
+ * bucket from the correct region.</p>
22
22
  * @example
23
23
  * Use a bare-bones client and the command you need to make an API call.
24
24
  * ```javascript
@@ -31,7 +31,7 @@ export interface CreateRecordingConfigurationCommandOutput extends CreateRecordi
31
31
  *
32
32
  * @see {@link CreateRecordingConfigurationCommandInput} for command's `input` shape.
33
33
  * @see {@link CreateRecordingConfigurationCommandOutput} for command's `response` shape.
34
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
34
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
35
35
  *
36
36
  */
37
37
  export declare class CreateRecordingConfigurationCommand extends $Command<CreateRecordingConfigurationCommandInput, CreateRecordingConfigurationCommandOutput, IvsClientResolvedConfig> {
@@ -23,7 +23,7 @@ export interface CreateStreamKeyCommandOutput extends CreateStreamKeyResponse, _
23
23
  *
24
24
  * @see {@link CreateStreamKeyCommandInput} for command's `input` shape.
25
25
  * @see {@link CreateStreamKeyCommandOutput} for command's `response` shape.
26
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class CreateStreamKeyCommand extends $Command<CreateStreamKeyCommandInput, CreateStreamKeyCommandOutput, IvsClientResolvedConfig> {
@@ -11,7 +11,8 @@ export interface DeleteChannelCommandOutput extends __MetadataBearer {
11
11
  * <p>If you try to delete a live channel, you will get an error (409 ConflictException). To
12
12
  * delete a channel that is live, call <a>StopStream</a>, wait for the Amazon
13
13
  * EventBridge "Stream End" event (to verify that the stream's state was changed from Live to
14
- * Offline), then call DeleteChannel. (See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/eventbridge.html"> Using EventBridge with Amazon IVS</a>.) </p>
14
+ * Offline), then call DeleteChannel. (See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/eventbridge.html"> Using EventBridge with Amazon IVS</a>.)
15
+ * </p>
15
16
  * @example
16
17
  * Use a bare-bones client and the command you need to make an API call.
17
18
  * ```javascript
@@ -24,7 +25,7 @@ export interface DeleteChannelCommandOutput extends __MetadataBearer {
24
25
  *
25
26
  * @see {@link DeleteChannelCommandInput} for command's `input` shape.
26
27
  * @see {@link DeleteChannelCommandOutput} for command's `response` shape.
27
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
28
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
28
29
  *
29
30
  */
30
31
  export declare class DeleteChannelCommand extends $Command<DeleteChannelCommandInput, DeleteChannelCommandOutput, IvsClientResolvedConfig> {
@@ -22,7 +22,7 @@ export interface DeletePlaybackKeyPairCommandOutput extends DeletePlaybackKeyPai
22
22
  *
23
23
  * @see {@link DeletePlaybackKeyPairCommandInput} for command's `input` shape.
24
24
  * @see {@link DeletePlaybackKeyPairCommandOutput} for command's `response` shape.
25
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class DeletePlaybackKeyPairCommand extends $Command<DeletePlaybackKeyPairCommandInput, DeletePlaybackKeyPairCommandOutput, IvsClientResolvedConfig> {
@@ -25,7 +25,7 @@ export interface DeleteRecordingConfigurationCommandOutput extends __MetadataBea
25
25
  *
26
26
  * @see {@link DeleteRecordingConfigurationCommandInput} for command's `input` shape.
27
27
  * @see {@link DeleteRecordingConfigurationCommandOutput} for command's `response` shape.
28
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
28
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
29
29
  *
30
30
  */
31
31
  export declare class DeleteRecordingConfigurationCommand extends $Command<DeleteRecordingConfigurationCommandInput, DeleteRecordingConfigurationCommandOutput, IvsClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface DeleteStreamKeyCommandOutput extends __MetadataBearer {
21
21
  *
22
22
  * @see {@link DeleteStreamKeyCommandInput} for command's `input` shape.
23
23
  * @see {@link DeleteStreamKeyCommandOutput} for command's `response` shape.
24
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class DeleteStreamKeyCommand extends $Command<DeleteStreamKeyCommandInput, DeleteStreamKeyCommandOutput, IvsClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetChannelCommandOutput extends GetChannelResponse, __MetadataB
20
20
  *
21
21
  * @see {@link GetChannelCommandInput} for command's `input` shape.
22
22
  * @see {@link GetChannelCommandOutput} for command's `response` shape.
23
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetChannelCommand extends $Command<GetChannelCommandInput, GetChannelCommandOutput, IvsClientResolvedConfig> {
@@ -24,7 +24,7 @@ export interface GetPlaybackKeyPairCommandOutput extends GetPlaybackKeyPairRespo
24
24
  *
25
25
  * @see {@link GetPlaybackKeyPairCommandInput} for command's `input` shape.
26
26
  * @see {@link GetPlaybackKeyPairCommandOutput} for command's `response` shape.
27
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
27
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
28
28
  *
29
29
  */
30
30
  export declare class GetPlaybackKeyPairCommand extends $Command<GetPlaybackKeyPairCommandInput, GetPlaybackKeyPairCommandOutput, IvsClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetRecordingConfigurationCommandOutput extends GetRecordingConf
20
20
  *
21
21
  * @see {@link GetRecordingConfigurationCommandInput} for command's `input` shape.
22
22
  * @see {@link GetRecordingConfigurationCommandOutput} for command's `response` shape.
23
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetRecordingConfigurationCommand extends $Command<GetRecordingConfigurationCommandInput, GetRecordingConfigurationCommandOutput, IvsClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetStreamCommandOutput extends GetStreamResponse, __MetadataBea
20
20
  *
21
21
  * @see {@link GetStreamCommandInput} for command's `input` shape.
22
22
  * @see {@link GetStreamCommandOutput} for command's `response` shape.
23
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetStreamCommand extends $Command<GetStreamCommandInput, GetStreamCommandOutput, IvsClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetStreamKeyCommandOutput extends GetStreamKeyResponse, __Metad
20
20
  *
21
21
  * @see {@link GetStreamKeyCommandInput} for command's `input` shape.
22
22
  * @see {@link GetStreamKeyCommandOutput} for command's `response` shape.
23
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetStreamKeyCommand extends $Command<GetStreamKeyCommandInput, GetStreamKeyCommandOutput, IvsClientResolvedConfig> {
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
4
+ import { GetStreamSessionRequest, GetStreamSessionResponse } from "../models/models_0";
5
+ export interface GetStreamSessionCommandInput extends GetStreamSessionRequest {
6
+ }
7
+ export interface GetStreamSessionCommandOutput extends GetStreamSessionResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets metadata on a specified stream.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { IvsClient, GetStreamSessionCommand } from "@aws-sdk/client-ivs"; // ES Modules import
15
+ * // const { IvsClient, GetStreamSessionCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
16
+ * const client = new IvsClient(config);
17
+ * const command = new GetStreamSessionCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetStreamSessionCommandInput} for command's `input` shape.
22
+ * @see {@link GetStreamSessionCommandOutput} for command's `response` shape.
23
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetStreamSessionCommand extends $Command<GetStreamSessionCommandInput, GetStreamSessionCommandOutput, IvsClientResolvedConfig> {
27
+ readonly input: GetStreamSessionCommandInput;
28
+ constructor(input: GetStreamSessionCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetStreamSessionCommandInput, GetStreamSessionCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -24,7 +24,7 @@ export interface ImportPlaybackKeyPairCommandOutput extends ImportPlaybackKeyPai
24
24
  *
25
25
  * @see {@link ImportPlaybackKeyPairCommandInput} for command's `input` shape.
26
26
  * @see {@link ImportPlaybackKeyPairCommandOutput} for command's `response` shape.
27
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
27
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
28
28
  *
29
29
  */
30
30
  export declare class ImportPlaybackKeyPairCommand extends $Command<ImportPlaybackKeyPairCommandInput, ImportPlaybackKeyPairCommandOutput, IvsClientResolvedConfig> {
@@ -7,9 +7,9 @@ export interface ListChannelsCommandInput extends ListChannelsRequest {
7
7
  export interface ListChannelsCommandOutput extends ListChannelsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets summary information about all channels in your account, in the Amazon Web Services region where the
11
- * API request is processed. This list can be filtered to match a specified name or
12
- * recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If
10
+ * <p>Gets summary information about all channels in your account, in the Amazon Web Services
11
+ * region where the API request is processed. This list can be filtered to match a specified name
12
+ * or recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If
13
13
  * you try to use both filters, you will get an error (409 ConflictException).</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
@@ -23,7 +23,7 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
23
23
  *
24
24
  * @see {@link ListChannelsCommandInput} for command's `input` shape.
25
25
  * @see {@link ListChannelsCommandOutput} for command's `response` shape.
26
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class ListChannelsCommand extends $Command<ListChannelsCommandInput, ListChannelsCommandOutput, IvsClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface ListPlaybackKeyPairsCommandOutput extends ListPlaybackKeyPairsR
21
21
  *
22
22
  * @see {@link ListPlaybackKeyPairsCommandInput} for command's `input` shape.
23
23
  * @see {@link ListPlaybackKeyPairsCommandOutput} for command's `response` shape.
24
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class ListPlaybackKeyPairsCommand extends $Command<ListPlaybackKeyPairsCommandInput, ListPlaybackKeyPairsCommandOutput, IvsClientResolvedConfig> {
@@ -7,8 +7,8 @@ export interface ListRecordingConfigurationsCommandInput extends ListRecordingCo
7
7
  export interface ListRecordingConfigurationsCommandOutput extends ListRecordingConfigurationsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets summary information about all recording configurations in your account, in the Amazon Web Services
11
- * region where the API request is processed.</p>
10
+ * <p>Gets summary information about all recording configurations in your account, in the
11
+ * Amazon Web Services region where the API request is processed.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -21,7 +21,7 @@ export interface ListRecordingConfigurationsCommandOutput extends ListRecordingC
21
21
  *
22
22
  * @see {@link ListRecordingConfigurationsCommandInput} for command's `input` shape.
23
23
  * @see {@link ListRecordingConfigurationsCommandOutput} for command's `response` shape.
24
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class ListRecordingConfigurationsCommand extends $Command<ListRecordingConfigurationsCommandInput, ListRecordingConfigurationsCommandOutput, IvsClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListStreamKeysCommandOutput extends ListStreamKeysResponse, __M
20
20
  *
21
21
  * @see {@link ListStreamKeysCommandInput} for command's `input` shape.
22
22
  * @see {@link ListStreamKeysCommandOutput} for command's `response` shape.
23
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class ListStreamKeysCommand extends $Command<ListStreamKeysCommandInput, ListStreamKeysCommandOutput, IvsClientResolvedConfig> {
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
4
+ import { ListStreamSessionsRequest, ListStreamSessionsResponse } from "../models/models_0";
5
+ export interface ListStreamSessionsCommandInput extends ListStreamSessionsRequest {
6
+ }
7
+ export interface ListStreamSessionsCommandOutput extends ListStreamSessionsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets a summary of current and previous streams for a specified channel in your account, in
11
+ * the AWS region where the API request is processed.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { IvsClient, ListStreamSessionsCommand } from "@aws-sdk/client-ivs"; // ES Modules import
16
+ * // const { IvsClient, ListStreamSessionsCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
17
+ * const client = new IvsClient(config);
18
+ * const command = new ListStreamSessionsCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListStreamSessionsCommandInput} for command's `input` shape.
23
+ * @see {@link ListStreamSessionsCommandOutput} for command's `response` shape.
24
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListStreamSessionsCommand extends $Command<ListStreamSessionsCommandInput, ListStreamSessionsCommandOutput, IvsClientResolvedConfig> {
28
+ readonly input: ListStreamSessionsCommandInput;
29
+ constructor(input: ListStreamSessionsCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListStreamSessionsCommandInput, ListStreamSessionsCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -7,8 +7,8 @@ export interface ListStreamsCommandInput extends ListStreamsRequest {
7
7
  export interface ListStreamsCommandOutput extends ListStreamsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets summary information about live streams in your account, in the Amazon Web Services region where the
11
- * API request is processed.</p>
10
+ * <p>Gets summary information about live streams in your account, in the Amazon Web Services
11
+ * region where the API request is processed.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -21,7 +21,7 @@ export interface ListStreamsCommandOutput extends ListStreamsResponse, __Metadat
21
21
  *
22
22
  * @see {@link ListStreamsCommandInput} for command's `input` shape.
23
23
  * @see {@link ListStreamsCommandOutput} for command's `response` shape.
24
- * @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class ListStreamsCommand extends $Command<ListStreamsCommandInput, ListStreamsCommandOutput, IvsClientResolvedConfig> {