@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/MediaTailorClient.ts
DELETED
|
@@ -1,371 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
|
-
RegionInputConfig,
|
|
5
|
-
RegionResolvedConfig,
|
|
6
|
-
resolveEndpointsConfig,
|
|
7
|
-
resolveRegionConfig,
|
|
8
|
-
} from "@aws-sdk/config-resolver";
|
|
9
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
10
|
-
import {
|
|
11
|
-
getHostHeaderPlugin,
|
|
12
|
-
HostHeaderInputConfig,
|
|
13
|
-
HostHeaderResolvedConfig,
|
|
14
|
-
resolveHostHeaderConfig,
|
|
15
|
-
} from "@aws-sdk/middleware-host-header";
|
|
16
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
17
|
-
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
-
import {
|
|
19
|
-
AwsAuthInputConfig,
|
|
20
|
-
AwsAuthResolvedConfig,
|
|
21
|
-
getAwsAuthPlugin,
|
|
22
|
-
resolveAwsAuthConfig,
|
|
23
|
-
} from "@aws-sdk/middleware-signing";
|
|
24
|
-
import {
|
|
25
|
-
getUserAgentPlugin,
|
|
26
|
-
resolveUserAgentConfig,
|
|
27
|
-
UserAgentInputConfig,
|
|
28
|
-
UserAgentResolvedConfig,
|
|
29
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
-
import {
|
|
32
|
-
Client as __Client,
|
|
33
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
-
} from "@aws-sdk/smithy-client";
|
|
36
|
-
import {
|
|
37
|
-
Credentials as __Credentials,
|
|
38
|
-
Decoder as __Decoder,
|
|
39
|
-
Encoder as __Encoder,
|
|
40
|
-
Hash as __Hash,
|
|
41
|
-
HashConstructor as __HashConstructor,
|
|
42
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
43
|
-
Logger as __Logger,
|
|
44
|
-
Provider as __Provider,
|
|
45
|
-
Provider,
|
|
46
|
-
RegionInfoProvider,
|
|
47
|
-
StreamCollector as __StreamCollector,
|
|
48
|
-
UrlParser as __UrlParser,
|
|
49
|
-
UserAgent as __UserAgent,
|
|
50
|
-
} from "@aws-sdk/types";
|
|
51
|
-
|
|
52
|
-
import {
|
|
53
|
-
ConfigureLogsForPlaybackConfigurationCommandInput,
|
|
54
|
-
ConfigureLogsForPlaybackConfigurationCommandOutput,
|
|
55
|
-
} from "./commands/ConfigureLogsForPlaybackConfigurationCommand";
|
|
56
|
-
import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
|
|
57
|
-
import { CreateProgramCommandInput, CreateProgramCommandOutput } from "./commands/CreateProgramCommand";
|
|
58
|
-
import {
|
|
59
|
-
CreateSourceLocationCommandInput,
|
|
60
|
-
CreateSourceLocationCommandOutput,
|
|
61
|
-
} from "./commands/CreateSourceLocationCommand";
|
|
62
|
-
import { CreateVodSourceCommandInput, CreateVodSourceCommandOutput } from "./commands/CreateVodSourceCommand";
|
|
63
|
-
import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
|
|
64
|
-
import {
|
|
65
|
-
DeleteChannelPolicyCommandInput,
|
|
66
|
-
DeleteChannelPolicyCommandOutput,
|
|
67
|
-
} from "./commands/DeleteChannelPolicyCommand";
|
|
68
|
-
import {
|
|
69
|
-
DeletePlaybackConfigurationCommandInput,
|
|
70
|
-
DeletePlaybackConfigurationCommandOutput,
|
|
71
|
-
} from "./commands/DeletePlaybackConfigurationCommand";
|
|
72
|
-
import { DeleteProgramCommandInput, DeleteProgramCommandOutput } from "./commands/DeleteProgramCommand";
|
|
73
|
-
import {
|
|
74
|
-
DeleteSourceLocationCommandInput,
|
|
75
|
-
DeleteSourceLocationCommandOutput,
|
|
76
|
-
} from "./commands/DeleteSourceLocationCommand";
|
|
77
|
-
import { DeleteVodSourceCommandInput, DeleteVodSourceCommandOutput } from "./commands/DeleteVodSourceCommand";
|
|
78
|
-
import { DescribeChannelCommandInput, DescribeChannelCommandOutput } from "./commands/DescribeChannelCommand";
|
|
79
|
-
import { DescribeProgramCommandInput, DescribeProgramCommandOutput } from "./commands/DescribeProgramCommand";
|
|
80
|
-
import {
|
|
81
|
-
DescribeSourceLocationCommandInput,
|
|
82
|
-
DescribeSourceLocationCommandOutput,
|
|
83
|
-
} from "./commands/DescribeSourceLocationCommand";
|
|
84
|
-
import { DescribeVodSourceCommandInput, DescribeVodSourceCommandOutput } from "./commands/DescribeVodSourceCommand";
|
|
85
|
-
import { GetChannelPolicyCommandInput, GetChannelPolicyCommandOutput } from "./commands/GetChannelPolicyCommand";
|
|
86
|
-
import { GetChannelScheduleCommandInput, GetChannelScheduleCommandOutput } from "./commands/GetChannelScheduleCommand";
|
|
87
|
-
import {
|
|
88
|
-
GetPlaybackConfigurationCommandInput,
|
|
89
|
-
GetPlaybackConfigurationCommandOutput,
|
|
90
|
-
} from "./commands/GetPlaybackConfigurationCommand";
|
|
91
|
-
import { ListAlertsCommandInput, ListAlertsCommandOutput } from "./commands/ListAlertsCommand";
|
|
92
|
-
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
93
|
-
import {
|
|
94
|
-
ListPlaybackConfigurationsCommandInput,
|
|
95
|
-
ListPlaybackConfigurationsCommandOutput,
|
|
96
|
-
} from "./commands/ListPlaybackConfigurationsCommand";
|
|
97
|
-
import {
|
|
98
|
-
ListSourceLocationsCommandInput,
|
|
99
|
-
ListSourceLocationsCommandOutput,
|
|
100
|
-
} from "./commands/ListSourceLocationsCommand";
|
|
101
|
-
import {
|
|
102
|
-
ListTagsForResourceCommandInput,
|
|
103
|
-
ListTagsForResourceCommandOutput,
|
|
104
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
105
|
-
import { ListVodSourcesCommandInput, ListVodSourcesCommandOutput } from "./commands/ListVodSourcesCommand";
|
|
106
|
-
import { PutChannelPolicyCommandInput, PutChannelPolicyCommandOutput } from "./commands/PutChannelPolicyCommand";
|
|
107
|
-
import {
|
|
108
|
-
PutPlaybackConfigurationCommandInput,
|
|
109
|
-
PutPlaybackConfigurationCommandOutput,
|
|
110
|
-
} from "./commands/PutPlaybackConfigurationCommand";
|
|
111
|
-
import { StartChannelCommandInput, StartChannelCommandOutput } from "./commands/StartChannelCommand";
|
|
112
|
-
import { StopChannelCommandInput, StopChannelCommandOutput } from "./commands/StopChannelCommand";
|
|
113
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
114
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
115
|
-
import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
116
|
-
import {
|
|
117
|
-
UpdateSourceLocationCommandInput,
|
|
118
|
-
UpdateSourceLocationCommandOutput,
|
|
119
|
-
} from "./commands/UpdateSourceLocationCommand";
|
|
120
|
-
import { UpdateVodSourceCommandInput, UpdateVodSourceCommandOutput } from "./commands/UpdateVodSourceCommand";
|
|
121
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
122
|
-
|
|
123
|
-
export type ServiceInputTypes =
|
|
124
|
-
| ConfigureLogsForPlaybackConfigurationCommandInput
|
|
125
|
-
| CreateChannelCommandInput
|
|
126
|
-
| CreateProgramCommandInput
|
|
127
|
-
| CreateSourceLocationCommandInput
|
|
128
|
-
| CreateVodSourceCommandInput
|
|
129
|
-
| DeleteChannelCommandInput
|
|
130
|
-
| DeleteChannelPolicyCommandInput
|
|
131
|
-
| DeletePlaybackConfigurationCommandInput
|
|
132
|
-
| DeleteProgramCommandInput
|
|
133
|
-
| DeleteSourceLocationCommandInput
|
|
134
|
-
| DeleteVodSourceCommandInput
|
|
135
|
-
| DescribeChannelCommandInput
|
|
136
|
-
| DescribeProgramCommandInput
|
|
137
|
-
| DescribeSourceLocationCommandInput
|
|
138
|
-
| DescribeVodSourceCommandInput
|
|
139
|
-
| GetChannelPolicyCommandInput
|
|
140
|
-
| GetChannelScheduleCommandInput
|
|
141
|
-
| GetPlaybackConfigurationCommandInput
|
|
142
|
-
| ListAlertsCommandInput
|
|
143
|
-
| ListChannelsCommandInput
|
|
144
|
-
| ListPlaybackConfigurationsCommandInput
|
|
145
|
-
| ListSourceLocationsCommandInput
|
|
146
|
-
| ListTagsForResourceCommandInput
|
|
147
|
-
| ListVodSourcesCommandInput
|
|
148
|
-
| PutChannelPolicyCommandInput
|
|
149
|
-
| PutPlaybackConfigurationCommandInput
|
|
150
|
-
| StartChannelCommandInput
|
|
151
|
-
| StopChannelCommandInput
|
|
152
|
-
| TagResourceCommandInput
|
|
153
|
-
| UntagResourceCommandInput
|
|
154
|
-
| UpdateChannelCommandInput
|
|
155
|
-
| UpdateSourceLocationCommandInput
|
|
156
|
-
| UpdateVodSourceCommandInput;
|
|
157
|
-
|
|
158
|
-
export type ServiceOutputTypes =
|
|
159
|
-
| ConfigureLogsForPlaybackConfigurationCommandOutput
|
|
160
|
-
| CreateChannelCommandOutput
|
|
161
|
-
| CreateProgramCommandOutput
|
|
162
|
-
| CreateSourceLocationCommandOutput
|
|
163
|
-
| CreateVodSourceCommandOutput
|
|
164
|
-
| DeleteChannelCommandOutput
|
|
165
|
-
| DeleteChannelPolicyCommandOutput
|
|
166
|
-
| DeletePlaybackConfigurationCommandOutput
|
|
167
|
-
| DeleteProgramCommandOutput
|
|
168
|
-
| DeleteSourceLocationCommandOutput
|
|
169
|
-
| DeleteVodSourceCommandOutput
|
|
170
|
-
| DescribeChannelCommandOutput
|
|
171
|
-
| DescribeProgramCommandOutput
|
|
172
|
-
| DescribeSourceLocationCommandOutput
|
|
173
|
-
| DescribeVodSourceCommandOutput
|
|
174
|
-
| GetChannelPolicyCommandOutput
|
|
175
|
-
| GetChannelScheduleCommandOutput
|
|
176
|
-
| GetPlaybackConfigurationCommandOutput
|
|
177
|
-
| ListAlertsCommandOutput
|
|
178
|
-
| ListChannelsCommandOutput
|
|
179
|
-
| ListPlaybackConfigurationsCommandOutput
|
|
180
|
-
| ListSourceLocationsCommandOutput
|
|
181
|
-
| ListTagsForResourceCommandOutput
|
|
182
|
-
| ListVodSourcesCommandOutput
|
|
183
|
-
| PutChannelPolicyCommandOutput
|
|
184
|
-
| PutPlaybackConfigurationCommandOutput
|
|
185
|
-
| StartChannelCommandOutput
|
|
186
|
-
| StopChannelCommandOutput
|
|
187
|
-
| TagResourceCommandOutput
|
|
188
|
-
| UntagResourceCommandOutput
|
|
189
|
-
| UpdateChannelCommandOutput
|
|
190
|
-
| UpdateSourceLocationCommandOutput
|
|
191
|
-
| UpdateVodSourceCommandOutput;
|
|
192
|
-
|
|
193
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
194
|
-
/**
|
|
195
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
196
|
-
*/
|
|
197
|
-
requestHandler?: __HttpHandler;
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
201
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
202
|
-
* @internal
|
|
203
|
-
*/
|
|
204
|
-
sha256?: __HashConstructor;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
208
|
-
* @internal
|
|
209
|
-
*/
|
|
210
|
-
urlParser?: __UrlParser;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* A function that can calculate the length of a request body.
|
|
214
|
-
* @internal
|
|
215
|
-
*/
|
|
216
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* A function that converts a stream into an array of bytes.
|
|
220
|
-
* @internal
|
|
221
|
-
*/
|
|
222
|
-
streamCollector?: __StreamCollector;
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
226
|
-
* @internal
|
|
227
|
-
*/
|
|
228
|
-
base64Decoder?: __Decoder;
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
232
|
-
* @internal
|
|
233
|
-
*/
|
|
234
|
-
base64Encoder?: __Encoder;
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
238
|
-
* @internal
|
|
239
|
-
*/
|
|
240
|
-
utf8Decoder?: __Decoder;
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
244
|
-
* @internal
|
|
245
|
-
*/
|
|
246
|
-
utf8Encoder?: __Encoder;
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* The runtime environment.
|
|
250
|
-
* @internal
|
|
251
|
-
*/
|
|
252
|
-
runtime?: string;
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
256
|
-
* trait of an operation.
|
|
257
|
-
*/
|
|
258
|
-
disableHostPrefix?: boolean;
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
262
|
-
*/
|
|
263
|
-
maxAttempts?: number | __Provider<number>;
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* Specifies which retry algorithm to use.
|
|
267
|
-
*/
|
|
268
|
-
retryMode?: string | __Provider<string>;
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* Optional logger for logging debug/info/warn/error.
|
|
272
|
-
*/
|
|
273
|
-
logger?: __Logger;
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* Unique service identifier.
|
|
277
|
-
* @internal
|
|
278
|
-
*/
|
|
279
|
-
serviceId?: string;
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* The AWS region to which this client will send requests
|
|
283
|
-
*/
|
|
284
|
-
region?: string | __Provider<string>;
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* Default credentials provider; Not available in browser runtime.
|
|
288
|
-
* @internal
|
|
289
|
-
*/
|
|
290
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
294
|
-
* @internal
|
|
295
|
-
*/
|
|
296
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
300
|
-
* @internal
|
|
301
|
-
*/
|
|
302
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
type MediaTailorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
306
|
-
ClientDefaults &
|
|
307
|
-
RegionInputConfig &
|
|
308
|
-
EndpointsInputConfig &
|
|
309
|
-
RetryInputConfig &
|
|
310
|
-
HostHeaderInputConfig &
|
|
311
|
-
AwsAuthInputConfig &
|
|
312
|
-
UserAgentInputConfig;
|
|
313
|
-
/**
|
|
314
|
-
* The configuration interface of MediaTailorClient class constructor that set the region, credentials and other options.
|
|
315
|
-
*/
|
|
316
|
-
export interface MediaTailorClientConfig extends MediaTailorClientConfigType {}
|
|
317
|
-
|
|
318
|
-
type MediaTailorClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
319
|
-
Required<ClientDefaults> &
|
|
320
|
-
RegionResolvedConfig &
|
|
321
|
-
EndpointsResolvedConfig &
|
|
322
|
-
RetryResolvedConfig &
|
|
323
|
-
HostHeaderResolvedConfig &
|
|
324
|
-
AwsAuthResolvedConfig &
|
|
325
|
-
UserAgentResolvedConfig;
|
|
326
|
-
/**
|
|
327
|
-
* The resolved configuration interface of MediaTailorClient class. This is resolved and normalized from the {@link MediaTailorClientConfig | constructor configuration interface}.
|
|
328
|
-
*/
|
|
329
|
-
export interface MediaTailorClientResolvedConfig extends MediaTailorClientResolvedConfigType {}
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* <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>
|
|
333
|
-
*/
|
|
334
|
-
export class MediaTailorClient extends __Client<
|
|
335
|
-
__HttpHandlerOptions,
|
|
336
|
-
ServiceInputTypes,
|
|
337
|
-
ServiceOutputTypes,
|
|
338
|
-
MediaTailorClientResolvedConfig
|
|
339
|
-
> {
|
|
340
|
-
/**
|
|
341
|
-
* The resolved configuration of MediaTailorClient class. This is resolved and normalized from the {@link MediaTailorClientConfig | constructor configuration interface}.
|
|
342
|
-
*/
|
|
343
|
-
readonly config: MediaTailorClientResolvedConfig;
|
|
344
|
-
|
|
345
|
-
constructor(configuration: MediaTailorClientConfig) {
|
|
346
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
347
|
-
const _config_1 = resolveRegionConfig(_config_0);
|
|
348
|
-
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
349
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
350
|
-
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
351
|
-
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
352
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
353
|
-
super(_config_6);
|
|
354
|
-
this.config = _config_6;
|
|
355
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
356
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
357
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
358
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
359
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
360
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
365
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
366
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
367
|
-
*/
|
|
368
|
-
destroy(): void {
|
|
369
|
-
super.destroy();
|
|
370
|
-
}
|
|
371
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
|
|
15
|
-
import {
|
|
16
|
-
ConfigureLogsForPlaybackConfigurationRequest,
|
|
17
|
-
ConfigureLogsForPlaybackConfigurationResponse,
|
|
18
|
-
} from "../models/models_0";
|
|
19
|
-
import {
|
|
20
|
-
deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand,
|
|
21
|
-
serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand,
|
|
22
|
-
} from "../protocols/Aws_restJson1";
|
|
23
|
-
|
|
24
|
-
export interface ConfigureLogsForPlaybackConfigurationCommandInput
|
|
25
|
-
extends ConfigureLogsForPlaybackConfigurationRequest {}
|
|
26
|
-
export interface ConfigureLogsForPlaybackConfigurationCommandOutput
|
|
27
|
-
extends ConfigureLogsForPlaybackConfigurationResponse,
|
|
28
|
-
__MetadataBearer {}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* <p>Configures Amazon CloudWatch log settings for a playback configuration.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { MediaTailorClient, ConfigureLogsForPlaybackConfigurationCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
|
|
36
|
-
* // const { MediaTailorClient, ConfigureLogsForPlaybackConfigurationCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
|
|
37
|
-
* const client = new MediaTailorClient(config);
|
|
38
|
-
* const command = new ConfigureLogsForPlaybackConfigurationCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link ConfigureLogsForPlaybackConfigurationCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link ConfigureLogsForPlaybackConfigurationCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class ConfigureLogsForPlaybackConfigurationCommand extends $Command<
|
|
48
|
-
ConfigureLogsForPlaybackConfigurationCommandInput,
|
|
49
|
-
ConfigureLogsForPlaybackConfigurationCommandOutput,
|
|
50
|
-
MediaTailorClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: ConfigureLogsForPlaybackConfigurationCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: MediaTailorClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<ConfigureLogsForPlaybackConfigurationCommandInput, ConfigureLogsForPlaybackConfigurationCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "MediaTailorClient";
|
|
75
|
-
const commandName = "ConfigureLogsForPlaybackConfigurationCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: ConfigureLogsForPlaybackConfigurationRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: ConfigureLogsForPlaybackConfigurationResponse.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(
|
|
92
|
-
input: ConfigureLogsForPlaybackConfigurationCommandInput,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<__HttpRequest> {
|
|
95
|
-
return serializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand(input, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private deserialize(
|
|
99
|
-
output: __HttpResponse,
|
|
100
|
-
context: __SerdeContext
|
|
101
|
-
): Promise<ConfigureLogsForPlaybackConfigurationCommandOutput> {
|
|
102
|
-
return deserializeAws_restJson1ConfigureLogsForPlaybackConfigurationCommand(output, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Start section: command_body_extra
|
|
106
|
-
// End section: command_body_extra
|
|
107
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
|
|
15
|
-
import { CreateChannelRequest, CreateChannelResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateChannelCommand,
|
|
18
|
-
serializeAws_restJson1CreateChannelCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateChannelCommandInput extends CreateChannelRequest {}
|
|
22
|
-
export interface CreateChannelCommandOutput extends CreateChannelResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a channel.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { MediaTailorClient, CreateChannelCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
|
|
30
|
-
* // const { MediaTailorClient, CreateChannelCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
|
|
31
|
-
* const client = new MediaTailorClient(config);
|
|
32
|
-
* const command = new CreateChannelCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateChannelCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateChannelCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateChannelCommand extends $Command<
|
|
42
|
-
CreateChannelCommandInput,
|
|
43
|
-
CreateChannelCommandOutput,
|
|
44
|
-
MediaTailorClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateChannelCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: MediaTailorClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<CreateChannelCommandInput, CreateChannelCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "MediaTailorClient";
|
|
69
|
-
const commandName = "CreateChannelCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateChannelRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateChannelResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: CreateChannelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1CreateChannelCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateChannelCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1CreateChannelCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient";
|
|
15
|
-
import { CreateProgramRequest, CreateProgramResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateProgramCommand,
|
|
18
|
-
serializeAws_restJson1CreateProgramCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateProgramCommandInput extends CreateProgramRequest {}
|
|
22
|
-
export interface CreateProgramCommandOutput extends CreateProgramResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a program.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { MediaTailorClient, CreateProgramCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import
|
|
30
|
-
* // const { MediaTailorClient, CreateProgramCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import
|
|
31
|
-
* const client = new MediaTailorClient(config);
|
|
32
|
-
* const command = new CreateProgramCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateProgramCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateProgramCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateProgramCommand extends $Command<
|
|
42
|
-
CreateProgramCommandInput,
|
|
43
|
-
CreateProgramCommandOutput,
|
|
44
|
-
MediaTailorClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateProgramCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: MediaTailorClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<CreateProgramCommandInput, CreateProgramCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "MediaTailorClient";
|
|
69
|
-
const commandName = "CreateProgramCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateProgramRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateProgramResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: CreateProgramCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1CreateProgramCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateProgramCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1CreateProgramCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|