@aws-sdk/client-ivs 3.33.0 → 3.36.1
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 +47 -0
- package/{dist/cjs → dist-cjs}/Ivs.js +1 -364
- package/dist-cjs/IvsClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/BatchGetChannelCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/BatchGetStreamKeyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateChannelCommand.js +2 -27
- package/dist-cjs/commands/CreateRecordingConfigurationCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/CreateStreamKeyCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/DeleteChannelCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/DeletePlaybackKeyPairCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DeleteRecordingConfigurationCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/commands/DeleteStreamKeyCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetChannelCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetPlaybackKeyPairCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/GetRecordingConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetStreamCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetStreamKeyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ImportPlaybackKeyPairCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/ListChannelsCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/ListPlaybackKeyPairsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListRecordingConfigurationsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListStreamKeysCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListStreamsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/PutMetadataCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/StopStreamCommand.js +2 -34
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateChannelCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -214
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListChannelsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListPlaybackKeyPairsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListRecordingConfigurationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListStreamKeysPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListStreamsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +23 -29
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/Ivs.js +2 -365
- package/dist-es/IvsClient.js +37 -0
- package/{dist/es → dist-es}/commands/BatchGetChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/BatchGetStreamKeyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateRecordingConfigurationCommand.js +4 -41
- package/{dist/es → dist-es}/commands/CreateStreamKeyCommand.js +4 -33
- package/{dist/es → dist-es}/commands/DeleteChannelCommand.js +4 -34
- package/{dist/es → dist-es}/commands/DeletePlaybackKeyPairCommand.js +4 -32
- package/{dist/es → dist-es}/commands/DeleteRecordingConfigurationCommand.js +4 -35
- package/{dist/es → dist-es}/commands/DeleteStreamKeyCommand.js +4 -31
- package/{dist/es → dist-es}/commands/GetChannelCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetPlaybackKeyPairCommand.js +4 -34
- package/{dist/es → dist-es}/commands/GetRecordingConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetStreamCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetStreamKeyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ImportPlaybackKeyPairCommand.js +4 -34
- package/{dist/es → dist-es}/commands/ListChannelsCommand.js +4 -33
- package/{dist/es → dist-es}/commands/ListPlaybackKeyPairsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListRecordingConfigurationsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListStreamKeysCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListStreamsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/PutMetadataCommand.js +4 -36
- package/{dist/es → dist-es}/commands/StopStreamCommand.js +4 -37
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateChannelCommand.js +4 -31
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -214
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListChannelsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListPlaybackKeyPairsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListRecordingConfigurationsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListStreamKeysPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListStreamsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +606 -612
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/Ivs.d.ts +2 -2
- package/{dist/types → dist-types}/IvsClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/BatchGetChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchGetStreamKeyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateRecordingConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateStreamKeyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeletePlaybackKeyPairCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteRecordingConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteStreamKeyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetPlaybackKeyPairCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetRecordingConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetStreamCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetStreamKeyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ImportPlaybackKeyPairCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListChannelsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListPlaybackKeyPairsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListRecordingConfigurationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListStreamKeysCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListStreamsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutMetadataCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StopStreamCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListChannelsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPlaybackKeyPairsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListRecordingConfigurationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListStreamKeysPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListStreamsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/Ivs.d.ts +135 -0
- package/dist-types/ts3.4/IvsClient.d.ts +93 -0
- package/{dist/types → dist-types}/ts3.4/commands/BatchGetChannelCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/BatchGetStreamKeyCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateRecordingConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateStreamKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePlaybackKeyPairCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRecordingConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteStreamKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPlaybackKeyPairCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetRecordingConfigurationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetStreamKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportPlaybackKeyPairCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPlaybackKeyPairsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListRecordingConfigurationsCommand.d.ts +4 -23
- package/dist-types/ts3.4/commands/ListStreamKeysCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/PutMetadataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopStreamCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +798 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListChannelsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPlaybackKeyPairsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListRecordingConfigurationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListStreamKeysPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListStreamsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +52 -49
- package/Ivs.ts +0 -1316
- package/IvsClient.ts +0 -696
- package/commands/BatchGetChannelCommand.ts +0 -94
- package/commands/BatchGetStreamKeyCommand.ts +0 -94
- package/commands/CreateChannelCommand.ts +0 -94
- package/commands/CreateRecordingConfigurationCommand.ts +0 -110
- package/commands/CreateStreamKeyCommand.ts +0 -97
- package/commands/DeleteChannelCommand.ts +0 -98
- package/commands/DeletePlaybackKeyPairCommand.ts +0 -96
- package/commands/DeleteRecordingConfigurationCommand.ts +0 -102
- package/commands/DeleteStreamKeyCommand.ts +0 -95
- package/commands/GetChannelCommand.ts +0 -94
- package/commands/GetPlaybackKeyPairCommand.ts +0 -98
- package/commands/GetRecordingConfigurationCommand.ts +0 -97
- package/commands/GetStreamCommand.ts +0 -90
- package/commands/GetStreamKeyCommand.ts +0 -94
- package/commands/ImportPlaybackKeyPairCommand.ts +0 -98
- package/commands/ListChannelsCommand.ts +0 -97
- package/commands/ListPlaybackKeyPairsCommand.ts +0 -95
- package/commands/ListRecordingConfigurationsCommand.ts +0 -100
- package/commands/ListStreamKeysCommand.ts +0 -94
- package/commands/ListStreamsCommand.ts +0 -95
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/PutMetadataCommand.ts +0 -100
- package/commands/StopStreamCommand.ts +0 -101
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateChannelCommand.ts +0 -95
- package/dist/cjs/Ivs.js.map +0 -1
- package/dist/cjs/IvsClient.js +0 -403
- 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 +0 -72
- 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/package.json +0 -91
- 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.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 +0 -405
- 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 +0 -37
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/Interfaces.js +0 -2
- 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.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/ts3.4/Ivs.d.ts +0 -602
- package/dist/types/ts3.4/IvsClient.d.ts +0 -517
- package/dist/types/ts3.4/commands/CreateChannelCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateRecordingConfigurationCommand.d.ts +0 -46
- package/dist/types/ts3.4/commands/CreateStreamKeyCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DeleteChannelCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/DeletePlaybackKeyPairCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DeleteRecordingConfigurationCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/DeleteStreamKeyCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetChannelCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetPlaybackKeyPairCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/GetStreamCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetStreamKeyCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ImportPlaybackKeyPairCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/ListChannelsCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/ListPlaybackKeyPairsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListStreamKeysCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListStreamsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutMetadataCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/StopStreamCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateChannelCommand.d.ts +0 -36
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1340
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1673
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListChannelsPaginator.ts +0 -58
- package/pagination/ListPlaybackKeyPairsPaginator.ts +0 -58
- package/pagination/ListRecordingConfigurationsPaginator.ts +0 -58
- package/pagination/ListStreamKeysPaginator.ts +0 -58
- package/pagination/ListStreamsPaginator.ts +0 -54
- package/pagination/ListTagsForResourcePaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -3326
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
package/Ivs.ts
DELETED
|
@@ -1,1316 +0,0 @@
|
|
|
1
|
-
import { IvsClient } from "./IvsClient";
|
|
2
|
-
import {
|
|
3
|
-
BatchGetChannelCommand,
|
|
4
|
-
BatchGetChannelCommandInput,
|
|
5
|
-
BatchGetChannelCommandOutput,
|
|
6
|
-
} from "./commands/BatchGetChannelCommand";
|
|
7
|
-
import {
|
|
8
|
-
BatchGetStreamKeyCommand,
|
|
9
|
-
BatchGetStreamKeyCommandInput,
|
|
10
|
-
BatchGetStreamKeyCommandOutput,
|
|
11
|
-
} from "./commands/BatchGetStreamKeyCommand";
|
|
12
|
-
import {
|
|
13
|
-
CreateChannelCommand,
|
|
14
|
-
CreateChannelCommandInput,
|
|
15
|
-
CreateChannelCommandOutput,
|
|
16
|
-
} from "./commands/CreateChannelCommand";
|
|
17
|
-
import {
|
|
18
|
-
CreateRecordingConfigurationCommand,
|
|
19
|
-
CreateRecordingConfigurationCommandInput,
|
|
20
|
-
CreateRecordingConfigurationCommandOutput,
|
|
21
|
-
} from "./commands/CreateRecordingConfigurationCommand";
|
|
22
|
-
import {
|
|
23
|
-
CreateStreamKeyCommand,
|
|
24
|
-
CreateStreamKeyCommandInput,
|
|
25
|
-
CreateStreamKeyCommandOutput,
|
|
26
|
-
} from "./commands/CreateStreamKeyCommand";
|
|
27
|
-
import {
|
|
28
|
-
DeleteChannelCommand,
|
|
29
|
-
DeleteChannelCommandInput,
|
|
30
|
-
DeleteChannelCommandOutput,
|
|
31
|
-
} from "./commands/DeleteChannelCommand";
|
|
32
|
-
import {
|
|
33
|
-
DeletePlaybackKeyPairCommand,
|
|
34
|
-
DeletePlaybackKeyPairCommandInput,
|
|
35
|
-
DeletePlaybackKeyPairCommandOutput,
|
|
36
|
-
} from "./commands/DeletePlaybackKeyPairCommand";
|
|
37
|
-
import {
|
|
38
|
-
DeleteRecordingConfigurationCommand,
|
|
39
|
-
DeleteRecordingConfigurationCommandInput,
|
|
40
|
-
DeleteRecordingConfigurationCommandOutput,
|
|
41
|
-
} from "./commands/DeleteRecordingConfigurationCommand";
|
|
42
|
-
import {
|
|
43
|
-
DeleteStreamKeyCommand,
|
|
44
|
-
DeleteStreamKeyCommandInput,
|
|
45
|
-
DeleteStreamKeyCommandOutput,
|
|
46
|
-
} from "./commands/DeleteStreamKeyCommand";
|
|
47
|
-
import { GetChannelCommand, GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
48
|
-
import {
|
|
49
|
-
GetPlaybackKeyPairCommand,
|
|
50
|
-
GetPlaybackKeyPairCommandInput,
|
|
51
|
-
GetPlaybackKeyPairCommandOutput,
|
|
52
|
-
} from "./commands/GetPlaybackKeyPairCommand";
|
|
53
|
-
import {
|
|
54
|
-
GetRecordingConfigurationCommand,
|
|
55
|
-
GetRecordingConfigurationCommandInput,
|
|
56
|
-
GetRecordingConfigurationCommandOutput,
|
|
57
|
-
} from "./commands/GetRecordingConfigurationCommand";
|
|
58
|
-
import { GetStreamCommand, GetStreamCommandInput, GetStreamCommandOutput } from "./commands/GetStreamCommand";
|
|
59
|
-
import {
|
|
60
|
-
GetStreamKeyCommand,
|
|
61
|
-
GetStreamKeyCommandInput,
|
|
62
|
-
GetStreamKeyCommandOutput,
|
|
63
|
-
} from "./commands/GetStreamKeyCommand";
|
|
64
|
-
import {
|
|
65
|
-
ImportPlaybackKeyPairCommand,
|
|
66
|
-
ImportPlaybackKeyPairCommandInput,
|
|
67
|
-
ImportPlaybackKeyPairCommandOutput,
|
|
68
|
-
} from "./commands/ImportPlaybackKeyPairCommand";
|
|
69
|
-
import {
|
|
70
|
-
ListChannelsCommand,
|
|
71
|
-
ListChannelsCommandInput,
|
|
72
|
-
ListChannelsCommandOutput,
|
|
73
|
-
} from "./commands/ListChannelsCommand";
|
|
74
|
-
import {
|
|
75
|
-
ListPlaybackKeyPairsCommand,
|
|
76
|
-
ListPlaybackKeyPairsCommandInput,
|
|
77
|
-
ListPlaybackKeyPairsCommandOutput,
|
|
78
|
-
} from "./commands/ListPlaybackKeyPairsCommand";
|
|
79
|
-
import {
|
|
80
|
-
ListRecordingConfigurationsCommand,
|
|
81
|
-
ListRecordingConfigurationsCommandInput,
|
|
82
|
-
ListRecordingConfigurationsCommandOutput,
|
|
83
|
-
} from "./commands/ListRecordingConfigurationsCommand";
|
|
84
|
-
import {
|
|
85
|
-
ListStreamKeysCommand,
|
|
86
|
-
ListStreamKeysCommandInput,
|
|
87
|
-
ListStreamKeysCommandOutput,
|
|
88
|
-
} from "./commands/ListStreamKeysCommand";
|
|
89
|
-
import { ListStreamsCommand, ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
|
|
90
|
-
import {
|
|
91
|
-
ListTagsForResourceCommand,
|
|
92
|
-
ListTagsForResourceCommandInput,
|
|
93
|
-
ListTagsForResourceCommandOutput,
|
|
94
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
95
|
-
import { PutMetadataCommand, PutMetadataCommandInput, PutMetadataCommandOutput } from "./commands/PutMetadataCommand";
|
|
96
|
-
import { StopStreamCommand, StopStreamCommandInput, StopStreamCommandOutput } from "./commands/StopStreamCommand";
|
|
97
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
98
|
-
import {
|
|
99
|
-
UntagResourceCommand,
|
|
100
|
-
UntagResourceCommandInput,
|
|
101
|
-
UntagResourceCommandOutput,
|
|
102
|
-
} from "./commands/UntagResourceCommand";
|
|
103
|
-
import {
|
|
104
|
-
UpdateChannelCommand,
|
|
105
|
-
UpdateChannelCommandInput,
|
|
106
|
-
UpdateChannelCommandOutput,
|
|
107
|
-
} from "./commands/UpdateChannelCommand";
|
|
108
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* <p>
|
|
112
|
-
* <b>Introduction</b>
|
|
113
|
-
* </p>
|
|
114
|
-
*
|
|
115
|
-
* <p>The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP
|
|
116
|
-
* API and an AWS EventBridge event stream for responses. JSON is used for both requests and
|
|
117
|
-
* responses, including errors.</p>
|
|
118
|
-
*
|
|
119
|
-
* <p>The API is an AWS regional service, currently in these regions: us-west-2, us-east-1, and
|
|
120
|
-
* eu-west-1.</p>
|
|
121
|
-
* <p>
|
|
122
|
-
* <i>
|
|
123
|
-
* <b>All API request parameters and URLs are case sensitive.
|
|
124
|
-
* </b>
|
|
125
|
-
* </i>
|
|
126
|
-
* </p>
|
|
127
|
-
*
|
|
128
|
-
* <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
|
|
129
|
-
* History</a>.</p>
|
|
130
|
-
*
|
|
131
|
-
* <p>
|
|
132
|
-
* <b>Service Endpoints</b>
|
|
133
|
-
* </p>
|
|
134
|
-
* <p>The following are the Amazon IVS service endpoints (all HTTPS): </p>
|
|
135
|
-
* <p>Region name: US West (Oregon)</p>
|
|
136
|
-
* <ul>
|
|
137
|
-
* <li>
|
|
138
|
-
* <p>Region: <code>us-west-2</code>
|
|
139
|
-
* </p>
|
|
140
|
-
* </li>
|
|
141
|
-
* <li>
|
|
142
|
-
* <p>Endpoint: <code>ivs.us-west-2.amazonaws.com</code>
|
|
143
|
-
* </p>
|
|
144
|
-
* </li>
|
|
145
|
-
* </ul>
|
|
146
|
-
* <p>Region name: US East (Virginia)</p>
|
|
147
|
-
* <ul>
|
|
148
|
-
* <li>
|
|
149
|
-
* <p>Region: <code>us-east-1</code>
|
|
150
|
-
* </p>
|
|
151
|
-
* </li>
|
|
152
|
-
* <li>
|
|
153
|
-
* <p>Endpoint: <code>ivs.us-east-1.amazonaws.com</code>
|
|
154
|
-
* </p>
|
|
155
|
-
* </li>
|
|
156
|
-
* </ul>
|
|
157
|
-
* <p>Region name: EU West (Dublin)</p>
|
|
158
|
-
* <ul>
|
|
159
|
-
* <li>
|
|
160
|
-
* <p>Region: <code>eu-west-1</code>
|
|
161
|
-
* </p>
|
|
162
|
-
* </li>
|
|
163
|
-
* <li>
|
|
164
|
-
* <p>Endpoint: <code>ivs.eu-west-1.amazonaws.com</code>
|
|
165
|
-
* </p>
|
|
166
|
-
* </li>
|
|
167
|
-
* </ul>
|
|
168
|
-
*
|
|
169
|
-
* <p>
|
|
170
|
-
* <b>Allowed Header Values</b>
|
|
171
|
-
* </p>
|
|
172
|
-
*
|
|
173
|
-
* <ul>
|
|
174
|
-
* <li>
|
|
175
|
-
* <p>
|
|
176
|
-
* <code>
|
|
177
|
-
* <b>Accept:</b>
|
|
178
|
-
* </code> application/json</p>
|
|
179
|
-
* </li>
|
|
180
|
-
* <li>
|
|
181
|
-
* <p>
|
|
182
|
-
* <code>
|
|
183
|
-
* <b>Accept-Encoding:</b>
|
|
184
|
-
* </code> gzip, deflate</p>
|
|
185
|
-
* </li>
|
|
186
|
-
* <li>
|
|
187
|
-
* <p>
|
|
188
|
-
* <code>
|
|
189
|
-
* <b>Content-Type:</b>
|
|
190
|
-
* </code>application/json</p>
|
|
191
|
-
* </li>
|
|
192
|
-
* </ul>
|
|
193
|
-
*
|
|
194
|
-
* <p>
|
|
195
|
-
* <b>Resources</b>
|
|
196
|
-
* </p>
|
|
197
|
-
* <p>The following resources contain information about your IVS live stream (see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/getting-started.html"> Getting Started with Amazon
|
|
198
|
-
* IVS</a>):</p>
|
|
199
|
-
*
|
|
200
|
-
* <ul>
|
|
201
|
-
* <li>
|
|
202
|
-
* <p>Channel — Stores configuration data related to your live stream. You first create a
|
|
203
|
-
* channel and then use the channel’s stream key to start your live stream. See the Channel
|
|
204
|
-
* endpoints for more information. </p>
|
|
205
|
-
* </li>
|
|
206
|
-
* <li>
|
|
207
|
-
* <p>Stream key — An identifier assigned by Amazon IVS when you create a channel, which is
|
|
208
|
-
* then used to authorize streaming. See the StreamKey endpoints for more information.
|
|
209
|
-
* <i>
|
|
210
|
-
* <b>Treat the stream key like a secret, since it allows
|
|
211
|
-
* anyone to stream to the channel.</b>
|
|
212
|
-
* </i>
|
|
213
|
-
* </p>
|
|
214
|
-
* </li>
|
|
215
|
-
* <li>
|
|
216
|
-
* <p>Playback key pair — Video playback may be restricted using playback-authorization
|
|
217
|
-
* tokens, which use public-key encryption. A playback key pair is the public-private pair of
|
|
218
|
-
* keys used to sign and validate the playback-authorization token. See the PlaybackKeyPair
|
|
219
|
-
* endpoints for more information.</p>
|
|
220
|
-
* </li>
|
|
221
|
-
* <li>
|
|
222
|
-
* <p>Recording configuration — Stores configuration related to recording a live stream and
|
|
223
|
-
* where to store the recorded content. Multiple channels can reference the same recording
|
|
224
|
-
* configuration. See the Recording Configuration endpoints for more information.</p>
|
|
225
|
-
* </li>
|
|
226
|
-
* </ul>
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
* <p>
|
|
231
|
-
* <b>Tagging</b>
|
|
232
|
-
* </p>
|
|
233
|
-
*
|
|
234
|
-
* <p>A <i>tag</i> is a metadata label that you assign to an AWS resource. A tag
|
|
235
|
-
* comprises a <i>key</i> and a <i>value</i>, both set by you. For
|
|
236
|
-
* example, you might set a tag as <code>topic:nature</code> to label a particular video
|
|
237
|
-
* category. See <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging AWS
|
|
238
|
-
* Resources</a> for more information, including restrictions that apply to tags.</p>
|
|
239
|
-
*
|
|
240
|
-
* <p>Tags can help you identify and organize your AWS resources. For example, you can use the
|
|
241
|
-
* same tag for different resources to indicate that they are related. You can also use tags to
|
|
242
|
-
* manage access (see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">
|
|
243
|
-
* Access Tags</a>). </p>
|
|
244
|
-
*
|
|
245
|
-
* <p>The Amazon IVS API has these tag-related endpoints: <a>TagResource</a>, <a>UntagResource</a>, and <a>ListTagsForResource</a>. The following
|
|
246
|
-
* resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording
|
|
247
|
-
* Configurations.</p>
|
|
248
|
-
*
|
|
249
|
-
* <p>
|
|
250
|
-
* <b>Authentication versus Authorization</b>
|
|
251
|
-
* </p>
|
|
252
|
-
* <p>Note the differences between these concepts:</p>
|
|
253
|
-
* <ul>
|
|
254
|
-
* <li>
|
|
255
|
-
* <p>
|
|
256
|
-
* <i>Authentication</i> is about verifying identity. You need to be authenticated to sign Amazon IVS
|
|
257
|
-
* API requests.</p>
|
|
258
|
-
* </li>
|
|
259
|
-
* <li>
|
|
260
|
-
* <p>
|
|
261
|
-
* <i>Authorization</i> is about granting permissions. You need to be authorized to
|
|
262
|
-
* view <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Amazon IVS private channels</a>. (Private channels are channels that are enabled for
|
|
263
|
-
* "playback authorization.")</p>
|
|
264
|
-
* </li>
|
|
265
|
-
* </ul>
|
|
266
|
-
*
|
|
267
|
-
* <p>
|
|
268
|
-
* <b>Authentication</b>
|
|
269
|
-
* </p>
|
|
270
|
-
* <p>All Amazon IVS API requests must be authenticated with a signature. The AWS Command-Line
|
|
271
|
-
* Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying API calls for
|
|
272
|
-
* you. However, if your application calls the Amazon IVS API directly, it’s your responsibility
|
|
273
|
-
* to sign the requests.</p>
|
|
274
|
-
* <p>You generate a signature using valid AWS credentials that have permission to perform the
|
|
275
|
-
* requested action. For example, you must sign PutMetadata requests with a signature generated
|
|
276
|
-
* from an IAM user account that has the <code>ivs:PutMetadata</code> permission.</p>
|
|
277
|
-
* <p>For more information:</p>
|
|
278
|
-
* <ul>
|
|
279
|
-
* <li>
|
|
280
|
-
* <p>Authentication and generating signatures — See <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (AWS Signature Version
|
|
281
|
-
* 4)</a> in the <i>AWS General Reference</i>.</p>
|
|
282
|
-
* </li>
|
|
283
|
-
* <li>
|
|
284
|
-
* <p>Managing Amazon IVS permissions — See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/security-iam.html">Identity and Access Management</a> on the Security page of
|
|
285
|
-
* the <i>Amazon IVS User Guide</i>.</p>
|
|
286
|
-
* </li>
|
|
287
|
-
* </ul>
|
|
288
|
-
*
|
|
289
|
-
*
|
|
290
|
-
* <p>
|
|
291
|
-
* <b>Channel Endpoints</b>
|
|
292
|
-
* </p>
|
|
293
|
-
* <ul>
|
|
294
|
-
* <li>
|
|
295
|
-
* <p>
|
|
296
|
-
* <a>CreateChannel</a> — Creates a new channel and an associated stream
|
|
297
|
-
* key to start streaming.</p>
|
|
298
|
-
* </li>
|
|
299
|
-
* <li>
|
|
300
|
-
* <p>
|
|
301
|
-
* <a>GetChannel</a> — Gets the channel configuration for the specified
|
|
302
|
-
* channel ARN (Amazon Resource Name).</p>
|
|
303
|
-
* </li>
|
|
304
|
-
* <li>
|
|
305
|
-
* <p>
|
|
306
|
-
* <a>BatchGetChannel</a> — Performs <a>GetChannel</a> on
|
|
307
|
-
* multiple ARNs simultaneously.</p>
|
|
308
|
-
* </li>
|
|
309
|
-
* <li>
|
|
310
|
-
* <p>
|
|
311
|
-
* <a>ListChannels</a> — Gets summary information about all channels in
|
|
312
|
-
* your account, in the AWS region where the API request is processed. This list can be
|
|
313
|
-
* filtered to match a specified name or recording-configuration ARN. Filters are mutually
|
|
314
|
-
* exclusive and cannot be used together. If you try to use both filters, you will get an
|
|
315
|
-
* error (409 Conflict Exception).</p>
|
|
316
|
-
* </li>
|
|
317
|
-
* <li>
|
|
318
|
-
* <p>
|
|
319
|
-
* <a>UpdateChannel</a> — Updates a channel's configuration. This does
|
|
320
|
-
* not affect an ongoing stream of this channel. You must stop and restart the stream for the
|
|
321
|
-
* changes to take effect.</p>
|
|
322
|
-
* </li>
|
|
323
|
-
* <li>
|
|
324
|
-
* <p>
|
|
325
|
-
* <a>DeleteChannel</a> — Deletes the specified channel.</p>
|
|
326
|
-
* </li>
|
|
327
|
-
* </ul>
|
|
328
|
-
*
|
|
329
|
-
* <p>
|
|
330
|
-
* <b>StreamKey Endpoints</b>
|
|
331
|
-
* </p>
|
|
332
|
-
* <ul>
|
|
333
|
-
* <li>
|
|
334
|
-
* <p>
|
|
335
|
-
* <a>CreateStreamKey</a> — Creates a stream key, used to initiate a
|
|
336
|
-
* stream, for the specified channel ARN.</p>
|
|
337
|
-
* </li>
|
|
338
|
-
* <li>
|
|
339
|
-
* <p>
|
|
340
|
-
* <a>GetStreamKey</a> — Gets stream key information for the specified
|
|
341
|
-
* ARN.</p>
|
|
342
|
-
* </li>
|
|
343
|
-
* <li>
|
|
344
|
-
* <p>
|
|
345
|
-
* <a>BatchGetStreamKey</a> — Performs <a>GetStreamKey</a> on
|
|
346
|
-
* multiple ARNs simultaneously.</p>
|
|
347
|
-
* </li>
|
|
348
|
-
* <li>
|
|
349
|
-
* <p>
|
|
350
|
-
* <a>ListStreamKeys</a> — Gets summary information about stream keys
|
|
351
|
-
* for the specified channel.</p>
|
|
352
|
-
* </li>
|
|
353
|
-
* <li>
|
|
354
|
-
* <p>
|
|
355
|
-
* <a>DeleteStreamKey</a> — Deletes the stream key for the specified
|
|
356
|
-
* ARN, so it can no longer be used to stream.</p>
|
|
357
|
-
* </li>
|
|
358
|
-
* </ul>
|
|
359
|
-
*
|
|
360
|
-
*
|
|
361
|
-
* <p>
|
|
362
|
-
* <b>Stream Endpoints</b>
|
|
363
|
-
* </p>
|
|
364
|
-
* <ul>
|
|
365
|
-
* <li>
|
|
366
|
-
* <p>
|
|
367
|
-
* <a>GetStream</a> — Gets information about the active (live) stream on
|
|
368
|
-
* a specified channel.</p>
|
|
369
|
-
* </li>
|
|
370
|
-
* <li>
|
|
371
|
-
* <p>
|
|
372
|
-
* <a>ListStreams</a> — Gets summary information about live streams in
|
|
373
|
-
* your account, in the AWS region where the API request is processed.</p>
|
|
374
|
-
* </li>
|
|
375
|
-
* <li>
|
|
376
|
-
* <p>
|
|
377
|
-
* <a>StopStream</a> — Disconnects the incoming RTMPS stream for the
|
|
378
|
-
* specified channel. Can be used in conjunction with <a>DeleteStreamKey</a> to
|
|
379
|
-
* prevent further streaming to a channel.</p>
|
|
380
|
-
* </li>
|
|
381
|
-
* <li>
|
|
382
|
-
* <p>
|
|
383
|
-
* <a>PutMetadata</a> — Inserts metadata into the active stream of the
|
|
384
|
-
* specified channel. A maximum of 5 requests per second per channel is allowed, each with a
|
|
385
|
-
* maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we recommend batching
|
|
386
|
-
* your data into a single PutMetadata call.)</p>
|
|
387
|
-
* </li>
|
|
388
|
-
* </ul>
|
|
389
|
-
*
|
|
390
|
-
* <p>
|
|
391
|
-
* <b>PlaybackKeyPair Endpoints</b>
|
|
392
|
-
* </p>
|
|
393
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private Channels</a> in the
|
|
394
|
-
* <i>Amazon IVS User Guide</i>.</p>
|
|
395
|
-
* <ul>
|
|
396
|
-
* <li>
|
|
397
|
-
* <p>
|
|
398
|
-
* <a>ImportPlaybackKeyPair</a> — Imports the public portion of a new
|
|
399
|
-
* key pair and returns its <code>arn</code> and <code>fingerprint</code>. The
|
|
400
|
-
* <code>privateKey</code> can then be used to generate viewer authorization tokens, to
|
|
401
|
-
* grant viewers access to private channels (channels enabled for playback
|
|
402
|
-
* authorization).</p>
|
|
403
|
-
* </li>
|
|
404
|
-
* <li>
|
|
405
|
-
* <p>
|
|
406
|
-
* <a>GetPlaybackKeyPair</a> — Gets a specified playback authorization
|
|
407
|
-
* key pair and returns the <code>arn</code> and <code>fingerprint</code>. The
|
|
408
|
-
* <code>privateKey</code> held by the caller can be used to generate viewer authorization
|
|
409
|
-
* tokens, to grant viewers access to private channels.</p>
|
|
410
|
-
* </li>
|
|
411
|
-
* <li>
|
|
412
|
-
* <p>
|
|
413
|
-
* <a>ListPlaybackKeyPairs</a> — Gets summary information about playback
|
|
414
|
-
* key pairs.</p>
|
|
415
|
-
* </li>
|
|
416
|
-
* <li>
|
|
417
|
-
* <p>
|
|
418
|
-
* <a>DeletePlaybackKeyPair</a> — Deletes a specified authorization key
|
|
419
|
-
* pair. This invalidates future viewer tokens generated using the key pair’s
|
|
420
|
-
* <code>privateKey</code>.</p>
|
|
421
|
-
* </li>
|
|
422
|
-
* </ul>
|
|
423
|
-
*
|
|
424
|
-
* <p>
|
|
425
|
-
* <b>RecordingConfiguration Endpoints</b>
|
|
426
|
-
* </p>
|
|
427
|
-
* <ul>
|
|
428
|
-
* <li>
|
|
429
|
-
* <p>
|
|
430
|
-
* <a>CreateRecordingConfiguration</a> — Creates a new recording configuration,
|
|
431
|
-
* used to enable recording to Amazon S3.</p>
|
|
432
|
-
* </li>
|
|
433
|
-
* <li>
|
|
434
|
-
* <p>
|
|
435
|
-
* <a>GetRecordingConfiguration</a> — Gets the recording-configuration metadata
|
|
436
|
-
* for the specified ARN.</p>
|
|
437
|
-
* </li>
|
|
438
|
-
* <li>
|
|
439
|
-
* <p>
|
|
440
|
-
* <a>ListRecordingConfigurations</a> — Gets summary information about all
|
|
441
|
-
* recording configurations in your account, in the AWS region where the API request is
|
|
442
|
-
* processed.</p>
|
|
443
|
-
* </li>
|
|
444
|
-
* <li>
|
|
445
|
-
* <p>
|
|
446
|
-
* <a>DeleteRecordingConfiguration</a> — Deletes the recording
|
|
447
|
-
* configuration for the specified ARN.</p>
|
|
448
|
-
* </li>
|
|
449
|
-
* </ul>
|
|
450
|
-
*
|
|
451
|
-
* <p>
|
|
452
|
-
* <b>AWS Tags Endpoints</b>
|
|
453
|
-
* </p>
|
|
454
|
-
* <ul>
|
|
455
|
-
* <li>
|
|
456
|
-
* <p>
|
|
457
|
-
* <a>TagResource</a> — Adds or updates tags for the AWS resource with
|
|
458
|
-
* the specified ARN.</p>
|
|
459
|
-
* </li>
|
|
460
|
-
* <li>
|
|
461
|
-
* <p>
|
|
462
|
-
* <a>UntagResource</a> — Removes tags from the resource with the
|
|
463
|
-
* specified ARN.</p>
|
|
464
|
-
* </li>
|
|
465
|
-
* <li>
|
|
466
|
-
* <p>
|
|
467
|
-
* <a>ListTagsForResource</a> — Gets information about AWS tags for the
|
|
468
|
-
* specified ARN.</p>
|
|
469
|
-
* </li>
|
|
470
|
-
* </ul>
|
|
471
|
-
*/
|
|
472
|
-
export class Ivs extends IvsClient {
|
|
473
|
-
/**
|
|
474
|
-
* <p>Performs <a>GetChannel</a> on multiple ARNs simultaneously.</p>
|
|
475
|
-
*/
|
|
476
|
-
public batchGetChannel(
|
|
477
|
-
args: BatchGetChannelCommandInput,
|
|
478
|
-
options?: __HttpHandlerOptions
|
|
479
|
-
): Promise<BatchGetChannelCommandOutput>;
|
|
480
|
-
public batchGetChannel(
|
|
481
|
-
args: BatchGetChannelCommandInput,
|
|
482
|
-
cb: (err: any, data?: BatchGetChannelCommandOutput) => void
|
|
483
|
-
): void;
|
|
484
|
-
public batchGetChannel(
|
|
485
|
-
args: BatchGetChannelCommandInput,
|
|
486
|
-
options: __HttpHandlerOptions,
|
|
487
|
-
cb: (err: any, data?: BatchGetChannelCommandOutput) => void
|
|
488
|
-
): void;
|
|
489
|
-
public batchGetChannel(
|
|
490
|
-
args: BatchGetChannelCommandInput,
|
|
491
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetChannelCommandOutput) => void),
|
|
492
|
-
cb?: (err: any, data?: BatchGetChannelCommandOutput) => void
|
|
493
|
-
): Promise<BatchGetChannelCommandOutput> | void {
|
|
494
|
-
const command = new BatchGetChannelCommand(args);
|
|
495
|
-
if (typeof optionsOrCb === "function") {
|
|
496
|
-
this.send(command, optionsOrCb);
|
|
497
|
-
} else if (typeof cb === "function") {
|
|
498
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
499
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
500
|
-
} else {
|
|
501
|
-
return this.send(command, optionsOrCb);
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
/**
|
|
506
|
-
* <p>Performs <a>GetStreamKey</a> on multiple ARNs simultaneously.</p>
|
|
507
|
-
*/
|
|
508
|
-
public batchGetStreamKey(
|
|
509
|
-
args: BatchGetStreamKeyCommandInput,
|
|
510
|
-
options?: __HttpHandlerOptions
|
|
511
|
-
): Promise<BatchGetStreamKeyCommandOutput>;
|
|
512
|
-
public batchGetStreamKey(
|
|
513
|
-
args: BatchGetStreamKeyCommandInput,
|
|
514
|
-
cb: (err: any, data?: BatchGetStreamKeyCommandOutput) => void
|
|
515
|
-
): void;
|
|
516
|
-
public batchGetStreamKey(
|
|
517
|
-
args: BatchGetStreamKeyCommandInput,
|
|
518
|
-
options: __HttpHandlerOptions,
|
|
519
|
-
cb: (err: any, data?: BatchGetStreamKeyCommandOutput) => void
|
|
520
|
-
): void;
|
|
521
|
-
public batchGetStreamKey(
|
|
522
|
-
args: BatchGetStreamKeyCommandInput,
|
|
523
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetStreamKeyCommandOutput) => void),
|
|
524
|
-
cb?: (err: any, data?: BatchGetStreamKeyCommandOutput) => void
|
|
525
|
-
): Promise<BatchGetStreamKeyCommandOutput> | void {
|
|
526
|
-
const command = new BatchGetStreamKeyCommand(args);
|
|
527
|
-
if (typeof optionsOrCb === "function") {
|
|
528
|
-
this.send(command, optionsOrCb);
|
|
529
|
-
} else if (typeof cb === "function") {
|
|
530
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
531
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
532
|
-
} else {
|
|
533
|
-
return this.send(command, optionsOrCb);
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* <p>Creates a new channel and an associated stream key to start streaming.</p>
|
|
539
|
-
*/
|
|
540
|
-
public createChannel(
|
|
541
|
-
args: CreateChannelCommandInput,
|
|
542
|
-
options?: __HttpHandlerOptions
|
|
543
|
-
): Promise<CreateChannelCommandOutput>;
|
|
544
|
-
public createChannel(
|
|
545
|
-
args: CreateChannelCommandInput,
|
|
546
|
-
cb: (err: any, data?: CreateChannelCommandOutput) => void
|
|
547
|
-
): void;
|
|
548
|
-
public createChannel(
|
|
549
|
-
args: CreateChannelCommandInput,
|
|
550
|
-
options: __HttpHandlerOptions,
|
|
551
|
-
cb: (err: any, data?: CreateChannelCommandOutput) => void
|
|
552
|
-
): void;
|
|
553
|
-
public createChannel(
|
|
554
|
-
args: CreateChannelCommandInput,
|
|
555
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateChannelCommandOutput) => void),
|
|
556
|
-
cb?: (err: any, data?: CreateChannelCommandOutput) => void
|
|
557
|
-
): Promise<CreateChannelCommandOutput> | void {
|
|
558
|
-
const command = new CreateChannelCommand(args);
|
|
559
|
-
if (typeof optionsOrCb === "function") {
|
|
560
|
-
this.send(command, optionsOrCb);
|
|
561
|
-
} else if (typeof cb === "function") {
|
|
562
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
563
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
564
|
-
} else {
|
|
565
|
-
return this.send(command, optionsOrCb);
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
/**
|
|
570
|
-
* <p>Creates a new recording configuration, used to enable recording to Amazon S3.</p>
|
|
571
|
-
* <p>
|
|
572
|
-
* <b>Known issue:</b> In the us-east-1 region, if you use the AWS
|
|
573
|
-
* CLI to create a recording configuration, it returns success even if the S3 bucket is in a
|
|
574
|
-
* different region. In this case, the <code>state</code> of the recording configuration is
|
|
575
|
-
* <code>CREATE_FAILED</code> (instead of <code>ACTIVE</code>). (In other regions, the CLI
|
|
576
|
-
* correctly returns failure if the bucket is in a different region.)</p>
|
|
577
|
-
* <p>
|
|
578
|
-
* <b>Workaround:</b> Ensure that your S3 bucket is in the same region as the recording
|
|
579
|
-
* configuration. If you create a recording configuration in a different region as your S3
|
|
580
|
-
* bucket, delete that recording configuration and create a new one with an S3 bucket from the
|
|
581
|
-
* correct region.</p>
|
|
582
|
-
*/
|
|
583
|
-
public createRecordingConfiguration(
|
|
584
|
-
args: CreateRecordingConfigurationCommandInput,
|
|
585
|
-
options?: __HttpHandlerOptions
|
|
586
|
-
): Promise<CreateRecordingConfigurationCommandOutput>;
|
|
587
|
-
public createRecordingConfiguration(
|
|
588
|
-
args: CreateRecordingConfigurationCommandInput,
|
|
589
|
-
cb: (err: any, data?: CreateRecordingConfigurationCommandOutput) => void
|
|
590
|
-
): void;
|
|
591
|
-
public createRecordingConfiguration(
|
|
592
|
-
args: CreateRecordingConfigurationCommandInput,
|
|
593
|
-
options: __HttpHandlerOptions,
|
|
594
|
-
cb: (err: any, data?: CreateRecordingConfigurationCommandOutput) => void
|
|
595
|
-
): void;
|
|
596
|
-
public createRecordingConfiguration(
|
|
597
|
-
args: CreateRecordingConfigurationCommandInput,
|
|
598
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRecordingConfigurationCommandOutput) => void),
|
|
599
|
-
cb?: (err: any, data?: CreateRecordingConfigurationCommandOutput) => void
|
|
600
|
-
): Promise<CreateRecordingConfigurationCommandOutput> | void {
|
|
601
|
-
const command = new CreateRecordingConfigurationCommand(args);
|
|
602
|
-
if (typeof optionsOrCb === "function") {
|
|
603
|
-
this.send(command, optionsOrCb);
|
|
604
|
-
} else if (typeof cb === "function") {
|
|
605
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
606
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
607
|
-
} else {
|
|
608
|
-
return this.send(command, optionsOrCb);
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
/**
|
|
613
|
-
* <p>Creates a stream key, used to initiate a stream, for the specified channel ARN.</p>
|
|
614
|
-
* <p>Note that <a>CreateChannel</a> creates a stream key. If you subsequently use
|
|
615
|
-
* CreateStreamKey on the same channel, it will fail because a stream key already exists and
|
|
616
|
-
* there is a limit of 1 stream key per channel. To reset the stream key on a channel, use <a>DeleteStreamKey</a> and then CreateStreamKey.</p>
|
|
617
|
-
*/
|
|
618
|
-
public createStreamKey(
|
|
619
|
-
args: CreateStreamKeyCommandInput,
|
|
620
|
-
options?: __HttpHandlerOptions
|
|
621
|
-
): Promise<CreateStreamKeyCommandOutput>;
|
|
622
|
-
public createStreamKey(
|
|
623
|
-
args: CreateStreamKeyCommandInput,
|
|
624
|
-
cb: (err: any, data?: CreateStreamKeyCommandOutput) => void
|
|
625
|
-
): void;
|
|
626
|
-
public createStreamKey(
|
|
627
|
-
args: CreateStreamKeyCommandInput,
|
|
628
|
-
options: __HttpHandlerOptions,
|
|
629
|
-
cb: (err: any, data?: CreateStreamKeyCommandOutput) => void
|
|
630
|
-
): void;
|
|
631
|
-
public createStreamKey(
|
|
632
|
-
args: CreateStreamKeyCommandInput,
|
|
633
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateStreamKeyCommandOutput) => void),
|
|
634
|
-
cb?: (err: any, data?: CreateStreamKeyCommandOutput) => void
|
|
635
|
-
): Promise<CreateStreamKeyCommandOutput> | void {
|
|
636
|
-
const command = new CreateStreamKeyCommand(args);
|
|
637
|
-
if (typeof optionsOrCb === "function") {
|
|
638
|
-
this.send(command, optionsOrCb);
|
|
639
|
-
} else if (typeof cb === "function") {
|
|
640
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
641
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
642
|
-
} else {
|
|
643
|
-
return this.send(command, optionsOrCb);
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
/**
|
|
648
|
-
* <p>Deletes the specified channel and its associated stream keys.</p>
|
|
649
|
-
* <p>If you try to delete a live channel, you will get an error (409 ConflictException). To
|
|
650
|
-
* delete a channel that is live, call <a>StopStream</a>, wait for the Amazon
|
|
651
|
-
* EventBridge "Stream End" event (to verify that the stream's state was changed from Live to
|
|
652
|
-
* Offline), then call DeleteChannel. (See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/eventbridge.html"> Using EventBridge with Amazon IVS</a>.) </p>
|
|
653
|
-
*/
|
|
654
|
-
public deleteChannel(
|
|
655
|
-
args: DeleteChannelCommandInput,
|
|
656
|
-
options?: __HttpHandlerOptions
|
|
657
|
-
): Promise<DeleteChannelCommandOutput>;
|
|
658
|
-
public deleteChannel(
|
|
659
|
-
args: DeleteChannelCommandInput,
|
|
660
|
-
cb: (err: any, data?: DeleteChannelCommandOutput) => void
|
|
661
|
-
): void;
|
|
662
|
-
public deleteChannel(
|
|
663
|
-
args: DeleteChannelCommandInput,
|
|
664
|
-
options: __HttpHandlerOptions,
|
|
665
|
-
cb: (err: any, data?: DeleteChannelCommandOutput) => void
|
|
666
|
-
): void;
|
|
667
|
-
public deleteChannel(
|
|
668
|
-
args: DeleteChannelCommandInput,
|
|
669
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteChannelCommandOutput) => void),
|
|
670
|
-
cb?: (err: any, data?: DeleteChannelCommandOutput) => void
|
|
671
|
-
): Promise<DeleteChannelCommandOutput> | void {
|
|
672
|
-
const command = new DeleteChannelCommand(args);
|
|
673
|
-
if (typeof optionsOrCb === "function") {
|
|
674
|
-
this.send(command, optionsOrCb);
|
|
675
|
-
} else if (typeof cb === "function") {
|
|
676
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
677
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
678
|
-
} else {
|
|
679
|
-
return this.send(command, optionsOrCb);
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
/**
|
|
684
|
-
* <p>Deletes a specified authorization key pair. This invalidates future viewer tokens
|
|
685
|
-
* generated using the key pair’s <code>privateKey</code>. For more information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private
|
|
686
|
-
* Channels</a> in the <i>Amazon IVS User Guide</i>.</p>
|
|
687
|
-
*/
|
|
688
|
-
public deletePlaybackKeyPair(
|
|
689
|
-
args: DeletePlaybackKeyPairCommandInput,
|
|
690
|
-
options?: __HttpHandlerOptions
|
|
691
|
-
): Promise<DeletePlaybackKeyPairCommandOutput>;
|
|
692
|
-
public deletePlaybackKeyPair(
|
|
693
|
-
args: DeletePlaybackKeyPairCommandInput,
|
|
694
|
-
cb: (err: any, data?: DeletePlaybackKeyPairCommandOutput) => void
|
|
695
|
-
): void;
|
|
696
|
-
public deletePlaybackKeyPair(
|
|
697
|
-
args: DeletePlaybackKeyPairCommandInput,
|
|
698
|
-
options: __HttpHandlerOptions,
|
|
699
|
-
cb: (err: any, data?: DeletePlaybackKeyPairCommandOutput) => void
|
|
700
|
-
): void;
|
|
701
|
-
public deletePlaybackKeyPair(
|
|
702
|
-
args: DeletePlaybackKeyPairCommandInput,
|
|
703
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePlaybackKeyPairCommandOutput) => void),
|
|
704
|
-
cb?: (err: any, data?: DeletePlaybackKeyPairCommandOutput) => void
|
|
705
|
-
): Promise<DeletePlaybackKeyPairCommandOutput> | void {
|
|
706
|
-
const command = new DeletePlaybackKeyPairCommand(args);
|
|
707
|
-
if (typeof optionsOrCb === "function") {
|
|
708
|
-
this.send(command, optionsOrCb);
|
|
709
|
-
} else if (typeof cb === "function") {
|
|
710
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
711
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
712
|
-
} else {
|
|
713
|
-
return this.send(command, optionsOrCb);
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
/**
|
|
718
|
-
* <p>Deletes the recording configuration for the specified ARN.</p>
|
|
719
|
-
* <p>If you try to delete a recording configuration that is associated with a channel, you will
|
|
720
|
-
* get an error (409 ConflictException). To avoid this, for all channels that reference the
|
|
721
|
-
* recording configuration, first use <a>UpdateChannel</a> to set the
|
|
722
|
-
* <code>recordingConfigurationArn</code> field to an empty string, then use
|
|
723
|
-
* DeleteRecordingConfiguration.</p>
|
|
724
|
-
*/
|
|
725
|
-
public deleteRecordingConfiguration(
|
|
726
|
-
args: DeleteRecordingConfigurationCommandInput,
|
|
727
|
-
options?: __HttpHandlerOptions
|
|
728
|
-
): Promise<DeleteRecordingConfigurationCommandOutput>;
|
|
729
|
-
public deleteRecordingConfiguration(
|
|
730
|
-
args: DeleteRecordingConfigurationCommandInput,
|
|
731
|
-
cb: (err: any, data?: DeleteRecordingConfigurationCommandOutput) => void
|
|
732
|
-
): void;
|
|
733
|
-
public deleteRecordingConfiguration(
|
|
734
|
-
args: DeleteRecordingConfigurationCommandInput,
|
|
735
|
-
options: __HttpHandlerOptions,
|
|
736
|
-
cb: (err: any, data?: DeleteRecordingConfigurationCommandOutput) => void
|
|
737
|
-
): void;
|
|
738
|
-
public deleteRecordingConfiguration(
|
|
739
|
-
args: DeleteRecordingConfigurationCommandInput,
|
|
740
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRecordingConfigurationCommandOutput) => void),
|
|
741
|
-
cb?: (err: any, data?: DeleteRecordingConfigurationCommandOutput) => void
|
|
742
|
-
): Promise<DeleteRecordingConfigurationCommandOutput> | void {
|
|
743
|
-
const command = new DeleteRecordingConfigurationCommand(args);
|
|
744
|
-
if (typeof optionsOrCb === "function") {
|
|
745
|
-
this.send(command, optionsOrCb);
|
|
746
|
-
} else if (typeof cb === "function") {
|
|
747
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
748
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
749
|
-
} else {
|
|
750
|
-
return this.send(command, optionsOrCb);
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
/**
|
|
755
|
-
* <p>Deletes the stream key for the specified ARN, so it can no longer be used to
|
|
756
|
-
* stream.</p>
|
|
757
|
-
*/
|
|
758
|
-
public deleteStreamKey(
|
|
759
|
-
args: DeleteStreamKeyCommandInput,
|
|
760
|
-
options?: __HttpHandlerOptions
|
|
761
|
-
): Promise<DeleteStreamKeyCommandOutput>;
|
|
762
|
-
public deleteStreamKey(
|
|
763
|
-
args: DeleteStreamKeyCommandInput,
|
|
764
|
-
cb: (err: any, data?: DeleteStreamKeyCommandOutput) => void
|
|
765
|
-
): void;
|
|
766
|
-
public deleteStreamKey(
|
|
767
|
-
args: DeleteStreamKeyCommandInput,
|
|
768
|
-
options: __HttpHandlerOptions,
|
|
769
|
-
cb: (err: any, data?: DeleteStreamKeyCommandOutput) => void
|
|
770
|
-
): void;
|
|
771
|
-
public deleteStreamKey(
|
|
772
|
-
args: DeleteStreamKeyCommandInput,
|
|
773
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteStreamKeyCommandOutput) => void),
|
|
774
|
-
cb?: (err: any, data?: DeleteStreamKeyCommandOutput) => void
|
|
775
|
-
): Promise<DeleteStreamKeyCommandOutput> | void {
|
|
776
|
-
const command = new DeleteStreamKeyCommand(args);
|
|
777
|
-
if (typeof optionsOrCb === "function") {
|
|
778
|
-
this.send(command, optionsOrCb);
|
|
779
|
-
} else if (typeof cb === "function") {
|
|
780
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
781
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
782
|
-
} else {
|
|
783
|
-
return this.send(command, optionsOrCb);
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
/**
|
|
788
|
-
* <p>Gets the channel configuration for the specified channel ARN. See also <a>BatchGetChannel</a>.</p>
|
|
789
|
-
*/
|
|
790
|
-
public getChannel(args: GetChannelCommandInput, options?: __HttpHandlerOptions): Promise<GetChannelCommandOutput>;
|
|
791
|
-
public getChannel(args: GetChannelCommandInput, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
|
|
792
|
-
public getChannel(
|
|
793
|
-
args: GetChannelCommandInput,
|
|
794
|
-
options: __HttpHandlerOptions,
|
|
795
|
-
cb: (err: any, data?: GetChannelCommandOutput) => void
|
|
796
|
-
): void;
|
|
797
|
-
public getChannel(
|
|
798
|
-
args: GetChannelCommandInput,
|
|
799
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetChannelCommandOutput) => void),
|
|
800
|
-
cb?: (err: any, data?: GetChannelCommandOutput) => void
|
|
801
|
-
): Promise<GetChannelCommandOutput> | void {
|
|
802
|
-
const command = new GetChannelCommand(args);
|
|
803
|
-
if (typeof optionsOrCb === "function") {
|
|
804
|
-
this.send(command, optionsOrCb);
|
|
805
|
-
} else if (typeof cb === "function") {
|
|
806
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
807
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
808
|
-
} else {
|
|
809
|
-
return this.send(command, optionsOrCb);
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* <p>Gets a specified playback authorization key pair and returns the <code>arn</code> and
|
|
815
|
-
* <code>fingerprint</code>. The <code>privateKey</code> held by the caller can be used to
|
|
816
|
-
* generate viewer authorization tokens, to grant viewers access to private channels. For more
|
|
817
|
-
* information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private Channels</a> in the <i>Amazon IVS User
|
|
818
|
-
* Guide</i>.</p>
|
|
819
|
-
*/
|
|
820
|
-
public getPlaybackKeyPair(
|
|
821
|
-
args: GetPlaybackKeyPairCommandInput,
|
|
822
|
-
options?: __HttpHandlerOptions
|
|
823
|
-
): Promise<GetPlaybackKeyPairCommandOutput>;
|
|
824
|
-
public getPlaybackKeyPair(
|
|
825
|
-
args: GetPlaybackKeyPairCommandInput,
|
|
826
|
-
cb: (err: any, data?: GetPlaybackKeyPairCommandOutput) => void
|
|
827
|
-
): void;
|
|
828
|
-
public getPlaybackKeyPair(
|
|
829
|
-
args: GetPlaybackKeyPairCommandInput,
|
|
830
|
-
options: __HttpHandlerOptions,
|
|
831
|
-
cb: (err: any, data?: GetPlaybackKeyPairCommandOutput) => void
|
|
832
|
-
): void;
|
|
833
|
-
public getPlaybackKeyPair(
|
|
834
|
-
args: GetPlaybackKeyPairCommandInput,
|
|
835
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPlaybackKeyPairCommandOutput) => void),
|
|
836
|
-
cb?: (err: any, data?: GetPlaybackKeyPairCommandOutput) => void
|
|
837
|
-
): Promise<GetPlaybackKeyPairCommandOutput> | void {
|
|
838
|
-
const command = new GetPlaybackKeyPairCommand(args);
|
|
839
|
-
if (typeof optionsOrCb === "function") {
|
|
840
|
-
this.send(command, optionsOrCb);
|
|
841
|
-
} else if (typeof cb === "function") {
|
|
842
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
843
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
844
|
-
} else {
|
|
845
|
-
return this.send(command, optionsOrCb);
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
/**
|
|
850
|
-
* <p>Gets the recording configuration for the specified ARN.</p>
|
|
851
|
-
*/
|
|
852
|
-
public getRecordingConfiguration(
|
|
853
|
-
args: GetRecordingConfigurationCommandInput,
|
|
854
|
-
options?: __HttpHandlerOptions
|
|
855
|
-
): Promise<GetRecordingConfigurationCommandOutput>;
|
|
856
|
-
public getRecordingConfiguration(
|
|
857
|
-
args: GetRecordingConfigurationCommandInput,
|
|
858
|
-
cb: (err: any, data?: GetRecordingConfigurationCommandOutput) => void
|
|
859
|
-
): void;
|
|
860
|
-
public getRecordingConfiguration(
|
|
861
|
-
args: GetRecordingConfigurationCommandInput,
|
|
862
|
-
options: __HttpHandlerOptions,
|
|
863
|
-
cb: (err: any, data?: GetRecordingConfigurationCommandOutput) => void
|
|
864
|
-
): void;
|
|
865
|
-
public getRecordingConfiguration(
|
|
866
|
-
args: GetRecordingConfigurationCommandInput,
|
|
867
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetRecordingConfigurationCommandOutput) => void),
|
|
868
|
-
cb?: (err: any, data?: GetRecordingConfigurationCommandOutput) => void
|
|
869
|
-
): Promise<GetRecordingConfigurationCommandOutput> | void {
|
|
870
|
-
const command = new GetRecordingConfigurationCommand(args);
|
|
871
|
-
if (typeof optionsOrCb === "function") {
|
|
872
|
-
this.send(command, optionsOrCb);
|
|
873
|
-
} else if (typeof cb === "function") {
|
|
874
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
875
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
876
|
-
} else {
|
|
877
|
-
return this.send(command, optionsOrCb);
|
|
878
|
-
}
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
/**
|
|
882
|
-
* <p>Gets information about the active (live) stream on a specified channel.</p>
|
|
883
|
-
*/
|
|
884
|
-
public getStream(args: GetStreamCommandInput, options?: __HttpHandlerOptions): Promise<GetStreamCommandOutput>;
|
|
885
|
-
public getStream(args: GetStreamCommandInput, cb: (err: any, data?: GetStreamCommandOutput) => void): void;
|
|
886
|
-
public getStream(
|
|
887
|
-
args: GetStreamCommandInput,
|
|
888
|
-
options: __HttpHandlerOptions,
|
|
889
|
-
cb: (err: any, data?: GetStreamCommandOutput) => void
|
|
890
|
-
): void;
|
|
891
|
-
public getStream(
|
|
892
|
-
args: GetStreamCommandInput,
|
|
893
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetStreamCommandOutput) => void),
|
|
894
|
-
cb?: (err: any, data?: GetStreamCommandOutput) => void
|
|
895
|
-
): Promise<GetStreamCommandOutput> | void {
|
|
896
|
-
const command = new GetStreamCommand(args);
|
|
897
|
-
if (typeof optionsOrCb === "function") {
|
|
898
|
-
this.send(command, optionsOrCb);
|
|
899
|
-
} else if (typeof cb === "function") {
|
|
900
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
901
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
902
|
-
} else {
|
|
903
|
-
return this.send(command, optionsOrCb);
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
/**
|
|
908
|
-
* <p>Gets stream-key information for a specified ARN.</p>
|
|
909
|
-
*/
|
|
910
|
-
public getStreamKey(
|
|
911
|
-
args: GetStreamKeyCommandInput,
|
|
912
|
-
options?: __HttpHandlerOptions
|
|
913
|
-
): Promise<GetStreamKeyCommandOutput>;
|
|
914
|
-
public getStreamKey(args: GetStreamKeyCommandInput, cb: (err: any, data?: GetStreamKeyCommandOutput) => void): void;
|
|
915
|
-
public getStreamKey(
|
|
916
|
-
args: GetStreamKeyCommandInput,
|
|
917
|
-
options: __HttpHandlerOptions,
|
|
918
|
-
cb: (err: any, data?: GetStreamKeyCommandOutput) => void
|
|
919
|
-
): void;
|
|
920
|
-
public getStreamKey(
|
|
921
|
-
args: GetStreamKeyCommandInput,
|
|
922
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetStreamKeyCommandOutput) => void),
|
|
923
|
-
cb?: (err: any, data?: GetStreamKeyCommandOutput) => void
|
|
924
|
-
): Promise<GetStreamKeyCommandOutput> | void {
|
|
925
|
-
const command = new GetStreamKeyCommand(args);
|
|
926
|
-
if (typeof optionsOrCb === "function") {
|
|
927
|
-
this.send(command, optionsOrCb);
|
|
928
|
-
} else if (typeof cb === "function") {
|
|
929
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
930
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
931
|
-
} else {
|
|
932
|
-
return this.send(command, optionsOrCb);
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
/**
|
|
937
|
-
* <p>Imports the public portion of a new key pair and returns its <code>arn</code> and
|
|
938
|
-
* <code>fingerprint</code>. The <code>privateKey</code> can then be used to generate viewer
|
|
939
|
-
* authorization tokens, to grant viewers access to private channels. For more information, see
|
|
940
|
-
* <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up
|
|
941
|
-
* Private Channels</a> in the <i>Amazon IVS User Guide</i>.</p>
|
|
942
|
-
*/
|
|
943
|
-
public importPlaybackKeyPair(
|
|
944
|
-
args: ImportPlaybackKeyPairCommandInput,
|
|
945
|
-
options?: __HttpHandlerOptions
|
|
946
|
-
): Promise<ImportPlaybackKeyPairCommandOutput>;
|
|
947
|
-
public importPlaybackKeyPair(
|
|
948
|
-
args: ImportPlaybackKeyPairCommandInput,
|
|
949
|
-
cb: (err: any, data?: ImportPlaybackKeyPairCommandOutput) => void
|
|
950
|
-
): void;
|
|
951
|
-
public importPlaybackKeyPair(
|
|
952
|
-
args: ImportPlaybackKeyPairCommandInput,
|
|
953
|
-
options: __HttpHandlerOptions,
|
|
954
|
-
cb: (err: any, data?: ImportPlaybackKeyPairCommandOutput) => void
|
|
955
|
-
): void;
|
|
956
|
-
public importPlaybackKeyPair(
|
|
957
|
-
args: ImportPlaybackKeyPairCommandInput,
|
|
958
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ImportPlaybackKeyPairCommandOutput) => void),
|
|
959
|
-
cb?: (err: any, data?: ImportPlaybackKeyPairCommandOutput) => void
|
|
960
|
-
): Promise<ImportPlaybackKeyPairCommandOutput> | void {
|
|
961
|
-
const command = new ImportPlaybackKeyPairCommand(args);
|
|
962
|
-
if (typeof optionsOrCb === "function") {
|
|
963
|
-
this.send(command, optionsOrCb);
|
|
964
|
-
} else if (typeof cb === "function") {
|
|
965
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
966
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
967
|
-
} else {
|
|
968
|
-
return this.send(command, optionsOrCb);
|
|
969
|
-
}
|
|
970
|
-
}
|
|
971
|
-
|
|
972
|
-
/**
|
|
973
|
-
* <p>Gets summary information about all channels in your account, in the AWS region where the
|
|
974
|
-
* API request is processed. This list can be filtered to match a specified name or
|
|
975
|
-
* recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If
|
|
976
|
-
* you try to use both filters, you will get an error (409 ConflictException).</p>
|
|
977
|
-
*/
|
|
978
|
-
public listChannels(
|
|
979
|
-
args: ListChannelsCommandInput,
|
|
980
|
-
options?: __HttpHandlerOptions
|
|
981
|
-
): Promise<ListChannelsCommandOutput>;
|
|
982
|
-
public listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
983
|
-
public listChannels(
|
|
984
|
-
args: ListChannelsCommandInput,
|
|
985
|
-
options: __HttpHandlerOptions,
|
|
986
|
-
cb: (err: any, data?: ListChannelsCommandOutput) => void
|
|
987
|
-
): void;
|
|
988
|
-
public listChannels(
|
|
989
|
-
args: ListChannelsCommandInput,
|
|
990
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListChannelsCommandOutput) => void),
|
|
991
|
-
cb?: (err: any, data?: ListChannelsCommandOutput) => void
|
|
992
|
-
): Promise<ListChannelsCommandOutput> | void {
|
|
993
|
-
const command = new ListChannelsCommand(args);
|
|
994
|
-
if (typeof optionsOrCb === "function") {
|
|
995
|
-
this.send(command, optionsOrCb);
|
|
996
|
-
} else if (typeof cb === "function") {
|
|
997
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
998
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
999
|
-
} else {
|
|
1000
|
-
return this.send(command, optionsOrCb);
|
|
1001
|
-
}
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
/**
|
|
1005
|
-
* <p>Gets summary information about playback key pairs. For more information, see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html">Setting Up Private
|
|
1006
|
-
* Channels</a> in the <i>Amazon IVS User Guide</i>.</p>
|
|
1007
|
-
*/
|
|
1008
|
-
public listPlaybackKeyPairs(
|
|
1009
|
-
args: ListPlaybackKeyPairsCommandInput,
|
|
1010
|
-
options?: __HttpHandlerOptions
|
|
1011
|
-
): Promise<ListPlaybackKeyPairsCommandOutput>;
|
|
1012
|
-
public listPlaybackKeyPairs(
|
|
1013
|
-
args: ListPlaybackKeyPairsCommandInput,
|
|
1014
|
-
cb: (err: any, data?: ListPlaybackKeyPairsCommandOutput) => void
|
|
1015
|
-
): void;
|
|
1016
|
-
public listPlaybackKeyPairs(
|
|
1017
|
-
args: ListPlaybackKeyPairsCommandInput,
|
|
1018
|
-
options: __HttpHandlerOptions,
|
|
1019
|
-
cb: (err: any, data?: ListPlaybackKeyPairsCommandOutput) => void
|
|
1020
|
-
): void;
|
|
1021
|
-
public listPlaybackKeyPairs(
|
|
1022
|
-
args: ListPlaybackKeyPairsCommandInput,
|
|
1023
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPlaybackKeyPairsCommandOutput) => void),
|
|
1024
|
-
cb?: (err: any, data?: ListPlaybackKeyPairsCommandOutput) => void
|
|
1025
|
-
): Promise<ListPlaybackKeyPairsCommandOutput> | void {
|
|
1026
|
-
const command = new ListPlaybackKeyPairsCommand(args);
|
|
1027
|
-
if (typeof optionsOrCb === "function") {
|
|
1028
|
-
this.send(command, optionsOrCb);
|
|
1029
|
-
} else if (typeof cb === "function") {
|
|
1030
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1031
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1032
|
-
} else {
|
|
1033
|
-
return this.send(command, optionsOrCb);
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
/**
|
|
1038
|
-
* <p>Gets summary information about all recording configurations in your account, in the AWS
|
|
1039
|
-
* region where the API request is processed.</p>
|
|
1040
|
-
*/
|
|
1041
|
-
public listRecordingConfigurations(
|
|
1042
|
-
args: ListRecordingConfigurationsCommandInput,
|
|
1043
|
-
options?: __HttpHandlerOptions
|
|
1044
|
-
): Promise<ListRecordingConfigurationsCommandOutput>;
|
|
1045
|
-
public listRecordingConfigurations(
|
|
1046
|
-
args: ListRecordingConfigurationsCommandInput,
|
|
1047
|
-
cb: (err: any, data?: ListRecordingConfigurationsCommandOutput) => void
|
|
1048
|
-
): void;
|
|
1049
|
-
public listRecordingConfigurations(
|
|
1050
|
-
args: ListRecordingConfigurationsCommandInput,
|
|
1051
|
-
options: __HttpHandlerOptions,
|
|
1052
|
-
cb: (err: any, data?: ListRecordingConfigurationsCommandOutput) => void
|
|
1053
|
-
): void;
|
|
1054
|
-
public listRecordingConfigurations(
|
|
1055
|
-
args: ListRecordingConfigurationsCommandInput,
|
|
1056
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRecordingConfigurationsCommandOutput) => void),
|
|
1057
|
-
cb?: (err: any, data?: ListRecordingConfigurationsCommandOutput) => void
|
|
1058
|
-
): Promise<ListRecordingConfigurationsCommandOutput> | void {
|
|
1059
|
-
const command = new ListRecordingConfigurationsCommand(args);
|
|
1060
|
-
if (typeof optionsOrCb === "function") {
|
|
1061
|
-
this.send(command, optionsOrCb);
|
|
1062
|
-
} else if (typeof cb === "function") {
|
|
1063
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1064
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1065
|
-
} else {
|
|
1066
|
-
return this.send(command, optionsOrCb);
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
|
-
/**
|
|
1071
|
-
* <p>Gets summary information about stream keys for the specified channel.</p>
|
|
1072
|
-
*/
|
|
1073
|
-
public listStreamKeys(
|
|
1074
|
-
args: ListStreamKeysCommandInput,
|
|
1075
|
-
options?: __HttpHandlerOptions
|
|
1076
|
-
): Promise<ListStreamKeysCommandOutput>;
|
|
1077
|
-
public listStreamKeys(
|
|
1078
|
-
args: ListStreamKeysCommandInput,
|
|
1079
|
-
cb: (err: any, data?: ListStreamKeysCommandOutput) => void
|
|
1080
|
-
): void;
|
|
1081
|
-
public listStreamKeys(
|
|
1082
|
-
args: ListStreamKeysCommandInput,
|
|
1083
|
-
options: __HttpHandlerOptions,
|
|
1084
|
-
cb: (err: any, data?: ListStreamKeysCommandOutput) => void
|
|
1085
|
-
): void;
|
|
1086
|
-
public listStreamKeys(
|
|
1087
|
-
args: ListStreamKeysCommandInput,
|
|
1088
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListStreamKeysCommandOutput) => void),
|
|
1089
|
-
cb?: (err: any, data?: ListStreamKeysCommandOutput) => void
|
|
1090
|
-
): Promise<ListStreamKeysCommandOutput> | void {
|
|
1091
|
-
const command = new ListStreamKeysCommand(args);
|
|
1092
|
-
if (typeof optionsOrCb === "function") {
|
|
1093
|
-
this.send(command, optionsOrCb);
|
|
1094
|
-
} else if (typeof cb === "function") {
|
|
1095
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1096
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1097
|
-
} else {
|
|
1098
|
-
return this.send(command, optionsOrCb);
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
/**
|
|
1103
|
-
* <p>Gets summary information about live streams in your account, in the AWS region where the
|
|
1104
|
-
* API request is processed.</p>
|
|
1105
|
-
*/
|
|
1106
|
-
public listStreams(args: ListStreamsCommandInput, options?: __HttpHandlerOptions): Promise<ListStreamsCommandOutput>;
|
|
1107
|
-
public listStreams(args: ListStreamsCommandInput, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
|
|
1108
|
-
public listStreams(
|
|
1109
|
-
args: ListStreamsCommandInput,
|
|
1110
|
-
options: __HttpHandlerOptions,
|
|
1111
|
-
cb: (err: any, data?: ListStreamsCommandOutput) => void
|
|
1112
|
-
): void;
|
|
1113
|
-
public listStreams(
|
|
1114
|
-
args: ListStreamsCommandInput,
|
|
1115
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListStreamsCommandOutput) => void),
|
|
1116
|
-
cb?: (err: any, data?: ListStreamsCommandOutput) => void
|
|
1117
|
-
): Promise<ListStreamsCommandOutput> | void {
|
|
1118
|
-
const command = new ListStreamsCommand(args);
|
|
1119
|
-
if (typeof optionsOrCb === "function") {
|
|
1120
|
-
this.send(command, optionsOrCb);
|
|
1121
|
-
} else if (typeof cb === "function") {
|
|
1122
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1123
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1124
|
-
} else {
|
|
1125
|
-
return this.send(command, optionsOrCb);
|
|
1126
|
-
}
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
/**
|
|
1130
|
-
* <p>Gets information about AWS tags for the specified ARN.</p>
|
|
1131
|
-
*/
|
|
1132
|
-
public listTagsForResource(
|
|
1133
|
-
args: ListTagsForResourceCommandInput,
|
|
1134
|
-
options?: __HttpHandlerOptions
|
|
1135
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
1136
|
-
public listTagsForResource(
|
|
1137
|
-
args: ListTagsForResourceCommandInput,
|
|
1138
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1139
|
-
): void;
|
|
1140
|
-
public listTagsForResource(
|
|
1141
|
-
args: ListTagsForResourceCommandInput,
|
|
1142
|
-
options: __HttpHandlerOptions,
|
|
1143
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1144
|
-
): void;
|
|
1145
|
-
public listTagsForResource(
|
|
1146
|
-
args: ListTagsForResourceCommandInput,
|
|
1147
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
1148
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1149
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
1150
|
-
const command = new ListTagsForResourceCommand(args);
|
|
1151
|
-
if (typeof optionsOrCb === "function") {
|
|
1152
|
-
this.send(command, optionsOrCb);
|
|
1153
|
-
} else if (typeof cb === "function") {
|
|
1154
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1155
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1156
|
-
} else {
|
|
1157
|
-
return this.send(command, optionsOrCb);
|
|
1158
|
-
}
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
/**
|
|
1162
|
-
* <p>Inserts metadata into the active stream of the specified channel. A maximum of 5 requests
|
|
1163
|
-
* per second per channel is allowed, each with a maximum 1 KB payload. (If 5 TPS is not
|
|
1164
|
-
* sufficient for your needs, we recommend batching your data into a single PutMetadata call.)
|
|
1165
|
-
*
|
|
1166
|
-
* Also see <a href="https://docs.aws.amazon.com/ivs/latest/userguide/metadata.html">Embedding Metadata
|
|
1167
|
-
*
|
|
1168
|
-
* within a Video Stream</a> in the <i>Amazon IVS User Guide</i>.</p>
|
|
1169
|
-
*/
|
|
1170
|
-
public putMetadata(args: PutMetadataCommandInput, options?: __HttpHandlerOptions): Promise<PutMetadataCommandOutput>;
|
|
1171
|
-
public putMetadata(args: PutMetadataCommandInput, cb: (err: any, data?: PutMetadataCommandOutput) => void): void;
|
|
1172
|
-
public putMetadata(
|
|
1173
|
-
args: PutMetadataCommandInput,
|
|
1174
|
-
options: __HttpHandlerOptions,
|
|
1175
|
-
cb: (err: any, data?: PutMetadataCommandOutput) => void
|
|
1176
|
-
): void;
|
|
1177
|
-
public putMetadata(
|
|
1178
|
-
args: PutMetadataCommandInput,
|
|
1179
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutMetadataCommandOutput) => void),
|
|
1180
|
-
cb?: (err: any, data?: PutMetadataCommandOutput) => void
|
|
1181
|
-
): Promise<PutMetadataCommandOutput> | void {
|
|
1182
|
-
const command = new PutMetadataCommand(args);
|
|
1183
|
-
if (typeof optionsOrCb === "function") {
|
|
1184
|
-
this.send(command, optionsOrCb);
|
|
1185
|
-
} else if (typeof cb === "function") {
|
|
1186
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1187
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1188
|
-
} else {
|
|
1189
|
-
return this.send(command, optionsOrCb);
|
|
1190
|
-
}
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
/**
|
|
1194
|
-
* <p>Disconnects the incoming RTMPS stream for the specified channel. Can be used in
|
|
1195
|
-
* conjunction with <a>DeleteStreamKey</a> to prevent further streaming to a
|
|
1196
|
-
* channel.</p>
|
|
1197
|
-
* <note>
|
|
1198
|
-
* <p>Many streaming client-software libraries automatically reconnect a dropped RTMPS
|
|
1199
|
-
* session, so to stop the stream permanently, you may want to first revoke the
|
|
1200
|
-
* <code>streamKey</code> attached to the channel.</p>
|
|
1201
|
-
* </note>
|
|
1202
|
-
*/
|
|
1203
|
-
public stopStream(args: StopStreamCommandInput, options?: __HttpHandlerOptions): Promise<StopStreamCommandOutput>;
|
|
1204
|
-
public stopStream(args: StopStreamCommandInput, cb: (err: any, data?: StopStreamCommandOutput) => void): void;
|
|
1205
|
-
public stopStream(
|
|
1206
|
-
args: StopStreamCommandInput,
|
|
1207
|
-
options: __HttpHandlerOptions,
|
|
1208
|
-
cb: (err: any, data?: StopStreamCommandOutput) => void
|
|
1209
|
-
): void;
|
|
1210
|
-
public stopStream(
|
|
1211
|
-
args: StopStreamCommandInput,
|
|
1212
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopStreamCommandOutput) => void),
|
|
1213
|
-
cb?: (err: any, data?: StopStreamCommandOutput) => void
|
|
1214
|
-
): Promise<StopStreamCommandOutput> | void {
|
|
1215
|
-
const command = new StopStreamCommand(args);
|
|
1216
|
-
if (typeof optionsOrCb === "function") {
|
|
1217
|
-
this.send(command, optionsOrCb);
|
|
1218
|
-
} else if (typeof cb === "function") {
|
|
1219
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1220
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1221
|
-
} else {
|
|
1222
|
-
return this.send(command, optionsOrCb);
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
/**
|
|
1227
|
-
* <p>Adds or updates tags for the AWS resource with the specified ARN.</p>
|
|
1228
|
-
*/
|
|
1229
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1230
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1231
|
-
public tagResource(
|
|
1232
|
-
args: TagResourceCommandInput,
|
|
1233
|
-
options: __HttpHandlerOptions,
|
|
1234
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
1235
|
-
): void;
|
|
1236
|
-
public tagResource(
|
|
1237
|
-
args: TagResourceCommandInput,
|
|
1238
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
1239
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
1240
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
1241
|
-
const command = new TagResourceCommand(args);
|
|
1242
|
-
if (typeof optionsOrCb === "function") {
|
|
1243
|
-
this.send(command, optionsOrCb);
|
|
1244
|
-
} else if (typeof cb === "function") {
|
|
1245
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1246
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1247
|
-
} else {
|
|
1248
|
-
return this.send(command, optionsOrCb);
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
/**
|
|
1253
|
-
* <p>Removes tags from the resource with the specified ARN.</p>
|
|
1254
|
-
*/
|
|
1255
|
-
public untagResource(
|
|
1256
|
-
args: UntagResourceCommandInput,
|
|
1257
|
-
options?: __HttpHandlerOptions
|
|
1258
|
-
): Promise<UntagResourceCommandOutput>;
|
|
1259
|
-
public untagResource(
|
|
1260
|
-
args: UntagResourceCommandInput,
|
|
1261
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1262
|
-
): void;
|
|
1263
|
-
public untagResource(
|
|
1264
|
-
args: UntagResourceCommandInput,
|
|
1265
|
-
options: __HttpHandlerOptions,
|
|
1266
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1267
|
-
): void;
|
|
1268
|
-
public untagResource(
|
|
1269
|
-
args: UntagResourceCommandInput,
|
|
1270
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
1271
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1272
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
1273
|
-
const command = new UntagResourceCommand(args);
|
|
1274
|
-
if (typeof optionsOrCb === "function") {
|
|
1275
|
-
this.send(command, optionsOrCb);
|
|
1276
|
-
} else if (typeof cb === "function") {
|
|
1277
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1278
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1279
|
-
} else {
|
|
1280
|
-
return this.send(command, optionsOrCb);
|
|
1281
|
-
}
|
|
1282
|
-
}
|
|
1283
|
-
|
|
1284
|
-
/**
|
|
1285
|
-
* <p>Updates a channel's configuration. This does not affect an ongoing stream of this channel.
|
|
1286
|
-
* You must stop and restart the stream for the changes to take effect.</p>
|
|
1287
|
-
*/
|
|
1288
|
-
public updateChannel(
|
|
1289
|
-
args: UpdateChannelCommandInput,
|
|
1290
|
-
options?: __HttpHandlerOptions
|
|
1291
|
-
): Promise<UpdateChannelCommandOutput>;
|
|
1292
|
-
public updateChannel(
|
|
1293
|
-
args: UpdateChannelCommandInput,
|
|
1294
|
-
cb: (err: any, data?: UpdateChannelCommandOutput) => void
|
|
1295
|
-
): void;
|
|
1296
|
-
public updateChannel(
|
|
1297
|
-
args: UpdateChannelCommandInput,
|
|
1298
|
-
options: __HttpHandlerOptions,
|
|
1299
|
-
cb: (err: any, data?: UpdateChannelCommandOutput) => void
|
|
1300
|
-
): void;
|
|
1301
|
-
public updateChannel(
|
|
1302
|
-
args: UpdateChannelCommandInput,
|
|
1303
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateChannelCommandOutput) => void),
|
|
1304
|
-
cb?: (err: any, data?: UpdateChannelCommandOutput) => void
|
|
1305
|
-
): Promise<UpdateChannelCommandOutput> | void {
|
|
1306
|
-
const command = new UpdateChannelCommand(args);
|
|
1307
|
-
if (typeof optionsOrCb === "function") {
|
|
1308
|
-
this.send(command, optionsOrCb);
|
|
1309
|
-
} else if (typeof cb === "function") {
|
|
1310
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1311
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1312
|
-
} else {
|
|
1313
|
-
return this.send(command, optionsOrCb);
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
|
-
}
|