@aws-sdk/client-ivs 3.36.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 +11 -0
- package/dist-cjs/Ivs.js +0 -362
- package/dist-cjs/IvsClient.js +0 -367
- package/dist-cjs/commands/BatchGetChannelCommand.js +0 -24
- package/dist-cjs/commands/BatchGetStreamKeyCommand.js +0 -24
- package/dist-cjs/commands/CreateChannelCommand.js +0 -24
- package/dist-cjs/commands/CreateRecordingConfigurationCommand.js +0 -35
- package/dist-cjs/commands/CreateStreamKeyCommand.js +0 -27
- package/dist-cjs/commands/DeleteChannelCommand.js +0 -28
- package/dist-cjs/commands/DeletePlaybackKeyPairCommand.js +0 -26
- package/dist-cjs/commands/DeleteRecordingConfigurationCommand.js +0 -29
- package/dist-cjs/commands/DeleteStreamKeyCommand.js +0 -25
- package/dist-cjs/commands/GetChannelCommand.js +0 -24
- package/dist-cjs/commands/GetPlaybackKeyPairCommand.js +0 -28
- package/dist-cjs/commands/GetRecordingConfigurationCommand.js +0 -24
- package/dist-cjs/commands/GetStreamCommand.js +0 -24
- package/dist-cjs/commands/GetStreamKeyCommand.js +0 -24
- package/dist-cjs/commands/ImportPlaybackKeyPairCommand.js +0 -28
- package/dist-cjs/commands/ListChannelsCommand.js +0 -27
- package/dist-cjs/commands/ListPlaybackKeyPairsCommand.js +0 -25
- package/dist-cjs/commands/ListRecordingConfigurationsCommand.js +0 -25
- package/dist-cjs/commands/ListStreamKeysCommand.js +0 -24
- package/dist-cjs/commands/ListStreamsCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/PutMetadataCommand.js +0 -30
- package/dist-cjs/commands/StopStreamCommand.js +0 -31
- package/dist-cjs/commands/TagResourceCommand.js +0 -24
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateChannelCommand.js +0 -25
- package/dist-cjs/models/models_0.js +0 -213
- package/dist-cjs/pagination/ListChannelsPaginator.js +0 -10
- package/dist-cjs/pagination/ListPlaybackKeyPairsPaginator.js +0 -10
- package/dist-cjs/pagination/ListRecordingConfigurationsPaginator.js +0 -10
- package/dist-cjs/pagination/ListStreamKeysPaginator.js +0 -10
- package/dist-cjs/pagination/ListStreamsPaginator.js +0 -10
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -10
- package/dist-cjs/protocols/Aws_restJson1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- 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/models/models_0.d.ts +226 -768
- 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 +3 -3
|
@@ -4,22 +4,13 @@ exports.paginateListRecordingConfigurations = void 0;
|
|
|
4
4
|
const ListRecordingConfigurationsCommand_1 = require("../commands/ListRecordingConfigurationsCommand");
|
|
5
5
|
const Ivs_1 = require("../Ivs");
|
|
6
6
|
const IvsClient_1 = require("../IvsClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListRecordingConfigurationsCommand_1.ListRecordingConfigurationsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listRecordingConfigurations(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListRecordingConfigurations(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListRecordingConfigurations(config, input, ...additional
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListRecordingConfigurations = paginateListRecordingConfigurations;
|
|
@@ -4,22 +4,13 @@ exports.paginateListStreamKeys = void 0;
|
|
|
4
4
|
const ListStreamKeysCommand_1 = require("../commands/ListStreamKeysCommand");
|
|
5
5
|
const Ivs_1 = require("../Ivs");
|
|
6
6
|
const IvsClient_1 = require("../IvsClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListStreamKeysCommand_1.ListStreamKeysCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listStreamKeys(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListStreamKeys(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListStreamKeys(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListStreamKeys = paginateListStreamKeys;
|
|
@@ -4,22 +4,13 @@ exports.paginateListStreams = void 0;
|
|
|
4
4
|
const ListStreamsCommand_1 = require("../commands/ListStreamsCommand");
|
|
5
5
|
const Ivs_1 = require("../Ivs");
|
|
6
6
|
const IvsClient_1 = require("../IvsClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListStreamsCommand_1.ListStreamsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listStreams(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListStreams(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListStreams(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListStreams = paginateListStreams;
|
|
@@ -4,22 +4,13 @@ exports.paginateListTagsForResource = void 0;
|
|
|
4
4
|
const ListTagsForResourceCommand_1 = require("../commands/ListTagsForResourceCommand");
|
|
5
5
|
const Ivs_1 = require("../Ivs");
|
|
6
6
|
const IvsClient_1 = require("../IvsClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListTagsForResourceCommand_1.ListTagsForResourceCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listTagsForResource(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListTagsForResource(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListTagsForResource(config, input, ...additionalArgument
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListTagsForResource = paginateListTagsForResource;
|
|
@@ -2800,14 +2800,12 @@ const deserializeMetadata = (output) => {
|
|
|
2800
2800
|
cfId: output.headers["x-amz-cf-id"],
|
|
2801
2801
|
});
|
|
2802
2802
|
};
|
|
2803
|
-
// Collect low-level response body stream to Uint8Array.
|
|
2804
2803
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
2805
2804
|
if (streamBody instanceof Uint8Array) {
|
|
2806
2805
|
return Promise.resolve(streamBody);
|
|
2807
2806
|
}
|
|
2808
2807
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2809
2808
|
};
|
|
2810
|
-
// Encode Uint8Array data into string with utf-8.
|
|
2811
2809
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2812
2810
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
2813
2811
|
value !== null &&
|
|
@@ -2820,9 +2818,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
2820
2818
|
}
|
|
2821
2819
|
return {};
|
|
2822
2820
|
});
|
|
2823
|
-
/**
|
|
2824
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
2825
|
-
*/
|
|
2826
2821
|
const loadRestJsonErrorCode = (output, data) => {
|
|
2827
2822
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
2828
2823
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
8
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
15
|
const getRuntimeConfig = (config) => {
|
|
20
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
8
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
9
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
17
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
18
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
23
19
|
const getRuntimeConfig = (config) => {
|
|
24
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
25
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpoints_1 = require("./endpoints");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|