@aws-sdk/client-mediatailor 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/ConfigureLogsForChannelCommand.js +18 -41
- package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js +18 -41
- package/dist-cjs/commands/CreateChannelCommand.js +18 -41
- package/dist-cjs/commands/CreateLiveSourceCommand.js +18 -41
- package/dist-cjs/commands/CreatePrefetchScheduleCommand.js +18 -41
- package/dist-cjs/commands/CreateProgramCommand.js +18 -41
- package/dist-cjs/commands/CreateSourceLocationCommand.js +18 -41
- package/dist-cjs/commands/CreateVodSourceCommand.js +18 -41
- package/dist-cjs/commands/DeleteChannelCommand.js +18 -41
- package/dist-cjs/commands/DeleteChannelPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteLiveSourceCommand.js +18 -41
- package/dist-cjs/commands/DeletePlaybackConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeletePrefetchScheduleCommand.js +18 -41
- package/dist-cjs/commands/DeleteProgramCommand.js +18 -41
- package/dist-cjs/commands/DeleteSourceLocationCommand.js +18 -41
- package/dist-cjs/commands/DeleteVodSourceCommand.js +18 -41
- package/dist-cjs/commands/DescribeChannelCommand.js +18 -41
- package/dist-cjs/commands/DescribeLiveSourceCommand.js +18 -41
- package/dist-cjs/commands/DescribeProgramCommand.js +18 -41
- package/dist-cjs/commands/DescribeSourceLocationCommand.js +18 -41
- package/dist-cjs/commands/DescribeVodSourceCommand.js +18 -41
- package/dist-cjs/commands/GetChannelPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetChannelScheduleCommand.js +18 -41
- package/dist-cjs/commands/GetPlaybackConfigurationCommand.js +18 -41
- package/dist-cjs/commands/GetPrefetchScheduleCommand.js +18 -41
- package/dist-cjs/commands/ListAlertsCommand.js +18 -41
- package/dist-cjs/commands/ListChannelsCommand.js +18 -41
- package/dist-cjs/commands/ListLiveSourcesCommand.js +18 -41
- package/dist-cjs/commands/ListPlaybackConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/ListPrefetchSchedulesCommand.js +18 -41
- package/dist-cjs/commands/ListSourceLocationsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListVodSourcesCommand.js +18 -41
- package/dist-cjs/commands/PutChannelPolicyCommand.js +18 -41
- package/dist-cjs/commands/PutPlaybackConfigurationCommand.js +18 -41
- package/dist-cjs/commands/StartChannelCommand.js +18 -41
- package/dist-cjs/commands/StopChannelCommand.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/commands/UpdateLiveSourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateProgramCommand.js +18 -41
- package/dist-cjs/commands/UpdateSourceLocationCommand.js +18 -41
- package/dist-cjs/commands/UpdateVodSourceCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/GetChannelSchedulePaginator.js +2 -24
- package/dist-cjs/pagination/ListAlertsPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelsPaginator.js +2 -24
- package/dist-cjs/pagination/ListLiveSourcesPaginator.js +2 -24
- package/dist-cjs/pagination/ListPlaybackConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPrefetchSchedulesPaginator.js +2 -24
- package/dist-cjs/pagination/ListSourceLocationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListVodSourcesPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +5 -0
- package/dist-es/commands/ConfigureLogsForChannelCommand.js +18 -41
- package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +18 -41
- package/dist-es/commands/CreateChannelCommand.js +18 -41
- package/dist-es/commands/CreateLiveSourceCommand.js +18 -41
- package/dist-es/commands/CreatePrefetchScheduleCommand.js +18 -41
- package/dist-es/commands/CreateProgramCommand.js +18 -41
- package/dist-es/commands/CreateSourceLocationCommand.js +18 -41
- package/dist-es/commands/CreateVodSourceCommand.js +18 -41
- package/dist-es/commands/DeleteChannelCommand.js +18 -41
- package/dist-es/commands/DeleteChannelPolicyCommand.js +18 -41
- package/dist-es/commands/DeleteLiveSourceCommand.js +18 -41
- package/dist-es/commands/DeletePlaybackConfigurationCommand.js +18 -41
- package/dist-es/commands/DeletePrefetchScheduleCommand.js +18 -41
- package/dist-es/commands/DeleteProgramCommand.js +18 -41
- package/dist-es/commands/DeleteSourceLocationCommand.js +18 -41
- package/dist-es/commands/DeleteVodSourceCommand.js +18 -41
- package/dist-es/commands/DescribeChannelCommand.js +18 -41
- package/dist-es/commands/DescribeLiveSourceCommand.js +18 -41
- package/dist-es/commands/DescribeProgramCommand.js +18 -41
- package/dist-es/commands/DescribeSourceLocationCommand.js +18 -41
- package/dist-es/commands/DescribeVodSourceCommand.js +18 -41
- package/dist-es/commands/GetChannelPolicyCommand.js +18 -41
- package/dist-es/commands/GetChannelScheduleCommand.js +18 -41
- package/dist-es/commands/GetPlaybackConfigurationCommand.js +18 -41
- package/dist-es/commands/GetPrefetchScheduleCommand.js +18 -41
- package/dist-es/commands/ListAlertsCommand.js +18 -41
- package/dist-es/commands/ListChannelsCommand.js +18 -41
- package/dist-es/commands/ListLiveSourcesCommand.js +18 -41
- package/dist-es/commands/ListPlaybackConfigurationsCommand.js +18 -41
- package/dist-es/commands/ListPrefetchSchedulesCommand.js +18 -41
- package/dist-es/commands/ListSourceLocationsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListVodSourcesCommand.js +18 -41
- package/dist-es/commands/PutChannelPolicyCommand.js +18 -41
- package/dist-es/commands/PutPlaybackConfigurationCommand.js +18 -41
- package/dist-es/commands/StartChannelCommand.js +18 -41
- package/dist-es/commands/StopChannelCommand.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/commands/UpdateLiveSourceCommand.js +18 -41
- package/dist-es/commands/UpdateProgramCommand.js +18 -41
- package/dist-es/commands/UpdateSourceLocationCommand.js +18 -41
- package/dist-es/commands/UpdateVodSourceCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/GetChannelSchedulePaginator.js +2 -23
- package/dist-es/pagination/ListAlertsPaginator.js +2 -23
- package/dist-es/pagination/ListChannelsPaginator.js +2 -23
- package/dist-es/pagination/ListLiveSourcesPaginator.js +2 -23
- package/dist-es/pagination/ListPlaybackConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/ListPrefetchSchedulesPaginator.js +2 -23
- package/dist-es/pagination/ListSourceLocationsPaginator.js +2 -23
- package/dist-es/pagination/ListVodSourcesPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +5 -0
- package/dist-types/commands/ConfigureLogsForChannelCommand.d.ts +6 -21
- package/dist-types/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/CreateChannelCommand.d.ts +12 -21
- package/dist-types/commands/CreateLiveSourceCommand.d.ts +6 -21
- package/dist-types/commands/CreatePrefetchScheduleCommand.d.ts +6 -21
- package/dist-types/commands/CreateProgramCommand.d.ts +6 -21
- package/dist-types/commands/CreateSourceLocationCommand.d.ts +6 -21
- package/dist-types/commands/CreateVodSourceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteChannelCommand.d.ts +6 -21
- package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteLiveSourceCommand.d.ts +6 -21
- package/dist-types/commands/DeletePlaybackConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeletePrefetchScheduleCommand.d.ts +6 -21
- package/dist-types/commands/DeleteProgramCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSourceLocationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteVodSourceCommand.d.ts +6 -21
- package/dist-types/commands/DescribeChannelCommand.d.ts +9 -21
- package/dist-types/commands/DescribeLiveSourceCommand.d.ts +6 -21
- package/dist-types/commands/DescribeProgramCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSourceLocationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeVodSourceCommand.d.ts +6 -21
- package/dist-types/commands/GetChannelPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetChannelScheduleCommand.d.ts +6 -21
- package/dist-types/commands/GetPlaybackConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/GetPrefetchScheduleCommand.d.ts +6 -21
- package/dist-types/commands/ListAlertsCommand.d.ts +6 -21
- package/dist-types/commands/ListChannelsCommand.d.ts +6 -21
- package/dist-types/commands/ListLiveSourcesCommand.d.ts +6 -21
- package/dist-types/commands/ListPlaybackConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/ListPrefetchSchedulesCommand.d.ts +6 -21
- package/dist-types/commands/ListSourceLocationsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListVodSourcesCommand.d.ts +6 -21
- package/dist-types/commands/PutChannelPolicyCommand.d.ts +6 -21
- package/dist-types/commands/PutPlaybackConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/StartChannelCommand.d.ts +6 -21
- package/dist-types/commands/StopChannelCommand.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 +12 -21
- package/dist-types/commands/UpdateLiveSourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateProgramCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSourceLocationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateVodSourceCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/models/models_0.d.ts +51 -0
- package/dist-types/pagination/GetChannelSchedulePaginator.d.ts +1 -1
- package/dist-types/pagination/ListAlertsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLiveSourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPlaybackConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPrefetchSchedulesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSourceLocationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVodSourcesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/ConfigureLogsForChannelCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateLiveSourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreatePrefetchScheduleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateProgramCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateSourceLocationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateVodSourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteChannelPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteLiveSourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeletePlaybackConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeletePrefetchScheduleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteProgramCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteSourceLocationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteVodSourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeLiveSourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeProgramCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeSourceLocationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeVodSourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetChannelPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetChannelScheduleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetPlaybackConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetPrefetchScheduleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAlertsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListLiveSourcesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPlaybackConfigurationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListPrefetchSchedulesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSourceLocationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListVodSourcesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutChannelPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutPlaybackConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopChannelCommand.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/commands/UpdateLiveSourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateProgramCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateSourceLocationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateVodSourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/dist-types/ts3.4/pagination/GetChannelSchedulePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAlertsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLiveSourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPlaybackConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPrefetchSchedulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSourceLocationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVodSourcesPaginator.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_UpdateSourceLocationCommand, se_UpdateSourceLocationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateSourceLocationCommand 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 = "MediaTailorClient";
|
|
26
|
-
const commandName = "UpdateSourceLocationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MediaTailor",
|
|
35
|
-
operation: "UpdateSourceLocation",
|
|
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_UpdateSourceLocationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateSourceLocationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateSourceLocationCommand 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("MediaTailor", "UpdateSourceLocation", {})
|
|
19
|
+
.n("MediaTailorClient", "UpdateSourceLocationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateSourceLocationCommand)
|
|
22
|
+
.de(de_UpdateSourceLocationCommand)
|
|
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_UpdateVodSourceCommand, se_UpdateVodSourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateVodSourceCommand 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 = "MediaTailorClient";
|
|
26
|
-
const commandName = "UpdateVodSourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MediaTailor",
|
|
35
|
-
operation: "UpdateVodSource",
|
|
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_UpdateVodSourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateVodSourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateVodSourceCommand 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("MediaTailor", "UpdateVodSource", {})
|
|
19
|
+
.n("MediaTailorClient", "UpdateVodSourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateVodSourceCommand)
|
|
22
|
+
.de(de_UpdateVodSourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "mediatailor",
|
|
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 { GetChannelScheduleCommand, } from "../commands/GetChannelScheduleCommand";
|
|
2
3
|
import { MediaTailorClient } from "../MediaTailorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetChannelScheduleCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetChannelSchedule(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 MediaTailorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
|
|
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 paginateGetChannelSchedule = createPaginator(MediaTailorClient, GetChannelScheduleCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAlertsCommand } from "../commands/ListAlertsCommand";
|
|
2
3
|
import { MediaTailorClient } from "../MediaTailorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAlertsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAlerts(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 MediaTailorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
|
|
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 paginateListAlerts = createPaginator(MediaTailorClient, ListAlertsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListChannelsCommand, } from "../commands/ListChannelsCommand";
|
|
2
3
|
import { MediaTailorClient } from "../MediaTailorClient";
|
|
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 MediaTailorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
|
|
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(MediaTailorClient, ListChannelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListLiveSourcesCommand, } from "../commands/ListLiveSourcesCommand";
|
|
2
3
|
import { MediaTailorClient } from "../MediaTailorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListLiveSourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListLiveSources(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 MediaTailorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
|
|
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 paginateListLiveSources = createPaginator(MediaTailorClient, ListLiveSourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPlaybackConfigurationsCommand, } from "../commands/ListPlaybackConfigurationsCommand";
|
|
2
3
|
import { MediaTailorClient } from "../MediaTailorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPlaybackConfigurationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPlaybackConfigurations(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 MediaTailorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
|
|
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 paginateListPlaybackConfigurations = createPaginator(MediaTailorClient, ListPlaybackConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPrefetchSchedulesCommand, } from "../commands/ListPrefetchSchedulesCommand";
|
|
2
3
|
import { MediaTailorClient } from "../MediaTailorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPrefetchSchedulesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPrefetchSchedules(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 MediaTailorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
|
|
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 paginateListPrefetchSchedules = createPaginator(MediaTailorClient, ListPrefetchSchedulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListSourceLocationsCommand, } from "../commands/ListSourceLocationsCommand";
|
|
2
3
|
import { MediaTailorClient } from "../MediaTailorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListSourceLocationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListSourceLocations(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 MediaTailorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
|
|
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 paginateListSourceLocations = createPaginator(MediaTailorClient, ListSourceLocationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListVodSourcesCommand, } from "../commands/ListVodSourcesCommand";
|
|
2
3
|
import { MediaTailorClient } from "../MediaTailorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListVodSourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListVodSources(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 MediaTailorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MediaTailor | MediaTailorClient");
|
|
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 paginateListVodSources = createPaginator(MediaTailorClient, ListVodSourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -44,6 +44,7 @@ export const se_CreateChannelCommand = async (input, context) => {
|
|
|
44
44
|
PlaybackMode: [],
|
|
45
45
|
tags: [, (_) => _json(_), `Tags`],
|
|
46
46
|
Tier: [],
|
|
47
|
+
TimeShiftConfiguration: (_) => _json(_),
|
|
47
48
|
}));
|
|
48
49
|
b.m("POST").h(headers).b(body);
|
|
49
50
|
return b.build();
|
|
@@ -498,6 +499,7 @@ export const se_UpdateChannelCommand = async (input, context) => {
|
|
|
498
499
|
body = JSON.stringify(take(input, {
|
|
499
500
|
FillerSlate: (_) => _json(_),
|
|
500
501
|
Outputs: (_) => _json(_),
|
|
502
|
+
TimeShiftConfiguration: (_) => _json(_),
|
|
501
503
|
}));
|
|
502
504
|
b.m("PUT").h(headers).b(body);
|
|
503
505
|
return b.build();
|
|
@@ -640,6 +642,7 @@ export const de_CreateChannelCommand = async (output, context) => {
|
|
|
640
642
|
PlaybackMode: __expectString,
|
|
641
643
|
Tags: [, _json, `tags`],
|
|
642
644
|
Tier: __expectString,
|
|
645
|
+
TimeShiftConfiguration: _json,
|
|
643
646
|
});
|
|
644
647
|
Object.assign(contents, doc);
|
|
645
648
|
return contents;
|
|
@@ -1031,6 +1034,7 @@ export const de_DescribeChannelCommand = async (output, context) => {
|
|
|
1031
1034
|
PlaybackMode: __expectString,
|
|
1032
1035
|
Tags: [, _json, `tags`],
|
|
1033
1036
|
Tier: __expectString,
|
|
1037
|
+
TimeShiftConfiguration: _json,
|
|
1034
1038
|
});
|
|
1035
1039
|
Object.assign(contents, doc);
|
|
1036
1040
|
return contents;
|
|
@@ -1739,6 +1743,7 @@ export const de_UpdateChannelCommand = async (output, context) => {
|
|
|
1739
1743
|
PlaybackMode: __expectString,
|
|
1740
1744
|
Tags: [, _json, `tags`],
|
|
1741
1745
|
Tier: __expectString,
|
|
1746
|
+
TimeShiftConfiguration: _json,
|
|
1742
1747
|
});
|
|
1743
1748
|
Object.assign(contents, doc);
|
|
1744
1749
|
return contents;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
|
|
5
4
|
import { ConfigureLogsForChannelRequest, ConfigureLogsForChannelResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ConfigureLogsForChannelCommandInput extends ConfigureLogsForCha
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ConfigureLogsForChannelCommandOutput extends ConfigureLogsForChannelResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ConfigureLogsForChannelCommand_base: {
|
|
24
|
+
new (input: ConfigureLogsForChannelCommandInput): import("@smithy/smithy-client").CommandImpl<ConfigureLogsForChannelCommandInput, ConfigureLogsForChannelCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Configures Amazon CloudWatch log settings for a channel.</p>
|
|
@@ -57,23 +60,5 @@ export interface ConfigureLogsForChannelCommandOutput extends ConfigureLogsForCh
|
|
|
57
60
|
* <p>Base exception class for all service exceptions from MediaTailor service.</p>
|
|
58
61
|
*
|
|
59
62
|
*/
|
|
60
|
-
export declare class ConfigureLogsForChannelCommand extends
|
|
61
|
-
readonly input: ConfigureLogsForChannelCommandInput;
|
|
62
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
63
|
-
/**
|
|
64
|
-
* @public
|
|
65
|
-
*/
|
|
66
|
-
constructor(input: ConfigureLogsForChannelCommandInput);
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaTailorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ConfigureLogsForChannelCommandInput, ConfigureLogsForChannelCommandOutput>;
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
74
|
-
private serialize;
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
private deserialize;
|
|
63
|
+
export declare class ConfigureLogsForChannelCommand extends ConfigureLogsForChannelCommand_base {
|
|
79
64
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
|
|
5
4
|
import { ConfigureLogsForPlaybackConfigurationRequest, ConfigureLogsForPlaybackConfigurationResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ConfigureLogsForPlaybackConfigurationCommandInput extends Confi
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ConfigureLogsForPlaybackConfigurationCommandOutput extends ConfigureLogsForPlaybackConfigurationResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ConfigureLogsForPlaybackConfigurationCommand_base: {
|
|
24
|
+
new (input: ConfigureLogsForPlaybackConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<ConfigureLogsForPlaybackConfigurationCommandInput, ConfigureLogsForPlaybackConfigurationCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Amazon CloudWatch log settings for a playback configuration.</p>
|
|
@@ -53,23 +56,5 @@ export interface ConfigureLogsForPlaybackConfigurationCommandOutput extends Conf
|
|
|
53
56
|
* <p>Base exception class for all service exceptions from MediaTailor service.</p>
|
|
54
57
|
*
|
|
55
58
|
*/
|
|
56
|
-
export declare class ConfigureLogsForPlaybackConfigurationCommand extends
|
|
57
|
-
readonly input: ConfigureLogsForPlaybackConfigurationCommandInput;
|
|
58
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
59
|
-
/**
|
|
60
|
-
* @public
|
|
61
|
-
*/
|
|
62
|
-
constructor(input: ConfigureLogsForPlaybackConfigurationCommandInput);
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaTailorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ConfigureLogsForPlaybackConfigurationCommandInput, ConfigureLogsForPlaybackConfigurationCommandOutput>;
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
private serialize;
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
74
|
-
private deserialize;
|
|
59
|
+
export declare class ConfigureLogsForPlaybackConfigurationCommand extends ConfigureLogsForPlaybackConfigurationCommand_base {
|
|
75
60
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
|
|
5
4
|
import { CreateChannelRequest, CreateChannelResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateChannelCommandInput extends CreateChannelRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateChannelCommandOutput extends CreateChannelResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateChannelCommand_base: {
|
|
24
|
+
new (input: CreateChannelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChannelCommandInput, CreateChannelCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a channel. For information about MediaTailor channels, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-channels.html">Working with channels</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
@@ -59,6 +62,9 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
|
|
|
59
62
|
* "<keys>": "STRING_VALUE",
|
|
60
63
|
* },
|
|
61
64
|
* Tier: "BASIC" || "STANDARD",
|
|
65
|
+
* TimeShiftConfiguration: { // TimeShiftConfiguration
|
|
66
|
+
* MaxTimeDelaySeconds: Number("int"), // required
|
|
67
|
+
* },
|
|
62
68
|
* };
|
|
63
69
|
* const command = new CreateChannelCommand(input);
|
|
64
70
|
* const response = await client.send(command);
|
|
@@ -96,6 +102,9 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
|
|
|
96
102
|
* // "<keys>": "STRING_VALUE",
|
|
97
103
|
* // },
|
|
98
104
|
* // Tier: "STRING_VALUE",
|
|
105
|
+
* // TimeShiftConfiguration: { // TimeShiftConfiguration
|
|
106
|
+
* // MaxTimeDelaySeconds: Number("int"), // required
|
|
107
|
+
* // },
|
|
99
108
|
* // };
|
|
100
109
|
*
|
|
101
110
|
* ```
|
|
@@ -110,23 +119,5 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
|
|
|
110
119
|
* <p>Base exception class for all service exceptions from MediaTailor service.</p>
|
|
111
120
|
*
|
|
112
121
|
*/
|
|
113
|
-
export declare class CreateChannelCommand extends
|
|
114
|
-
readonly input: CreateChannelCommandInput;
|
|
115
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
116
|
-
/**
|
|
117
|
-
* @public
|
|
118
|
-
*/
|
|
119
|
-
constructor(input: CreateChannelCommandInput);
|
|
120
|
-
/**
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaTailorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateChannelCommandInput, CreateChannelCommandOutput>;
|
|
124
|
-
/**
|
|
125
|
-
* @internal
|
|
126
|
-
*/
|
|
127
|
-
private serialize;
|
|
128
|
-
/**
|
|
129
|
-
* @internal
|
|
130
|
-
*/
|
|
131
|
-
private deserialize;
|
|
122
|
+
export declare class CreateChannelCommand extends CreateChannelCommand_base {
|
|
132
123
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
|
|
5
4
|
import { CreateLiveSourceRequest, CreateLiveSourceResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateLiveSourceCommandInput extends CreateLiveSourceRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateLiveSourceCommandOutput extends CreateLiveSourceResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateLiveSourceCommand_base: {
|
|
24
|
+
new (input: CreateLiveSourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLiveSourceCommandInput, CreateLiveSourceCommandOutput, MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>The live source configuration.</p>
|
|
@@ -76,23 +79,5 @@ export interface CreateLiveSourceCommandOutput extends CreateLiveSourceResponse,
|
|
|
76
79
|
* <p>Base exception class for all service exceptions from MediaTailor service.</p>
|
|
77
80
|
*
|
|
78
81
|
*/
|
|
79
|
-
export declare class CreateLiveSourceCommand extends
|
|
80
|
-
readonly input: CreateLiveSourceCommandInput;
|
|
81
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
82
|
-
/**
|
|
83
|
-
* @public
|
|
84
|
-
*/
|
|
85
|
-
constructor(input: CreateLiveSourceCommandInput);
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaTailorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLiveSourceCommandInput, CreateLiveSourceCommandOutput>;
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
93
|
-
private serialize;
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
97
|
-
private deserialize;
|
|
82
|
+
export declare class CreateLiveSourceCommand extends CreateLiveSourceCommand_base {
|
|
98
83
|
}
|