@aws-sdk/client-ivs 3.477.0 → 3.481.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/BatchGetChannelCommand.js +18 -41
- package/dist-cjs/commands/BatchGetStreamKeyCommand.js +18 -41
- package/dist-cjs/commands/BatchStartViewerSessionRevocationCommand.js +18 -41
- package/dist-cjs/commands/CreateChannelCommand.js +18 -41
- package/dist-cjs/commands/CreateRecordingConfigurationCommand.js +18 -41
- package/dist-cjs/commands/CreateStreamKeyCommand.js +18 -41
- package/dist-cjs/commands/DeleteChannelCommand.js +18 -41
- package/dist-cjs/commands/DeletePlaybackKeyPairCommand.js +18 -41
- package/dist-cjs/commands/DeleteRecordingConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeleteStreamKeyCommand.js +18 -41
- package/dist-cjs/commands/GetChannelCommand.js +18 -41
- package/dist-cjs/commands/GetPlaybackKeyPairCommand.js +18 -41
- package/dist-cjs/commands/GetRecordingConfigurationCommand.js +18 -41
- package/dist-cjs/commands/GetStreamCommand.js +18 -41
- package/dist-cjs/commands/GetStreamKeyCommand.js +18 -41
- package/dist-cjs/commands/GetStreamSessionCommand.js +18 -41
- package/dist-cjs/commands/ImportPlaybackKeyPairCommand.js +18 -41
- package/dist-cjs/commands/ListChannelsCommand.js +18 -41
- package/dist-cjs/commands/ListPlaybackKeyPairsCommand.js +18 -41
- package/dist-cjs/commands/ListRecordingConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/ListStreamKeysCommand.js +18 -41
- package/dist-cjs/commands/ListStreamSessionsCommand.js +18 -41
- package/dist-cjs/commands/ListStreamsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/PutMetadataCommand.js +18 -41
- package/dist-cjs/commands/StartViewerSessionRevocationCommand.js +18 -41
- package/dist-cjs/commands/StopStreamCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateChannelCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListChannelsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPlaybackKeyPairsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRecordingConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListStreamKeysPaginator.js +2 -24
- package/dist-cjs/pagination/ListStreamSessionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListStreamsPaginator.js +2 -24
- package/dist-es/commands/BatchGetChannelCommand.js +18 -41
- package/dist-es/commands/BatchGetStreamKeyCommand.js +18 -41
- package/dist-es/commands/BatchStartViewerSessionRevocationCommand.js +18 -41
- package/dist-es/commands/CreateChannelCommand.js +18 -41
- package/dist-es/commands/CreateRecordingConfigurationCommand.js +18 -41
- package/dist-es/commands/CreateStreamKeyCommand.js +18 -41
- package/dist-es/commands/DeleteChannelCommand.js +18 -41
- package/dist-es/commands/DeletePlaybackKeyPairCommand.js +18 -41
- package/dist-es/commands/DeleteRecordingConfigurationCommand.js +18 -41
- package/dist-es/commands/DeleteStreamKeyCommand.js +18 -41
- package/dist-es/commands/GetChannelCommand.js +18 -41
- package/dist-es/commands/GetPlaybackKeyPairCommand.js +18 -41
- package/dist-es/commands/GetRecordingConfigurationCommand.js +18 -41
- package/dist-es/commands/GetStreamCommand.js +18 -41
- package/dist-es/commands/GetStreamKeyCommand.js +18 -41
- package/dist-es/commands/GetStreamSessionCommand.js +18 -41
- package/dist-es/commands/ImportPlaybackKeyPairCommand.js +18 -41
- package/dist-es/commands/ListChannelsCommand.js +18 -41
- package/dist-es/commands/ListPlaybackKeyPairsCommand.js +18 -41
- package/dist-es/commands/ListRecordingConfigurationsCommand.js +18 -41
- package/dist-es/commands/ListStreamKeysCommand.js +18 -41
- package/dist-es/commands/ListStreamSessionsCommand.js +18 -41
- package/dist-es/commands/ListStreamsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/PutMetadataCommand.js +18 -41
- package/dist-es/commands/StartViewerSessionRevocationCommand.js +18 -41
- package/dist-es/commands/StopStreamCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateChannelCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListChannelsPaginator.js +2 -23
- package/dist-es/pagination/ListPlaybackKeyPairsPaginator.js +2 -23
- package/dist-es/pagination/ListRecordingConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/ListStreamKeysPaginator.js +2 -23
- package/dist-es/pagination/ListStreamSessionsPaginator.js +2 -23
- package/dist-es/pagination/ListStreamsPaginator.js +2 -23
- package/dist-types/commands/BatchGetChannelCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetStreamKeyCommand.d.ts +6 -21
- package/dist-types/commands/BatchStartViewerSessionRevocationCommand.d.ts +6 -21
- package/dist-types/commands/CreateChannelCommand.d.ts +6 -21
- package/dist-types/commands/CreateRecordingConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/CreateStreamKeyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteChannelCommand.d.ts +6 -21
- package/dist-types/commands/DeletePlaybackKeyPairCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRecordingConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteStreamKeyCommand.d.ts +6 -21
- package/dist-types/commands/GetChannelCommand.d.ts +6 -21
- package/dist-types/commands/GetPlaybackKeyPairCommand.d.ts +6 -21
- package/dist-types/commands/GetRecordingConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/GetStreamCommand.d.ts +6 -21
- package/dist-types/commands/GetStreamKeyCommand.d.ts +6 -21
- package/dist-types/commands/GetStreamSessionCommand.d.ts +6 -21
- package/dist-types/commands/ImportPlaybackKeyPairCommand.d.ts +6 -21
- package/dist-types/commands/ListChannelsCommand.d.ts +6 -21
- package/dist-types/commands/ListPlaybackKeyPairsCommand.d.ts +6 -21
- package/dist-types/commands/ListRecordingConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/ListStreamKeysCommand.d.ts +6 -21
- package/dist-types/commands/ListStreamSessionsCommand.d.ts +6 -21
- package/dist-types/commands/ListStreamsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/PutMetadataCommand.d.ts +6 -21
- package/dist-types/commands/StartViewerSessionRevocationCommand.d.ts +6 -21
- package/dist-types/commands/StopStreamCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateChannelCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListChannelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPlaybackKeyPairsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecordingConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListStreamKeysPaginator.d.ts +1 -1
- package/dist-types/pagination/ListStreamSessionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListStreamsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchGetChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchGetStreamKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchStartViewerSessionRevocationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRecordingConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateStreamKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeletePlaybackKeyPairCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteRecordingConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteStreamKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetPlaybackKeyPairCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetRecordingConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetStreamKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetStreamSessionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ImportPlaybackKeyPairCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPlaybackKeyPairsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRecordingConfigurationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListStreamKeysCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListStreamSessionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutMetadataCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartViewerSessionRevocationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopStreamCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPlaybackKeyPairsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRecordingConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListStreamKeysPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListStreamSessionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListStreamsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListStreamSessionsCommand, se_ListStreamSessionsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListStreamSessionsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "IvsClient";
|
|
26
|
-
const commandName = "ListStreamSessionsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonInteractiveVideoService",
|
|
35
|
-
operation: "ListStreamSessions",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListStreamSessionsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListStreamSessionsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListStreamSessionsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonInteractiveVideoService", "ListStreamSessions", {})
|
|
19
|
+
.n("IvsClient", "ListStreamSessionsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListStreamSessionsCommand)
|
|
22
|
+
.de(de_ListStreamSessionsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListStreamsCommand, se_ListStreamsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListStreamsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "IvsClient";
|
|
26
|
-
const commandName = "ListStreamsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonInteractiveVideoService",
|
|
35
|
-
operation: "ListStreams",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListStreamsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListStreamsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListStreamsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonInteractiveVideoService", "ListStreams", {})
|
|
19
|
+
.n("IvsClient", "ListStreamsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListStreamsCommand)
|
|
22
|
+
.de(de_ListStreamsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListTagsForResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "IvsClient";
|
|
26
|
-
const commandName = "ListTagsForResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonInteractiveVideoService",
|
|
35
|
-
operation: "ListTagsForResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListTagsForResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListTagsForResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListTagsForResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonInteractiveVideoService", "ListTagsForResource", {})
|
|
19
|
+
.n("IvsClient", "ListTagsForResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListTagsForResourceCommand)
|
|
22
|
+
.de(de_ListTagsForResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { PutMetadataRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { de_PutMetadataCommand, se_PutMetadataCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class PutMetadataCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "IvsClient";
|
|
27
|
-
const commandName = "PutMetadataCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: PutMetadataRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AmazonInteractiveVideoService",
|
|
36
|
-
operation: "PutMetadata",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_PutMetadataCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_PutMetadataCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class PutMetadataCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AmazonInteractiveVideoService", "PutMetadata", {})
|
|
20
|
+
.n("IvsClient", "PutMetadataCommand")
|
|
21
|
+
.f(PutMetadataRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_PutMetadataCommand)
|
|
23
|
+
.de(de_PutMetadataCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_StartViewerSessionRevocationCommand, se_StartViewerSessionRevocationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StartViewerSessionRevocationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "IvsClient";
|
|
26
|
-
const commandName = "StartViewerSessionRevocationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonInteractiveVideoService",
|
|
35
|
-
operation: "StartViewerSessionRevocation",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StartViewerSessionRevocationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StartViewerSessionRevocationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StartViewerSessionRevocationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonInteractiveVideoService", "StartViewerSessionRevocation", {})
|
|
19
|
+
.n("IvsClient", "StartViewerSessionRevocationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartViewerSessionRevocationCommand)
|
|
22
|
+
.de(de_StartViewerSessionRevocationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_StopStreamCommand, se_StopStreamCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StopStreamCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "IvsClient";
|
|
26
|
-
const commandName = "StopStreamCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonInteractiveVideoService",
|
|
35
|
-
operation: "StopStream",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StopStreamCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StopStreamCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StopStreamCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonInteractiveVideoService", "StopStream", {})
|
|
19
|
+
.n("IvsClient", "StopStreamCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StopStreamCommand)
|
|
22
|
+
.de(de_StopStreamCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "IvsClient";
|
|
26
|
-
const commandName = "TagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonInteractiveVideoService",
|
|
35
|
-
operation: "TagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_TagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_TagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonInteractiveVideoService", "TagResource", {})
|
|
19
|
+
.n("IvsClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "IvsClient";
|
|
26
|
-
const commandName = "UntagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonInteractiveVideoService",
|
|
35
|
-
operation: "UntagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UntagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UntagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonInteractiveVideoService", "UntagResource", {})
|
|
19
|
+
.n("IvsClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateChannelCommand, se_UpdateChannelCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateChannelCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "IvsClient";
|
|
26
|
-
const commandName = "UpdateChannelCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonInteractiveVideoService",
|
|
35
|
-
operation: "UpdateChannel",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateChannelCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateChannelCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateChannelCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonInteractiveVideoService", "UpdateChannel", {})
|
|
19
|
+
.n("IvsClient", "UpdateChannelCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateChannelCommand)
|
|
22
|
+
.de(de_UpdateChannelCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "ivs",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListChannelsCommand, } from "../commands/ListChannelsCommand";
|
|
2
3
|
import { IvsClient } from "../IvsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListChannelsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListChannels(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IvsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Ivs | IvsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListChannels = createPaginator(IvsClient, ListChannelsCommand, "nextToken", "nextToken", "maxResults");
|