@aws-sdk/client-mediapackage-vod 3.35.0 → 3.38.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 +48 -0
- package/dist-cjs/MediaPackageVod.js +0 -4
- package/dist-cjs/MediaPackageVodClient.js +0 -9
- package/dist-cjs/commands/ConfigureLogsCommand.js +0 -25
- package/dist-cjs/commands/CreateAssetCommand.js +0 -25
- package/dist-cjs/commands/CreatePackagingConfigurationCommand.js +0 -25
- package/dist-cjs/commands/CreatePackagingGroupCommand.js +0 -25
- package/dist-cjs/commands/DeleteAssetCommand.js +0 -25
- package/dist-cjs/commands/DeletePackagingConfigurationCommand.js +0 -25
- package/dist-cjs/commands/DeletePackagingGroupCommand.js +0 -25
- package/dist-cjs/commands/DescribeAssetCommand.js +0 -25
- package/dist-cjs/commands/DescribePackagingConfigurationCommand.js +0 -25
- package/dist-cjs/commands/DescribePackagingGroupCommand.js +0 -25
- package/dist-cjs/commands/ListAssetsCommand.js +0 -25
- package/dist-cjs/commands/ListPackagingConfigurationsCommand.js +0 -25
- package/dist-cjs/commands/ListPackagingGroupsCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdatePackagingGroupCommand.js +0 -25
- package/dist-cjs/commands/index.js +20 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -24
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -172
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAssetsPaginator.js +0 -11
- package/dist-cjs/pagination/ListPackagingConfigurationsPaginator.js +0 -11
- package/dist-cjs/pagination/ListPackagingGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/MediaPackageVod.js +0 -1
- package/dist-es/MediaPackageVodClient.js +0 -1
- package/dist-es/commands/ConfigureLogsCommand.js +0 -1
- package/dist-es/commands/CreateAssetCommand.js +0 -1
- package/dist-es/commands/CreatePackagingConfigurationCommand.js +0 -1
- package/dist-es/commands/CreatePackagingGroupCommand.js +0 -1
- package/dist-es/commands/DeleteAssetCommand.js +0 -1
- package/dist-es/commands/DeletePackagingConfigurationCommand.js +0 -1
- package/dist-es/commands/DeletePackagingGroupCommand.js +0 -1
- package/dist-es/commands/DescribeAssetCommand.js +0 -1
- package/dist-es/commands/DescribePackagingConfigurationCommand.js +0 -1
- package/dist-es/commands/DescribePackagingGroupCommand.js +0 -1
- package/dist-es/commands/ListAssetsCommand.js +0 -1
- package/dist-es/commands/ListPackagingConfigurationsCommand.js +0 -1
- package/dist-es/commands/ListPackagingGroupsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdatePackagingGroupCommand.js +0 -1
- package/dist-es/commands/index.js +17 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -24
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAssetsPaginator.js +0 -1
- package/dist-es/pagination/ListPackagingConfigurationsPaginator.js +0 -1
- package/dist-es/pagination/ListPackagingGroupsPaginator.js +0 -1
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +4 -3
- 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/dist-types/commands/index.d.ts +17 -0
- package/dist-types/index.d.ts +4 -23
- package/dist-types/models/models_0.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/MediaPackageVod.d.ts +18 -54
- package/dist-types/ts3.4/MediaPackageVodClient.d.ts +24 -89
- package/dist-types/ts3.4/commands/ConfigureLogsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateAssetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreatePackagingConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreatePackagingGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteAssetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeletePackagingConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeletePackagingGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeAssetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribePackagingConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribePackagingGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListPackagingConfigurationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListPackagingGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdatePackagingGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +17 -0
- package/dist-types/ts3.4/index.d.ts +4 -23
- package/dist-types/ts3.4/models/models_0.d.ts +265 -810
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/MediaPackageVod.js.map +0 -1
- package/dist-cjs/MediaPackageVodClient.js.map +0 -1
- package/dist-cjs/commands/ConfigureLogsCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAssetCommand.js.map +0 -1
- package/dist-cjs/commands/CreatePackagingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/CreatePackagingGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAssetCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePackagingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePackagingGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAssetCommand.js.map +0 -1
- package/dist-cjs/commands/DescribePackagingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DescribePackagingGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ListAssetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListPackagingConfigurationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListPackagingGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.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/UpdatePackagingGroupCommand.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/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListAssetsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPackagingConfigurationsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPackagingGroupsPaginator.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/MediaPackageVod.js.map +0 -1
- package/dist-es/MediaPackageVodClient.js.map +0 -1
- package/dist-es/commands/ConfigureLogsCommand.js.map +0 -1
- package/dist-es/commands/CreateAssetCommand.js.map +0 -1
- package/dist-es/commands/CreatePackagingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/CreatePackagingGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteAssetCommand.js.map +0 -1
- package/dist-es/commands/DeletePackagingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DeletePackagingGroupCommand.js.map +0 -1
- package/dist-es/commands/DescribeAssetCommand.js.map +0 -1
- package/dist-es/commands/DescribePackagingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DescribePackagingGroupCommand.js.map +0 -1
- package/dist-es/commands/ListAssetsCommand.js.map +0 -1
- package/dist-es/commands/ListPackagingConfigurationsCommand.js.map +0 -1
- package/dist-es/commands/ListPackagingGroupsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.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/UpdatePackagingGroupCommand.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/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListAssetsPaginator.js.map +0 -1
- package/dist-es/pagination/ListPackagingConfigurationsPaginator.js.map +0 -1
- package/dist-es/pagination/ListPackagingGroupsPaginator.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/MediaPackageVod.ts +0 -597
- package/src/MediaPackageVodClient.ts +0 -317
- package/src/commands/ConfigureLogsCommand.ts +0 -95
- package/src/commands/CreateAssetCommand.ts +0 -95
- package/src/commands/CreatePackagingConfigurationCommand.ts +0 -100
- package/src/commands/CreatePackagingGroupCommand.ts +0 -95
- package/src/commands/DeleteAssetCommand.ts +0 -95
- package/src/commands/DeletePackagingConfigurationCommand.ts +0 -100
- package/src/commands/DeletePackagingGroupCommand.ts +0 -95
- package/src/commands/DescribeAssetCommand.ts +0 -95
- package/src/commands/DescribePackagingConfigurationCommand.ts +0 -103
- package/src/commands/DescribePackagingGroupCommand.ts +0 -95
- package/src/commands/ListAssetsCommand.ts +0 -95
- package/src/commands/ListPackagingConfigurationsCommand.ts +0 -100
- package/src/commands/ListPackagingGroupsCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdatePackagingGroupCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -24
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1680
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListAssetsPaginator.ts +0 -55
- package/src/pagination/ListPackagingConfigurationsPaginator.ts +0 -59
- package/src/pagination/ListPackagingGroupsPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -3087
- 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
|
@@ -1,317 +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 { ConfigureLogsCommandInput, ConfigureLogsCommandOutput } from "./commands/ConfigureLogsCommand";
|
|
53
|
-
import { CreateAssetCommandInput, CreateAssetCommandOutput } from "./commands/CreateAssetCommand";
|
|
54
|
-
import {
|
|
55
|
-
CreatePackagingConfigurationCommandInput,
|
|
56
|
-
CreatePackagingConfigurationCommandOutput,
|
|
57
|
-
} from "./commands/CreatePackagingConfigurationCommand";
|
|
58
|
-
import {
|
|
59
|
-
CreatePackagingGroupCommandInput,
|
|
60
|
-
CreatePackagingGroupCommandOutput,
|
|
61
|
-
} from "./commands/CreatePackagingGroupCommand";
|
|
62
|
-
import { DeleteAssetCommandInput, DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand";
|
|
63
|
-
import {
|
|
64
|
-
DeletePackagingConfigurationCommandInput,
|
|
65
|
-
DeletePackagingConfigurationCommandOutput,
|
|
66
|
-
} from "./commands/DeletePackagingConfigurationCommand";
|
|
67
|
-
import {
|
|
68
|
-
DeletePackagingGroupCommandInput,
|
|
69
|
-
DeletePackagingGroupCommandOutput,
|
|
70
|
-
} from "./commands/DeletePackagingGroupCommand";
|
|
71
|
-
import { DescribeAssetCommandInput, DescribeAssetCommandOutput } from "./commands/DescribeAssetCommand";
|
|
72
|
-
import {
|
|
73
|
-
DescribePackagingConfigurationCommandInput,
|
|
74
|
-
DescribePackagingConfigurationCommandOutput,
|
|
75
|
-
} from "./commands/DescribePackagingConfigurationCommand";
|
|
76
|
-
import {
|
|
77
|
-
DescribePackagingGroupCommandInput,
|
|
78
|
-
DescribePackagingGroupCommandOutput,
|
|
79
|
-
} from "./commands/DescribePackagingGroupCommand";
|
|
80
|
-
import { ListAssetsCommandInput, ListAssetsCommandOutput } from "./commands/ListAssetsCommand";
|
|
81
|
-
import {
|
|
82
|
-
ListPackagingConfigurationsCommandInput,
|
|
83
|
-
ListPackagingConfigurationsCommandOutput,
|
|
84
|
-
} from "./commands/ListPackagingConfigurationsCommand";
|
|
85
|
-
import {
|
|
86
|
-
ListPackagingGroupsCommandInput,
|
|
87
|
-
ListPackagingGroupsCommandOutput,
|
|
88
|
-
} from "./commands/ListPackagingGroupsCommand";
|
|
89
|
-
import {
|
|
90
|
-
ListTagsForResourceCommandInput,
|
|
91
|
-
ListTagsForResourceCommandOutput,
|
|
92
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
93
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
94
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
95
|
-
import {
|
|
96
|
-
UpdatePackagingGroupCommandInput,
|
|
97
|
-
UpdatePackagingGroupCommandOutput,
|
|
98
|
-
} from "./commands/UpdatePackagingGroupCommand";
|
|
99
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
100
|
-
|
|
101
|
-
export type ServiceInputTypes =
|
|
102
|
-
| ConfigureLogsCommandInput
|
|
103
|
-
| CreateAssetCommandInput
|
|
104
|
-
| CreatePackagingConfigurationCommandInput
|
|
105
|
-
| CreatePackagingGroupCommandInput
|
|
106
|
-
| DeleteAssetCommandInput
|
|
107
|
-
| DeletePackagingConfigurationCommandInput
|
|
108
|
-
| DeletePackagingGroupCommandInput
|
|
109
|
-
| DescribeAssetCommandInput
|
|
110
|
-
| DescribePackagingConfigurationCommandInput
|
|
111
|
-
| DescribePackagingGroupCommandInput
|
|
112
|
-
| ListAssetsCommandInput
|
|
113
|
-
| ListPackagingConfigurationsCommandInput
|
|
114
|
-
| ListPackagingGroupsCommandInput
|
|
115
|
-
| ListTagsForResourceCommandInput
|
|
116
|
-
| TagResourceCommandInput
|
|
117
|
-
| UntagResourceCommandInput
|
|
118
|
-
| UpdatePackagingGroupCommandInput;
|
|
119
|
-
|
|
120
|
-
export type ServiceOutputTypes =
|
|
121
|
-
| ConfigureLogsCommandOutput
|
|
122
|
-
| CreateAssetCommandOutput
|
|
123
|
-
| CreatePackagingConfigurationCommandOutput
|
|
124
|
-
| CreatePackagingGroupCommandOutput
|
|
125
|
-
| DeleteAssetCommandOutput
|
|
126
|
-
| DeletePackagingConfigurationCommandOutput
|
|
127
|
-
| DeletePackagingGroupCommandOutput
|
|
128
|
-
| DescribeAssetCommandOutput
|
|
129
|
-
| DescribePackagingConfigurationCommandOutput
|
|
130
|
-
| DescribePackagingGroupCommandOutput
|
|
131
|
-
| ListAssetsCommandOutput
|
|
132
|
-
| ListPackagingConfigurationsCommandOutput
|
|
133
|
-
| ListPackagingGroupsCommandOutput
|
|
134
|
-
| ListTagsForResourceCommandOutput
|
|
135
|
-
| TagResourceCommandOutput
|
|
136
|
-
| UntagResourceCommandOutput
|
|
137
|
-
| UpdatePackagingGroupCommandOutput;
|
|
138
|
-
|
|
139
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
140
|
-
/**
|
|
141
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
142
|
-
*/
|
|
143
|
-
requestHandler?: __HttpHandler;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
147
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
148
|
-
* @internal
|
|
149
|
-
*/
|
|
150
|
-
sha256?: __HashConstructor;
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
154
|
-
* @internal
|
|
155
|
-
*/
|
|
156
|
-
urlParser?: __UrlParser;
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* A function that can calculate the length of a request body.
|
|
160
|
-
* @internal
|
|
161
|
-
*/
|
|
162
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* A function that converts a stream into an array of bytes.
|
|
166
|
-
* @internal
|
|
167
|
-
*/
|
|
168
|
-
streamCollector?: __StreamCollector;
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
172
|
-
* @internal
|
|
173
|
-
*/
|
|
174
|
-
base64Decoder?: __Decoder;
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
178
|
-
* @internal
|
|
179
|
-
*/
|
|
180
|
-
base64Encoder?: __Encoder;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
184
|
-
* @internal
|
|
185
|
-
*/
|
|
186
|
-
utf8Decoder?: __Decoder;
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
190
|
-
* @internal
|
|
191
|
-
*/
|
|
192
|
-
utf8Encoder?: __Encoder;
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* The runtime environment.
|
|
196
|
-
* @internal
|
|
197
|
-
*/
|
|
198
|
-
runtime?: string;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
202
|
-
* trait of an operation.
|
|
203
|
-
*/
|
|
204
|
-
disableHostPrefix?: boolean;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
208
|
-
*/
|
|
209
|
-
maxAttempts?: number | __Provider<number>;
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Specifies which retry algorithm to use.
|
|
213
|
-
*/
|
|
214
|
-
retryMode?: string | __Provider<string>;
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* Optional logger for logging debug/info/warn/error.
|
|
218
|
-
*/
|
|
219
|
-
logger?: __Logger;
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* Unique service identifier.
|
|
223
|
-
* @internal
|
|
224
|
-
*/
|
|
225
|
-
serviceId?: string;
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* The AWS region to which this client will send requests
|
|
229
|
-
*/
|
|
230
|
-
region?: string | __Provider<string>;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Default credentials provider; Not available in browser runtime.
|
|
234
|
-
* @internal
|
|
235
|
-
*/
|
|
236
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
240
|
-
* @internal
|
|
241
|
-
*/
|
|
242
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
246
|
-
* @internal
|
|
247
|
-
*/
|
|
248
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
type MediaPackageVodClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
252
|
-
ClientDefaults &
|
|
253
|
-
RegionInputConfig &
|
|
254
|
-
EndpointsInputConfig &
|
|
255
|
-
RetryInputConfig &
|
|
256
|
-
HostHeaderInputConfig &
|
|
257
|
-
AwsAuthInputConfig &
|
|
258
|
-
UserAgentInputConfig;
|
|
259
|
-
/**
|
|
260
|
-
* The configuration interface of MediaPackageVodClient class constructor that set the region, credentials and other options.
|
|
261
|
-
*/
|
|
262
|
-
export interface MediaPackageVodClientConfig extends MediaPackageVodClientConfigType {}
|
|
263
|
-
|
|
264
|
-
type MediaPackageVodClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
265
|
-
Required<ClientDefaults> &
|
|
266
|
-
RegionResolvedConfig &
|
|
267
|
-
EndpointsResolvedConfig &
|
|
268
|
-
RetryResolvedConfig &
|
|
269
|
-
HostHeaderResolvedConfig &
|
|
270
|
-
AwsAuthResolvedConfig &
|
|
271
|
-
UserAgentResolvedConfig;
|
|
272
|
-
/**
|
|
273
|
-
* The resolved configuration interface of MediaPackageVodClient class. This is resolved and normalized from the {@link MediaPackageVodClientConfig | constructor configuration interface}.
|
|
274
|
-
*/
|
|
275
|
-
export interface MediaPackageVodClientResolvedConfig extends MediaPackageVodClientResolvedConfigType {}
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* AWS Elemental MediaPackage VOD
|
|
279
|
-
*/
|
|
280
|
-
export class MediaPackageVodClient extends __Client<
|
|
281
|
-
__HttpHandlerOptions,
|
|
282
|
-
ServiceInputTypes,
|
|
283
|
-
ServiceOutputTypes,
|
|
284
|
-
MediaPackageVodClientResolvedConfig
|
|
285
|
-
> {
|
|
286
|
-
/**
|
|
287
|
-
* The resolved configuration of MediaPackageVodClient class. This is resolved and normalized from the {@link MediaPackageVodClientConfig | constructor configuration interface}.
|
|
288
|
-
*/
|
|
289
|
-
readonly config: MediaPackageVodClientResolvedConfig;
|
|
290
|
-
|
|
291
|
-
constructor(configuration: MediaPackageVodClientConfig) {
|
|
292
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
293
|
-
const _config_1 = resolveRegionConfig(_config_0);
|
|
294
|
-
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
295
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
296
|
-
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
297
|
-
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
298
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
299
|
-
super(_config_6);
|
|
300
|
-
this.config = _config_6;
|
|
301
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
302
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
303
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
304
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
305
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
306
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
311
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
312
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
313
|
-
*/
|
|
314
|
-
destroy(): void {
|
|
315
|
-
super.destroy();
|
|
316
|
-
}
|
|
317
|
-
}
|
|
@@ -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 { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
|
|
15
|
-
import { ConfigureLogsRequest, ConfigureLogsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ConfigureLogsCommand,
|
|
18
|
-
serializeAws_restJson1ConfigureLogsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ConfigureLogsCommandInput extends ConfigureLogsRequest {}
|
|
22
|
-
export interface ConfigureLogsCommandOutput extends ConfigureLogsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Changes the packaging group's properities to configure log subscription
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { MediaPackageVodClient, ConfigureLogsCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
|
|
30
|
-
* // const { MediaPackageVodClient, ConfigureLogsCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
|
|
31
|
-
* const client = new MediaPackageVodClient(config);
|
|
32
|
-
* const command = new ConfigureLogsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ConfigureLogsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ConfigureLogsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ConfigureLogsCommand extends $Command<
|
|
42
|
-
ConfigureLogsCommandInput,
|
|
43
|
-
ConfigureLogsCommandOutput,
|
|
44
|
-
MediaPackageVodClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ConfigureLogsCommandInput) {
|
|
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: MediaPackageVodClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ConfigureLogsCommandInput, ConfigureLogsCommandOutput> {
|
|
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 = "MediaPackageVodClient";
|
|
69
|
-
const commandName = "ConfigureLogsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ConfigureLogsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ConfigureLogsResponse.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: ConfigureLogsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ConfigureLogsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ConfigureLogsCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ConfigureLogsCommand(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 { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
|
|
15
|
-
import { CreateAssetRequest, CreateAssetResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateAssetCommand,
|
|
18
|
-
serializeAws_restJson1CreateAssetCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateAssetCommandInput extends CreateAssetRequest {}
|
|
22
|
-
export interface CreateAssetCommandOutput extends CreateAssetResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Creates a new MediaPackage VOD Asset resource.
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { MediaPackageVodClient, CreateAssetCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
|
|
30
|
-
* // const { MediaPackageVodClient, CreateAssetCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
|
|
31
|
-
* const client = new MediaPackageVodClient(config);
|
|
32
|
-
* const command = new CreateAssetCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateAssetCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateAssetCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateAssetCommand extends $Command<
|
|
42
|
-
CreateAssetCommandInput,
|
|
43
|
-
CreateAssetCommandOutput,
|
|
44
|
-
MediaPackageVodClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateAssetCommandInput) {
|
|
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: MediaPackageVodClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<CreateAssetCommandInput, CreateAssetCommandOutput> {
|
|
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 = "MediaPackageVodClient";
|
|
69
|
-
const commandName = "CreateAssetCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateAssetRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateAssetResponse.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: CreateAssetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1CreateAssetCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateAssetCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1CreateAssetCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,100 +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 { MediaPackageVodClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageVodClient";
|
|
15
|
-
import { CreatePackagingConfigurationRequest, CreatePackagingConfigurationResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreatePackagingConfigurationCommand,
|
|
18
|
-
serializeAws_restJson1CreatePackagingConfigurationCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreatePackagingConfigurationCommandInput extends CreatePackagingConfigurationRequest {}
|
|
22
|
-
export interface CreatePackagingConfigurationCommandOutput
|
|
23
|
-
extends CreatePackagingConfigurationResponse,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Creates a new MediaPackage VOD PackagingConfiguration resource.
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { MediaPackageVodClient, CreatePackagingConfigurationCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import
|
|
32
|
-
* // const { MediaPackageVodClient, CreatePackagingConfigurationCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import
|
|
33
|
-
* const client = new MediaPackageVodClient(config);
|
|
34
|
-
* const command = new CreatePackagingConfigurationCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link CreatePackagingConfigurationCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link CreatePackagingConfigurationCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link MediaPackageVodClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class CreatePackagingConfigurationCommand extends $Command<
|
|
44
|
-
CreatePackagingConfigurationCommandInput,
|
|
45
|
-
CreatePackagingConfigurationCommandOutput,
|
|
46
|
-
MediaPackageVodClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: CreatePackagingConfigurationCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: MediaPackageVodClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<CreatePackagingConfigurationCommandInput, CreatePackagingConfigurationCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "MediaPackageVodClient";
|
|
71
|
-
const commandName = "CreatePackagingConfigurationCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: CreatePackagingConfigurationRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: CreatePackagingConfigurationResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: CreatePackagingConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1CreatePackagingConfigurationCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(
|
|
92
|
-
output: __HttpResponse,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<CreatePackagingConfigurationCommandOutput> {
|
|
95
|
-
return deserializeAws_restJson1CreatePackagingConfigurationCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|