@aws-sdk/client-ivs 3.35.0 → 3.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/README.md +54 -107
- package/dist-cjs/Ivs.js +0 -363
- package/dist-cjs/IvsClient.js +0 -368
- package/dist-cjs/commands/BatchGetChannelCommand.js +0 -25
- package/dist-cjs/commands/BatchGetStreamKeyCommand.js +0 -25
- package/dist-cjs/commands/CreateChannelCommand.js +0 -25
- package/dist-cjs/commands/CreateRecordingConfigurationCommand.js +0 -36
- package/dist-cjs/commands/CreateStreamKeyCommand.js +0 -28
- package/dist-cjs/commands/DeleteChannelCommand.js +0 -29
- package/dist-cjs/commands/DeletePlaybackKeyPairCommand.js +0 -27
- package/dist-cjs/commands/DeleteRecordingConfigurationCommand.js +0 -30
- package/dist-cjs/commands/DeleteStreamKeyCommand.js +0 -26
- package/dist-cjs/commands/GetChannelCommand.js +0 -25
- package/dist-cjs/commands/GetPlaybackKeyPairCommand.js +0 -29
- package/dist-cjs/commands/GetRecordingConfigurationCommand.js +0 -25
- package/dist-cjs/commands/GetStreamCommand.js +0 -25
- package/dist-cjs/commands/GetStreamKeyCommand.js +0 -25
- package/dist-cjs/commands/ImportPlaybackKeyPairCommand.js +0 -29
- package/dist-cjs/commands/ListChannelsCommand.js +0 -28
- package/dist-cjs/commands/ListPlaybackKeyPairsCommand.js +0 -26
- package/dist-cjs/commands/ListRecordingConfigurationsCommand.js +0 -26
- package/dist-cjs/commands/ListStreamKeysCommand.js +0 -25
- package/dist-cjs/commands/ListStreamsCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/PutMetadataCommand.js +0 -31
- package/dist-cjs/commands/StopStreamCommand.js +0 -32
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateChannelCommand.js +0 -26
- package/dist-cjs/commands/index.js +29 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -36
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +7 -214
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListChannelsPaginator.js +0 -11
- package/dist-cjs/pagination/ListPlaybackKeyPairsPaginator.js +0 -11
- package/dist-cjs/pagination/ListRecordingConfigurationsPaginator.js +0 -11
- package/dist-cjs/pagination/ListStreamKeysPaginator.js +0 -11
- package/dist-cjs/pagination/ListStreamsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1 -17
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/Ivs.js +0 -1
- package/dist-es/IvsClient.js +0 -1
- package/dist-es/commands/BatchGetChannelCommand.js +0 -1
- package/dist-es/commands/BatchGetStreamKeyCommand.js +0 -1
- package/dist-es/commands/CreateChannelCommand.js +0 -1
- package/dist-es/commands/CreateRecordingConfigurationCommand.js +0 -1
- package/dist-es/commands/CreateStreamKeyCommand.js +0 -1
- package/dist-es/commands/DeleteChannelCommand.js +0 -1
- package/dist-es/commands/DeletePlaybackKeyPairCommand.js +0 -1
- package/dist-es/commands/DeleteRecordingConfigurationCommand.js +0 -1
- package/dist-es/commands/DeleteStreamKeyCommand.js +0 -1
- package/dist-es/commands/GetChannelCommand.js +0 -1
- package/dist-es/commands/GetPlaybackKeyPairCommand.js +0 -1
- package/dist-es/commands/GetRecordingConfigurationCommand.js +0 -1
- package/dist-es/commands/GetStreamCommand.js +0 -1
- package/dist-es/commands/GetStreamKeyCommand.js +0 -1
- package/dist-es/commands/ImportPlaybackKeyPairCommand.js +0 -1
- package/dist-es/commands/ListChannelsCommand.js +0 -1
- package/dist-es/commands/ListPlaybackKeyPairsCommand.js +0 -1
- package/dist-es/commands/ListRecordingConfigurationsCommand.js +0 -1
- package/dist-es/commands/ListStreamKeysCommand.js +0 -1
- package/dist-es/commands/ListStreamsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/PutMetadataCommand.js +0 -1
- package/dist-es/commands/StopStreamCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateChannelCommand.js +0 -1
- package/dist-es/commands/index.js +26 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -36
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +7 -7
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListChannelsPaginator.js +0 -1
- package/dist-es/pagination/ListPlaybackKeyPairsPaginator.js +0 -1
- package/dist-es/pagination/ListRecordingConfigurationsPaginator.js +0 -1
- package/dist-es/pagination/ListStreamKeysPaginator.js +0 -1
- package/dist-es/pagination/ListStreamsPaginator.js +0 -1
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -9
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/Ivs.d.ts +65 -124
- package/dist-types/IvsClient.d.ts +54 -111
- package/dist-types/commands/CreateRecordingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
- package/dist-types/commands/ListRecordingConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListStreamsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutMetadataCommand.d.ts +5 -7
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +26 -0
- package/dist-types/index.d.ts +4 -35
- package/dist-types/models/models_0.d.ts +92 -60
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/Ivs.d.ts +27 -494
- package/dist-types/ts3.4/IvsClient.d.ts +24 -448
- package/dist-types/ts3.4/commands/BatchGetChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/BatchGetStreamKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateRecordingConfigurationCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/CreateStreamKeyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeletePlaybackKeyPairCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteRecordingConfigurationCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteStreamKeyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetPlaybackKeyPairCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetRecordingConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetStreamKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ImportPlaybackKeyPairCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListPlaybackKeyPairsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListRecordingConfigurationsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListStreamKeysCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutMetadataCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/StopStreamCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/index.d.ts +26 -0
- package/dist-types/ts3.4/index.d.ts +4 -35
- package/dist-types/ts3.4/models/models_0.d.ts +237 -771
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/Ivs.js.map +0 -1
- package/dist-cjs/IvsClient.js.map +0 -1
- package/dist-cjs/commands/BatchGetChannelCommand.js.map +0 -1
- package/dist-cjs/commands/BatchGetStreamKeyCommand.js.map +0 -1
- package/dist-cjs/commands/CreateChannelCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRecordingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/CreateStreamKeyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteChannelCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePlaybackKeyPairCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRecordingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteStreamKeyCommand.js.map +0 -1
- package/dist-cjs/commands/GetChannelCommand.js.map +0 -1
- package/dist-cjs/commands/GetPlaybackKeyPairCommand.js.map +0 -1
- package/dist-cjs/commands/GetRecordingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/GetStreamCommand.js.map +0 -1
- package/dist-cjs/commands/GetStreamKeyCommand.js.map +0 -1
- package/dist-cjs/commands/ImportPlaybackKeyPairCommand.js.map +0 -1
- package/dist-cjs/commands/ListChannelsCommand.js.map +0 -1
- package/dist-cjs/commands/ListPlaybackKeyPairsCommand.js.map +0 -1
- package/dist-cjs/commands/ListRecordingConfigurationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListStreamKeysCommand.js.map +0 -1
- package/dist-cjs/commands/ListStreamsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/PutMetadataCommand.js.map +0 -1
- package/dist-cjs/commands/StopStreamCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateChannelCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListChannelsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPlaybackKeyPairsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListRecordingConfigurationsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListStreamKeysPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListStreamsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -46
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/Ivs.js.map +0 -1
- package/dist-es/IvsClient.js.map +0 -1
- package/dist-es/commands/BatchGetChannelCommand.js.map +0 -1
- package/dist-es/commands/BatchGetStreamKeyCommand.js.map +0 -1
- package/dist-es/commands/CreateChannelCommand.js.map +0 -1
- package/dist-es/commands/CreateRecordingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/CreateStreamKeyCommand.js.map +0 -1
- package/dist-es/commands/DeleteChannelCommand.js.map +0 -1
- package/dist-es/commands/DeletePlaybackKeyPairCommand.js.map +0 -1
- package/dist-es/commands/DeleteRecordingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DeleteStreamKeyCommand.js.map +0 -1
- package/dist-es/commands/GetChannelCommand.js.map +0 -1
- package/dist-es/commands/GetPlaybackKeyPairCommand.js.map +0 -1
- package/dist-es/commands/GetRecordingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/GetStreamCommand.js.map +0 -1
- package/dist-es/commands/GetStreamKeyCommand.js.map +0 -1
- package/dist-es/commands/ImportPlaybackKeyPairCommand.js.map +0 -1
- package/dist-es/commands/ListChannelsCommand.js.map +0 -1
- package/dist-es/commands/ListPlaybackKeyPairsCommand.js.map +0 -1
- package/dist-es/commands/ListRecordingConfigurationsCommand.js.map +0 -1
- package/dist-es/commands/ListStreamKeysCommand.js.map +0 -1
- package/dist-es/commands/ListStreamsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/PutMetadataCommand.js.map +0 -1
- package/dist-es/commands/StopStreamCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateChannelCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListChannelsPaginator.js.map +0 -1
- package/dist-es/pagination/ListPlaybackKeyPairsPaginator.js.map +0 -1
- package/dist-es/pagination/ListRecordingConfigurationsPaginator.js.map +0 -1
- package/dist-es/pagination/ListStreamKeysPaginator.js.map +0 -1
- package/dist-es/pagination/ListStreamsPaginator.js.map +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -75
- package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +0 -4
- package/jest.config.js +0 -4
- package/src/Ivs.ts +0 -1317
- package/src/IvsClient.ts +0 -697
- package/src/commands/BatchGetChannelCommand.ts +0 -95
- package/src/commands/BatchGetStreamKeyCommand.ts +0 -95
- package/src/commands/CreateChannelCommand.ts +0 -95
- package/src/commands/CreateRecordingConfigurationCommand.ts +0 -111
- package/src/commands/CreateStreamKeyCommand.ts +0 -98
- package/src/commands/DeleteChannelCommand.ts +0 -99
- package/src/commands/DeletePlaybackKeyPairCommand.ts +0 -97
- package/src/commands/DeleteRecordingConfigurationCommand.ts +0 -103
- package/src/commands/DeleteStreamKeyCommand.ts +0 -96
- package/src/commands/GetChannelCommand.ts +0 -95
- package/src/commands/GetPlaybackKeyPairCommand.ts +0 -99
- package/src/commands/GetRecordingConfigurationCommand.ts +0 -98
- package/src/commands/GetStreamCommand.ts +0 -91
- package/src/commands/GetStreamKeyCommand.ts +0 -95
- package/src/commands/ImportPlaybackKeyPairCommand.ts +0 -99
- package/src/commands/ListChannelsCommand.ts +0 -98
- package/src/commands/ListPlaybackKeyPairsCommand.ts +0 -96
- package/src/commands/ListRecordingConfigurationsCommand.ts +0 -101
- package/src/commands/ListStreamKeysCommand.ts +0 -95
- package/src/commands/ListStreamsCommand.ts +0 -96
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/PutMetadataCommand.ts +0 -101
- package/src/commands/StopStreamCommand.ts +0 -102
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateChannelCommand.ts +0 -96
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -36
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1673
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListChannelsPaginator.ts +0 -59
- package/src/pagination/ListPlaybackKeyPairsPaginator.ts +0 -59
- package/src/pagination/ListRecordingConfigurationsPaginator.ts +0 -59
- package/src/pagination/ListStreamKeysPaginator.ts +0 -59
- package/src/pagination/ListStreamsPaginator.ts +0 -55
- package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -3327
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Inserts metadata into the active stream of the specified channel. A maximum of 5 requests
|
|
10
|
-
* per second per channel is allowed, each with a maximum 1 KB payload. (If 5 TPS is not
|
|
11
|
-
* sufficient for your needs, we recommend batching your data into a single PutMetadata call.)
|
|
12
|
-
*
|
|
13
|
-
* Also see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/metadata.html">Embedding Metadata
|
|
14
|
-
*
|
|
15
|
-
* within a Video Stream</a> in the <i>Amazon IVS User Guide</i>.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { IvsClient, PutMetadataCommand } from "@aws-sdk/client-ivs"; // ES Modules import
|
|
20
|
-
* // const { IvsClient, PutMetadataCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
|
|
21
|
-
* const client = new IvsClient(config);
|
|
22
|
-
* const command = new PutMetadataCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link PutMetadataCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link PutMetadataCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
8
|
class PutMetadataCommand extends smithy_client_1.Command {
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
9
|
constructor(input) {
|
|
35
|
-
// Start section: command_constructor
|
|
36
10
|
super();
|
|
37
11
|
this.input = input;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -64,4 +34,3 @@ class PutMetadataCommand extends smithy_client_1.Command {
|
|
|
64
34
|
}
|
|
65
35
|
}
|
|
66
36
|
exports.PutMetadataCommand = PutMetadataCommand;
|
|
67
|
-
//# sourceMappingURL=PutMetadataCommand.js.map
|
|
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Disconnects the incoming RTMPS stream for the specified channel. Can be used in
|
|
10
|
-
* conjunction with <a>DeleteStreamKey</a> to prevent further streaming to a
|
|
11
|
-
* channel.</p>
|
|
12
|
-
* <note>
|
|
13
|
-
* <p>Many streaming client-software libraries automatically reconnect a dropped RTMPS
|
|
14
|
-
* session, so to stop the stream permanently, you may want to first revoke the
|
|
15
|
-
* <code>streamKey</code> attached to the channel.</p>
|
|
16
|
-
* </note>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { IvsClient, StopStreamCommand } from "@aws-sdk/client-ivs"; // ES Modules import
|
|
21
|
-
* // const { IvsClient, StopStreamCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
|
|
22
|
-
* const client = new IvsClient(config);
|
|
23
|
-
* const command = new StopStreamCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link StopStreamCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link StopStreamCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class StopStreamCommand extends smithy_client_1.Command {
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
9
|
constructor(input) {
|
|
36
|
-
// Start section: command_constructor
|
|
37
10
|
super();
|
|
38
11
|
this.input = input;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -65,4 +34,3 @@ class StopStreamCommand extends smithy_client_1.Command {
|
|
|
65
34
|
}
|
|
66
35
|
}
|
|
67
36
|
exports.StopStreamCommand = StopStreamCommand;
|
|
68
|
-
//# sourceMappingURL=StopStreamCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Adds or updates tags for the AWS resource with the specified ARN.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { IvsClient, TagResourceCommand } from "@aws-sdk/client-ivs"; // ES Modules import
|
|
14
|
-
* // const { IvsClient, TagResourceCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
|
|
15
|
-
* const client = new IvsClient(config);
|
|
16
|
-
* const command = new TagResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.TagResourceCommand = TagResourceCommand;
|
|
61
|
-
//# sourceMappingURL=TagResourceCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Removes tags from the resource with the specified ARN.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { IvsClient, UntagResourceCommand } from "@aws-sdk/client-ivs"; // ES Modules import
|
|
14
|
-
* // const { IvsClient, UntagResourceCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
|
|
15
|
-
* const client = new IvsClient(config);
|
|
16
|
-
* const command = new UntagResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
61
|
-
//# sourceMappingURL=UntagResourceCommand.js.map
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates a channel's configuration. This does not affect an ongoing stream of this channel.
|
|
10
|
-
* You must stop and restart the stream for the changes to take effect.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { IvsClient, UpdateChannelCommand } from "@aws-sdk/client-ivs"; // ES Modules import
|
|
15
|
-
* // const { IvsClient, UpdateChannelCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
|
|
16
|
-
* const client = new IvsClient(config);
|
|
17
|
-
* const command = new UpdateChannelCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UpdateChannelCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UpdateChannelCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link IvsClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class UpdateChannelCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class UpdateChannelCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.UpdateChannelCommand = UpdateChannelCommand;
|
|
62
|
-
//# sourceMappingURL=UpdateChannelCommand.js.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./BatchGetChannelCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./BatchGetStreamKeyCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateChannelCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateRecordingConfigurationCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateStreamKeyCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./DeleteChannelCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./DeletePlaybackKeyPairCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./DeleteRecordingConfigurationCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./DeleteStreamKeyCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./GetChannelCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./GetPlaybackKeyPairCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./GetRecordingConfigurationCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./GetStreamCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./GetStreamKeyCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./ImportPlaybackKeyPairCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./ListChannelsCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./ListPlaybackKeyPairsCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./ListRecordingConfigurationsCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./ListStreamKeysCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./ListStreamsCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./PutMetadataCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./StopStreamCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./UpdateChannelCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -35,7 +35,7 @@ const partitionHash = {
|
|
|
35
35
|
hostname: "ivs.{region}.amazonaws.com.cn",
|
|
36
36
|
},
|
|
37
37
|
"aws-iso": {
|
|
38
|
-
regions: ["us-iso-east-1"],
|
|
38
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
39
39
|
hostname: "ivs.{region}.c2s.ic.gov",
|
|
40
40
|
},
|
|
41
41
|
"aws-iso-b": {
|
|
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
|
|
|
54
54
|
partitionHash,
|
|
55
55
|
});
|
|
56
56
|
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
57
|
-
//# sourceMappingURL=endpoints.js.map
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,40 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./IvsClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./Ivs"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./
|
|
10
|
-
tslib_1.__exportStar(require("./commands/CreateStreamKeyCommand"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./commands/DeleteChannelCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./commands/DeletePlaybackKeyPairCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./commands/DeleteRecordingConfigurationCommand"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./commands/DeleteStreamKeyCommand"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./commands/GetChannelCommand"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./commands/GetPlaybackKeyPairCommand"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./commands/GetRecordingConfigurationCommand"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./commands/GetStreamCommand"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./commands/GetStreamKeyCommand"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./commands/ImportPlaybackKeyPairCommand"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./commands/ListChannelsCommand"), exports);
|
|
22
|
-
tslib_1.__exportStar(require("./pagination/ListChannelsPaginator"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./commands/ListPlaybackKeyPairsCommand"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./pagination/ListPlaybackKeyPairsPaginator"), exports);
|
|
25
|
-
tslib_1.__exportStar(require("./commands/ListRecordingConfigurationsCommand"), exports);
|
|
26
|
-
tslib_1.__exportStar(require("./pagination/ListRecordingConfigurationsPaginator"), exports);
|
|
27
|
-
tslib_1.__exportStar(require("./commands/ListStreamKeysCommand"), exports);
|
|
28
|
-
tslib_1.__exportStar(require("./pagination/ListStreamKeysPaginator"), exports);
|
|
29
|
-
tslib_1.__exportStar(require("./commands/ListStreamsCommand"), exports);
|
|
30
|
-
tslib_1.__exportStar(require("./pagination/ListStreamsPaginator"), exports);
|
|
31
|
-
tslib_1.__exportStar(require("./commands/ListTagsForResourceCommand"), exports);
|
|
32
|
-
tslib_1.__exportStar(require("./pagination/ListTagsForResourcePaginator"), exports);
|
|
33
|
-
tslib_1.__exportStar(require("./commands/PutMetadataCommand"), exports);
|
|
34
|
-
tslib_1.__exportStar(require("./commands/StopStreamCommand"), exports);
|
|
35
|
-
tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
|
|
36
|
-
tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
|
|
37
|
-
tslib_1.__exportStar(require("./commands/UpdateChannelCommand"), exports);
|
|
38
|
-
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
39
|
-
tslib_1.__exportStar(require("./models/index"), exports);
|
|
40
|
-
//# sourceMappingURL=index.js.map
|
|
5
|
+
tslib_1.__exportStar(require("./IvsClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
package/dist-cjs/models/index.js
CHANGED