@aws-sdk/client-mediatailor 3.35.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist-cjs/MediaTailor.js +0 -1
- package/dist-cjs/MediaTailorClient.js +0 -1
- package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js +0 -1
- package/dist-cjs/commands/CreateChannelCommand.js +0 -1
- package/dist-cjs/commands/CreateProgramCommand.js +0 -1
- package/dist-cjs/commands/CreateSourceLocationCommand.js +0 -1
- package/dist-cjs/commands/CreateVodSourceCommand.js +0 -1
- package/dist-cjs/commands/DeleteChannelCommand.js +0 -1
- package/dist-cjs/commands/DeleteChannelPolicyCommand.js +0 -1
- package/dist-cjs/commands/DeletePlaybackConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DeleteProgramCommand.js +0 -1
- package/dist-cjs/commands/DeleteSourceLocationCommand.js +0 -1
- package/dist-cjs/commands/DeleteVodSourceCommand.js +0 -1
- package/dist-cjs/commands/DescribeChannelCommand.js +0 -1
- package/dist-cjs/commands/DescribeProgramCommand.js +0 -1
- package/dist-cjs/commands/DescribeSourceLocationCommand.js +0 -1
- package/dist-cjs/commands/DescribeVodSourceCommand.js +0 -1
- package/dist-cjs/commands/GetChannelPolicyCommand.js +0 -1
- package/dist-cjs/commands/GetChannelScheduleCommand.js +0 -1
- package/dist-cjs/commands/GetPlaybackConfigurationCommand.js +0 -1
- package/dist-cjs/commands/ListAlertsCommand.js +0 -1
- package/dist-cjs/commands/ListChannelsCommand.js +0 -1
- package/dist-cjs/commands/ListPlaybackConfigurationsCommand.js +0 -1
- package/dist-cjs/commands/ListSourceLocationsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListVodSourcesCommand.js +0 -1
- package/dist-cjs/commands/PutChannelPolicyCommand.js +0 -1
- package/dist-cjs/commands/PutPlaybackConfigurationCommand.js +0 -1
- package/dist-cjs/commands/StartChannelCommand.js +0 -1
- package/dist-cjs/commands/StopChannelCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateChannelCommand.js +0 -1
- package/dist-cjs/commands/UpdateSourceLocationCommand.js +0 -1
- package/dist-cjs/commands/UpdateVodSourceCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/GetChannelSchedulePaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAlertsPaginator.js +0 -1
- package/dist-cjs/pagination/ListChannelsPaginator.js +0 -1
- package/dist-cjs/pagination/ListPlaybackConfigurationsPaginator.js +0 -1
- package/dist-cjs/pagination/ListSourceLocationsPaginator.js +0 -1
- package/dist-cjs/pagination/ListVodSourcesPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/MediaTailor.js +0 -1
- package/dist-es/MediaTailorClient.js +0 -1
- package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +0 -1
- package/dist-es/commands/CreateChannelCommand.js +0 -1
- package/dist-es/commands/CreateProgramCommand.js +0 -1
- package/dist-es/commands/CreateSourceLocationCommand.js +0 -1
- package/dist-es/commands/CreateVodSourceCommand.js +0 -1
- package/dist-es/commands/DeleteChannelCommand.js +0 -1
- package/dist-es/commands/DeleteChannelPolicyCommand.js +0 -1
- package/dist-es/commands/DeletePlaybackConfigurationCommand.js +0 -1
- package/dist-es/commands/DeleteProgramCommand.js +0 -1
- package/dist-es/commands/DeleteSourceLocationCommand.js +0 -1
- package/dist-es/commands/DeleteVodSourceCommand.js +0 -1
- package/dist-es/commands/DescribeChannelCommand.js +0 -1
- package/dist-es/commands/DescribeProgramCommand.js +0 -1
- package/dist-es/commands/DescribeSourceLocationCommand.js +0 -1
- package/dist-es/commands/DescribeVodSourceCommand.js +0 -1
- package/dist-es/commands/GetChannelPolicyCommand.js +0 -1
- package/dist-es/commands/GetChannelScheduleCommand.js +0 -1
- package/dist-es/commands/GetPlaybackConfigurationCommand.js +0 -1
- package/dist-es/commands/ListAlertsCommand.js +0 -1
- package/dist-es/commands/ListChannelsCommand.js +0 -1
- package/dist-es/commands/ListPlaybackConfigurationsCommand.js +0 -1
- package/dist-es/commands/ListSourceLocationsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListVodSourcesCommand.js +0 -1
- package/dist-es/commands/PutChannelPolicyCommand.js +0 -1
- package/dist-es/commands/PutPlaybackConfigurationCommand.js +0 -1
- package/dist-es/commands/StartChannelCommand.js +0 -1
- package/dist-es/commands/StopChannelCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateChannelCommand.js +0 -1
- package/dist-es/commands/UpdateSourceLocationCommand.js +0 -1
- package/dist-es/commands/UpdateVodSourceCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/GetChannelSchedulePaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAlertsPaginator.js +0 -1
- package/dist-es/pagination/ListChannelsPaginator.js +0 -1
- package/dist-es/pagination/ListPlaybackConfigurationsPaginator.js +0 -1
- package/dist-es/pagination/ListSourceLocationsPaginator.js +0 -1
- package/dist-es/pagination/ListVodSourcesPaginator.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- package/dist-cjs/MediaTailor.js.map +0 -1
- package/dist-cjs/MediaTailorClient.js.map +0 -1
- package/dist-cjs/commands/ConfigureLogsForPlaybackConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/CreateChannelCommand.js.map +0 -1
- package/dist-cjs/commands/CreateProgramCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSourceLocationCommand.js.map +0 -1
- package/dist-cjs/commands/CreateVodSourceCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteChannelCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteChannelPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePlaybackConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteProgramCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSourceLocationCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteVodSourceCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeChannelCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeProgramCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSourceLocationCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeVodSourceCommand.js.map +0 -1
- package/dist-cjs/commands/GetChannelPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetChannelScheduleCommand.js.map +0 -1
- package/dist-cjs/commands/GetPlaybackConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/ListAlertsCommand.js.map +0 -1
- package/dist-cjs/commands/ListChannelsCommand.js.map +0 -1
- package/dist-cjs/commands/ListPlaybackConfigurationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListSourceLocationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListVodSourcesCommand.js.map +0 -1
- package/dist-cjs/commands/PutChannelPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutPlaybackConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/StartChannelCommand.js.map +0 -1
- package/dist-cjs/commands/StopChannelCommand.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/commands/UpdateSourceLocationCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateVodSourceCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/GetChannelSchedulePaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListAlertsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListChannelsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPlaybackConfigurationsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListSourceLocationsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListVodSourcesPaginator.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/MediaTailor.js.map +0 -1
- package/dist-es/MediaTailorClient.js.map +0 -1
- package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js.map +0 -1
- package/dist-es/commands/CreateChannelCommand.js.map +0 -1
- package/dist-es/commands/CreateProgramCommand.js.map +0 -1
- package/dist-es/commands/CreateSourceLocationCommand.js.map +0 -1
- package/dist-es/commands/CreateVodSourceCommand.js.map +0 -1
- package/dist-es/commands/DeleteChannelCommand.js.map +0 -1
- package/dist-es/commands/DeleteChannelPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeletePlaybackConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DeleteProgramCommand.js.map +0 -1
- package/dist-es/commands/DeleteSourceLocationCommand.js.map +0 -1
- package/dist-es/commands/DeleteVodSourceCommand.js.map +0 -1
- package/dist-es/commands/DescribeChannelCommand.js.map +0 -1
- package/dist-es/commands/DescribeProgramCommand.js.map +0 -1
- package/dist-es/commands/DescribeSourceLocationCommand.js.map +0 -1
- package/dist-es/commands/DescribeVodSourceCommand.js.map +0 -1
- package/dist-es/commands/GetChannelPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetChannelScheduleCommand.js.map +0 -1
- package/dist-es/commands/GetPlaybackConfigurationCommand.js.map +0 -1
- package/dist-es/commands/ListAlertsCommand.js.map +0 -1
- package/dist-es/commands/ListChannelsCommand.js.map +0 -1
- package/dist-es/commands/ListPlaybackConfigurationsCommand.js.map +0 -1
- package/dist-es/commands/ListSourceLocationsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListVodSourcesCommand.js.map +0 -1
- package/dist-es/commands/PutChannelPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutPlaybackConfigurationCommand.js.map +0 -1
- package/dist-es/commands/StartChannelCommand.js.map +0 -1
- package/dist-es/commands/StopChannelCommand.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/commands/UpdateSourceLocationCommand.js.map +0 -1
- package/dist-es/commands/UpdateVodSourceCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/GetChannelSchedulePaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListAlertsPaginator.js.map +0 -1
- package/dist-es/pagination/ListChannelsPaginator.js.map +0 -1
- package/dist-es/pagination/ListPlaybackConfigurationsPaginator.js.map +0 -1
- package/dist-es/pagination/ListSourceLocationsPaginator.js.map +0 -1
- package/dist-es/pagination/ListVodSourcesPaginator.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/jest.config.js +0 -4
- package/src/MediaTailor.ts +0 -1195
- package/src/MediaTailorClient.ts +0 -371
- package/src/commands/ConfigureLogsForPlaybackConfigurationCommand.ts +0 -107
- package/src/commands/CreateChannelCommand.ts +0 -95
- package/src/commands/CreateProgramCommand.ts +0 -95
- package/src/commands/CreateSourceLocationCommand.ts +0 -95
- package/src/commands/CreateVodSourceCommand.ts +0 -95
- package/src/commands/DeleteChannelCommand.ts +0 -95
- package/src/commands/DeleteChannelPolicyCommand.ts +0 -95
- package/src/commands/DeletePlaybackConfigurationCommand.ts +0 -100
- package/src/commands/DeleteProgramCommand.ts +0 -95
- package/src/commands/DeleteSourceLocationCommand.ts +0 -95
- package/src/commands/DeleteVodSourceCommand.ts +0 -95
- package/src/commands/DescribeChannelCommand.ts +0 -95
- package/src/commands/DescribeProgramCommand.ts +0 -95
- package/src/commands/DescribeSourceLocationCommand.ts +0 -95
- package/src/commands/DescribeVodSourceCommand.ts +0 -95
- package/src/commands/GetChannelPolicyCommand.ts +0 -95
- package/src/commands/GetChannelScheduleCommand.ts +0 -95
- package/src/commands/GetPlaybackConfigurationCommand.ts +0 -95
- package/src/commands/ListAlertsCommand.ts +0 -95
- package/src/commands/ListChannelsCommand.ts +0 -95
- package/src/commands/ListPlaybackConfigurationsCommand.ts +0 -98
- package/src/commands/ListSourceLocationsCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/ListVodSourcesCommand.ts +0 -95
- package/src/commands/PutChannelPolicyCommand.ts +0 -95
- package/src/commands/PutPlaybackConfigurationCommand.ts +0 -95
- package/src/commands/StartChannelCommand.ts +0 -95
- package/src/commands/StopChannelCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateChannelCommand.ts +0 -95
- package/src/commands/UpdateSourceLocationCommand.ts +0 -95
- package/src/commands/UpdateVodSourceCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -43
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2929
- package/src/pagination/GetChannelSchedulePaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListAlertsPaginator.ts +0 -55
- package/src/pagination/ListChannelsPaginator.ts +0 -59
- package/src/pagination/ListPlaybackConfigurationsPaginator.ts +0 -59
- package/src/pagination/ListSourceLocationsPaginator.ts +0 -59
- package/src/pagination/ListVodSourcesPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -4207
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/src/MediaTailor.ts
DELETED
|
@@ -1,1195 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ConfigureLogsForPlaybackConfigurationCommand,
|
|
5
|
-
ConfigureLogsForPlaybackConfigurationCommandInput,
|
|
6
|
-
ConfigureLogsForPlaybackConfigurationCommandOutput,
|
|
7
|
-
} from "./commands/ConfigureLogsForPlaybackConfigurationCommand";
|
|
8
|
-
import {
|
|
9
|
-
CreateChannelCommand,
|
|
10
|
-
CreateChannelCommandInput,
|
|
11
|
-
CreateChannelCommandOutput,
|
|
12
|
-
} from "./commands/CreateChannelCommand";
|
|
13
|
-
import {
|
|
14
|
-
CreateProgramCommand,
|
|
15
|
-
CreateProgramCommandInput,
|
|
16
|
-
CreateProgramCommandOutput,
|
|
17
|
-
} from "./commands/CreateProgramCommand";
|
|
18
|
-
import {
|
|
19
|
-
CreateSourceLocationCommand,
|
|
20
|
-
CreateSourceLocationCommandInput,
|
|
21
|
-
CreateSourceLocationCommandOutput,
|
|
22
|
-
} from "./commands/CreateSourceLocationCommand";
|
|
23
|
-
import {
|
|
24
|
-
CreateVodSourceCommand,
|
|
25
|
-
CreateVodSourceCommandInput,
|
|
26
|
-
CreateVodSourceCommandOutput,
|
|
27
|
-
} from "./commands/CreateVodSourceCommand";
|
|
28
|
-
import {
|
|
29
|
-
DeleteChannelCommand,
|
|
30
|
-
DeleteChannelCommandInput,
|
|
31
|
-
DeleteChannelCommandOutput,
|
|
32
|
-
} from "./commands/DeleteChannelCommand";
|
|
33
|
-
import {
|
|
34
|
-
DeleteChannelPolicyCommand,
|
|
35
|
-
DeleteChannelPolicyCommandInput,
|
|
36
|
-
DeleteChannelPolicyCommandOutput,
|
|
37
|
-
} from "./commands/DeleteChannelPolicyCommand";
|
|
38
|
-
import {
|
|
39
|
-
DeletePlaybackConfigurationCommand,
|
|
40
|
-
DeletePlaybackConfigurationCommandInput,
|
|
41
|
-
DeletePlaybackConfigurationCommandOutput,
|
|
42
|
-
} from "./commands/DeletePlaybackConfigurationCommand";
|
|
43
|
-
import {
|
|
44
|
-
DeleteProgramCommand,
|
|
45
|
-
DeleteProgramCommandInput,
|
|
46
|
-
DeleteProgramCommandOutput,
|
|
47
|
-
} from "./commands/DeleteProgramCommand";
|
|
48
|
-
import {
|
|
49
|
-
DeleteSourceLocationCommand,
|
|
50
|
-
DeleteSourceLocationCommandInput,
|
|
51
|
-
DeleteSourceLocationCommandOutput,
|
|
52
|
-
} from "./commands/DeleteSourceLocationCommand";
|
|
53
|
-
import {
|
|
54
|
-
DeleteVodSourceCommand,
|
|
55
|
-
DeleteVodSourceCommandInput,
|
|
56
|
-
DeleteVodSourceCommandOutput,
|
|
57
|
-
} from "./commands/DeleteVodSourceCommand";
|
|
58
|
-
import {
|
|
59
|
-
DescribeChannelCommand,
|
|
60
|
-
DescribeChannelCommandInput,
|
|
61
|
-
DescribeChannelCommandOutput,
|
|
62
|
-
} from "./commands/DescribeChannelCommand";
|
|
63
|
-
import {
|
|
64
|
-
DescribeProgramCommand,
|
|
65
|
-
DescribeProgramCommandInput,
|
|
66
|
-
DescribeProgramCommandOutput,
|
|
67
|
-
} from "./commands/DescribeProgramCommand";
|
|
68
|
-
import {
|
|
69
|
-
DescribeSourceLocationCommand,
|
|
70
|
-
DescribeSourceLocationCommandInput,
|
|
71
|
-
DescribeSourceLocationCommandOutput,
|
|
72
|
-
} from "./commands/DescribeSourceLocationCommand";
|
|
73
|
-
import {
|
|
74
|
-
DescribeVodSourceCommand,
|
|
75
|
-
DescribeVodSourceCommandInput,
|
|
76
|
-
DescribeVodSourceCommandOutput,
|
|
77
|
-
} from "./commands/DescribeVodSourceCommand";
|
|
78
|
-
import {
|
|
79
|
-
GetChannelPolicyCommand,
|
|
80
|
-
GetChannelPolicyCommandInput,
|
|
81
|
-
GetChannelPolicyCommandOutput,
|
|
82
|
-
} from "./commands/GetChannelPolicyCommand";
|
|
83
|
-
import {
|
|
84
|
-
GetChannelScheduleCommand,
|
|
85
|
-
GetChannelScheduleCommandInput,
|
|
86
|
-
GetChannelScheduleCommandOutput,
|
|
87
|
-
} from "./commands/GetChannelScheduleCommand";
|
|
88
|
-
import {
|
|
89
|
-
GetPlaybackConfigurationCommand,
|
|
90
|
-
GetPlaybackConfigurationCommandInput,
|
|
91
|
-
GetPlaybackConfigurationCommandOutput,
|
|
92
|
-
} from "./commands/GetPlaybackConfigurationCommand";
|
|
93
|
-
import { ListAlertsCommand, ListAlertsCommandInput, ListAlertsCommandOutput } from "./commands/ListAlertsCommand";
|
|
94
|
-
import {
|
|
95
|
-
ListChannelsCommand,
|
|
96
|
-
ListChannelsCommandInput,
|
|
97
|
-
ListChannelsCommandOutput,
|
|
98
|
-
} from "./commands/ListChannelsCommand";
|
|
99
|
-
import {
|
|
100
|
-
ListPlaybackConfigurationsCommand,
|
|
101
|
-
ListPlaybackConfigurationsCommandInput,
|
|
102
|
-
ListPlaybackConfigurationsCommandOutput,
|
|
103
|
-
} from "./commands/ListPlaybackConfigurationsCommand";
|
|
104
|
-
import {
|
|
105
|
-
ListSourceLocationsCommand,
|
|
106
|
-
ListSourceLocationsCommandInput,
|
|
107
|
-
ListSourceLocationsCommandOutput,
|
|
108
|
-
} from "./commands/ListSourceLocationsCommand";
|
|
109
|
-
import {
|
|
110
|
-
ListTagsForResourceCommand,
|
|
111
|
-
ListTagsForResourceCommandInput,
|
|
112
|
-
ListTagsForResourceCommandOutput,
|
|
113
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
114
|
-
import {
|
|
115
|
-
ListVodSourcesCommand,
|
|
116
|
-
ListVodSourcesCommandInput,
|
|
117
|
-
ListVodSourcesCommandOutput,
|
|
118
|
-
} from "./commands/ListVodSourcesCommand";
|
|
119
|
-
import {
|
|
120
|
-
PutChannelPolicyCommand,
|
|
121
|
-
PutChannelPolicyCommandInput,
|
|
122
|
-
PutChannelPolicyCommandOutput,
|
|
123
|
-
} from "./commands/PutChannelPolicyCommand";
|
|
124
|
-
import {
|
|
125
|
-
PutPlaybackConfigurationCommand,
|
|
126
|
-
PutPlaybackConfigurationCommandInput,
|
|
127
|
-
PutPlaybackConfigurationCommandOutput,
|
|
128
|
-
} from "./commands/PutPlaybackConfigurationCommand";
|
|
129
|
-
import {
|
|
130
|
-
StartChannelCommand,
|
|
131
|
-
StartChannelCommandInput,
|
|
132
|
-
StartChannelCommandOutput,
|
|
133
|
-
} from "./commands/StartChannelCommand";
|
|
134
|
-
import { StopChannelCommand, StopChannelCommandInput, StopChannelCommandOutput } from "./commands/StopChannelCommand";
|
|
135
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
136
|
-
import {
|
|
137
|
-
UntagResourceCommand,
|
|
138
|
-
UntagResourceCommandInput,
|
|
139
|
-
UntagResourceCommandOutput,
|
|
140
|
-
} from "./commands/UntagResourceCommand";
|
|
141
|
-
import {
|
|
142
|
-
UpdateChannelCommand,
|
|
143
|
-
UpdateChannelCommandInput,
|
|
144
|
-
UpdateChannelCommandOutput,
|
|
145
|
-
} from "./commands/UpdateChannelCommand";
|
|
146
|
-
import {
|
|
147
|
-
UpdateSourceLocationCommand,
|
|
148
|
-
UpdateSourceLocationCommandInput,
|
|
149
|
-
UpdateSourceLocationCommandOutput,
|
|
150
|
-
} from "./commands/UpdateSourceLocationCommand";
|
|
151
|
-
import {
|
|
152
|
-
UpdateVodSourceCommand,
|
|
153
|
-
UpdateVodSourceCommandInput,
|
|
154
|
-
UpdateVodSourceCommandOutput,
|
|
155
|
-
} from "./commands/UpdateVodSourceCommand";
|
|
156
|
-
import { MediaTailorClient } from "./MediaTailorClient";
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* <p>Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels. With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/">AWS Elemental MediaTailor User Guide</a>.</p> <p>Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).</p>
|
|
160
|
-
*/
|
|
161
|
-
export class MediaTailor extends MediaTailorClient {
|
|
162
|
-
/**
|
|
163
|
-
* <p>Configures Amazon CloudWatch log settings for a playback configuration.</p>
|
|
164
|
-
*/
|
|
165
|
-
public configureLogsForPlaybackConfiguration(
|
|
166
|
-
args: ConfigureLogsForPlaybackConfigurationCommandInput,
|
|
167
|
-
options?: __HttpHandlerOptions
|
|
168
|
-
): Promise<ConfigureLogsForPlaybackConfigurationCommandOutput>;
|
|
169
|
-
public configureLogsForPlaybackConfiguration(
|
|
170
|
-
args: ConfigureLogsForPlaybackConfigurationCommandInput,
|
|
171
|
-
cb: (err: any, data?: ConfigureLogsForPlaybackConfigurationCommandOutput) => void
|
|
172
|
-
): void;
|
|
173
|
-
public configureLogsForPlaybackConfiguration(
|
|
174
|
-
args: ConfigureLogsForPlaybackConfigurationCommandInput,
|
|
175
|
-
options: __HttpHandlerOptions,
|
|
176
|
-
cb: (err: any, data?: ConfigureLogsForPlaybackConfigurationCommandOutput) => void
|
|
177
|
-
): void;
|
|
178
|
-
public configureLogsForPlaybackConfiguration(
|
|
179
|
-
args: ConfigureLogsForPlaybackConfigurationCommandInput,
|
|
180
|
-
optionsOrCb?:
|
|
181
|
-
| __HttpHandlerOptions
|
|
182
|
-
| ((err: any, data?: ConfigureLogsForPlaybackConfigurationCommandOutput) => void),
|
|
183
|
-
cb?: (err: any, data?: ConfigureLogsForPlaybackConfigurationCommandOutput) => void
|
|
184
|
-
): Promise<ConfigureLogsForPlaybackConfigurationCommandOutput> | void {
|
|
185
|
-
const command = new ConfigureLogsForPlaybackConfigurationCommand(args);
|
|
186
|
-
if (typeof optionsOrCb === "function") {
|
|
187
|
-
this.send(command, optionsOrCb);
|
|
188
|
-
} else if (typeof cb === "function") {
|
|
189
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
190
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
191
|
-
} else {
|
|
192
|
-
return this.send(command, optionsOrCb);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* <p>Creates a channel.</p>
|
|
198
|
-
*/
|
|
199
|
-
public createChannel(
|
|
200
|
-
args: CreateChannelCommandInput,
|
|
201
|
-
options?: __HttpHandlerOptions
|
|
202
|
-
): Promise<CreateChannelCommandOutput>;
|
|
203
|
-
public createChannel(
|
|
204
|
-
args: CreateChannelCommandInput,
|
|
205
|
-
cb: (err: any, data?: CreateChannelCommandOutput) => void
|
|
206
|
-
): void;
|
|
207
|
-
public createChannel(
|
|
208
|
-
args: CreateChannelCommandInput,
|
|
209
|
-
options: __HttpHandlerOptions,
|
|
210
|
-
cb: (err: any, data?: CreateChannelCommandOutput) => void
|
|
211
|
-
): void;
|
|
212
|
-
public createChannel(
|
|
213
|
-
args: CreateChannelCommandInput,
|
|
214
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateChannelCommandOutput) => void),
|
|
215
|
-
cb?: (err: any, data?: CreateChannelCommandOutput) => void
|
|
216
|
-
): Promise<CreateChannelCommandOutput> | void {
|
|
217
|
-
const command = new CreateChannelCommand(args);
|
|
218
|
-
if (typeof optionsOrCb === "function") {
|
|
219
|
-
this.send(command, optionsOrCb);
|
|
220
|
-
} else if (typeof cb === "function") {
|
|
221
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
222
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
223
|
-
} else {
|
|
224
|
-
return this.send(command, optionsOrCb);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* <p>Creates a program.</p>
|
|
230
|
-
*/
|
|
231
|
-
public createProgram(
|
|
232
|
-
args: CreateProgramCommandInput,
|
|
233
|
-
options?: __HttpHandlerOptions
|
|
234
|
-
): Promise<CreateProgramCommandOutput>;
|
|
235
|
-
public createProgram(
|
|
236
|
-
args: CreateProgramCommandInput,
|
|
237
|
-
cb: (err: any, data?: CreateProgramCommandOutput) => void
|
|
238
|
-
): void;
|
|
239
|
-
public createProgram(
|
|
240
|
-
args: CreateProgramCommandInput,
|
|
241
|
-
options: __HttpHandlerOptions,
|
|
242
|
-
cb: (err: any, data?: CreateProgramCommandOutput) => void
|
|
243
|
-
): void;
|
|
244
|
-
public createProgram(
|
|
245
|
-
args: CreateProgramCommandInput,
|
|
246
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateProgramCommandOutput) => void),
|
|
247
|
-
cb?: (err: any, data?: CreateProgramCommandOutput) => void
|
|
248
|
-
): Promise<CreateProgramCommandOutput> | void {
|
|
249
|
-
const command = new CreateProgramCommand(args);
|
|
250
|
-
if (typeof optionsOrCb === "function") {
|
|
251
|
-
this.send(command, optionsOrCb);
|
|
252
|
-
} else if (typeof cb === "function") {
|
|
253
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
254
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
255
|
-
} else {
|
|
256
|
-
return this.send(command, optionsOrCb);
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* <p>Creates a source location on a specific channel.</p>
|
|
262
|
-
*/
|
|
263
|
-
public createSourceLocation(
|
|
264
|
-
args: CreateSourceLocationCommandInput,
|
|
265
|
-
options?: __HttpHandlerOptions
|
|
266
|
-
): Promise<CreateSourceLocationCommandOutput>;
|
|
267
|
-
public createSourceLocation(
|
|
268
|
-
args: CreateSourceLocationCommandInput,
|
|
269
|
-
cb: (err: any, data?: CreateSourceLocationCommandOutput) => void
|
|
270
|
-
): void;
|
|
271
|
-
public createSourceLocation(
|
|
272
|
-
args: CreateSourceLocationCommandInput,
|
|
273
|
-
options: __HttpHandlerOptions,
|
|
274
|
-
cb: (err: any, data?: CreateSourceLocationCommandOutput) => void
|
|
275
|
-
): void;
|
|
276
|
-
public createSourceLocation(
|
|
277
|
-
args: CreateSourceLocationCommandInput,
|
|
278
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSourceLocationCommandOutput) => void),
|
|
279
|
-
cb?: (err: any, data?: CreateSourceLocationCommandOutput) => void
|
|
280
|
-
): Promise<CreateSourceLocationCommandOutput> | void {
|
|
281
|
-
const command = new CreateSourceLocationCommand(args);
|
|
282
|
-
if (typeof optionsOrCb === "function") {
|
|
283
|
-
this.send(command, optionsOrCb);
|
|
284
|
-
} else if (typeof cb === "function") {
|
|
285
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
286
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
287
|
-
} else {
|
|
288
|
-
return this.send(command, optionsOrCb);
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* <p>Creates name for a specific VOD source in a source location.</p>
|
|
294
|
-
*/
|
|
295
|
-
public createVodSource(
|
|
296
|
-
args: CreateVodSourceCommandInput,
|
|
297
|
-
options?: __HttpHandlerOptions
|
|
298
|
-
): Promise<CreateVodSourceCommandOutput>;
|
|
299
|
-
public createVodSource(
|
|
300
|
-
args: CreateVodSourceCommandInput,
|
|
301
|
-
cb: (err: any, data?: CreateVodSourceCommandOutput) => void
|
|
302
|
-
): void;
|
|
303
|
-
public createVodSource(
|
|
304
|
-
args: CreateVodSourceCommandInput,
|
|
305
|
-
options: __HttpHandlerOptions,
|
|
306
|
-
cb: (err: any, data?: CreateVodSourceCommandOutput) => void
|
|
307
|
-
): void;
|
|
308
|
-
public createVodSource(
|
|
309
|
-
args: CreateVodSourceCommandInput,
|
|
310
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateVodSourceCommandOutput) => void),
|
|
311
|
-
cb?: (err: any, data?: CreateVodSourceCommandOutput) => void
|
|
312
|
-
): Promise<CreateVodSourceCommandOutput> | void {
|
|
313
|
-
const command = new CreateVodSourceCommand(args);
|
|
314
|
-
if (typeof optionsOrCb === "function") {
|
|
315
|
-
this.send(command, optionsOrCb);
|
|
316
|
-
} else if (typeof cb === "function") {
|
|
317
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
318
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
319
|
-
} else {
|
|
320
|
-
return this.send(command, optionsOrCb);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* <p>Deletes a channel. You must stop the channel before it can be deleted.</p>
|
|
326
|
-
*/
|
|
327
|
-
public deleteChannel(
|
|
328
|
-
args: DeleteChannelCommandInput,
|
|
329
|
-
options?: __HttpHandlerOptions
|
|
330
|
-
): Promise<DeleteChannelCommandOutput>;
|
|
331
|
-
public deleteChannel(
|
|
332
|
-
args: DeleteChannelCommandInput,
|
|
333
|
-
cb: (err: any, data?: DeleteChannelCommandOutput) => void
|
|
334
|
-
): void;
|
|
335
|
-
public deleteChannel(
|
|
336
|
-
args: DeleteChannelCommandInput,
|
|
337
|
-
options: __HttpHandlerOptions,
|
|
338
|
-
cb: (err: any, data?: DeleteChannelCommandOutput) => void
|
|
339
|
-
): void;
|
|
340
|
-
public deleteChannel(
|
|
341
|
-
args: DeleteChannelCommandInput,
|
|
342
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteChannelCommandOutput) => void),
|
|
343
|
-
cb?: (err: any, data?: DeleteChannelCommandOutput) => void
|
|
344
|
-
): Promise<DeleteChannelCommandOutput> | void {
|
|
345
|
-
const command = new DeleteChannelCommand(args);
|
|
346
|
-
if (typeof optionsOrCb === "function") {
|
|
347
|
-
this.send(command, optionsOrCb);
|
|
348
|
-
} else if (typeof cb === "function") {
|
|
349
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
350
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
351
|
-
} else {
|
|
352
|
-
return this.send(command, optionsOrCb);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* <p>Deletes a channel's IAM policy.</p>
|
|
358
|
-
*/
|
|
359
|
-
public deleteChannelPolicy(
|
|
360
|
-
args: DeleteChannelPolicyCommandInput,
|
|
361
|
-
options?: __HttpHandlerOptions
|
|
362
|
-
): Promise<DeleteChannelPolicyCommandOutput>;
|
|
363
|
-
public deleteChannelPolicy(
|
|
364
|
-
args: DeleteChannelPolicyCommandInput,
|
|
365
|
-
cb: (err: any, data?: DeleteChannelPolicyCommandOutput) => void
|
|
366
|
-
): void;
|
|
367
|
-
public deleteChannelPolicy(
|
|
368
|
-
args: DeleteChannelPolicyCommandInput,
|
|
369
|
-
options: __HttpHandlerOptions,
|
|
370
|
-
cb: (err: any, data?: DeleteChannelPolicyCommandOutput) => void
|
|
371
|
-
): void;
|
|
372
|
-
public deleteChannelPolicy(
|
|
373
|
-
args: DeleteChannelPolicyCommandInput,
|
|
374
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteChannelPolicyCommandOutput) => void),
|
|
375
|
-
cb?: (err: any, data?: DeleteChannelPolicyCommandOutput) => void
|
|
376
|
-
): Promise<DeleteChannelPolicyCommandOutput> | void {
|
|
377
|
-
const command = new DeleteChannelPolicyCommand(args);
|
|
378
|
-
if (typeof optionsOrCb === "function") {
|
|
379
|
-
this.send(command, optionsOrCb);
|
|
380
|
-
} else if (typeof cb === "function") {
|
|
381
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
382
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
383
|
-
} else {
|
|
384
|
-
return this.send(command, optionsOrCb);
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* <p>Deletes the playback configuration for the specified name.</p>
|
|
390
|
-
*/
|
|
391
|
-
public deletePlaybackConfiguration(
|
|
392
|
-
args: DeletePlaybackConfigurationCommandInput,
|
|
393
|
-
options?: __HttpHandlerOptions
|
|
394
|
-
): Promise<DeletePlaybackConfigurationCommandOutput>;
|
|
395
|
-
public deletePlaybackConfiguration(
|
|
396
|
-
args: DeletePlaybackConfigurationCommandInput,
|
|
397
|
-
cb: (err: any, data?: DeletePlaybackConfigurationCommandOutput) => void
|
|
398
|
-
): void;
|
|
399
|
-
public deletePlaybackConfiguration(
|
|
400
|
-
args: DeletePlaybackConfigurationCommandInput,
|
|
401
|
-
options: __HttpHandlerOptions,
|
|
402
|
-
cb: (err: any, data?: DeletePlaybackConfigurationCommandOutput) => void
|
|
403
|
-
): void;
|
|
404
|
-
public deletePlaybackConfiguration(
|
|
405
|
-
args: DeletePlaybackConfigurationCommandInput,
|
|
406
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePlaybackConfigurationCommandOutput) => void),
|
|
407
|
-
cb?: (err: any, data?: DeletePlaybackConfigurationCommandOutput) => void
|
|
408
|
-
): Promise<DeletePlaybackConfigurationCommandOutput> | void {
|
|
409
|
-
const command = new DeletePlaybackConfigurationCommand(args);
|
|
410
|
-
if (typeof optionsOrCb === "function") {
|
|
411
|
-
this.send(command, optionsOrCb);
|
|
412
|
-
} else if (typeof cb === "function") {
|
|
413
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
414
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
415
|
-
} else {
|
|
416
|
-
return this.send(command, optionsOrCb);
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* <p>Deletes a specific program on a specific channel.</p>
|
|
422
|
-
*/
|
|
423
|
-
public deleteProgram(
|
|
424
|
-
args: DeleteProgramCommandInput,
|
|
425
|
-
options?: __HttpHandlerOptions
|
|
426
|
-
): Promise<DeleteProgramCommandOutput>;
|
|
427
|
-
public deleteProgram(
|
|
428
|
-
args: DeleteProgramCommandInput,
|
|
429
|
-
cb: (err: any, data?: DeleteProgramCommandOutput) => void
|
|
430
|
-
): void;
|
|
431
|
-
public deleteProgram(
|
|
432
|
-
args: DeleteProgramCommandInput,
|
|
433
|
-
options: __HttpHandlerOptions,
|
|
434
|
-
cb: (err: any, data?: DeleteProgramCommandOutput) => void
|
|
435
|
-
): void;
|
|
436
|
-
public deleteProgram(
|
|
437
|
-
args: DeleteProgramCommandInput,
|
|
438
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteProgramCommandOutput) => void),
|
|
439
|
-
cb?: (err: any, data?: DeleteProgramCommandOutput) => void
|
|
440
|
-
): Promise<DeleteProgramCommandOutput> | void {
|
|
441
|
-
const command = new DeleteProgramCommand(args);
|
|
442
|
-
if (typeof optionsOrCb === "function") {
|
|
443
|
-
this.send(command, optionsOrCb);
|
|
444
|
-
} else if (typeof cb === "function") {
|
|
445
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
446
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
447
|
-
} else {
|
|
448
|
-
return this.send(command, optionsOrCb);
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
/**
|
|
453
|
-
* <p>Deletes a source location on a specific channel.</p>
|
|
454
|
-
*/
|
|
455
|
-
public deleteSourceLocation(
|
|
456
|
-
args: DeleteSourceLocationCommandInput,
|
|
457
|
-
options?: __HttpHandlerOptions
|
|
458
|
-
): Promise<DeleteSourceLocationCommandOutput>;
|
|
459
|
-
public deleteSourceLocation(
|
|
460
|
-
args: DeleteSourceLocationCommandInput,
|
|
461
|
-
cb: (err: any, data?: DeleteSourceLocationCommandOutput) => void
|
|
462
|
-
): void;
|
|
463
|
-
public deleteSourceLocation(
|
|
464
|
-
args: DeleteSourceLocationCommandInput,
|
|
465
|
-
options: __HttpHandlerOptions,
|
|
466
|
-
cb: (err: any, data?: DeleteSourceLocationCommandOutput) => void
|
|
467
|
-
): void;
|
|
468
|
-
public deleteSourceLocation(
|
|
469
|
-
args: DeleteSourceLocationCommandInput,
|
|
470
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSourceLocationCommandOutput) => void),
|
|
471
|
-
cb?: (err: any, data?: DeleteSourceLocationCommandOutput) => void
|
|
472
|
-
): Promise<DeleteSourceLocationCommandOutput> | void {
|
|
473
|
-
const command = new DeleteSourceLocationCommand(args);
|
|
474
|
-
if (typeof optionsOrCb === "function") {
|
|
475
|
-
this.send(command, optionsOrCb);
|
|
476
|
-
} else if (typeof cb === "function") {
|
|
477
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
478
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
479
|
-
} else {
|
|
480
|
-
return this.send(command, optionsOrCb);
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
/**
|
|
485
|
-
* <p>Deletes a specific VOD source in a specific source location.</p>
|
|
486
|
-
*/
|
|
487
|
-
public deleteVodSource(
|
|
488
|
-
args: DeleteVodSourceCommandInput,
|
|
489
|
-
options?: __HttpHandlerOptions
|
|
490
|
-
): Promise<DeleteVodSourceCommandOutput>;
|
|
491
|
-
public deleteVodSource(
|
|
492
|
-
args: DeleteVodSourceCommandInput,
|
|
493
|
-
cb: (err: any, data?: DeleteVodSourceCommandOutput) => void
|
|
494
|
-
): void;
|
|
495
|
-
public deleteVodSource(
|
|
496
|
-
args: DeleteVodSourceCommandInput,
|
|
497
|
-
options: __HttpHandlerOptions,
|
|
498
|
-
cb: (err: any, data?: DeleteVodSourceCommandOutput) => void
|
|
499
|
-
): void;
|
|
500
|
-
public deleteVodSource(
|
|
501
|
-
args: DeleteVodSourceCommandInput,
|
|
502
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteVodSourceCommandOutput) => void),
|
|
503
|
-
cb?: (err: any, data?: DeleteVodSourceCommandOutput) => void
|
|
504
|
-
): Promise<DeleteVodSourceCommandOutput> | void {
|
|
505
|
-
const command = new DeleteVodSourceCommand(args);
|
|
506
|
-
if (typeof optionsOrCb === "function") {
|
|
507
|
-
this.send(command, optionsOrCb);
|
|
508
|
-
} else if (typeof cb === "function") {
|
|
509
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
510
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
511
|
-
} else {
|
|
512
|
-
return this.send(command, optionsOrCb);
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
/**
|
|
517
|
-
* <p>Describes the properties of a specific channel.</p>
|
|
518
|
-
*/
|
|
519
|
-
public describeChannel(
|
|
520
|
-
args: DescribeChannelCommandInput,
|
|
521
|
-
options?: __HttpHandlerOptions
|
|
522
|
-
): Promise<DescribeChannelCommandOutput>;
|
|
523
|
-
public describeChannel(
|
|
524
|
-
args: DescribeChannelCommandInput,
|
|
525
|
-
cb: (err: any, data?: DescribeChannelCommandOutput) => void
|
|
526
|
-
): void;
|
|
527
|
-
public describeChannel(
|
|
528
|
-
args: DescribeChannelCommandInput,
|
|
529
|
-
options: __HttpHandlerOptions,
|
|
530
|
-
cb: (err: any, data?: DescribeChannelCommandOutput) => void
|
|
531
|
-
): void;
|
|
532
|
-
public describeChannel(
|
|
533
|
-
args: DescribeChannelCommandInput,
|
|
534
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeChannelCommandOutput) => void),
|
|
535
|
-
cb?: (err: any, data?: DescribeChannelCommandOutput) => void
|
|
536
|
-
): Promise<DescribeChannelCommandOutput> | void {
|
|
537
|
-
const command = new DescribeChannelCommand(args);
|
|
538
|
-
if (typeof optionsOrCb === "function") {
|
|
539
|
-
this.send(command, optionsOrCb);
|
|
540
|
-
} else if (typeof cb === "function") {
|
|
541
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
542
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
543
|
-
} else {
|
|
544
|
-
return this.send(command, optionsOrCb);
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
/**
|
|
549
|
-
* <p>Retrieves the properties of the requested program.</p>
|
|
550
|
-
*/
|
|
551
|
-
public describeProgram(
|
|
552
|
-
args: DescribeProgramCommandInput,
|
|
553
|
-
options?: __HttpHandlerOptions
|
|
554
|
-
): Promise<DescribeProgramCommandOutput>;
|
|
555
|
-
public describeProgram(
|
|
556
|
-
args: DescribeProgramCommandInput,
|
|
557
|
-
cb: (err: any, data?: DescribeProgramCommandOutput) => void
|
|
558
|
-
): void;
|
|
559
|
-
public describeProgram(
|
|
560
|
-
args: DescribeProgramCommandInput,
|
|
561
|
-
options: __HttpHandlerOptions,
|
|
562
|
-
cb: (err: any, data?: DescribeProgramCommandOutput) => void
|
|
563
|
-
): void;
|
|
564
|
-
public describeProgram(
|
|
565
|
-
args: DescribeProgramCommandInput,
|
|
566
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeProgramCommandOutput) => void),
|
|
567
|
-
cb?: (err: any, data?: DescribeProgramCommandOutput) => void
|
|
568
|
-
): Promise<DescribeProgramCommandOutput> | void {
|
|
569
|
-
const command = new DescribeProgramCommand(args);
|
|
570
|
-
if (typeof optionsOrCb === "function") {
|
|
571
|
-
this.send(command, optionsOrCb);
|
|
572
|
-
} else if (typeof cb === "function") {
|
|
573
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
574
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
575
|
-
} else {
|
|
576
|
-
return this.send(command, optionsOrCb);
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
/**
|
|
581
|
-
* <p>Retrieves the properties of the requested source location.</p>
|
|
582
|
-
*/
|
|
583
|
-
public describeSourceLocation(
|
|
584
|
-
args: DescribeSourceLocationCommandInput,
|
|
585
|
-
options?: __HttpHandlerOptions
|
|
586
|
-
): Promise<DescribeSourceLocationCommandOutput>;
|
|
587
|
-
public describeSourceLocation(
|
|
588
|
-
args: DescribeSourceLocationCommandInput,
|
|
589
|
-
cb: (err: any, data?: DescribeSourceLocationCommandOutput) => void
|
|
590
|
-
): void;
|
|
591
|
-
public describeSourceLocation(
|
|
592
|
-
args: DescribeSourceLocationCommandInput,
|
|
593
|
-
options: __HttpHandlerOptions,
|
|
594
|
-
cb: (err: any, data?: DescribeSourceLocationCommandOutput) => void
|
|
595
|
-
): void;
|
|
596
|
-
public describeSourceLocation(
|
|
597
|
-
args: DescribeSourceLocationCommandInput,
|
|
598
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSourceLocationCommandOutput) => void),
|
|
599
|
-
cb?: (err: any, data?: DescribeSourceLocationCommandOutput) => void
|
|
600
|
-
): Promise<DescribeSourceLocationCommandOutput> | void {
|
|
601
|
-
const command = new DescribeSourceLocationCommand(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>Provides details about a specific VOD source in a specific source location.</p>
|
|
614
|
-
*/
|
|
615
|
-
public describeVodSource(
|
|
616
|
-
args: DescribeVodSourceCommandInput,
|
|
617
|
-
options?: __HttpHandlerOptions
|
|
618
|
-
): Promise<DescribeVodSourceCommandOutput>;
|
|
619
|
-
public describeVodSource(
|
|
620
|
-
args: DescribeVodSourceCommandInput,
|
|
621
|
-
cb: (err: any, data?: DescribeVodSourceCommandOutput) => void
|
|
622
|
-
): void;
|
|
623
|
-
public describeVodSource(
|
|
624
|
-
args: DescribeVodSourceCommandInput,
|
|
625
|
-
options: __HttpHandlerOptions,
|
|
626
|
-
cb: (err: any, data?: DescribeVodSourceCommandOutput) => void
|
|
627
|
-
): void;
|
|
628
|
-
public describeVodSource(
|
|
629
|
-
args: DescribeVodSourceCommandInput,
|
|
630
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeVodSourceCommandOutput) => void),
|
|
631
|
-
cb?: (err: any, data?: DescribeVodSourceCommandOutput) => void
|
|
632
|
-
): Promise<DescribeVodSourceCommandOutput> | void {
|
|
633
|
-
const command = new DescribeVodSourceCommand(args);
|
|
634
|
-
if (typeof optionsOrCb === "function") {
|
|
635
|
-
this.send(command, optionsOrCb);
|
|
636
|
-
} else if (typeof cb === "function") {
|
|
637
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
638
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
639
|
-
} else {
|
|
640
|
-
return this.send(command, optionsOrCb);
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
/**
|
|
645
|
-
* <p>Retrieves information about a channel's IAM policy.</p>
|
|
646
|
-
*/
|
|
647
|
-
public getChannelPolicy(
|
|
648
|
-
args: GetChannelPolicyCommandInput,
|
|
649
|
-
options?: __HttpHandlerOptions
|
|
650
|
-
): Promise<GetChannelPolicyCommandOutput>;
|
|
651
|
-
public getChannelPolicy(
|
|
652
|
-
args: GetChannelPolicyCommandInput,
|
|
653
|
-
cb: (err: any, data?: GetChannelPolicyCommandOutput) => void
|
|
654
|
-
): void;
|
|
655
|
-
public getChannelPolicy(
|
|
656
|
-
args: GetChannelPolicyCommandInput,
|
|
657
|
-
options: __HttpHandlerOptions,
|
|
658
|
-
cb: (err: any, data?: GetChannelPolicyCommandOutput) => void
|
|
659
|
-
): void;
|
|
660
|
-
public getChannelPolicy(
|
|
661
|
-
args: GetChannelPolicyCommandInput,
|
|
662
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetChannelPolicyCommandOutput) => void),
|
|
663
|
-
cb?: (err: any, data?: GetChannelPolicyCommandOutput) => void
|
|
664
|
-
): Promise<GetChannelPolicyCommandOutput> | void {
|
|
665
|
-
const command = new GetChannelPolicyCommand(args);
|
|
666
|
-
if (typeof optionsOrCb === "function") {
|
|
667
|
-
this.send(command, optionsOrCb);
|
|
668
|
-
} else if (typeof cb === "function") {
|
|
669
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
670
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
671
|
-
} else {
|
|
672
|
-
return this.send(command, optionsOrCb);
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
/**
|
|
677
|
-
* <p>Retrieves information about your channel's schedule.</p>
|
|
678
|
-
*/
|
|
679
|
-
public getChannelSchedule(
|
|
680
|
-
args: GetChannelScheduleCommandInput,
|
|
681
|
-
options?: __HttpHandlerOptions
|
|
682
|
-
): Promise<GetChannelScheduleCommandOutput>;
|
|
683
|
-
public getChannelSchedule(
|
|
684
|
-
args: GetChannelScheduleCommandInput,
|
|
685
|
-
cb: (err: any, data?: GetChannelScheduleCommandOutput) => void
|
|
686
|
-
): void;
|
|
687
|
-
public getChannelSchedule(
|
|
688
|
-
args: GetChannelScheduleCommandInput,
|
|
689
|
-
options: __HttpHandlerOptions,
|
|
690
|
-
cb: (err: any, data?: GetChannelScheduleCommandOutput) => void
|
|
691
|
-
): void;
|
|
692
|
-
public getChannelSchedule(
|
|
693
|
-
args: GetChannelScheduleCommandInput,
|
|
694
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetChannelScheduleCommandOutput) => void),
|
|
695
|
-
cb?: (err: any, data?: GetChannelScheduleCommandOutput) => void
|
|
696
|
-
): Promise<GetChannelScheduleCommandOutput> | void {
|
|
697
|
-
const command = new GetChannelScheduleCommand(args);
|
|
698
|
-
if (typeof optionsOrCb === "function") {
|
|
699
|
-
this.send(command, optionsOrCb);
|
|
700
|
-
} else if (typeof cb === "function") {
|
|
701
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
702
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
703
|
-
} else {
|
|
704
|
-
return this.send(command, optionsOrCb);
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
/**
|
|
709
|
-
* <p>Returns the playback configuration for the specified name.</p>
|
|
710
|
-
*/
|
|
711
|
-
public getPlaybackConfiguration(
|
|
712
|
-
args: GetPlaybackConfigurationCommandInput,
|
|
713
|
-
options?: __HttpHandlerOptions
|
|
714
|
-
): Promise<GetPlaybackConfigurationCommandOutput>;
|
|
715
|
-
public getPlaybackConfiguration(
|
|
716
|
-
args: GetPlaybackConfigurationCommandInput,
|
|
717
|
-
cb: (err: any, data?: GetPlaybackConfigurationCommandOutput) => void
|
|
718
|
-
): void;
|
|
719
|
-
public getPlaybackConfiguration(
|
|
720
|
-
args: GetPlaybackConfigurationCommandInput,
|
|
721
|
-
options: __HttpHandlerOptions,
|
|
722
|
-
cb: (err: any, data?: GetPlaybackConfigurationCommandOutput) => void
|
|
723
|
-
): void;
|
|
724
|
-
public getPlaybackConfiguration(
|
|
725
|
-
args: GetPlaybackConfigurationCommandInput,
|
|
726
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPlaybackConfigurationCommandOutput) => void),
|
|
727
|
-
cb?: (err: any, data?: GetPlaybackConfigurationCommandOutput) => void
|
|
728
|
-
): Promise<GetPlaybackConfigurationCommandOutput> | void {
|
|
729
|
-
const command = new GetPlaybackConfigurationCommand(args);
|
|
730
|
-
if (typeof optionsOrCb === "function") {
|
|
731
|
-
this.send(command, optionsOrCb);
|
|
732
|
-
} else if (typeof cb === "function") {
|
|
733
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
734
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
735
|
-
} else {
|
|
736
|
-
return this.send(command, optionsOrCb);
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
/**
|
|
741
|
-
* <p>Returns a list of alerts for the given resource.</p>
|
|
742
|
-
*/
|
|
743
|
-
public listAlerts(args: ListAlertsCommandInput, options?: __HttpHandlerOptions): Promise<ListAlertsCommandOutput>;
|
|
744
|
-
public listAlerts(args: ListAlertsCommandInput, cb: (err: any, data?: ListAlertsCommandOutput) => void): void;
|
|
745
|
-
public listAlerts(
|
|
746
|
-
args: ListAlertsCommandInput,
|
|
747
|
-
options: __HttpHandlerOptions,
|
|
748
|
-
cb: (err: any, data?: ListAlertsCommandOutput) => void
|
|
749
|
-
): void;
|
|
750
|
-
public listAlerts(
|
|
751
|
-
args: ListAlertsCommandInput,
|
|
752
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAlertsCommandOutput) => void),
|
|
753
|
-
cb?: (err: any, data?: ListAlertsCommandOutput) => void
|
|
754
|
-
): Promise<ListAlertsCommandOutput> | void {
|
|
755
|
-
const command = new ListAlertsCommand(args);
|
|
756
|
-
if (typeof optionsOrCb === "function") {
|
|
757
|
-
this.send(command, optionsOrCb);
|
|
758
|
-
} else if (typeof cb === "function") {
|
|
759
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
760
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
761
|
-
} else {
|
|
762
|
-
return this.send(command, optionsOrCb);
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
/**
|
|
767
|
-
* <p>Retrieves a list of channels that are associated with this account.</p>
|
|
768
|
-
*/
|
|
769
|
-
public listChannels(
|
|
770
|
-
args: ListChannelsCommandInput,
|
|
771
|
-
options?: __HttpHandlerOptions
|
|
772
|
-
): Promise<ListChannelsCommandOutput>;
|
|
773
|
-
public listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
774
|
-
public listChannels(
|
|
775
|
-
args: ListChannelsCommandInput,
|
|
776
|
-
options: __HttpHandlerOptions,
|
|
777
|
-
cb: (err: any, data?: ListChannelsCommandOutput) => void
|
|
778
|
-
): void;
|
|
779
|
-
public listChannels(
|
|
780
|
-
args: ListChannelsCommandInput,
|
|
781
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListChannelsCommandOutput) => void),
|
|
782
|
-
cb?: (err: any, data?: ListChannelsCommandOutput) => void
|
|
783
|
-
): Promise<ListChannelsCommandOutput> | void {
|
|
784
|
-
const command = new ListChannelsCommand(args);
|
|
785
|
-
if (typeof optionsOrCb === "function") {
|
|
786
|
-
this.send(command, optionsOrCb);
|
|
787
|
-
} else if (typeof cb === "function") {
|
|
788
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
789
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
790
|
-
} else {
|
|
791
|
-
return this.send(command, optionsOrCb);
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
/**
|
|
796
|
-
* <p>Returns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.</p>
|
|
797
|
-
*/
|
|
798
|
-
public listPlaybackConfigurations(
|
|
799
|
-
args: ListPlaybackConfigurationsCommandInput,
|
|
800
|
-
options?: __HttpHandlerOptions
|
|
801
|
-
): Promise<ListPlaybackConfigurationsCommandOutput>;
|
|
802
|
-
public listPlaybackConfigurations(
|
|
803
|
-
args: ListPlaybackConfigurationsCommandInput,
|
|
804
|
-
cb: (err: any, data?: ListPlaybackConfigurationsCommandOutput) => void
|
|
805
|
-
): void;
|
|
806
|
-
public listPlaybackConfigurations(
|
|
807
|
-
args: ListPlaybackConfigurationsCommandInput,
|
|
808
|
-
options: __HttpHandlerOptions,
|
|
809
|
-
cb: (err: any, data?: ListPlaybackConfigurationsCommandOutput) => void
|
|
810
|
-
): void;
|
|
811
|
-
public listPlaybackConfigurations(
|
|
812
|
-
args: ListPlaybackConfigurationsCommandInput,
|
|
813
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPlaybackConfigurationsCommandOutput) => void),
|
|
814
|
-
cb?: (err: any, data?: ListPlaybackConfigurationsCommandOutput) => void
|
|
815
|
-
): Promise<ListPlaybackConfigurationsCommandOutput> | void {
|
|
816
|
-
const command = new ListPlaybackConfigurationsCommand(args);
|
|
817
|
-
if (typeof optionsOrCb === "function") {
|
|
818
|
-
this.send(command, optionsOrCb);
|
|
819
|
-
} else if (typeof cb === "function") {
|
|
820
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
821
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
822
|
-
} else {
|
|
823
|
-
return this.send(command, optionsOrCb);
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
/**
|
|
828
|
-
* <p>Retrieves a list of source locations.</p>
|
|
829
|
-
*/
|
|
830
|
-
public listSourceLocations(
|
|
831
|
-
args: ListSourceLocationsCommandInput,
|
|
832
|
-
options?: __HttpHandlerOptions
|
|
833
|
-
): Promise<ListSourceLocationsCommandOutput>;
|
|
834
|
-
public listSourceLocations(
|
|
835
|
-
args: ListSourceLocationsCommandInput,
|
|
836
|
-
cb: (err: any, data?: ListSourceLocationsCommandOutput) => void
|
|
837
|
-
): void;
|
|
838
|
-
public listSourceLocations(
|
|
839
|
-
args: ListSourceLocationsCommandInput,
|
|
840
|
-
options: __HttpHandlerOptions,
|
|
841
|
-
cb: (err: any, data?: ListSourceLocationsCommandOutput) => void
|
|
842
|
-
): void;
|
|
843
|
-
public listSourceLocations(
|
|
844
|
-
args: ListSourceLocationsCommandInput,
|
|
845
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSourceLocationsCommandOutput) => void),
|
|
846
|
-
cb?: (err: any, data?: ListSourceLocationsCommandOutput) => void
|
|
847
|
-
): Promise<ListSourceLocationsCommandOutput> | void {
|
|
848
|
-
const command = new ListSourceLocationsCommand(args);
|
|
849
|
-
if (typeof optionsOrCb === "function") {
|
|
850
|
-
this.send(command, optionsOrCb);
|
|
851
|
-
} else if (typeof cb === "function") {
|
|
852
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
853
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
854
|
-
} else {
|
|
855
|
-
return this.send(command, optionsOrCb);
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
/**
|
|
860
|
-
* <p>Returns a list of the tags assigned to the specified playback configuration resource.</p>
|
|
861
|
-
*/
|
|
862
|
-
public listTagsForResource(
|
|
863
|
-
args: ListTagsForResourceCommandInput,
|
|
864
|
-
options?: __HttpHandlerOptions
|
|
865
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
866
|
-
public listTagsForResource(
|
|
867
|
-
args: ListTagsForResourceCommandInput,
|
|
868
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
869
|
-
): void;
|
|
870
|
-
public listTagsForResource(
|
|
871
|
-
args: ListTagsForResourceCommandInput,
|
|
872
|
-
options: __HttpHandlerOptions,
|
|
873
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
874
|
-
): void;
|
|
875
|
-
public listTagsForResource(
|
|
876
|
-
args: ListTagsForResourceCommandInput,
|
|
877
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
878
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
879
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
880
|
-
const command = new ListTagsForResourceCommand(args);
|
|
881
|
-
if (typeof optionsOrCb === "function") {
|
|
882
|
-
this.send(command, optionsOrCb);
|
|
883
|
-
} else if (typeof cb === "function") {
|
|
884
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
885
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
886
|
-
} else {
|
|
887
|
-
return this.send(command, optionsOrCb);
|
|
888
|
-
}
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
/**
|
|
892
|
-
* <p>Lists all the VOD sources in a source location.</p>
|
|
893
|
-
*/
|
|
894
|
-
public listVodSources(
|
|
895
|
-
args: ListVodSourcesCommandInput,
|
|
896
|
-
options?: __HttpHandlerOptions
|
|
897
|
-
): Promise<ListVodSourcesCommandOutput>;
|
|
898
|
-
public listVodSources(
|
|
899
|
-
args: ListVodSourcesCommandInput,
|
|
900
|
-
cb: (err: any, data?: ListVodSourcesCommandOutput) => void
|
|
901
|
-
): void;
|
|
902
|
-
public listVodSources(
|
|
903
|
-
args: ListVodSourcesCommandInput,
|
|
904
|
-
options: __HttpHandlerOptions,
|
|
905
|
-
cb: (err: any, data?: ListVodSourcesCommandOutput) => void
|
|
906
|
-
): void;
|
|
907
|
-
public listVodSources(
|
|
908
|
-
args: ListVodSourcesCommandInput,
|
|
909
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListVodSourcesCommandOutput) => void),
|
|
910
|
-
cb?: (err: any, data?: ListVodSourcesCommandOutput) => void
|
|
911
|
-
): Promise<ListVodSourcesCommandOutput> | void {
|
|
912
|
-
const command = new ListVodSourcesCommand(args);
|
|
913
|
-
if (typeof optionsOrCb === "function") {
|
|
914
|
-
this.send(command, optionsOrCb);
|
|
915
|
-
} else if (typeof cb === "function") {
|
|
916
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
917
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
918
|
-
} else {
|
|
919
|
-
return this.send(command, optionsOrCb);
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
/**
|
|
924
|
-
* <p>Creates an IAM policy for the channel.</p>
|
|
925
|
-
*/
|
|
926
|
-
public putChannelPolicy(
|
|
927
|
-
args: PutChannelPolicyCommandInput,
|
|
928
|
-
options?: __HttpHandlerOptions
|
|
929
|
-
): Promise<PutChannelPolicyCommandOutput>;
|
|
930
|
-
public putChannelPolicy(
|
|
931
|
-
args: PutChannelPolicyCommandInput,
|
|
932
|
-
cb: (err: any, data?: PutChannelPolicyCommandOutput) => void
|
|
933
|
-
): void;
|
|
934
|
-
public putChannelPolicy(
|
|
935
|
-
args: PutChannelPolicyCommandInput,
|
|
936
|
-
options: __HttpHandlerOptions,
|
|
937
|
-
cb: (err: any, data?: PutChannelPolicyCommandOutput) => void
|
|
938
|
-
): void;
|
|
939
|
-
public putChannelPolicy(
|
|
940
|
-
args: PutChannelPolicyCommandInput,
|
|
941
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutChannelPolicyCommandOutput) => void),
|
|
942
|
-
cb?: (err: any, data?: PutChannelPolicyCommandOutput) => void
|
|
943
|
-
): Promise<PutChannelPolicyCommandOutput> | void {
|
|
944
|
-
const command = new PutChannelPolicyCommand(args);
|
|
945
|
-
if (typeof optionsOrCb === "function") {
|
|
946
|
-
this.send(command, optionsOrCb);
|
|
947
|
-
} else if (typeof cb === "function") {
|
|
948
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
949
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
950
|
-
} else {
|
|
951
|
-
return this.send(command, optionsOrCb);
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
|
|
955
|
-
/**
|
|
956
|
-
* <p>Adds a new playback configuration to AWS Elemental MediaTailor.</p>
|
|
957
|
-
*/
|
|
958
|
-
public putPlaybackConfiguration(
|
|
959
|
-
args: PutPlaybackConfigurationCommandInput,
|
|
960
|
-
options?: __HttpHandlerOptions
|
|
961
|
-
): Promise<PutPlaybackConfigurationCommandOutput>;
|
|
962
|
-
public putPlaybackConfiguration(
|
|
963
|
-
args: PutPlaybackConfigurationCommandInput,
|
|
964
|
-
cb: (err: any, data?: PutPlaybackConfigurationCommandOutput) => void
|
|
965
|
-
): void;
|
|
966
|
-
public putPlaybackConfiguration(
|
|
967
|
-
args: PutPlaybackConfigurationCommandInput,
|
|
968
|
-
options: __HttpHandlerOptions,
|
|
969
|
-
cb: (err: any, data?: PutPlaybackConfigurationCommandOutput) => void
|
|
970
|
-
): void;
|
|
971
|
-
public putPlaybackConfiguration(
|
|
972
|
-
args: PutPlaybackConfigurationCommandInput,
|
|
973
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutPlaybackConfigurationCommandOutput) => void),
|
|
974
|
-
cb?: (err: any, data?: PutPlaybackConfigurationCommandOutput) => void
|
|
975
|
-
): Promise<PutPlaybackConfigurationCommandOutput> | void {
|
|
976
|
-
const command = new PutPlaybackConfigurationCommand(args);
|
|
977
|
-
if (typeof optionsOrCb === "function") {
|
|
978
|
-
this.send(command, optionsOrCb);
|
|
979
|
-
} else if (typeof cb === "function") {
|
|
980
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
981
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
982
|
-
} else {
|
|
983
|
-
return this.send(command, optionsOrCb);
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* <p>Starts a specific channel.</p>
|
|
989
|
-
*/
|
|
990
|
-
public startChannel(
|
|
991
|
-
args: StartChannelCommandInput,
|
|
992
|
-
options?: __HttpHandlerOptions
|
|
993
|
-
): Promise<StartChannelCommandOutput>;
|
|
994
|
-
public startChannel(args: StartChannelCommandInput, cb: (err: any, data?: StartChannelCommandOutput) => void): void;
|
|
995
|
-
public startChannel(
|
|
996
|
-
args: StartChannelCommandInput,
|
|
997
|
-
options: __HttpHandlerOptions,
|
|
998
|
-
cb: (err: any, data?: StartChannelCommandOutput) => void
|
|
999
|
-
): void;
|
|
1000
|
-
public startChannel(
|
|
1001
|
-
args: StartChannelCommandInput,
|
|
1002
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartChannelCommandOutput) => void),
|
|
1003
|
-
cb?: (err: any, data?: StartChannelCommandOutput) => void
|
|
1004
|
-
): Promise<StartChannelCommandOutput> | void {
|
|
1005
|
-
const command = new StartChannelCommand(args);
|
|
1006
|
-
if (typeof optionsOrCb === "function") {
|
|
1007
|
-
this.send(command, optionsOrCb);
|
|
1008
|
-
} else if (typeof cb === "function") {
|
|
1009
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1010
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1011
|
-
} else {
|
|
1012
|
-
return this.send(command, optionsOrCb);
|
|
1013
|
-
}
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
/**
|
|
1017
|
-
* <p>Stops a specific channel.</p>
|
|
1018
|
-
*/
|
|
1019
|
-
public stopChannel(args: StopChannelCommandInput, options?: __HttpHandlerOptions): Promise<StopChannelCommandOutput>;
|
|
1020
|
-
public stopChannel(args: StopChannelCommandInput, cb: (err: any, data?: StopChannelCommandOutput) => void): void;
|
|
1021
|
-
public stopChannel(
|
|
1022
|
-
args: StopChannelCommandInput,
|
|
1023
|
-
options: __HttpHandlerOptions,
|
|
1024
|
-
cb: (err: any, data?: StopChannelCommandOutput) => void
|
|
1025
|
-
): void;
|
|
1026
|
-
public stopChannel(
|
|
1027
|
-
args: StopChannelCommandInput,
|
|
1028
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopChannelCommandOutput) => void),
|
|
1029
|
-
cb?: (err: any, data?: StopChannelCommandOutput) => void
|
|
1030
|
-
): Promise<StopChannelCommandOutput> | void {
|
|
1031
|
-
const command = new StopChannelCommand(args);
|
|
1032
|
-
if (typeof optionsOrCb === "function") {
|
|
1033
|
-
this.send(command, optionsOrCb);
|
|
1034
|
-
} else if (typeof cb === "function") {
|
|
1035
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1036
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1037
|
-
} else {
|
|
1038
|
-
return this.send(command, optionsOrCb);
|
|
1039
|
-
}
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
/**
|
|
1043
|
-
* <p>Adds tags to the specified playback configuration resource. You can specify one or more tags to add.</p>
|
|
1044
|
-
*/
|
|
1045
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1046
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1047
|
-
public tagResource(
|
|
1048
|
-
args: TagResourceCommandInput,
|
|
1049
|
-
options: __HttpHandlerOptions,
|
|
1050
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
1051
|
-
): void;
|
|
1052
|
-
public tagResource(
|
|
1053
|
-
args: TagResourceCommandInput,
|
|
1054
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
1055
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
1056
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
1057
|
-
const command = new TagResourceCommand(args);
|
|
1058
|
-
if (typeof optionsOrCb === "function") {
|
|
1059
|
-
this.send(command, optionsOrCb);
|
|
1060
|
-
} else if (typeof cb === "function") {
|
|
1061
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1062
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1063
|
-
} else {
|
|
1064
|
-
return this.send(command, optionsOrCb);
|
|
1065
|
-
}
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
/**
|
|
1069
|
-
* <p>Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.</p>
|
|
1070
|
-
*/
|
|
1071
|
-
public untagResource(
|
|
1072
|
-
args: UntagResourceCommandInput,
|
|
1073
|
-
options?: __HttpHandlerOptions
|
|
1074
|
-
): Promise<UntagResourceCommandOutput>;
|
|
1075
|
-
public untagResource(
|
|
1076
|
-
args: UntagResourceCommandInput,
|
|
1077
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1078
|
-
): void;
|
|
1079
|
-
public untagResource(
|
|
1080
|
-
args: UntagResourceCommandInput,
|
|
1081
|
-
options: __HttpHandlerOptions,
|
|
1082
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1083
|
-
): void;
|
|
1084
|
-
public untagResource(
|
|
1085
|
-
args: UntagResourceCommandInput,
|
|
1086
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
1087
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1088
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
1089
|
-
const command = new UntagResourceCommand(args);
|
|
1090
|
-
if (typeof optionsOrCb === "function") {
|
|
1091
|
-
this.send(command, optionsOrCb);
|
|
1092
|
-
} else if (typeof cb === "function") {
|
|
1093
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1094
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1095
|
-
} else {
|
|
1096
|
-
return this.send(command, optionsOrCb);
|
|
1097
|
-
}
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
/**
|
|
1101
|
-
* <p>Updates an existing channel.</p>
|
|
1102
|
-
*/
|
|
1103
|
-
public updateChannel(
|
|
1104
|
-
args: UpdateChannelCommandInput,
|
|
1105
|
-
options?: __HttpHandlerOptions
|
|
1106
|
-
): Promise<UpdateChannelCommandOutput>;
|
|
1107
|
-
public updateChannel(
|
|
1108
|
-
args: UpdateChannelCommandInput,
|
|
1109
|
-
cb: (err: any, data?: UpdateChannelCommandOutput) => void
|
|
1110
|
-
): void;
|
|
1111
|
-
public updateChannel(
|
|
1112
|
-
args: UpdateChannelCommandInput,
|
|
1113
|
-
options: __HttpHandlerOptions,
|
|
1114
|
-
cb: (err: any, data?: UpdateChannelCommandOutput) => void
|
|
1115
|
-
): void;
|
|
1116
|
-
public updateChannel(
|
|
1117
|
-
args: UpdateChannelCommandInput,
|
|
1118
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateChannelCommandOutput) => void),
|
|
1119
|
-
cb?: (err: any, data?: UpdateChannelCommandOutput) => void
|
|
1120
|
-
): Promise<UpdateChannelCommandOutput> | void {
|
|
1121
|
-
const command = new UpdateChannelCommand(args);
|
|
1122
|
-
if (typeof optionsOrCb === "function") {
|
|
1123
|
-
this.send(command, optionsOrCb);
|
|
1124
|
-
} else if (typeof cb === "function") {
|
|
1125
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1126
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1127
|
-
} else {
|
|
1128
|
-
return this.send(command, optionsOrCb);
|
|
1129
|
-
}
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
/**
|
|
1133
|
-
* <p>Updates a source location on a specific channel.</p>
|
|
1134
|
-
*/
|
|
1135
|
-
public updateSourceLocation(
|
|
1136
|
-
args: UpdateSourceLocationCommandInput,
|
|
1137
|
-
options?: __HttpHandlerOptions
|
|
1138
|
-
): Promise<UpdateSourceLocationCommandOutput>;
|
|
1139
|
-
public updateSourceLocation(
|
|
1140
|
-
args: UpdateSourceLocationCommandInput,
|
|
1141
|
-
cb: (err: any, data?: UpdateSourceLocationCommandOutput) => void
|
|
1142
|
-
): void;
|
|
1143
|
-
public updateSourceLocation(
|
|
1144
|
-
args: UpdateSourceLocationCommandInput,
|
|
1145
|
-
options: __HttpHandlerOptions,
|
|
1146
|
-
cb: (err: any, data?: UpdateSourceLocationCommandOutput) => void
|
|
1147
|
-
): void;
|
|
1148
|
-
public updateSourceLocation(
|
|
1149
|
-
args: UpdateSourceLocationCommandInput,
|
|
1150
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSourceLocationCommandOutput) => void),
|
|
1151
|
-
cb?: (err: any, data?: UpdateSourceLocationCommandOutput) => void
|
|
1152
|
-
): Promise<UpdateSourceLocationCommandOutput> | void {
|
|
1153
|
-
const command = new UpdateSourceLocationCommand(args);
|
|
1154
|
-
if (typeof optionsOrCb === "function") {
|
|
1155
|
-
this.send(command, optionsOrCb);
|
|
1156
|
-
} else if (typeof cb === "function") {
|
|
1157
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1158
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1159
|
-
} else {
|
|
1160
|
-
return this.send(command, optionsOrCb);
|
|
1161
|
-
}
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
/**
|
|
1165
|
-
* <p>Updates a specific VOD source in a specific source location.</p>
|
|
1166
|
-
*/
|
|
1167
|
-
public updateVodSource(
|
|
1168
|
-
args: UpdateVodSourceCommandInput,
|
|
1169
|
-
options?: __HttpHandlerOptions
|
|
1170
|
-
): Promise<UpdateVodSourceCommandOutput>;
|
|
1171
|
-
public updateVodSource(
|
|
1172
|
-
args: UpdateVodSourceCommandInput,
|
|
1173
|
-
cb: (err: any, data?: UpdateVodSourceCommandOutput) => void
|
|
1174
|
-
): void;
|
|
1175
|
-
public updateVodSource(
|
|
1176
|
-
args: UpdateVodSourceCommandInput,
|
|
1177
|
-
options: __HttpHandlerOptions,
|
|
1178
|
-
cb: (err: any, data?: UpdateVodSourceCommandOutput) => void
|
|
1179
|
-
): void;
|
|
1180
|
-
public updateVodSource(
|
|
1181
|
-
args: UpdateVodSourceCommandInput,
|
|
1182
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateVodSourceCommandOutput) => void),
|
|
1183
|
-
cb?: (err: any, data?: UpdateVodSourceCommandOutput) => void
|
|
1184
|
-
): Promise<UpdateVodSourceCommandOutput> | void {
|
|
1185
|
-
const command = new UpdateVodSourceCommand(args);
|
|
1186
|
-
if (typeof optionsOrCb === "function") {
|
|
1187
|
-
this.send(command, optionsOrCb);
|
|
1188
|
-
} else if (typeof cb === "function") {
|
|
1189
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1190
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1191
|
-
} else {
|
|
1192
|
-
return this.send(command, optionsOrCb);
|
|
1193
|
-
}
|
|
1194
|
-
}
|
|
1195
|
-
}
|